2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.58 for wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWindows'
272 PACKAGE_TARNAME
='wxwindows'
273 PACKAGE_VERSION
='2.5.1'
274 PACKAGE_STRING
='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD 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 EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT 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_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_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_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_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 MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --disable-monolithic don
't build wxWindows as single library
872 --enable-universal use wxWindows GUI controls instead of native ones
873 --enable-nanox use NanoX
874 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
875 --enable-shared create shared library code
876 --enable-optimise create optimised code
877 --enable-debug same as debug_flag and debug_info
878 --enable-stl use STL for containers
879 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
880 --enable-debug_info create code with debugging information
881 --enable-debug_gdb create code with extra GDB debugging information
882 --enable-debug_cntxt use wxDebugContext
883 --enable-mem_tracing create code with memory tracing
884 --enable-profile create code with profiling information
885 --enable-no_rtti create code without RTTI information
886 --enable-no_exceptions create code without C++ exceptions handling
887 --enable-permissive compile code disregarding strict ANSI
888 --enable-no_deps create code without dependency information
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes (Win32 only)
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-apple_ieee use the Apple IEEE codec
903 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
904 --enable-cmdline use wxCmdLineParser class
905 --enable-datetime use wxDateTime class
906 --enable-dialupman use dialup network classes
907 --enable-dynlib use wxLibrary class for DLL loading
908 --enable-dynamicloader use (new) wxDynamicLibrary class
909 --enable-exceptions build exception-safe library
910 --enable-ffile use wxFFile class
911 --enable-file use wxFile class
912 --enable-filesystem use virtual file systems classes
913 --enable-fontmap use font encodings conversion classes
914 --enable-fs_inet use virtual HTTP/FTP filesystems
915 --enable-fs_zip use virtual ZIP filesystems
916 --enable-geometry use geometry class
917 --enable-log use logging system
918 --enable-longlong use wxLongLong class
919 --enable-mimetype use wxMimeTypesManager
920 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
921 --enable-snglinst use wxSingleInstanceChecker class
922 --enable-streams use wxStream etc classes
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-stopwatch use wxStopWatch class
925 --enable-sysoptions use wxSystemOptions
926 --enable-textbuf use wxTextBuffer class
927 --enable-textfile use wxTextFile class
928 --enable-timer use wxTimer class
929 --enable-unicode compile wxString with Unicode support
930 --enable-wave use wxWave class
931 --enable-wxprintfv use wxWindows implementation of vprintf()
932 --enable-zipstream use wxZipInputStream
933 --enable-gzstream use wxGzipInputStream
934 --enable-url use wxURL class
935 --enable-protocol use wxProtocol class
936 --enable-protocol-http HTTP support in wxProtocol
937 --enable-protocol-ftp FTP support in wxProtocol
938 --enable-protocol-file FILE support in wxProtocol
939 --enable-threads use threads
940 --enable-docview use document view architecture
941 --enable-help use help subsystem
942 --enable-mshtmlhelp use MS HTML Help (win32)
943 --enable-html use wxHTML sub-library
944 --enable-htmlhelp use wxHTML-based help
945 --enable-constraints use layout-constraints system
946 --enable-printarch use printing architecture
947 --enable-mdi use multiple document interface architecture
948 --enable-loggui use standard GUI logger
949 --enable-logwin use wxLogWindow
950 --enable-logdialog use wxLogDialog
951 --enable-postscript use wxPostscriptDC device context (default for gtk+)
952 --enable-prologio not available; see contrib
953 --enable-resources not available; see contrib
954 --enable-clipboard use wxClipboard class
955 --enable-dnd use Drag'n
'Drop classes
956 --enable-metafile use win32 metafiles
957 --enable-controls use all usual controls
958 --enable-accel use accelerators
959 --enable-button use wxButton class
960 --enable-bmpbutton use wxBitmapButton class
961 --enable-calendar use wxCalendarCtrl class
962 --enable-caret use wxCaret class
963 --enable-checkbox use wxCheckBox class
964 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
965 --enable-choice use wxChoice class
966 --enable-combobox use wxComboBox class
967 --enable-display use wxDisplay class
968 --enable-gauge use wxGauge class
969 --enable-grid use wxGrid class
970 --enable-imaglist use wxImageList class
971 --enable-listbook use wxListbook class
972 --enable-listbox use wxListBox class
973 --enable-listctrl use wxListCtrl class
974 --enable-notebook use wxNotebook class
975 --enable-radiobox use wxRadioBox class
976 --enable-radiobtn use wxRadioButton class
977 --enable-sash use wxSashWindow class
978 --enable-scrollbar use wxScrollBar class and scrollable windows
979 --enable-slider use wxSlider class
980 --enable-spinbtn use wxSpinButton class
981 --enable-spinctrl use wxSpinCtrl class
982 --enable-splitter use wxSplitterWindow class
983 --enable-statbmp use wxStaticBitmap class
984 --enable-statbox use wxStaticBox class
985 --enable-statline use wxStaticLine class
986 --enable-stattext use wxStaticText class
987 --enable-statusbar use wxStatusBar class
988 --enable-tabdialog use wxTabControl class
989 --enable-textctrl use wxTextCtrl class
990 --enable-togglebtn use wxToggleButton class
991 --enable-toolbar use wxToolBar class
992 --enable-tbarnative use native wxToolBar class
993 --enable-tbarsmpl use wxToolBarSimple class
994 --enable-treectrl use wxTreeCtrl class
995 --enable-tipwindow use wxTipWindow class
996 --enable-popupwin use wxPopUpWindow class
997 --enable-commondlg use all common dialogs
998 --enable-choicedlg use wxChoiceDialog
999 --enable-coldlg use wxColourDialog
1000 --enable-filedlg use wxFileDialog
1001 --enable-finddlg use wxFindReplaceDialog
1002 --enable-fontdlg use wxFontDialog
1003 --enable-dirdlg use wxDirDialog
1004 --enable-msgdlg use wxMessageDialog
1005 --enable-numberdlg use wxNumberEntryDialog
1006 --enable-splash use wxSplashScreen
1007 --enable-textdlg use wxTextDialog
1008 --enable-tipdlg use startup tips
1009 --enable-progressdlg use wxProgressDialog
1010 --enable-wizarddlg use wxWizard
1011 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1012 --enable-miniframe use wxMiniFrame class
1013 --enable-tooltips use wxToolTip class
1014 --enable-splines use spline drawing code
1015 --enable-validators use wxValidator and derived classes
1016 --enable-busyinfo use wxBusyInfo
1017 --enable-joystick use wxJoystick (Linux only)
1018 --enable-metafiles use wxMetaFile (Windows only)
1019 --enable-dragimage use wxDragImage
1020 --enable-accessibility enable accessibility support
1021 --enable-palette use wxPalette class
1022 --enable-image use wxImage class
1023 --enable-gif use gif images (GIF file format)
1024 --enable-pcx use pcx images (PCX file format)
1025 --enable-iff use iff images (IFF file format)
1026 --enable-pnm use pnm images (PNM file format)
1027 --enable-xpm use xpm images (XPM file format)
1028 --enable-icocur use Windows ICO and CUR formats
1029 --enable-official_build official build of wxWindows (win32 DLL only)
1030 --enable-vendor=VENDOR vendor name (win32 DLL only)
1031 --disable-largefile omit support for large files
1032 --disable-gtktest do not try to compile and run a test GTK+ program
1033 --disable-gtktest Do not try to compile and run a test GTK program
1034 --disable-precomp-headers don't use precompiled headers even
if compiler can
1037 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1038 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1040 --with-motif use Motif
/Lesstif
1041 --with-mac use Mac OS X
1042 --with-cocoa use Cocoa
1043 --with-wine use Wine
1044 --with-msw use MS
-Windows
1045 --with-pm use OS
/2 Presentation Manager
1046 --with-mgl use SciTech MGL
1047 --with-microwin use MicroWindows
1049 --with-libpng use libpng
(PNG image format
)
1050 --with-libjpeg use libjpeg
(JPEG
file format
)
1051 --with-libtiff use libtiff
(TIFF
file format
)
1052 --with-libxpm use libxpm
(XPM
file format
)
1053 --with-libmspack use libmspack
(CHM
help files loading
)
1054 --with-opengl use OpenGL
(or Mesa
)
1055 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1056 --with-regex enable support
for wxRegEx class
1057 --with-zlib use zlib
for LZW compression
1058 --with-odbc use the IODBC and wxODBC classes
1059 --with-expat enable XML support using expat parser
1060 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1061 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1062 --with-x use the X Window System
1063 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1065 Some influential environment variables
:
1066 CC C compiler
command
1067 CFLAGS C compiler flags
1068 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1069 nonstandard directory
<lib dir
>
1070 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1071 headers
in a nonstandard directory
<include dir
>
1073 CXX C
++ compiler
command
1074 CXXFLAGS C
++ compiler flags
1075 CXXCPP C
++ preprocessor
1077 Use these variables to override the choices made by
`configure' or to help
1078 it to find libraries and programs with nonstandard names/locations.
1080 Report bugs to <wx-dev@lists.wxwindows.org>.
1084 if test "$ac_init_help" = "recursive"; then
1085 # If there are subdirs, report their specific --help.
1087 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1088 test -d $ac_dir || continue
1091 if test "$ac_dir" != .; then
1092 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1093 # A "../" for each directory in $ac_dir_suffix.
1094 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1096 ac_dir_suffix= ac_top_builddir=
1100 .) # No --srcdir option. We are building in place.
1102 if test -z "$ac_top_builddir"; then
1105 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1107 [\\/]* | ?:[\\/]* ) # Absolute path.
1108 ac_srcdir=$srcdir$ac_dir_suffix;
1109 ac_top_srcdir=$srcdir ;;
1111 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1112 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1115 .) ac_abs_builddir=$ac_builddir;;
1117 case $ac_builddir in
1118 .) ac_abs_builddir="$ac_dir";;
1119 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
1120 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
1124 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1126 case ${ac_top_builddir}. in
1127 .) ac_abs_top_builddir="$ac_dir";;
1128 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1129 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
1133 .) ac_abs_srcdir=$ac_srcdir;;
1136 .) ac_abs_srcdir="$ac_dir";;
1137 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1138 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
1142 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1144 case $ac_top_srcdir in
1145 .) ac_abs_top_srcdir="$ac_dir";;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1147 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
1152 # Check for guested configure; otherwise get Cygnus style configure.
1153 if test -f $ac_srcdir/configure.gnu; then
1155 $SHELL $ac_srcdir/configure.gnu --help=recursive
1156 elif test -f $ac_srcdir/configure; then
1158 $SHELL $ac_srcdir/configure --help=recursive
1159 elif test -f $ac_srcdir/configure.ac ||
1160 test -f $ac_srcdir/configure.in; then
1162 $ac_configure --help
1164 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1170 test -n "$ac_init_help" && exit 0
1171 if $ac_init_version; then
1173 wxWindows configure 2.5.1
1174 generated by GNU Autoconf 2.58
1176 Copyright (C) 2003 Free Software Foundation, Inc.
1177 This configure script is free software; the Free Software Foundation
1178 gives unlimited permission to copy, distribute and modify it.
1184 This file contains any messages produced by compilers while
1185 running configure, to aid debugging if configure makes a mistake.
1187 It was created by wxWindows $as_me 2.5.1, which was
1188 generated by GNU Autoconf 2.58. Invocation command line was
1199 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1200 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1201 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1202 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1203 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1205 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1206 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1208 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1209 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1210 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1211 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1212 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1213 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1214 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1222 test -z "$as_dir" && as_dir=.
1223 echo "PATH: $as_dir"
1238 # Keep a trace of the command line.
1239 # Strip out --no-create and --no-recursion so they do not pile up.
1240 # Strip out --silent because we don't want to record it for future runs.
1241 # Also quote any args containing shell meta-characters.
1242 # Make two passes to allow for proper duplicate-argument suppression.
1247 ac_must_keep_next=false
1253 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1255 | -silent | --silent | --silen | --sile | --sil)
1257 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1258 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1261 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1263 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1264 if test $ac_must_keep_next = true; then
1265 ac_must_keep_next=false # Got value, back to normal.
1268 *=* | --config-cache | -C | -disable-* | --disable-* \
1269 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1270 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1271 | -with-* | --with-* | -without-* | --without-* | --x)
1272 case "$ac_configure_args0 " in
1273 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1276 -* ) ac_must_keep_next=true ;;
1279 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1280 # Get rid of the leading space.
1286 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1287 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1289 # When interrupted or exit'd, cleanup temporary files, and complete
1290 # config.log. We remove comments because anyway the quotes in there
1291 # would cause problems or look ugly.
1292 # WARNING: Be sure not to use single quotes in there, as some shells,
1293 # such as our DU 5.0 friend, will then `close
' the trap.
1294 trap 'exit_status
=$?
1295 # Save into config.log some information that might help in debugging.
1300 ## ---------------- ##
1301 ## Cache variables. ##
1302 ## ---------------- ##
1305 # The following way of writing the cache mishandles newlines in values,
1308 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1311 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1316 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1323 ## ----------------- ##
1324 ## Output variables. ##
1325 ## ----------------- ##
1328 for ac_var
in $ac_subst_vars
1330 eval ac_val
=$
`echo $ac_var`
1331 echo "$ac_var='"'"'$ac_val'"'"'"
1335 if test -n "$ac_subst_files"; then
1342 for ac_var
in $ac_subst_files
1344 eval ac_val
=$
`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1350 if test -s confdefs.h
; then
1357 sed "/^$/d" confdefs.h
| sort
1360 test "$ac_signal" != 0 &&
1361 echo "$as_me: caught signal $ac_signal"
1362 echo "$as_me: exit $exit_status"
1364 rm -f core
*.core
&&
1365 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1368 for ac_signal in 1 2 13 15; do
1369 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1373 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1374 rm -rf conftest* confdefs.h
1375 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1378 # Predefined preprocessor variables.
1380 cat >>confdefs.h <<_ACEOF
1381 #define PACKAGE_NAME "$PACKAGE_NAME"
1385 cat >>confdefs.h <<_ACEOF
1386 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1390 cat >>confdefs.h <<_ACEOF
1391 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1395 cat >>confdefs.h <<_ACEOF
1396 #define PACKAGE_STRING "$PACKAGE_STRING"
1400 cat >>confdefs.h <<_ACEOF
1401 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1405 # Let the site file select an alternate cache file if it wants to.
1406 # Prefer explicitly selected file to automatically selected ones.
1407 if test -z "$CONFIG_SITE"; then
1408 if test "x$prefix" != xNONE; then
1409 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1411 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1414 for ac_site_file in $CONFIG_SITE; do
1415 if test -r "$ac_site_file"; then
1416 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1417 echo "$as_me: loading site script $ac_site_file" >&6;}
1418 sed 's
/^
/| /' "$ac_site_file" >&5
1423 if test -r "$cache_file"; then
1424 # Some versions of bash will fail to source /dev/null (special
1425 # files actually), so we avoid doing that.
1426 if test -f "$cache_file"; then
1427 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1428 echo "$as_me: loading cache $cache_file" >&6;}
1430 [\\/]* | ?:[\\/]* ) . $cache_file;;
1431 *) . ./$cache_file;;
1435 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1436 echo "$as_me: creating cache $cache_file" >&6;}
1440 # Check that the precious variables saved in the cache have kept the same
1442 ac_cache_corrupted=false
1443 for ac_var in `(set) 2>&1 |
1444 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1445 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1446 eval ac_new_set=\$ac_env_${ac_var}_set
1447 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1448 eval ac_new_val="\$ac_env_${ac_var}_value"
1449 case $ac_old_set,$ac_new_set in
1451 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1452 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1453 ac_cache_corrupted=: ;;
1455 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1456 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1457 ac_cache_corrupted=: ;;
1460 if test "x$ac_old_val" != "x$ac_new_val"; then
1461 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1462 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1463 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1464 echo "$as_me: former value: $ac_old_val" >&2;}
1465 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1466 echo "$as_me: current value: $ac_new_val" >&2;}
1467 ac_cache_corrupted=:
1470 # Pass precious variables to config.status.
1471 if test "$ac_new_set" = set; then
1473 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1474 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1475 *) ac_arg=$ac_var=$ac_new_val ;;
1477 case " $ac_configure_args " in
1478 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1479 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1483 if $ac_cache_corrupted; then
1484 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1485 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1486 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1487 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1488 { (exit 1); exit 1; }; }
1492 ac_cpp='$CPP $CPPFLAGS'
1493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1494 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1527 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1528 if test -f $ac_dir/install-sh; then
1530 ac_install_sh="$ac_aux_dir/install-sh -c"
1532 elif test -f $ac_dir/install.sh; then
1534 ac_install_sh="$ac_aux_dir/install.sh -c"
1536 elif test -f $ac_dir/shtool; then
1538 ac_install_sh="$ac_aux_dir/shtool install -c"
1542 if test -z "$ac_aux_dir"; then
1543 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1544 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1545 { (exit 1); exit 1; }; }
1547 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1548 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1549 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1551 # Make sure we can run config.sub.
1552 $ac_config_sub sun4 >/dev/null 2>&1 ||
1553 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1554 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1555 { (exit 1); exit 1; }; }
1557 echo "$as_me:$LINENO: checking build system type" >&5
1558 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1559 if test "${ac_cv_build+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 ac_cv_build_alias=$build_alias
1563 test -z "$ac_cv_build_alias" &&
1564 ac_cv_build_alias=`$ac_config_guess`
1565 test -z "$ac_cv_build_alias" &&
1566 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1567 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1568 { (exit 1); exit 1; }; }
1569 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1570 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1571 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1572 { (exit 1); exit 1; }; }
1575 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1576 echo "${ECHO_T}$ac_cv_build" >&6
1578 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1579 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1580 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1583 echo "$as_me:$LINENO: checking host system type" >&5
1584 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1585 if test "${ac_cv_host+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 ac_cv_host_alias=$host_alias
1589 test -z "$ac_cv_host_alias" &&
1590 ac_cv_host_alias=$ac_cv_build_alias
1591 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1592 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1593 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1594 { (exit 1); exit 1; }; }
1597 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1598 echo "${ECHO_T}$ac_cv_host" >&6
1600 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1601 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1602 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1605 echo "$as_me:$LINENO: checking target system type" >&5
1606 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1607 if test "${ac_cv_target+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 ac_cv_target_alias=$target_alias
1611 test "x$ac_cv_target_alias" = "x" &&
1612 ac_cv_target_alias=$ac_cv_host_alias
1613 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1614 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1615 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1616 { (exit 1); exit 1; }; }
1619 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1620 echo "${ECHO_T}$ac_cv_target" >&6
1621 target=$ac_cv_target
1622 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1623 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1624 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1627 # The aliases save the names the user supplied, while $host etc.
1628 # will get canonicalized.
1629 test -n "$target_alias" &&
1630 test "$program_prefix$program_suffix$program_transform_name" = \
1632 program_prefix=${target_alias}-
1636 WX_MAJOR_VERSION_NUMBER=2
1637 WX_MINOR_VERSION_NUMBER=5
1640 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1641 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1643 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1659 USE_BSD= USE_DARWIN= USE_FREEBSD=
1665 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1671 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1673 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1675 DEFAULT_wxUSE_COCOA=0
1679 DEFAULT_wxUSE_MICROWIN=0
1680 DEFAULT_wxUSE_MOTIF=0
1685 DEFAULT_DEFAULT_wxUSE_COCOA=0
1686 DEFAULT_DEFAULT_wxUSE_GTK=0
1687 DEFAULT_DEFAULT_wxUSE_MAC=0
1688 DEFAULT_DEFAULT_wxUSE_MGL=0
1689 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1690 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1691 DEFAULT_DEFAULT_wxUSE_MSW=0
1692 DEFAULT_DEFAULT_wxUSE_PM=0
1693 DEFAULT_DEFAULT_wxUSE_X11=0
1698 SAMPLES_RPATH_POSTLINK=
1703 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1704 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1706 cat >>confdefs.h <<\_ACEOF
1713 cat >>confdefs.h <<\_ACEOF
1718 if test "x$TMP" = "xalpha"; then
1720 cat >>confdefs.h <<\_ACEOF
1725 DEFAULT_DEFAULT_wxUSE_GTK=1
1729 cat >>confdefs.h <<\_ACEOF
1734 if test "x$TMP" = "xalpha"; then
1736 cat >>confdefs.h <<\_ACEOF
1741 DEFAULT_DEFAULT_wxUSE_GTK=1
1743 *-*-irix5* | *-*-irix6* )
1746 cat >>confdefs.h <<\_ACEOF
1750 cat >>confdefs.h <<\_ACEOF
1754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1760 cat >>confdefs.h <<\_ACEOF
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __SOLARIS__ 1
1768 cat >>confdefs.h <<\_ACEOF
1772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1773 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1779 cat >>confdefs.h <<\_ACEOF
1783 cat >>confdefs.h <<\_ACEOF
1787 cat >>confdefs.h <<\_ACEOF
1791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __FREEBSD__ 1
1800 cat >>confdefs.h <<\_ACEOF
1804 DEFAULT_DEFAULT_wxUSE_GTK=1
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __OPENBSD__ 1
1813 cat >>confdefs.h <<\_ACEOF
1817 DEFAULT_DEFAULT_wxUSE_GTK=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __NETBSD__ 1
1826 cat >>confdefs.h <<\_ACEOF
1830 DEFAULT_DEFAULT_wxUSE_GTK=1
1835 cat >>confdefs.h <<\_ACEOF
1839 cat >>confdefs.h <<\_ACEOF
1843 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1844 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1849 cat >>confdefs.h <<\_ACEOF
1853 cat >>confdefs.h <<\_ACEOF
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 cat >>confdefs.h <<\_ACEOF
1866 cat >>confdefs.h <<\_ACEOF
1870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 cat >>confdefs.h <<\_ACEOF
1881 cat >>confdefs.h <<\_ACEOF
1885 cat >>confdefs.h <<\_ACEOF
1889 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __UNIXWARE__ 1
1902 *-*-cygwin* | *-*-mingw32* )
1906 DEFAULT_DEFAULT_wxUSE_MSW=1
1912 cat >>confdefs.h <<\_ACEOF
1917 DEFAULT_DEFAULT_wxUSE_MGL=1
1918 LIBS="$LIBS -lstdc++"
1921 *-pc-os2_emx | *-pc-os2-emx )
1922 cat >>confdefs.h <<\_ACEOF
1927 cat >>confdefs.h <<\_ACEOF
1932 DEFAULT_DEFAULT_wxUSE_PM=1
1934 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1935 ac_executable_extensions=".exe"
1936 export ac_executable_extensions
1940 for ac_dir in $PATH; do
1942 if test -z "$ac_TEMP_PATH"; then
1943 ac_TEMP_PATH="$ac_dir"
1945 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1948 export PATH="$ac_TEMP_PATH"
1956 cat >>confdefs.h <<\_ACEOF
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __DARWIN__ 1
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __POWERPC__ 1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define TARGET_CARBON 1
1972 DEFAULT_DEFAULT_wxUSE_MAC=1
1977 cat >>confdefs.h <<\_ACEOF
1984 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1985 echo "$as_me: error: unknown system type ${host}." >&2;}
1986 { (exit 1); exit 1; }; }
1992 wx_arg_cache_file="configarg.cache"
1993 echo "loading argument cache $wx_arg_cache_file"
1994 rm -f ${wx_arg_cache_file}.tmp
1995 touch ${wx_arg_cache_file}.tmp
1996 touch ${wx_arg_cache_file}
2000 if test $DEBUG_CONFIGURE = 1; then
2001 DEFAULT_wxUSE_UNIVERSAL=no
2002 DEFAULT_wxUSE_STL=no
2004 DEFAULT_wxUSE_NANOX=no
2006 DEFAULT_wxUSE_THREADS=yes
2008 DEFAULT_wxUSE_SHARED=yes
2009 DEFAULT_wxUSE_OPTIMISE=no
2010 DEFAULT_wxUSE_PROFILE=no
2011 DEFAULT_wxUSE_NO_DEPS=no
2012 DEFAULT_wxUSE_NO_RTTI=no
2013 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2014 DEFAULT_wxUSE_PERMISSIVE=no
2015 DEFAULT_wxUSE_DEBUG_FLAG=yes
2016 DEFAULT_wxUSE_DEBUG_INFO=yes
2017 DEFAULT_wxUSE_DEBUG_GDB=yes
2018 DEFAULT_wxUSE_MEM_TRACING=no
2019 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2020 DEFAULT_wxUSE_DMALLOC=no
2021 DEFAULT_wxUSE_APPLE_IEEE=no
2023 DEFAULT_wxUSE_EXCEPTIONS=no
2024 DEFAULT_wxUSE_LOG=yes
2025 DEFAULT_wxUSE_LOGWINDOW=no
2026 DEFAULT_wxUSE_LOGGUI=no
2027 DEFAULT_wxUSE_LOGDIALOG=no
2029 DEFAULT_wxUSE_GUI=yes
2030 DEFAULT_wxUSE_CONTROLS=no
2032 DEFAULT_wxUSE_REGEX=no
2033 DEFAULT_wxUSE_XML=no
2034 DEFAULT_wxUSE_EXPAT=no
2035 DEFAULT_wxUSE_ZLIB=no
2036 DEFAULT_wxUSE_LIBPNG=no
2037 DEFAULT_wxUSE_LIBJPEG=no
2038 DEFAULT_wxUSE_LIBTIFF=no
2039 DEFAULT_wxUSE_LIBXPM=no
2040 DEFAULT_wxUSE_ODBC=no
2041 DEFAULT_wxUSE_OPENGL=no
2043 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2044 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2045 DEFAULT_wxUSE_STD_IOSTREAM=no
2046 DEFAULT_wxUSE_CMDLINE_PARSER=no
2047 DEFAULT_wxUSE_DATETIME=no
2048 DEFAULT_wxUSE_TIMER=no
2049 DEFAULT_wxUSE_STOPWATCH=no
2050 DEFAULT_wxUSE_FILE=no
2051 DEFAULT_wxUSE_FFILE=no
2052 DEFAULT_wxUSE_TEXTBUFFER=no
2053 DEFAULT_wxUSE_TEXTFILE=no
2054 DEFAULT_wxUSE_WAVE=no
2055 DEFAULT_wxUSE_INTL=no
2056 DEFAULT_wxUSE_CONFIG=no
2057 DEFAULT_wxUSE_FONTMAP=no
2058 DEFAULT_wxUSE_STREAMS=no
2059 DEFAULT_wxUSE_SOCKETS=no
2060 DEFAULT_wxUSE_OLE=no
2061 DEFAULT_wxUSE_DATAOBJ=no
2062 DEFAULT_wxUSE_DIALUP_MANAGER=no
2063 DEFAULT_wxUSE_JOYSTICK=no
2064 DEFAULT_wxUSE_DYNLIB_CLASS=no
2065 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2066 DEFAULT_wxUSE_LONGLONG=no
2067 DEFAULT_wxUSE_GEOMETRY=no
2069 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2070 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2071 DEFAULT_wxUSE_POSTSCRIPT=no
2073 DEFAULT_wxUSE_CLIPBOARD=no
2074 DEFAULT_wxUSE_TOOLTIPS=no
2075 DEFAULT_wxUSE_DRAG_AND_DROP=no
2076 DEFAULT_wxUSE_DRAGIMAGE=no
2077 DEFAULT_wxUSE_SPLINES=no
2079 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2080 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2081 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2083 DEFAULT_wxUSE_RESOURCES=no
2084 DEFAULT_wxUSE_CONSTRAINTS=no
2085 DEFAULT_wxUSE_IPC=no
2086 DEFAULT_wxUSE_HELP=no
2087 DEFAULT_wxUSE_MS_HTML_HELP=no
2088 DEFAULT_wxUSE_WXHTML_HELP=no
2089 DEFAULT_wxUSE_TREELAYOUT=no
2090 DEFAULT_wxUSE_METAFILE=no
2091 DEFAULT_wxUSE_MIMETYPE=no
2092 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2093 DEFAULT_wxUSE_PROTOCOL=no
2094 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2095 DEFAULT_wxUSE_PROTOCOL_FTP=no
2096 DEFAULT_wxUSE_PROTOCOL_FILE=no
2097 DEFAULT_wxUSE_URL=no
2099 DEFAULT_wxUSE_COMMONDLGS=no
2100 DEFAULT_wxUSE_CHOICEDLG=no
2101 DEFAULT_wxUSE_COLOURDLG=no
2102 DEFAULT_wxUSE_DIRDLG=no
2103 DEFAULT_wxUSE_FILEDLG=no
2104 DEFAULT_wxUSE_FINDREPLDLG=no
2105 DEFAULT_wxUSE_FONTDLG=no
2106 DEFAULT_wxUSE_MSGDLG=no
2107 DEFAULT_wxUSE_NUMBERDLG=no
2108 DEFAULT_wxUSE_TEXTDLG=no
2109 DEFAULT_wxUSE_SPLASH=no
2110 DEFAULT_wxUSE_STARTUP_TIPS=no
2111 DEFAULT_wxUSE_PROGRESSDLG=no
2112 DEFAULT_wxUSE_WIZARDDLG=no
2114 DEFAULT_wxUSE_MENUS=no
2115 DEFAULT_wxUSE_MINIFRAME=no
2116 DEFAULT_wxUSE_HTML=no
2117 DEFAULT_wxUSE_FILESYSTEM=no
2118 DEFAULT_wxUSE_FS_INET=no
2119 DEFAULT_wxUSE_FS_ZIP=no
2120 DEFAULT_wxUSE_BUSYINFO=no
2121 DEFAULT_wxUSE_ZIPSTREAM=no
2122 DEFAULT_wxUSE_GZSTREAM=no
2123 DEFAULT_wxUSE_VALIDATORS=no
2125 DEFAULT_wxUSE_ACCEL=no
2126 DEFAULT_wxUSE_BUTTON=no
2127 DEFAULT_wxUSE_BMPBUTTON=no
2128 DEFAULT_wxUSE_CALCTRL=no
2129 DEFAULT_wxUSE_CARET=no
2130 DEFAULT_wxUSE_CHECKBOX=no
2131 DEFAULT_wxUSE_CHECKLST=no
2132 DEFAULT_wxUSE_CHOICE=no
2133 DEFAULT_wxUSE_COMBOBOX=no
2134 DEFAULT_wxUSE_DISPLAY=no
2135 DEFAULT_wxUSE_GAUGE=no
2136 DEFAULT_wxUSE_GRID=no
2137 DEFAULT_wxUSE_IMAGLIST=no
2138 DEFAULT_wxUSE_LISTBOOK=no
2139 DEFAULT_wxUSE_LISTBOX=no
2140 DEFAULT_wxUSE_LISTCTRL=no
2141 DEFAULT_wxUSE_NOTEBOOK=no
2142 DEFAULT_wxUSE_RADIOBOX=no
2143 DEFAULT_wxUSE_RADIOBTN=no
2144 DEFAULT_wxUSE_SASH=no
2145 DEFAULT_wxUSE_SCROLLBAR=no
2146 DEFAULT_wxUSE_SLIDER=no
2147 DEFAULT_wxUSE_SPINBTN=no
2148 DEFAULT_wxUSE_SPINCTRL=no
2149 DEFAULT_wxUSE_SPLITTER=no
2150 DEFAULT_wxUSE_STATBMP=no
2151 DEFAULT_wxUSE_STATBOX=no
2152 DEFAULT_wxUSE_STATLINE=no
2153 DEFAULT_wxUSE_STATTEXT=no
2154 DEFAULT_wxUSE_STATUSBAR=yes
2155 DEFAULT_wxUSE_TABDIALOG=no
2156 DEFAULT_wxUSE_TEXTCTRL=no
2157 DEFAULT_wxUSE_TOGGLEBTN=no
2158 DEFAULT_wxUSE_TOOLBAR=no
2159 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2160 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2161 DEFAULT_wxUSE_TREECTRL=no
2162 DEFAULT_wxUSE_POPUPWIN=no
2163 DEFAULT_wxUSE_TIPWINDOW=no
2165 DEFAULT_wxUSE_UNICODE=no
2166 DEFAULT_wxUSE_UNICODE_MSLU=no
2167 DEFAULT_wxUSE_WCSRTOMBS=no
2169 DEFAULT_wxUSE_PALETTE=no
2170 DEFAULT_wxUSE_IMAGE=no
2171 DEFAULT_wxUSE_GIF=no
2172 DEFAULT_wxUSE_PCX=no
2173 DEFAULT_wxUSE_PNM=no
2174 DEFAULT_wxUSE_IFF=no
2175 DEFAULT_wxUSE_XPM=no
2176 DEFAULT_wxUSE_ICO_CUR=no
2177 DEFAULT_wxUSE_ACCESSIBILITY=no
2179 DEFAULT_wxUSE_MONOLITHIC=no
2180 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2185 DEFAULT_wxUSE_NANOX=no
2187 DEFAULT_wxUSE_THREADS=yes
2189 DEFAULT_wxUSE_SHARED=yes
2190 DEFAULT_wxUSE_OPTIMISE=yes
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_NO_RTTI=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2195 DEFAULT_wxUSE_PERMISSIVE=no
2196 DEFAULT_wxUSE_DEBUG_FLAG=no
2197 DEFAULT_wxUSE_DEBUG_INFO=no
2198 DEFAULT_wxUSE_DEBUG_GDB=no
2199 DEFAULT_wxUSE_MEM_TRACING=no
2200 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2201 DEFAULT_wxUSE_DMALLOC=no
2202 DEFAULT_wxUSE_APPLE_IEEE=yes
2204 DEFAULT_wxUSE_EXCEPTIONS=yes
2205 DEFAULT_wxUSE_LOG=yes
2206 DEFAULT_wxUSE_LOGWINDOW=yes
2207 DEFAULT_wxUSE_LOGGUI=yes
2208 DEFAULT_wxUSE_LOGDIALOG=yes
2210 DEFAULT_wxUSE_GUI=yes
2212 DEFAULT_wxUSE_REGEX=yes
2213 DEFAULT_wxUSE_XML=yes
2214 DEFAULT_wxUSE_EXPAT=yes
2215 DEFAULT_wxUSE_ZLIB=yes
2216 DEFAULT_wxUSE_LIBPNG=yes
2217 DEFAULT_wxUSE_LIBJPEG=yes
2218 DEFAULT_wxUSE_LIBTIFF=yes
2219 DEFAULT_wxUSE_LIBXPM=yes
2220 DEFAULT_wxUSE_LIBMSPACK=yes
2221 DEFAULT_wxUSE_ODBC=no
2222 DEFAULT_wxUSE_OPENGL=no
2224 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2225 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2226 DEFAULT_wxUSE_STD_IOSTREAM=no
2227 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2228 DEFAULT_wxUSE_DATETIME=yes
2229 DEFAULT_wxUSE_TIMER=yes
2230 DEFAULT_wxUSE_STOPWATCH=yes
2231 DEFAULT_wxUSE_FILE=yes
2232 DEFAULT_wxUSE_FFILE=yes
2233 DEFAULT_wxUSE_TEXTBUFFER=yes
2234 DEFAULT_wxUSE_TEXTFILE=yes
2235 DEFAULT_wxUSE_WAVE=no
2236 DEFAULT_wxUSE_INTL=yes
2237 DEFAULT_wxUSE_CONFIG=yes
2238 DEFAULT_wxUSE_FONTMAP=yes
2239 DEFAULT_wxUSE_STREAMS=yes
2240 DEFAULT_wxUSE_SOCKETS=yes
2241 DEFAULT_wxUSE_OLE=yes
2242 DEFAULT_wxUSE_DATAOBJ=yes
2243 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2244 DEFAULT_wxUSE_JOYSTICK=yes
2245 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2246 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2247 DEFAULT_wxUSE_LONGLONG=yes
2248 DEFAULT_wxUSE_GEOMETRY=yes
2250 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2251 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2252 DEFAULT_wxUSE_POSTSCRIPT=yes
2254 DEFAULT_wxUSE_CLIPBOARD=yes
2255 DEFAULT_wxUSE_TOOLTIPS=yes
2256 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2257 DEFAULT_wxUSE_DRAGIMAGE=yes
2258 DEFAULT_wxUSE_SPLINES=yes
2260 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2261 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2262 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2264 DEFAULT_wxUSE_RESOURCES=no
2265 DEFAULT_wxUSE_CONSTRAINTS=yes
2266 DEFAULT_wxUSE_IPC=yes
2267 DEFAULT_wxUSE_HELP=yes
2268 DEFAULT_wxUSE_MS_HTML_HELP=yes
2269 DEFAULT_wxUSE_WXHTML_HELP=yes
2270 DEFAULT_wxUSE_TREELAYOUT=yes
2271 DEFAULT_wxUSE_METAFILE=yes
2272 DEFAULT_wxUSE_MIMETYPE=yes
2273 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2274 DEFAULT_wxUSE_PROTOCOL=yes
2275 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2276 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2277 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2278 DEFAULT_wxUSE_URL=yes
2280 DEFAULT_wxUSE_COMMONDLGS=yes
2281 DEFAULT_wxUSE_CHOICEDLG=yes
2282 DEFAULT_wxUSE_COLOURDLG=yes
2283 DEFAULT_wxUSE_DIRDLG=yes
2284 DEFAULT_wxUSE_FILEDLG=yes
2285 DEFAULT_wxUSE_FINDREPLDLG=yes
2286 DEFAULT_wxUSE_FONTDLG=yes
2287 DEFAULT_wxUSE_MSGDLG=yes
2288 DEFAULT_wxUSE_NUMBERDLG=yes
2289 DEFAULT_wxUSE_TEXTDLG=yes
2290 DEFAULT_wxUSE_SPLASH=yes
2291 DEFAULT_wxUSE_STARTUP_TIPS=yes
2292 DEFAULT_wxUSE_PROGRESSDLG=yes
2293 DEFAULT_wxUSE_WIZARDDLG=yes
2295 DEFAULT_wxUSE_MENUS=yes
2296 DEFAULT_wxUSE_MINIFRAME=yes
2297 DEFAULT_wxUSE_HTML=yes
2298 DEFAULT_wxUSE_FILESYSTEM=yes
2299 DEFAULT_wxUSE_FS_INET=yes
2300 DEFAULT_wxUSE_FS_ZIP=yes
2301 DEFAULT_wxUSE_BUSYINFO=yes
2302 DEFAULT_wxUSE_ZIPSTREAM=yes
2303 DEFAULT_wxUSE_GZSTREAM=yes
2304 DEFAULT_wxUSE_VALIDATORS=yes
2306 DEFAULT_wxUSE_ACCEL=yes
2307 DEFAULT_wxUSE_BUTTON=yes
2308 DEFAULT_wxUSE_BMPBUTTON=yes
2309 DEFAULT_wxUSE_CALCTRL=yes
2310 DEFAULT_wxUSE_CARET=yes
2311 DEFAULT_wxUSE_CHECKBOX=yes
2312 DEFAULT_wxUSE_CHECKLST=yes
2313 DEFAULT_wxUSE_CHOICE=yes
2314 DEFAULT_wxUSE_COMBOBOX=yes
2315 DEFAULT_wxUSE_DISPLAY=no
2316 DEFAULT_wxUSE_GAUGE=yes
2317 DEFAULT_wxUSE_GRID=yes
2318 DEFAULT_wxUSE_IMAGLIST=yes
2319 DEFAULT_wxUSE_LISTBOOK=yes
2320 DEFAULT_wxUSE_LISTBOX=yes
2321 DEFAULT_wxUSE_LISTCTRL=yes
2322 DEFAULT_wxUSE_NOTEBOOK=yes
2323 DEFAULT_wxUSE_RADIOBOX=yes
2324 DEFAULT_wxUSE_RADIOBTN=yes
2325 DEFAULT_wxUSE_SASH=yes
2326 DEFAULT_wxUSE_SCROLLBAR=yes
2327 DEFAULT_wxUSE_SLIDER=yes
2328 DEFAULT_wxUSE_SPINBTN=yes
2329 DEFAULT_wxUSE_SPINCTRL=yes
2330 DEFAULT_wxUSE_SPLITTER=yes
2331 DEFAULT_wxUSE_STATBMP=yes
2332 DEFAULT_wxUSE_STATBOX=yes
2333 DEFAULT_wxUSE_STATLINE=yes
2334 DEFAULT_wxUSE_STATTEXT=yes
2335 DEFAULT_wxUSE_STATUSBAR=yes
2336 DEFAULT_wxUSE_TABDIALOG=no
2337 DEFAULT_wxUSE_TEXTCTRL=yes
2338 DEFAULT_wxUSE_TOGGLEBTN=yes
2339 DEFAULT_wxUSE_TOOLBAR=yes
2340 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2341 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2342 DEFAULT_wxUSE_TREECTRL=yes
2343 DEFAULT_wxUSE_POPUPWIN=yes
2344 DEFAULT_wxUSE_TIPWINDOW=yes
2346 DEFAULT_wxUSE_UNICODE=no
2347 DEFAULT_wxUSE_UNICODE_MSLU=yes
2348 DEFAULT_wxUSE_WCSRTOMBS=no
2350 DEFAULT_wxUSE_PALETTE=yes
2351 DEFAULT_wxUSE_IMAGE=yes
2352 DEFAULT_wxUSE_GIF=yes
2353 DEFAULT_wxUSE_PCX=yes
2354 DEFAULT_wxUSE_IFF=no
2355 DEFAULT_wxUSE_PNM=yes
2356 DEFAULT_wxUSE_XPM=yes
2357 DEFAULT_wxUSE_ICO_CUR=yes
2358 DEFAULT_wxUSE_ACCESSIBILITY=no
2360 DEFAULT_wxUSE_MONOLITHIC=no
2361 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2366 for toolkit in `echo $ALL_TOOLKITS`; do
2367 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2368 if test "x$LINE" != "x" ; then
2369 has_toolkit_in_cache=1
2370 eval "DEFAULT_$LINE"
2371 eval "CACHE_$toolkit=1"
2378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2379 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2381 # Check whether --enable-gui or --disable-gui was given.
2382 if test "${enable_gui+set}" = set; then
2383 enableval="$enable_gui"
2385 if test "$enableval" = yes; then
2386 ac_cv_use_gui='wxUSE_GUI
=yes'
2388 ac_cv_use_gui='wxUSE_GUI
=no
'
2393 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x ; then
2395 eval "DEFAULT_$LINE"
2400 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2404 eval "$ac_cv_use_gui"
2405 if test "$no_cache" != 1; then
2406 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2409 if test "$wxUSE_GUI" = yes; then
2410 echo "$as_me:$LINENO: result: yes" >&5
2411 echo "${ECHO_T}yes" >&6
2413 echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6
2419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2420 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2422 # Check whether --enable-monolithic or --disable-monolithic was given.
2423 if test "${enable_monolithic+set}" = set; then
2424 enableval="$enable_monolithic"
2426 if test "$enableval" = yes; then
2427 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2429 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2434 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2435 if test "x$LINE" != x ; then
2436 eval "DEFAULT_$LINE"
2441 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2445 eval "$ac_cv_use_monolithic"
2446 if test "$no_cache" != 1; then
2447 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2450 if test "$wxUSE_MONOLITHIC" = yes; then
2451 echo "$as_me:$LINENO: result: yes" >&5
2452 echo "${ECHO_T}yes" >&6
2454 echo "$as_me:$LINENO: result: no" >&5
2455 echo "${ECHO_T}no" >&6
2459 if test "$wxUSE_GUI" = "yes"; then
2463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2464 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2466 # Check whether --enable-universal or --disable-universal was given.
2467 if test "${enable_universal+set}" = set; then
2468 enableval="$enable_universal"
2470 if test "$enableval" = yes; then
2471 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2473 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2478 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2479 if test "x$LINE" != x ; then
2480 eval "DEFAULT_$LINE"
2485 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2489 eval "$ac_cv_use_universal"
2490 if test "$no_cache" != 1; then
2491 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2494 if test "$wxUSE_UNIVERSAL" = yes; then
2495 echo "$as_me:$LINENO: result: yes" >&5
2496 echo "${ECHO_T}yes" >&6
2498 echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6
2503 # Check whether --with-gtk or --without-gtk was given.
2504 if test "${with_gtk+set}" = set; then
2506 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2509 # Check whether --with-motif or --without-motif was given.
2510 if test "${with_motif+set}" = set; then
2511 withval="$with_motif"
2512 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2515 # Check whether --with-mac or --without-mac was given.
2516 if test "${with_mac+set}" = set; then
2518 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2521 # Check whether --with-cocoa or --without-cocoa was given.
2522 if test "${with_cocoa+set}" = set; then
2523 withval="$with_cocoa"
2524 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2527 # Check whether --with-wine or --without-wine was given.
2528 if test "${with_wine+set}" = set; then
2529 withval="$with_wine"
2530 wxUSE_WINE="$withval" CACHE_WINE=1
2533 # Check whether --with-msw or --without-msw was given.
2534 if test "${with_msw+set}" = set; then
2536 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2539 # Check whether --with-pm or --without-pm was given.
2540 if test "${with_pm+set}" = set; then
2542 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2545 # Check whether --with-mgl or --without-mgl was given.
2546 if test "${with_mgl+set}" = set; then
2548 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2551 # Check whether --with-microwin or --without-microwin was given.
2552 if test "${with_microwin+set}" = set; then
2553 withval="$with_microwin"
2554 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2557 # Check whether --with-x11 or --without-x11 was given.
2558 if test "${with_x11+set}" = set; then
2560 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2565 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2567 # Check whether --enable-nanox or --disable-nanox was given.
2568 if test "${enable_nanox+set}" = set; then
2569 enableval="$enable_nanox"
2571 if test "$enableval" = yes; then
2572 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2574 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2579 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2580 if test "x$LINE" != x ; then
2581 eval "DEFAULT_$LINE"
2586 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2590 eval "$ac_cv_use_nanox"
2591 if test "$no_cache" != 1; then
2592 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2595 if test "$wxUSE_NANOX" = yes; then
2596 echo "$as_me:$LINENO: result: yes" >&5
2597 echo "${ECHO_T}yes" >&6
2599 echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6
2606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2607 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2609 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2610 if test "${enable_gtk2+set}" = set; then
2611 enableval="$enable_gtk2"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2616 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2621 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x ; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2632 eval "$ac_cv_use_gtk2"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2637 if test "$wxUSE_GTK2" = yes; then
2638 echo "$as_me:$LINENO: result: yes" >&5
2639 echo "${ECHO_T}yes" >&6
2641 echo "$as_me:$LINENO: result: no" >&5
2642 echo "${ECHO_T}no" >&6
2647 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2648 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2651 # Check whether --with-libpng or --without-libpng was given.
2652 if test "${with_libpng+set}" = set; then
2653 withval="$with_libpng"
2655 if test "$withval" = yes; then
2656 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2657 elif test "$withval" = no; then
2658 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2659 elif test "$withval" = sys; then
2660 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2661 elif test "$withval" = builtin; then
2662 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2664 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2665 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2666 { (exit 1); exit 1; }; }
2671 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x ; then
2673 eval "DEFAULT_$LINE"
2678 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2682 eval "$ac_cv_use_libpng"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2687 if test "$wxUSE_LIBPNG" = yes; then
2688 echo "$as_me:$LINENO: result: yes" >&5
2689 echo "${ECHO_T}yes" >&6
2690 elif test "$wxUSE_LIBPNG" = no; then
2691 echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6
2693 elif test "$wxUSE_LIBPNG" = sys; then
2694 echo "$as_me:$LINENO: result: system version" >&5
2695 echo "${ECHO_T}system version" >&6
2696 elif test "$wxUSE_LIBPNG" = builtin; then
2697 echo "$as_me:$LINENO: result: builtin version" >&5
2698 echo "${ECHO_T}builtin version" >&6
2700 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2701 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2702 { (exit 1); exit 1; }; }
2706 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2707 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2710 # Check whether --with-libjpeg or --without-libjpeg was given.
2711 if test "${with_libjpeg+set}" = set; then
2712 withval="$with_libjpeg"
2714 if test "$withval" = yes; then
2715 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2716 elif test "$withval" = no; then
2717 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2718 elif test "$withval" = sys; then
2719 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2720 elif test "$withval" = builtin; then
2721 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2723 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2724 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2725 { (exit 1); exit 1; }; }
2730 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x ; then
2732 eval "DEFAULT_$LINE"
2737 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2741 eval "$ac_cv_use_libjpeg"
2742 if test "$no_cache" != 1; then
2743 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2746 if test "$wxUSE_LIBJPEG" = yes; then
2747 echo "$as_me:$LINENO: result: yes" >&5
2748 echo "${ECHO_T}yes" >&6
2749 elif test "$wxUSE_LIBJPEG" = no; then
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2752 elif test "$wxUSE_LIBJPEG" = sys; then
2753 echo "$as_me:$LINENO: result: system version" >&5
2754 echo "${ECHO_T}system version" >&6
2755 elif test "$wxUSE_LIBJPEG" = builtin; then
2756 echo "$as_me:$LINENO: result: builtin version" >&5
2757 echo "${ECHO_T}builtin version" >&6
2759 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2760 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2761 { (exit 1); exit 1; }; }
2765 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2766 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2769 # Check whether --with-libtiff or --without-libtiff was given.
2770 if test "${with_libtiff+set}" = set; then
2771 withval="$with_libtiff"
2773 if test "$withval" = yes; then
2774 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2775 elif test "$withval" = no; then
2776 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2777 elif test "$withval" = sys; then
2778 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2779 elif test "$withval" = builtin; then
2780 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2782 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2783 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2784 { (exit 1); exit 1; }; }
2789 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x ; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2800 eval "$ac_cv_use_libtiff"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2805 if test "$wxUSE_LIBTIFF" = yes; then
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2808 elif test "$wxUSE_LIBTIFF" = no; then
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2811 elif test "$wxUSE_LIBTIFF" = sys; then
2812 echo "$as_me:$LINENO: result: system version" >&5
2813 echo "${ECHO_T}system version" >&6
2814 elif test "$wxUSE_LIBTIFF" = builtin; then
2815 echo "$as_me:$LINENO: result: builtin version" >&5
2816 echo "${ECHO_T}builtin version" >&6
2818 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2819 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2820 { (exit 1); exit 1; }; }
2824 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2825 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2828 # Check whether --with-libxpm or --without-libxpm was given.
2829 if test "${with_libxpm+set}" = set; then
2830 withval="$with_libxpm"
2832 if test "$withval" = yes; then
2833 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2834 elif test "$withval" = no; then
2835 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
2836 elif test "$withval" = sys; then
2837 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
2838 elif test "$withval" = builtin; then
2839 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
2841 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2842 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2843 { (exit 1); exit 1; }; }
2848 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2849 if test "x$LINE" != x ; then
2850 eval "DEFAULT_$LINE"
2855 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
2859 eval "$ac_cv_use_libxpm"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2864 if test "$wxUSE_LIBXPM" = yes; then
2865 echo "$as_me:$LINENO: result: yes" >&5
2866 echo "${ECHO_T}yes" >&6
2867 elif test "$wxUSE_LIBXPM" = no; then
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2870 elif test "$wxUSE_LIBXPM" = sys; then
2871 echo "$as_me:$LINENO: result: system version" >&5
2872 echo "${ECHO_T}system version" >&6
2873 elif test "$wxUSE_LIBXPM" = builtin; then
2874 echo "$as_me:$LINENO: result: builtin version" >&5
2875 echo "${ECHO_T}builtin version" >&6
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2883 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2884 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2887 # Check whether --with-libmspack or --without-libmspack was given.
2888 if test "${with_libmspack+set}" = set; then
2889 withval="$with_libmspack"
2891 if test "$withval" = yes; then
2892 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
2894 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
2899 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2900 if test "x$LINE" != x ; then
2901 eval "DEFAULT_$LINE"
2906 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
2910 eval "$ac_cv_use_libmspack"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2915 if test "$wxUSE_LIBMSPACK" = yes; then
2916 echo "$as_me:$LINENO: result: yes" >&5
2917 echo "${ECHO_T}yes" >&6
2919 echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6
2924 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2925 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2928 # Check whether --with-opengl or --without-opengl was given.
2929 if test "${with_opengl+set}" = set; then
2930 withval="$with_opengl"
2932 if test "$withval" = yes; then
2933 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2935 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2940 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2941 if test "x$LINE" != x ; then
2942 eval "DEFAULT_$LINE"
2947 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2951 eval "$ac_cv_use_opengl"
2952 if test "$no_cache" != 1; then
2953 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2956 if test "$wxUSE_OPENGL" = yes; then
2957 echo "$as_me:$LINENO: result: yes" >&5
2958 echo "${ECHO_T}yes" >&6
2960 echo "$as_me:$LINENO: result: no" >&5
2961 echo "${ECHO_T}no" >&6
2968 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2969 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2972 # Check whether --with-dmalloc or --without-dmalloc was given.
2973 if test "${with_dmalloc+set}" = set; then
2974 withval="$with_dmalloc"
2976 if test "$withval" = yes; then
2977 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2979 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2984 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2995 eval "$ac_cv_use_dmalloc"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_DMALLOC" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3009 echo "$as_me:$LINENO: checking for --with-regex" >&5
3010 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3013 # Check whether --with-regex or --without-regex was given.
3014 if test "${with_regex+set}" = set; then
3015 withval="$with_regex"
3017 if test "$withval" = yes; then
3018 ac_cv_use_regex='wxUSE_REGEX
=yes'
3019 elif test "$withval" = no; then
3020 ac_cv_use_regex='wxUSE_REGEX
=no
'
3021 elif test "$withval" = sys; then
3022 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3023 elif test "$withval" = builtin; then
3024 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3026 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3027 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3028 { (exit 1); exit 1; }; }
3033 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3034 if test "x$LINE" != x ; then
3035 eval "DEFAULT_$LINE"
3040 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3044 eval "$ac_cv_use_regex"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3049 if test "$wxUSE_REGEX" = yes; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3052 elif test "$wxUSE_REGEX" = no; then
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 elif test "$wxUSE_REGEX" = sys; then
3056 echo "$as_me:$LINENO: result: system version" >&5
3057 echo "${ECHO_T}system version" >&6
3058 elif test "$wxUSE_REGEX" = builtin; then
3059 echo "$as_me:$LINENO: result: builtin version" >&5
3060 echo "${ECHO_T}builtin version" >&6
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3068 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3069 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3072 # Check whether --with-zlib or --without-zlib was given.
3073 if test "${with_zlib+set}" = set; then
3074 withval="$with_zlib"
3076 if test "$withval" = yes; then
3077 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3078 elif test "$withval" = no; then
3079 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3080 elif test "$withval" = sys; then
3081 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3082 elif test "$withval" = builtin; then
3083 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3085 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3086 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3087 { (exit 1); exit 1; }; }
3092 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x ; then
3094 eval "DEFAULT_$LINE"
3099 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3103 eval "$ac_cv_use_zlib"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_ZLIB" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 elif test "$wxUSE_ZLIB" = no; then
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 elif test "$wxUSE_ZLIB" = sys; then
3115 echo "$as_me:$LINENO: result: system version" >&5
3116 echo "${ECHO_T}system version" >&6
3117 elif test "$wxUSE_ZLIB" = builtin; then
3118 echo "$as_me:$LINENO: result: builtin version" >&5
3119 echo "${ECHO_T}builtin version" >&6
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3127 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3128 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3131 # Check whether --with-odbc or --without-odbc was given.
3132 if test "${with_odbc+set}" = set; then
3133 withval="$with_odbc"
3135 if test "$withval" = yes; then
3136 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3137 elif test "$withval" = no; then
3138 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3139 elif test "$withval" = sys; then
3140 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3141 elif test "$withval" = builtin; then
3142 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3144 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3145 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3146 { (exit 1); exit 1; }; }
3151 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3158 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3162 eval "$ac_cv_use_odbc"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3167 if test "$wxUSE_ODBC" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 elif test "$wxUSE_ODBC" = no; then
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 elif test "$wxUSE_ODBC" = sys; then
3174 echo "$as_me:$LINENO: result: system version" >&5
3175 echo "${ECHO_T}system version" >&6
3176 elif test "$wxUSE_ODBC" = builtin; then
3177 echo "$as_me:$LINENO: result: builtin version" >&5
3178 echo "${ECHO_T}builtin version" >&6
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3186 echo "$as_me:$LINENO: checking for --with-expat" >&5
3187 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3190 # Check whether --with-expat or --without-expat was given.
3191 if test "${with_expat+set}" = set; then
3192 withval="$with_expat"
3194 if test "$withval" = yes; then
3195 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3196 elif test "$withval" = no; then
3197 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3198 elif test "$withval" = sys; then
3199 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3200 elif test "$withval" = builtin; then
3201 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3203 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3204 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3205 { (exit 1); exit 1; }; }
3210 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3217 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3221 eval "$ac_cv_use_expat"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3226 if test "$wxUSE_EXPAT" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3229 elif test "$wxUSE_EXPAT" = no; then
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3232 elif test "$wxUSE_EXPAT" = sys; then
3233 echo "$as_me:$LINENO: result: system version" >&5
3234 echo "${ECHO_T}system version" >&6
3235 elif test "$wxUSE_EXPAT" = builtin; then
3236 echo "$as_me:$LINENO: result: builtin version" >&5
3237 echo "${ECHO_T}builtin version" >&6
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3249 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3251 # Check whether --enable-shared or --disable-shared was given.
3252 if test "${enable_shared+set}" = set; then
3253 enableval="$enable_shared"
3255 if test "$enableval" = yes; then
3256 ac_cv_use_shared='wxUSE_SHARED
=yes'
3258 ac_cv_use_shared='wxUSE_SHARED
=no
'
3263 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x ; then
3265 eval "DEFAULT_$LINE"
3270 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3274 eval "$ac_cv_use_shared"
3275 if test "$no_cache" != 1; then
3276 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3279 if test "$wxUSE_SHARED" = yes; then
3280 echo "$as_me:$LINENO: result: yes" >&5
3281 echo "${ECHO_T}yes" >&6
3283 echo "$as_me:$LINENO: result: no" >&5
3284 echo "${ECHO_T}no" >&6
3289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3290 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3292 # Check whether --enable-optimise or --disable-optimise was given.
3293 if test "${enable_optimise+set}" = set; then
3294 enableval="$enable_optimise"
3296 if test "$enableval" = yes; then
3297 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3299 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3304 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x ; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3315 eval "$ac_cv_use_optimise"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3320 if test "$wxUSE_OPTIMISE" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3331 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3333 # Check whether --enable-debug or --disable-debug was given.
3334 if test "${enable_debug+set}" = set; then
3335 enableval="$enable_debug"
3337 if test "$enableval" = yes; then
3338 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3340 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3345 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x ; then
3347 eval "DEFAULT_$LINE"
3352 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3356 eval "$ac_cv_use_debug"
3357 if test "$no_cache" != 1; then
3358 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3361 if test "$wxUSE_DEBUG" = yes; then
3362 echo "$as_me:$LINENO: result: yes" >&5
3363 echo "${ECHO_T}yes" >&6
3365 echo "$as_me:$LINENO: result: no" >&5
3366 echo "${ECHO_T}no" >&6
3371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3374 # Check whether --enable-stl or --disable-stl was given.
3375 if test "${enable_stl+set}" = set; then
3376 enableval="$enable_stl"
3378 if test "$enableval" = yes; then
3379 ac_cv_use_stl='wxUSE_STL
=yes'
3381 ac_cv_use_stl='wxUSE_STL
=no
'
3386 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x ; then
3388 eval "DEFAULT_$LINE"
3393 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3397 eval "$ac_cv_use_stl"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3402 if test "$wxUSE_STL" = yes; then
3403 echo "$as_me:$LINENO: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6
3406 echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6
3411 if test "$wxUSE_DEBUG" = "yes"; then
3412 DEFAULT_wxUSE_DEBUG_FLAG=yes
3413 DEFAULT_wxUSE_DEBUG_INFO=yes
3415 elif test "$wxUSE_DEBUG" = "no"; then
3416 DEFAULT_wxUSE_DEBUG_FLAG=no
3417 DEFAULT_wxUSE_DEBUG_INFO=no
3423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3424 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3426 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3427 if test "${enable_debug_flag+set}" = set; then
3428 enableval="$enable_debug_flag"
3430 if test "$enableval" = yes; then
3431 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3433 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3438 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3439 if test "x$LINE" != x ; then
3440 eval "DEFAULT_$LINE"
3445 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3449 eval "$ac_cv_use_debug_flag"
3450 if test "$no_cache" != 1; then
3451 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3454 if test "$wxUSE_DEBUG_FLAG" = yes; then
3455 echo "$as_me:$LINENO: result: yes" >&5
3456 echo "${ECHO_T}yes" >&6
3458 echo "$as_me:$LINENO: result: no" >&5
3459 echo "${ECHO_T}no" >&6
3464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3465 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3467 # Check whether --enable-debug_info or --disable-debug_info was given.
3468 if test "${enable_debug_info+set}" = set; then
3469 enableval="$enable_debug_info"
3471 if test "$enableval" = yes; then
3472 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3474 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3479 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3486 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3490 eval "$ac_cv_use_debug_info"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_DEBUG_INFO" = yes; then
3496 echo "$as_me:$LINENO: result: yes" >&5
3497 echo "${ECHO_T}yes" >&6
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3506 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3508 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3509 if test "${enable_debug_gdb+set}" = set; then
3510 enableval="$enable_debug_gdb"
3512 if test "$enableval" = yes; then
3513 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3515 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3520 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3521 if test "x$LINE" != x ; then
3522 eval "DEFAULT_$LINE"
3527 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3531 eval "$ac_cv_use_debug_gdb"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3536 if test "$wxUSE_DEBUG_GDB" = yes; then
3537 echo "$as_me:$LINENO: result: yes" >&5
3538 echo "${ECHO_T}yes" >&6
3540 echo "$as_me:$LINENO: result: no" >&5
3541 echo "${ECHO_T}no" >&6
3546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3547 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3549 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3550 if test "${enable_debug_cntxt+set}" = set; then
3551 enableval="$enable_debug_cntxt"
3553 if test "$enableval" = yes; then
3554 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3556 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3561 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x ; then
3563 eval "DEFAULT_$LINE"
3568 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3572 eval "$ac_cv_use_debug_cntxt"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3577 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3578 echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6
3581 echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6
3587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3588 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3590 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3591 if test "${enable_mem_tracing+set}" = set; then
3592 enableval="$enable_mem_tracing"
3594 if test "$enableval" = yes; then
3595 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3597 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3602 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x ; then
3604 eval "DEFAULT_$LINE"
3609 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3613 eval "$ac_cv_use_mem_tracing"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3618 if test "$wxUSE_MEM_TRACING" = yes; then
3619 echo "$as_me:$LINENO: result: yes" >&5
3620 echo "${ECHO_T}yes" >&6
3622 echo "$as_me:$LINENO: result: no" >&5
3623 echo "${ECHO_T}no" >&6
3628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3629 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3631 # Check whether --enable-profile or --disable-profile was given.
3632 if test "${enable_profile+set}" = set; then
3633 enableval="$enable_profile"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3638 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3643 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3654 eval "$ac_cv_use_profile"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_PROFILE" = yes; then
3660 echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3672 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3673 if test "${enable_no_rtti+set}" = set; then
3674 enableval="$enable_no_rtti"
3676 if test "$enableval" = yes; then
3677 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3679 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3684 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3691 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3695 eval "$ac_cv_use_no_rtti"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_NO_RTTI" = yes; then
3701 echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6
3704 echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6
3710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3713 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3714 if test "${enable_no_exceptions+set}" = set; then
3715 enableval="$enable_no_exceptions"
3717 if test "$enableval" = yes; then
3718 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3720 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3725 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3732 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3736 eval "$ac_cv_use_no_exceptions"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3752 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3754 # Check whether --enable-permissive or --disable-permissive was given.
3755 if test "${enable_permissive+set}" = set; then
3756 enableval="$enable_permissive"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3761 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3766 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x ; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3777 eval "$ac_cv_use_permissive"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3782 if test "$wxUSE_PERMISSIVE" = yes; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3793 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3795 # Check whether --enable-no_deps or --disable-no_deps was given.
3796 if test "${enable_no_deps+set}" = set; then
3797 enableval="$enable_no_deps"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3802 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3807 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x ; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3818 eval "$ac_cv_use_no_deps"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3823 if test "$wxUSE_NO_DEPS" = yes; then
3824 echo "$as_me:$LINENO: result: yes" >&5
3825 echo "${ECHO_T}yes" >&6
3827 echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3837 # Check whether --enable-compat22 or --disable-compat22 was given.
3838 if test "${enable_compat22+set}" = set; then
3839 enableval="$enable_compat22"
3841 if test "$enableval" = yes; then
3842 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3844 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3849 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3856 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3860 eval "$ac_cv_use_compat22"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3865 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3874 enablestring=disable
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3878 # Check whether --enable-compat24 or --disable-compat24 was given.
3879 if test "${enable_compat24+set}" = set; then
3880 enableval="$enable_compat24"
3882 if test "$enableval" = yes; then
3883 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3885 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3890 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3897 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3901 eval "$ac_cv_use_compat24"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3906 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3915 # Check whether --enable-rpath or --disable-rpath was given.
3916 if test "${enable_rpath+set}" = set; then
3917 enableval="$enable_rpath"
3918 wxRPATH_DIR="$enableval"
3921 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3922 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3932 # Check whether --enable-intl or --disable-intl was given.
3933 if test "${enable_intl+set}" = set; then
3934 enableval="$enable_intl"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_intl='wxUSE_INTL
=yes'
3939 ac_cv_use_intl='wxUSE_INTL
=no
'
3944 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x ; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3955 eval "$ac_cv_use_intl"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_INTL" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3973 # Check whether --enable-config or --disable-config was given.
3974 if test "${enable_config+set}" = set; then
3975 enableval="$enable_config"
3977 if test "$enableval" = yes; then
3978 ac_cv_use_config='wxUSE_CONFIG
=yes'
3980 ac_cv_use_config='wxUSE_CONFIG
=no
'
3985 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x ; then
3987 eval "DEFAULT_$LINE"
3992 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3996 eval "$ac_cv_use_config"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_CONFIG" = yes; then
4002 echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4015 # Check whether --enable-protocols or --disable-protocols was given.
4016 if test "${enable_protocols+set}" = set; then
4017 enableval="$enable_protocols"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4022 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4027 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4038 eval "$ac_cv_use_protocols"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_PROTOCOL" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4056 # Check whether --enable-ftp or --disable-ftp was given.
4057 if test "${enable_ftp+set}" = set; then
4058 enableval="$enable_ftp"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4063 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4068 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4079 eval "$ac_cv_use_ftp"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4097 # Check whether --enable-http or --disable-http was given.
4098 if test "${enable_http+set}" = set; then
4099 enableval="$enable_http"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4104 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4109 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4120 eval "$ac_cv_use_http"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4125 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4138 # Check whether --enable-fileproto or --disable-fileproto was given.
4139 if test "${enable_fileproto+set}" = set; then
4140 enableval="$enable_fileproto"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4145 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4150 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4161 eval "$ac_cv_use_fileproto"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4166 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4179 # Check whether --enable-sockets or --disable-sockets was given.
4180 if test "${enable_sockets+set}" = set; then
4181 enableval="$enable_sockets"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4186 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4191 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4202 eval "$ac_cv_use_sockets"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_SOCKETS" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4220 # Check whether --enable-ole or --disable-ole was given.
4221 if test "${enable_ole+set}" = set; then
4222 enableval="$enable_ole"
4224 if test "$enableval" = yes; then
4225 ac_cv_use_ole='wxUSE_OLE
=yes'
4227 ac_cv_use_ole='wxUSE_OLE
=no
'
4232 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4239 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4243 eval "$ac_cv_use_ole"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_OLE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4261 # Check whether --enable-dataobj or --disable-dataobj was given.
4262 if test "${enable_dataobj+set}" = set; then
4263 enableval="$enable_dataobj"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4268 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4273 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4284 eval "$ac_cv_use_dataobj"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4289 if test "$wxUSE_DATAOBJ" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4301 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4303 # Check whether --enable-ipc or --disable-ipc was given.
4304 if test "${enable_ipc+set}" = set; then
4305 enableval="$enable_ipc"
4307 if test "$enableval" = yes; then
4308 ac_cv_use_ipc='wxUSE_IPC
=yes'
4310 ac_cv_use_ipc='wxUSE_IPC
=no
'
4315 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4316 if test "x$LINE" != x ; then
4317 eval "DEFAULT_$LINE"
4322 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4326 eval "$ac_cv_use_ipc"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4331 if test "$wxUSE_IPC" = yes; then
4332 echo "$as_me:$LINENO: result: yes" >&5
4333 echo "${ECHO_T}yes" >&6
4335 echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6
4342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4343 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4345 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4346 if test "${enable_apple_ieee+set}" = set; then
4347 enableval="$enable_apple_ieee"
4349 if test "$enableval" = yes; then
4350 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4352 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4357 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4364 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4368 eval "$ac_cv_use_apple_ieee"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_APPLE_IEEE" = yes; then
4374 echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4386 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4387 if test "${enable_catch_segvs+set}" = set; then
4388 enableval="$enable_catch_segvs"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4393 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4398 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x ; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4409 eval "$ac_cv_use_catch_segvs"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4414 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4415 echo "$as_me:$LINENO: result: yes" >&5
4416 echo "${ECHO_T}yes" >&6
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4425 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4427 # Check whether --enable-cmdline or --disable-cmdline was given.
4428 if test "${enable_cmdline+set}" = set; then
4429 enableval="$enable_cmdline"
4431 if test "$enableval" = yes; then
4432 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4434 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4439 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x ; then
4441 eval "DEFAULT_$LINE"
4446 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4450 eval "$ac_cv_use_cmdline"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4456 echo "$as_me:$LINENO: result: yes" >&5
4457 echo "${ECHO_T}yes" >&6
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4468 # Check whether --enable-datetime or --disable-datetime was given.
4469 if test "${enable_datetime+set}" = set; then
4470 enableval="$enable_datetime"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4475 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4480 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4491 eval "$ac_cv_use_datetime"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4496 if test "$wxUSE_DATETIME" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4507 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4509 # Check whether --enable-dialupman or --disable-dialupman was given.
4510 if test "${enable_dialupman+set}" = set; then
4511 enableval="$enable_dialupman"
4513 if test "$enableval" = yes; then
4514 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4516 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4521 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x ; then
4523 eval "DEFAULT_$LINE"
4528 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4532 eval "$ac_cv_use_dialupman"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4537 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4538 echo "$as_me:$LINENO: result: yes" >&5
4539 echo "${ECHO_T}yes" >&6
4541 echo "$as_me:$LINENO: result: no" >&5
4542 echo "${ECHO_T}no" >&6
4547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4550 # Check whether --enable-dynlib or --disable-dynlib was given.
4551 if test "${enable_dynlib+set}" = set; then
4552 enableval="$enable_dynlib"
4554 if test "$enableval" = yes; then
4555 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4557 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4562 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4569 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4573 eval "$ac_cv_use_dynlib"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4578 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4579 echo "$as_me:$LINENO: result: yes" >&5
4580 echo "${ECHO_T}yes" >&6
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4591 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4592 if test "${enable_dynamicloader+set}" = set; then
4593 enableval="$enable_dynamicloader"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4598 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4603 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x ; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4614 eval "$ac_cv_use_dynamicloader"
4615 if test "$no_cache" != 1; then
4616 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4619 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4620 echo "$as_me:$LINENO: result: yes" >&5
4621 echo "${ECHO_T}yes" >&6
4623 echo "$as_me:$LINENO: result: no" >&5
4624 echo "${ECHO_T}no" >&6
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4632 # Check whether --enable-exceptions or --disable-exceptions was given.
4633 if test "${enable_exceptions+set}" = set; then
4634 enableval="$enable_exceptions"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
4639 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
4644 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
4655 eval "$ac_cv_use_exceptions"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4660 if test "$wxUSE_EXCEPTIONS" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4673 # Check whether --enable-ffile or --disable-ffile was given.
4674 if test "${enable_ffile+set}" = set; then
4675 enableval="$enable_ffile"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4680 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4685 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4696 eval "$ac_cv_use_ffile"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_FFILE" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4714 # Check whether --enable-file or --disable-file was given.
4715 if test "${enable_file+set}" = set; then
4716 enableval="$enable_file"
4718 if test "$enableval" = yes; then
4719 ac_cv_use_file='wxUSE_FILE
=yes'
4721 ac_cv_use_file='wxUSE_FILE
=no
'
4726 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x ; then
4728 eval "DEFAULT_$LINE"
4733 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4737 eval "$ac_cv_use_file"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_FILE" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4755 # Check whether --enable-filesystem or --disable-filesystem was given.
4756 if test "${enable_filesystem+set}" = set; then
4757 enableval="$enable_filesystem"
4759 if test "$enableval" = yes; then
4760 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
4762 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
4767 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4774 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
4778 eval "$ac_cv_use_filesystem"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_FILESYSTEM" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4796 # Check whether --enable-fontmap or --disable-fontmap was given.
4797 if test "${enable_fontmap+set}" = set; then
4798 enableval="$enable_fontmap"
4800 if test "$enableval" = yes; then
4801 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4803 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4808 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4815 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4819 eval "$ac_cv_use_fontmap"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4824 if test "$wxUSE_FONTMAP" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4837 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4838 if test "${enable_fs_inet+set}" = set; then
4839 enableval="$enable_fs_inet"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
4844 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
4849 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
4860 eval "$ac_cv_use_fs_inet"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_FS_INET" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4878 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4879 if test "${enable_fs_zip+set}" = set; then
4880 enableval="$enable_fs_zip"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
4885 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
4890 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
4901 eval "$ac_cv_use_fs_zip"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_FS_ZIP" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4919 # Check whether --enable-geometry or --disable-geometry was given.
4920 if test "${enable_geometry+set}" = set; then
4921 enableval="$enable_geometry"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4926 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4931 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x ; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4942 eval "$ac_cv_use_geometry"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_GEOMETRY" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4960 # Check whether --enable-log or --disable-log was given.
4961 if test "${enable_log+set}" = set; then
4962 enableval="$enable_log"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_log='wxUSE_LOG
=yes'
4967 ac_cv_use_log='wxUSE_LOG
=no
'
4972 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x ; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4983 eval "$ac_cv_use_log"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4988 if test "$wxUSE_LOG" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5001 # Check whether --enable-longlong or --disable-longlong was given.
5002 if test "${enable_longlong+set}" = set; then
5003 enableval="$enable_longlong"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5008 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5013 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x ; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5024 eval "$ac_cv_use_longlong"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_LONGLONG" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5042 # Check whether --enable-mimetype or --disable-mimetype was given.
5043 if test "${enable_mimetype+set}" = set; then
5044 enableval="$enable_mimetype"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5049 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5054 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5065 eval "$ac_cv_use_mimetype"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_MIMETYPE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5083 # Check whether --enable-mslu or --disable-mslu was given.
5084 if test "${enable_mslu+set}" = set; then
5085 enableval="$enable_mslu"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5090 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5095 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5106 eval "$ac_cv_use_mslu"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_UNICODE_MSLU" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5124 # Check whether --enable-snglinst or --disable-snglinst was given.
5125 if test "${enable_snglinst+set}" = set; then
5126 enableval="$enable_snglinst"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5131 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5136 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5147 eval "$ac_cv_use_snglinst"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5165 # Check whether --enable-streams or --disable-streams was given.
5166 if test "${enable_streams+set}" = set; then
5167 enableval="$enable_streams"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5172 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5177 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5188 eval "$ac_cv_use_streams"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_STREAMS" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5206 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5207 if test "${enable_std_iostreams+set}" = set; then
5208 enableval="$enable_std_iostreams"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5213 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5218 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5229 eval "$ac_cv_use_std_iostreams"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_STD_IOSTREAM" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5247 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5248 if test "${enable_stopwatch+set}" = set; then
5249 enableval="$enable_stopwatch"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5254 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5259 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5270 eval "$ac_cv_use_stopwatch"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_STOPWATCH" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5288 # Check whether --enable-system_options or --disable-system_options was given.
5289 if test "${enable_system_options+set}" = set; then
5290 enableval="$enable_system_options"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5295 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5300 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5311 eval "$ac_cv_use_system_options"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5329 # Check whether --enable-textbuf or --disable-textbuf was given.
5330 if test "${enable_textbuf+set}" = set; then
5331 enableval="$enable_textbuf"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5336 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5341 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5352 eval "$ac_cv_use_textbuf"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_TEXTBUFFER" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5370 # Check whether --enable-textfile or --disable-textfile was given.
5371 if test "${enable_textfile+set}" = set; then
5372 enableval="$enable_textfile"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5377 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5382 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5393 eval "$ac_cv_use_textfile"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_TEXTFILE" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5411 # Check whether --enable-timer or --disable-timer was given.
5412 if test "${enable_timer+set}" = set; then
5413 enableval="$enable_timer"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_timer='wxUSE_TIMER
=yes'
5418 ac_cv_use_timer='wxUSE_TIMER
=no
'
5423 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5434 eval "$ac_cv_use_timer"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_TIMER" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5452 # Check whether --enable-unicode or --disable-unicode was given.
5453 if test "${enable_unicode+set}" = set; then
5454 enableval="$enable_unicode"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5459 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5464 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5475 eval "$ac_cv_use_unicode"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_UNICODE" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5493 # Check whether --enable-wave or --disable-wave was given.
5494 if test "${enable_wave+set}" = set; then
5495 enableval="$enable_wave"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_wave='wxUSE_WAVE
=yes'
5500 ac_cv_use_wave='wxUSE_WAVE
=no
'
5505 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
5516 eval "$ac_cv_use_wave"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_WAVE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5534 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5535 if test "${enable_wxprintfv+set}" = set; then
5536 enableval="$enable_wxprintfv"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5541 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5546 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5557 eval "$ac_cv_use_wxprintfv"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5575 # Check whether --enable-zipstream or --disable-zipstream was given.
5576 if test "${enable_zipstream+set}" = set; then
5577 enableval="$enable_zipstream"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5582 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5587 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5598 eval "$ac_cv_use_zipstream"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_ZIPSTREAM" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5616 # Check whether --enable-gzstream or --disable-gzstream was given.
5617 if test "${enable_gzstream+set}" = set; then
5618 enableval="$enable_gzstream"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_gzstream='wxUSE_GZSTREAM
=yes'
5623 ac_cv_use_gzstream='wxUSE_GZSTREAM
=no
'
5628 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_gzstream='wxUSE_GZSTREAM
='$DEFAULT_wxUSE_GZSTREAM
5639 eval "$ac_cv_use_gzstream"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_GZSTREAM" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5658 # Check whether --enable-url or --disable-url was given.
5659 if test "${enable_url+set}" = set; then
5660 enableval="$enable_url"
5662 if test "$enableval" = yes; then
5663 ac_cv_use_url='wxUSE_URL
=yes'
5665 ac_cv_use_url='wxUSE_URL
=no
'
5670 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5671 if test "x$LINE" != x ; then
5672 eval "DEFAULT_$LINE"
5677 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5681 eval "$ac_cv_use_url"
5682 if test "$no_cache" != 1; then
5683 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5686 if test "$wxUSE_URL" = yes; then
5687 echo "$as_me:$LINENO: result: yes" >&5
5688 echo "${ECHO_T}yes" >&6
5690 echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6
5696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5699 # Check whether --enable-protocol or --disable-protocol was given.
5700 if test "${enable_protocol+set}" = set; then
5701 enableval="$enable_protocol"
5703 if test "$enableval" = yes; then
5704 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5706 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5711 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5712 if test "x$LINE" != x ; then
5713 eval "DEFAULT_$LINE"
5718 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5722 eval "$ac_cv_use_protocol"
5723 if test "$no_cache" != 1; then
5724 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5727 if test "$wxUSE_PROTOCOL" = yes; then
5728 echo "$as_me:$LINENO: result: yes" >&5
5729 echo "${ECHO_T}yes" >&6
5731 echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6
5737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5738 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5740 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5741 if test "${enable_protocol_http+set}" = set; then
5742 enableval="$enable_protocol_http"
5744 if test "$enableval" = yes; then
5745 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5747 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5752 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x ; then
5754 eval "DEFAULT_$LINE"
5759 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5763 eval "$ac_cv_use_protocol_http"
5764 if test "$no_cache" != 1; then
5765 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5768 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5769 echo "$as_me:$LINENO: result: yes" >&5
5770 echo "${ECHO_T}yes" >&6
5772 echo "$as_me:$LINENO: result: no" >&5
5773 echo "${ECHO_T}no" >&6
5778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5779 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5781 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5782 if test "${enable_protocol_ftp+set}" = set; then
5783 enableval="$enable_protocol_ftp"
5785 if test "$enableval" = yes; then
5786 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5788 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5793 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5794 if test "x$LINE" != x ; then
5795 eval "DEFAULT_$LINE"
5800 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5804 eval "$ac_cv_use_protocol_ftp"
5805 if test "$no_cache" != 1; then
5806 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5809 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5810 echo "$as_me:$LINENO: result: yes" >&5
5811 echo "${ECHO_T}yes" >&6
5813 echo "$as_me:$LINENO: result: no" >&5
5814 echo "${ECHO_T}no" >&6
5819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5820 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5822 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5823 if test "${enable_protocol_file+set}" = set; then
5824 enableval="$enable_protocol_file"
5826 if test "$enableval" = yes; then
5827 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5829 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5834 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5835 if test "x$LINE" != x ; then
5836 eval "DEFAULT_$LINE"
5841 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5845 eval "$ac_cv_use_protocol_file"
5846 if test "$no_cache" != 1; then
5847 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5850 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5851 echo "$as_me:$LINENO: result: yes" >&5
5852 echo "${ECHO_T}yes" >&6
5854 echo "$as_me:$LINENO: result: no" >&5
5855 echo "${ECHO_T}no" >&6
5863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5864 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5866 # Check whether --enable-threads or --disable-threads was given.
5867 if test "${enable_threads+set}" = set; then
5868 enableval="$enable_threads"
5870 if test "$enableval" = yes; then
5871 ac_cv_use_threads='wxUSE_THREADS
=yes'
5873 ac_cv_use_threads='wxUSE_THREADS
=no
'
5878 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5879 if test "x$LINE" != x ; then
5880 eval "DEFAULT_$LINE"
5885 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5889 eval "$ac_cv_use_threads"
5890 if test "$no_cache" != 1; then
5891 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5894 if test "$wxUSE_THREADS" = yes; then
5895 echo "$as_me:$LINENO: result: yes" >&5
5896 echo "${ECHO_T}yes" >&6
5898 echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6
5903 if test "$wxUSE_GUI" = "yes"; then
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5911 # Check whether --enable-docview or --disable-docview was given.
5912 if test "${enable_docview+set}" = set; then
5913 enableval="$enable_docview"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5918 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5923 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5934 eval "$ac_cv_use_docview"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5952 # Check whether --enable-help or --disable-help was given.
5953 if test "${enable_help+set}" = set; then
5954 enableval="$enable_help"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_help='wxUSE_HELP
=yes'
5959 ac_cv_use_help='wxUSE_HELP
=no
'
5964 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5975 eval "$ac_cv_use_help"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_HELP" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5993 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5994 if test "${enable_mshtmlhelp+set}" = set; then
5995 enableval="$enable_mshtmlhelp"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6000 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6005 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6016 eval "$ac_cv_use_mshtmlhelp"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_MS_HTML_HELP" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6034 # Check whether --enable-html or --disable-html was given.
6035 if test "${enable_html+set}" = set; then
6036 enableval="$enable_html"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_html='wxUSE_HTML
=yes'
6041 ac_cv_use_html='wxUSE_HTML
=no
'
6046 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6057 eval "$ac_cv_use_html"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_HTML" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6075 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6076 if test "${enable_htmlhelp+set}" = set; then
6077 enableval="$enable_htmlhelp"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6082 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6087 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6098 eval "$ac_cv_use_htmlhelp"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_WXHTML_HELP" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6116 # Check whether --enable-constraints or --disable-constraints was given.
6117 if test "${enable_constraints+set}" = set; then
6118 enableval="$enable_constraints"
6120 if test "$enableval" = yes; then
6121 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6123 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6128 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6135 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6139 eval "$ac_cv_use_constraints"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6144 if test "$wxUSE_CONSTRAINTS" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6157 # Check whether --enable-printarch or --disable-printarch was given.
6158 if test "${enable_printarch+set}" = set; then
6159 enableval="$enable_printarch"
6161 if test "$enableval" = yes; then
6162 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6164 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6169 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6176 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6180 eval "$ac_cv_use_printarch"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6185 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6198 # Check whether --enable-mdi or --disable-mdi was given.
6199 if test "${enable_mdi+set}" = set; then
6200 enableval="$enable_mdi"
6202 if test "$enableval" = yes; then
6203 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6205 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6210 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x ; then
6212 eval "DEFAULT_$LINE"
6217 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6221 eval "$ac_cv_use_mdi"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6226 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6
6230 echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6239 # Check whether --enable-loggui or --disable-loggui was given.
6240 if test "${enable_loggui+set}" = set; then
6241 enableval="$enable_loggui"
6243 if test "$enableval" = yes; then
6244 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6246 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6251 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x ; then
6253 eval "DEFAULT_$LINE"
6258 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6262 eval "$ac_cv_use_loggui"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_LOGGUI" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6280 # Check whether --enable-logwin or --disable-logwin was given.
6281 if test "${enable_logwin+set}" = set; then
6282 enableval="$enable_logwin"
6284 if test "$enableval" = yes; then
6285 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6287 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6292 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6299 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6303 eval "$ac_cv_use_logwin"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_LOGWINDOW" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6321 # Check whether --enable-logdialog or --disable-logdialog was given.
6322 if test "${enable_logdialog+set}" = set; then
6323 enableval="$enable_logdialog"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6328 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6333 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x ; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6344 eval "$ac_cv_use_logdialog"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_LOGDIALOG" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6363 # Check whether --enable-postscript or --disable-postscript was given.
6364 if test "${enable_postscript+set}" = set; then
6365 enableval="$enable_postscript"
6367 if test "$enableval" = yes; then
6368 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6370 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6375 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6382 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6386 eval "$ac_cv_use_postscript"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6391 if test "$wxUSE_POSTSCRIPT" = yes; then
6392 echo "$as_me:$LINENO: result: yes" >&5
6393 echo "${ECHO_T}yes" >&6
6395 echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6
6404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6405 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6407 # Check whether --enable-prologio or --disable-prologio was given.
6408 if test "${enable_prologio+set}" = set; then
6409 enableval="$enable_prologio"
6411 if test "$enableval" = yes; then
6412 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6414 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6419 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6420 if test "x$LINE" != x ; then
6421 eval "DEFAULT_$LINE"
6426 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6430 eval "$ac_cv_use_prologio"
6431 if test "$no_cache" != 1; then
6432 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6435 if test "$wxUSE_PROLOGIO" = yes; then
6436 echo "$as_me:$LINENO: result: yes" >&5
6437 echo "${ECHO_T}yes" >&6
6439 echo "$as_me:$LINENO: result: no" >&5
6440 echo "${ECHO_T}no" >&6
6445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6448 # Check whether --enable-resources or --disable-resources was given.
6449 if test "${enable_resources+set}" = set; then
6450 enableval="$enable_resources"
6452 if test "$enableval" = yes; then
6453 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6455 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6460 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x ; then
6462 eval "DEFAULT_$LINE"
6467 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6471 eval "$ac_cv_use_resources"
6472 if test "$no_cache" != 1; then
6473 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6476 if test "$wxUSE_RESOURCES" = yes; then
6477 echo "$as_me:$LINENO: result: yes" >&5
6478 echo "${ECHO_T}yes" >&6
6480 echo "$as_me:$LINENO: result: no" >&5
6481 echo "${ECHO_T}no" >&6
6488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6491 # Check whether --enable-clipboard or --disable-clipboard was given.
6492 if test "${enable_clipboard+set}" = set; then
6493 enableval="$enable_clipboard"
6495 if test "$enableval" = yes; then
6496 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6498 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6503 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6504 if test "x$LINE" != x ; then
6505 eval "DEFAULT_$LINE"
6510 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6514 eval "$ac_cv_use_clipboard"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6519 if test "$wxUSE_CLIPBOARD" = yes; then
6520 echo "$as_me:$LINENO: result: yes" >&5
6521 echo "${ECHO_T}yes" >&6
6523 echo "$as_me:$LINENO: result: no" >&5
6524 echo "${ECHO_T}no" >&6
6529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6530 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6532 # Check whether --enable-dnd or --disable-dnd was given.
6533 if test "${enable_dnd+set}" = set; then
6534 enableval="$enable_dnd"
6536 if test "$enableval" = yes; then
6537 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6539 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6544 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x ; then
6546 eval "DEFAULT_$LINE"
6551 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6555 eval "$ac_cv_use_dnd"
6556 if test "$no_cache" != 1; then
6557 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6560 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6561 echo "$as_me:$LINENO: result: yes" >&5
6562 echo "${ECHO_T}yes" >&6
6564 echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6
6570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6573 # Check whether --enable-metafile or --disable-metafile was given.
6574 if test "${enable_metafile+set}" = set; then
6575 enableval="$enable_metafile"
6577 if test "$enableval" = yes; then
6578 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6580 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6585 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x ; then
6587 eval "DEFAULT_$LINE"
6592 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6596 eval "$ac_cv_use_metafile"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_METAFILE" = yes; then
6602 echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6
6605 echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6
6614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6615 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6617 # Check whether --enable-controls or --disable-controls was given.
6618 if test "${enable_controls+set}" = set; then
6619 enableval="$enable_controls"
6621 if test "$enableval" = yes; then
6622 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6624 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6629 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x ; then
6631 eval "DEFAULT_$LINE"
6636 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6640 eval "$ac_cv_use_controls"
6641 if test "$no_cache" != 1; then
6642 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6645 if test "$wxUSE_CONTROLS" = yes; then
6646 echo "$as_me:$LINENO: result: yes" >&5
6647 echo "${ECHO_T}yes" >&6
6649 echo "$as_me:$LINENO: result: no" >&5
6650 echo "${ECHO_T}no" >&6
6654 if test "$wxUSE_CONTROLS" = "yes"; then
6655 DEFAULT_wxUSE_ACCEL=yes
6656 DEFAULT_wxUSE_BMPBUTTON=yes
6657 DEFAULT_wxUSE_BUTTON=yes
6658 DEFAULT_wxUSE_CALCTRL=no
6659 DEFAULT_wxUSE_CARET=yes
6660 DEFAULT_wxUSE_COMBOBOX=yes
6661 DEFAULT_wxUSE_CHECKBOX=yes
6662 DEFAULT_wxUSE_CHECKLISTBOX=yes
6663 DEFAULT_wxUSE_CHOICE=yes
6664 DEFAULT_wxUSE_GAUGE=yes
6665 DEFAULT_wxUSE_GRID=yes
6666 DEFAULT_wxUSE_IMAGLIST=yes
6667 DEFAULT_wxUSE_LISTBOOK=yes
6668 DEFAULT_wxUSE_LISTBOX=yes
6669 DEFAULT_wxUSE_LISTCTRL=yes
6670 DEFAULT_wxUSE_NOTEBOOK=yes
6671 DEFAULT_wxUSE_RADIOBOX=yes
6672 DEFAULT_wxUSE_RADIOBTN=yes
6673 DEFAULT_wxUSE_SASH=yes
6674 DEFAULT_wxUSE_SCROLLBAR=yes
6675 DEFAULT_wxUSE_SLIDER=yes
6676 DEFAULT_wxUSE_SPINBTN=yes
6677 DEFAULT_wxUSE_SPINCTRL=yes
6678 DEFAULT_wxUSE_SPLITTER=yes
6679 DEFAULT_wxUSE_STATBMP=yes
6680 DEFAULT_wxUSE_STATBOX=yes
6681 DEFAULT_wxUSE_STATLINE=yes
6682 DEFAULT_wxUSE_STATUSBAR=yes
6683 DEFAULT_wxUSE_TAB_DIALOG=yes
6684 DEFAULT_wxUSE_TOGGLEBTN=yes
6685 DEFAULT_wxUSE_TOOLBAR=yes
6686 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6687 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6688 DEFAULT_wxUSE_TOOLTIPS=yes
6689 DEFAULT_wxUSE_TREECTRL=yes
6690 DEFAULT_wxUSE_POPUPWIN=yes
6691 DEFAULT_wxUSE_TIPWINDOW=yes
6692 elif test "$wxUSE_CONTROLS" = "no"; then
6693 DEFAULT_wxUSE_ACCEL=no
6694 DEFAULT_wxUSE_BMPBUTTON=no
6695 DEFAULT_wxUSE_BUTTON=no
6696 DEFAULT_wxUSE_CALCTRL=no
6697 DEFAULT_wxUSE_CARET=no
6698 DEFAULT_wxUSE_COMBOBOX=no
6699 DEFAULT_wxUSE_CHECKBOX=no
6700 DEFAULT_wxUSE_CHECKLISTBOX=no
6701 DEFAULT_wxUSE_CHOICE=no
6702 DEFAULT_wxUSE_GAUGE=no
6703 DEFAULT_wxUSE_GRID=no
6704 DEFAULT_wxUSE_IMAGLIST=no
6705 DEFAULT_wxUSE_LISTBOOK=no
6706 DEFAULT_wxUSE_LISTBOX=no
6707 DEFAULT_wxUSE_LISTCTRL=no
6708 DEFAULT_wxUSE_NOTEBOOK=no
6709 DEFAULT_wxUSE_RADIOBOX=no
6710 DEFAULT_wxUSE_RADIOBTN=no
6711 DEFAULT_wxUSE_SASH=no
6712 DEFAULT_wxUSE_SCROLLBAR=no
6713 DEFAULT_wxUSE_SLIDER=no
6714 DEFAULT_wxUSE_SPINBTN=no
6715 DEFAULT_wxUSE_SPINCTRL=no
6716 DEFAULT_wxUSE_SPLITTER=no
6717 DEFAULT_wxUSE_STATBMP=no
6718 DEFAULT_wxUSE_STATBOX=no
6719 DEFAULT_wxUSE_STATLINE=no
6720 DEFAULT_wxUSE_STATUSBAR=no
6721 DEFAULT_wxUSE_TAB_DIALOG=no
6722 DEFAULT_wxUSE_TOGGLEBTN=no
6723 DEFAULT_wxUSE_TOOLBAR=no
6724 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6725 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6726 DEFAULT_wxUSE_TOOLTIPS=no
6727 DEFAULT_wxUSE_TREECTRL=no
6728 DEFAULT_wxUSE_POPUPWIN=no
6729 DEFAULT_wxUSE_TIPWINDOW=no
6732 ## FIXME: This is a blatant hack
6733 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6734 wxUSE_PRINTING_ARCHITECTURE=no
6735 wxUSE_DRAG_AND_DROP=no
6736 # Generic notebook requires tab dialog
6737 DEFAULT_wxUSE_TABDIALOG=yes
6738 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6739 DEFAULT_wxUSE_SCROLLBAR=no
6740 DEFAULT_wxUSE_TOOLTIPS=no
6741 DEFAULT_wxUSE_DRAGIMAGE=no
6746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6747 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6749 # Check whether --enable-accel or --disable-accel was given.
6750 if test "${enable_accel+set}" = set; then
6751 enableval="$enable_accel"
6753 if test "$enableval" = yes; then
6754 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6756 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6761 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6762 if test "x$LINE" != x ; then
6763 eval "DEFAULT_$LINE"
6768 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6772 eval "$ac_cv_use_accel"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6777 if test "$wxUSE_ACCEL" = yes; then
6778 echo "$as_me:$LINENO: result: yes" >&5
6779 echo "${ECHO_T}yes" >&6
6781 echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6
6787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6788 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6790 # Check whether --enable-button or --disable-button was given.
6791 if test "${enable_button+set}" = set; then
6792 enableval="$enable_button"
6794 if test "$enableval" = yes; then
6795 ac_cv_use_button='wxUSE_BUTTON
=yes'
6797 ac_cv_use_button='wxUSE_BUTTON
=no
'
6802 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6809 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6813 eval "$ac_cv_use_button"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6818 if test "$wxUSE_BUTTON" = yes; then
6819 echo "$as_me:$LINENO: result: yes" >&5
6820 echo "${ECHO_T}yes" >&6
6822 echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6
6828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6829 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6831 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6832 if test "${enable_bmpbutton+set}" = set; then
6833 enableval="$enable_bmpbutton"
6835 if test "$enableval" = yes; then
6836 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6838 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6843 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6850 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6854 eval "$ac_cv_use_bmpbutton"
6855 if test "$no_cache" != 1; then
6856 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6859 if test "$wxUSE_BMPBUTTON" = yes; then
6860 echo "$as_me:$LINENO: result: yes" >&5
6861 echo "${ECHO_T}yes" >&6
6863 echo "$as_me:$LINENO: result: no" >&5
6864 echo "${ECHO_T}no" >&6
6869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6870 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6872 # Check whether --enable-calendar or --disable-calendar was given.
6873 if test "${enable_calendar+set}" = set; then
6874 enableval="$enable_calendar"
6876 if test "$enableval" = yes; then
6877 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6879 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6884 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6891 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6895 eval "$ac_cv_use_calendar"
6896 if test "$no_cache" != 1; then
6897 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6900 if test "$wxUSE_CALCTRL" = yes; then
6901 echo "$as_me:$LINENO: result: yes" >&5
6902 echo "${ECHO_T}yes" >&6
6904 echo "$as_me:$LINENO: result: no" >&5
6905 echo "${ECHO_T}no" >&6
6910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6913 # Check whether --enable-caret or --disable-caret was given.
6914 if test "${enable_caret+set}" = set; then
6915 enableval="$enable_caret"
6917 if test "$enableval" = yes; then
6918 ac_cv_use_caret='wxUSE_CARET
=yes'
6920 ac_cv_use_caret='wxUSE_CARET
=no
'
6925 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6932 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6936 eval "$ac_cv_use_caret"
6937 if test "$no_cache" != 1; then
6938 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6941 if test "$wxUSE_CARET" = yes; then
6942 echo "$as_me:$LINENO: result: yes" >&5
6943 echo "${ECHO_T}yes" >&6
6945 echo "$as_me:$LINENO: result: no" >&5
6946 echo "${ECHO_T}no" >&6
6951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6952 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6954 # Check whether --enable-checkbox or --disable-checkbox was given.
6955 if test "${enable_checkbox+set}" = set; then
6956 enableval="$enable_checkbox"
6958 if test "$enableval" = yes; then
6959 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6961 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6966 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6973 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6977 eval "$ac_cv_use_checkbox"
6978 if test "$no_cache" != 1; then
6979 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6982 if test "$wxUSE_CHECKBOX" = yes; then
6983 echo "$as_me:$LINENO: result: yes" >&5
6984 echo "${ECHO_T}yes" >&6
6986 echo "$as_me:$LINENO: result: no" >&5
6987 echo "${ECHO_T}no" >&6
6992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6995 # Check whether --enable-checklst or --disable-checklst was given.
6996 if test "${enable_checklst+set}" = set; then
6997 enableval="$enable_checklst"
6999 if test "$enableval" = yes; then
7000 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7002 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7007 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7014 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7018 eval "$ac_cv_use_checklst"
7019 if test "$no_cache" != 1; then
7020 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7023 if test "$wxUSE_CHECKLST" = yes; then
7024 echo "$as_me:$LINENO: result: yes" >&5
7025 echo "${ECHO_T}yes" >&6
7027 echo "$as_me:$LINENO: result: no" >&5
7028 echo "${ECHO_T}no" >&6
7033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7034 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7036 # Check whether --enable-choice or --disable-choice was given.
7037 if test "${enable_choice+set}" = set; then
7038 enableval="$enable_choice"
7040 if test "$enableval" = yes; then
7041 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7043 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7048 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7055 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7059 eval "$ac_cv_use_choice"
7060 if test "$no_cache" != 1; then
7061 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7064 if test "$wxUSE_CHOICE" = yes; then
7065 echo "$as_me:$LINENO: result: yes" >&5
7066 echo "${ECHO_T}yes" >&6
7068 echo "$as_me:$LINENO: result: no" >&5
7069 echo "${ECHO_T}no" >&6
7074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7075 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7077 # Check whether --enable-combobox or --disable-combobox was given.
7078 if test "${enable_combobox+set}" = set; then
7079 enableval="$enable_combobox"
7081 if test "$enableval" = yes; then
7082 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7084 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7089 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7096 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7100 eval "$ac_cv_use_combobox"
7101 if test "$no_cache" != 1; then
7102 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7105 if test "$wxUSE_COMBOBOX" = yes; then
7106 echo "$as_me:$LINENO: result: yes" >&5
7107 echo "${ECHO_T}yes" >&6
7109 echo "$as_me:$LINENO: result: no" >&5
7110 echo "${ECHO_T}no" >&6
7115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7116 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7118 # Check whether --enable-display or --disable-display was given.
7119 if test "${enable_display+set}" = set; then
7120 enableval="$enable_display"
7122 if test "$enableval" = yes; then
7123 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7125 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7130 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7137 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7141 eval "$ac_cv_use_display"
7142 if test "$no_cache" != 1; then
7143 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7146 if test "$wxUSE_DISPLAY" = yes; then
7147 echo "$as_me:$LINENO: result: yes" >&5
7148 echo "${ECHO_T}yes" >&6
7150 echo "$as_me:$LINENO: result: no" >&5
7151 echo "${ECHO_T}no" >&6
7156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7157 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7159 # Check whether --enable-gauge or --disable-gauge was given.
7160 if test "${enable_gauge+set}" = set; then
7161 enableval="$enable_gauge"
7163 if test "$enableval" = yes; then
7164 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7166 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7171 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7178 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7182 eval "$ac_cv_use_gauge"
7183 if test "$no_cache" != 1; then
7184 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7187 if test "$wxUSE_GAUGE" = yes; then
7188 echo "$as_me:$LINENO: result: yes" >&5
7189 echo "${ECHO_T}yes" >&6
7191 echo "$as_me:$LINENO: result: no" >&5
7192 echo "${ECHO_T}no" >&6
7197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7200 # Check whether --enable-grid or --disable-grid was given.
7201 if test "${enable_grid+set}" = set; then
7202 enableval="$enable_grid"
7204 if test "$enableval" = yes; then
7205 ac_cv_use_grid='wxUSE_GRID
=yes'
7207 ac_cv_use_grid='wxUSE_GRID
=no
'
7212 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7223 eval "$ac_cv_use_grid"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7228 if test "$wxUSE_GRID" = yes; then
7229 echo "$as_me:$LINENO: result: yes" >&5
7230 echo "${ECHO_T}yes" >&6
7232 echo "$as_me:$LINENO: result: no" >&5
7233 echo "${ECHO_T}no" >&6
7238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7239 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7241 # Check whether --enable-imaglist or --disable-imaglist was given.
7242 if test "${enable_imaglist+set}" = set; then
7243 enableval="$enable_imaglist"
7245 if test "$enableval" = yes; then
7246 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7248 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7253 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7260 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7264 eval "$ac_cv_use_imaglist"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7269 if test "$wxUSE_IMAGLIST" = yes; then
7270 echo "$as_me:$LINENO: result: yes" >&5
7271 echo "${ECHO_T}yes" >&6
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7280 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7282 # Check whether --enable-listbook or --disable-listbook was given.
7283 if test "${enable_listbook+set}" = set; then
7284 enableval="$enable_listbook"
7286 if test "$enableval" = yes; then
7287 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7289 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7294 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7301 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7305 eval "$ac_cv_use_listbook"
7306 if test "$no_cache" != 1; then
7307 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7310 if test "$wxUSE_LISTBOOK" = yes; then
7311 echo "$as_me:$LINENO: result: yes" >&5
7312 echo "${ECHO_T}yes" >&6
7314 echo "$as_me:$LINENO: result: no" >&5
7315 echo "${ECHO_T}no" >&6
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7323 # Check whether --enable-listbox or --disable-listbox was given.
7324 if test "${enable_listbox+set}" = set; then
7325 enableval="$enable_listbox"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7330 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7335 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7346 eval "$ac_cv_use_listbox"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_LISTBOX" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7364 # Check whether --enable-listctrl or --disable-listctrl was given.
7365 if test "${enable_listctrl+set}" = set; then
7366 enableval="$enable_listctrl"
7368 if test "$enableval" = yes; then
7369 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7371 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7376 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7383 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7387 eval "$ac_cv_use_listctrl"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7392 if test "$wxUSE_LISTCTRL" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7405 # Check whether --enable-notebook or --disable-notebook was given.
7406 if test "${enable_notebook+set}" = set; then
7407 enableval="$enable_notebook"
7409 if test "$enableval" = yes; then
7410 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7412 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7417 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7424 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7428 eval "$ac_cv_use_notebook"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7433 if test "$wxUSE_NOTEBOOK" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7446 # Check whether --enable-radiobox or --disable-radiobox was given.
7447 if test "${enable_radiobox+set}" = set; then
7448 enableval="$enable_radiobox"
7450 if test "$enableval" = yes; then
7451 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7453 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7458 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7469 eval "$ac_cv_use_radiobox"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7474 if test "$wxUSE_RADIOBOX" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7487 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7488 if test "${enable_radiobtn+set}" = set; then
7489 enableval="$enable_radiobtn"
7491 if test "$enableval" = yes; then
7492 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7494 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7499 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7510 eval "$ac_cv_use_radiobtn"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_RADIOBTN" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7528 # Check whether --enable-sash or --disable-sash was given.
7529 if test "${enable_sash+set}" = set; then
7530 enableval="$enable_sash"
7532 if test "$enableval" = yes; then
7533 ac_cv_use_sash='wxUSE_SASH
=yes'
7535 ac_cv_use_sash='wxUSE_SASH
=no
'
7540 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7547 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7551 eval "$ac_cv_use_sash"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7556 if test "$wxUSE_SASH" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7569 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7570 if test "${enable_scrollbar+set}" = set; then
7571 enableval="$enable_scrollbar"
7573 if test "$enableval" = yes; then
7574 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7576 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7581 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x ; then
7583 eval "DEFAULT_$LINE"
7588 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7592 eval "$ac_cv_use_scrollbar"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7597 if test "$wxUSE_SCROLLBAR" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7610 # Check whether --enable-slider or --disable-slider was given.
7611 if test "${enable_slider+set}" = set; then
7612 enableval="$enable_slider"
7614 if test "$enableval" = yes; then
7615 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7617 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7622 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x ; then
7624 eval "DEFAULT_$LINE"
7629 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7633 eval "$ac_cv_use_slider"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7638 if test "$wxUSE_SLIDER" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7651 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7652 if test "${enable_spinbtn+set}" = set; then
7653 enableval="$enable_spinbtn"
7655 if test "$enableval" = yes; then
7656 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7658 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7663 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7670 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7674 eval "$ac_cv_use_spinbtn"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7679 if test "$wxUSE_SPINBTN" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7692 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7693 if test "${enable_spinctrl+set}" = set; then
7694 enableval="$enable_spinctrl"
7696 if test "$enableval" = yes; then
7697 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7699 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7704 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7711 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7715 eval "$ac_cv_use_spinctrl"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7720 if test "$wxUSE_SPINCTRL" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7733 # Check whether --enable-splitter or --disable-splitter was given.
7734 if test "${enable_splitter+set}" = set; then
7735 enableval="$enable_splitter"
7737 if test "$enableval" = yes; then
7738 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7740 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7745 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x ; then
7747 eval "DEFAULT_$LINE"
7752 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7756 eval "$ac_cv_use_splitter"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7761 if test "$wxUSE_SPLITTER" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7774 # Check whether --enable-statbmp or --disable-statbmp was given.
7775 if test "${enable_statbmp+set}" = set; then
7776 enableval="$enable_statbmp"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7781 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7786 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7797 eval "$ac_cv_use_statbmp"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7802 if test "$wxUSE_STATBMP" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7815 # Check whether --enable-statbox or --disable-statbox was given.
7816 if test "${enable_statbox+set}" = set; then
7817 enableval="$enable_statbox"
7819 if test "$enableval" = yes; then
7820 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7822 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7827 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7834 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7838 eval "$ac_cv_use_statbox"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_STATBOX" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7856 # Check whether --enable-statline or --disable-statline was given.
7857 if test "${enable_statline+set}" = set; then
7858 enableval="$enable_statline"
7860 if test "$enableval" = yes; then
7861 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7863 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7868 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7875 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7879 eval "$ac_cv_use_statline"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7884 if test "$wxUSE_STATLINE" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7897 # Check whether --enable-stattext or --disable-stattext was given.
7898 if test "${enable_stattext+set}" = set; then
7899 enableval="$enable_stattext"
7901 if test "$enableval" = yes; then
7902 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7904 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7909 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x ; then
7911 eval "DEFAULT_$LINE"
7916 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7920 eval "$ac_cv_use_stattext"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7925 if test "$wxUSE_STATTEXT" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7938 # Check whether --enable-statusbar or --disable-statusbar was given.
7939 if test "${enable_statusbar+set}" = set; then
7940 enableval="$enable_statusbar"
7942 if test "$enableval" = yes; then
7943 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7945 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7950 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x ; then
7952 eval "DEFAULT_$LINE"
7957 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7961 eval "$ac_cv_use_statusbar"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7966 if test "$wxUSE_STATUSBAR" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7979 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7980 if test "${enable_tabdialog+set}" = set; then
7981 enableval="$enable_tabdialog"
7983 if test "$enableval" = yes; then
7984 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7986 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7991 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7998 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8002 eval "$ac_cv_use_tabdialog"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8007 if test "$wxUSE_TABDIALOG" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8020 # Check whether --enable-textctrl or --disable-textctrl was given.
8021 if test "${enable_textctrl+set}" = set; then
8022 enableval="$enable_textctrl"
8024 if test "$enableval" = yes; then
8025 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8027 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8032 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8039 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8043 eval "$ac_cv_use_textctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8048 if test "$wxUSE_TEXTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8061 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8062 if test "${enable_togglebtn+set}" = set; then
8063 enableval="$enable_togglebtn"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8068 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8073 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8084 eval "$ac_cv_use_togglebtn"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8089 if test "$wxUSE_TOGGLEBTN" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8102 # Check whether --enable-toolbar or --disable-toolbar was given.
8103 if test "${enable_toolbar+set}" = set; then
8104 enableval="$enable_toolbar"
8106 if test "$enableval" = yes; then
8107 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8109 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8114 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x ; then
8116 eval "DEFAULT_$LINE"
8121 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8125 eval "$ac_cv_use_toolbar"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8130 if test "$wxUSE_TOOLBAR" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8143 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8144 if test "${enable_tbarnative+set}" = set; then
8145 enableval="$enable_tbarnative"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8150 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8155 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8166 eval "$ac_cv_use_tbarnative"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8171 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8184 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8185 if test "${enable_tbarsmpl+set}" = set; then
8186 enableval="$enable_tbarsmpl"
8188 if test "$enableval" = yes; then
8189 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8191 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8196 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8203 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8207 eval "$ac_cv_use_tbarsmpl"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8212 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8225 # Check whether --enable-treectrl or --disable-treectrl was given.
8226 if test "${enable_treectrl+set}" = set; then
8227 enableval="$enable_treectrl"
8229 if test "$enableval" = yes; then
8230 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8232 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8237 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8244 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8248 eval "$ac_cv_use_treectrl"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8253 if test "$wxUSE_TREECTRL" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8266 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8267 if test "${enable_tipwindow+set}" = set; then
8268 enableval="$enable_tipwindow"
8270 if test "$enableval" = yes; then
8271 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8273 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8278 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8285 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8289 eval "$ac_cv_use_tipwindow"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8294 if test "$wxUSE_TIPWINDOW" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8307 # Check whether --enable-popupwin or --disable-popupwin was given.
8308 if test "${enable_popupwin+set}" = set; then
8309 enableval="$enable_popupwin"
8311 if test "$enableval" = yes; then
8312 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8314 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8319 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8326 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8330 eval "$ac_cv_use_popupwin"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8335 if test "$wxUSE_POPUPWIN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8350 # Check whether --enable-commondlg or --disable-commondlg was given.
8351 if test "${enable_commondlg+set}" = set; then
8352 enableval="$enable_commondlg"
8354 if test "$enableval" = yes; then
8355 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8357 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8362 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8363 if test "x$LINE" != x ; then
8364 eval "DEFAULT_$LINE"
8369 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8373 eval "$ac_cv_use_commondlg"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8378 if test "$wxUSE_COMMONDLGS" = yes; then
8379 echo "$as_me:$LINENO: result: yes" >&5
8380 echo "${ECHO_T}yes" >&6
8382 echo "$as_me:$LINENO: result: no" >&5
8383 echo "${ECHO_T}no" >&6
8388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8391 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8392 if test "${enable_choicedlg+set}" = set; then
8393 enableval="$enable_choicedlg"
8395 if test "$enableval" = yes; then
8396 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8398 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8403 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8404 if test "x$LINE" != x ; then
8405 eval "DEFAULT_$LINE"
8410 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8414 eval "$ac_cv_use_choicedlg"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8419 if test "$wxUSE_CHOICEDLG" = yes; then
8420 echo "$as_me:$LINENO: result: yes" >&5
8421 echo "${ECHO_T}yes" >&6
8423 echo "$as_me:$LINENO: result: no" >&5
8424 echo "${ECHO_T}no" >&6
8429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8432 # Check whether --enable-coldlg or --disable-coldlg was given.
8433 if test "${enable_coldlg+set}" = set; then
8434 enableval="$enable_coldlg"
8436 if test "$enableval" = yes; then
8437 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8439 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8444 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8451 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8455 eval "$ac_cv_use_coldlg"
8456 if test "$no_cache" != 1; then
8457 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8460 if test "$wxUSE_COLOURDLG" = yes; then
8461 echo "$as_me:$LINENO: result: yes" >&5
8462 echo "${ECHO_T}yes" >&6
8464 echo "$as_me:$LINENO: result: no" >&5
8465 echo "${ECHO_T}no" >&6
8470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8471 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8473 # Check whether --enable-filedlg or --disable-filedlg was given.
8474 if test "${enable_filedlg+set}" = set; then
8475 enableval="$enable_filedlg"
8477 if test "$enableval" = yes; then
8478 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8480 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8485 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8486 if test "x$LINE" != x ; then
8487 eval "DEFAULT_$LINE"
8492 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8496 eval "$ac_cv_use_filedlg"
8497 if test "$no_cache" != 1; then
8498 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8501 if test "$wxUSE_FILEDLG" = yes; then
8502 echo "$as_me:$LINENO: result: yes" >&5
8503 echo "${ECHO_T}yes" >&6
8505 echo "$as_me:$LINENO: result: no" >&5
8506 echo "${ECHO_T}no" >&6
8511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8514 # Check whether --enable-finddlg or --disable-finddlg was given.
8515 if test "${enable_finddlg+set}" = set; then
8516 enableval="$enable_finddlg"
8518 if test "$enableval" = yes; then
8519 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8521 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8526 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8527 if test "x$LINE" != x ; then
8528 eval "DEFAULT_$LINE"
8533 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8537 eval "$ac_cv_use_finddlg"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8542 if test "$wxUSE_FINDREPLDLG" = yes; then
8543 echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6
8546 echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6
8552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8555 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8556 if test "${enable_fontdlg+set}" = set; then
8557 enableval="$enable_fontdlg"
8559 if test "$enableval" = yes; then
8560 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8562 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8567 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8568 if test "x$LINE" != x ; then
8569 eval "DEFAULT_$LINE"
8574 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8578 eval "$ac_cv_use_fontdlg"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8583 if test "$wxUSE_FONTDLG" = yes; then
8584 echo "$as_me:$LINENO: result: yes" >&5
8585 echo "${ECHO_T}yes" >&6
8587 echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6
8593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8596 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8597 if test "${enable_dirdlg+set}" = set; then
8598 enableval="$enable_dirdlg"
8600 if test "$enableval" = yes; then
8601 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8603 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8608 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8609 if test "x$LINE" != x ; then
8610 eval "DEFAULT_$LINE"
8615 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8619 eval "$ac_cv_use_dirdlg"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8624 if test "$wxUSE_DIRDLG" = yes; then
8625 echo "$as_me:$LINENO: result: yes" >&5
8626 echo "${ECHO_T}yes" >&6
8628 echo "$as_me:$LINENO: result: no" >&5
8629 echo "${ECHO_T}no" >&6
8634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8637 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8638 if test "${enable_msgdlg+set}" = set; then
8639 enableval="$enable_msgdlg"
8641 if test "$enableval" = yes; then
8642 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8644 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8649 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8650 if test "x$LINE" != x ; then
8651 eval "DEFAULT_$LINE"
8656 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8660 eval "$ac_cv_use_msgdlg"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8665 if test "$wxUSE_MSGDLG" = yes; then
8666 echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6
8669 echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6
8675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8676 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8678 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8679 if test "${enable_numberdlg+set}" = set; then
8680 enableval="$enable_numberdlg"
8682 if test "$enableval" = yes; then
8683 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8685 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8690 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8691 if test "x$LINE" != x ; then
8692 eval "DEFAULT_$LINE"
8697 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8701 eval "$ac_cv_use_numberdlg"
8702 if test "$no_cache" != 1; then
8703 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8706 if test "$wxUSE_NUMBERDLG" = yes; then
8707 echo "$as_me:$LINENO: result: yes" >&5
8708 echo "${ECHO_T}yes" >&6
8710 echo "$as_me:$LINENO: result: no" >&5
8711 echo "${ECHO_T}no" >&6
8716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8719 # Check whether --enable-splash or --disable-splash was given.
8720 if test "${enable_splash+set}" = set; then
8721 enableval="$enable_splash"
8723 if test "$enableval" = yes; then
8724 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8726 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8731 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x ; then
8733 eval "DEFAULT_$LINE"
8738 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8742 eval "$ac_cv_use_splash"
8743 if test "$no_cache" != 1; then
8744 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8747 if test "$wxUSE_SPLASH" = yes; then
8748 echo "$as_me:$LINENO: result: yes" >&5
8749 echo "${ECHO_T}yes" >&6
8751 echo "$as_me:$LINENO: result: no" >&5
8752 echo "${ECHO_T}no" >&6
8757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8760 # Check whether --enable-textdlg or --disable-textdlg was given.
8761 if test "${enable_textdlg+set}" = set; then
8762 enableval="$enable_textdlg"
8764 if test "$enableval" = yes; then
8765 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8767 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8772 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8779 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8783 eval "$ac_cv_use_textdlg"
8784 if test "$no_cache" != 1; then
8785 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8788 if test "$wxUSE_TEXTDLG" = yes; then
8789 echo "$as_me:$LINENO: result: yes" >&5
8790 echo "${ECHO_T}yes" >&6
8792 echo "$as_me:$LINENO: result: no" >&5
8793 echo "${ECHO_T}no" >&6
8798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8801 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8802 if test "${enable_tipdlg+set}" = set; then
8803 enableval="$enable_tipdlg"
8805 if test "$enableval" = yes; then
8806 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8808 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8813 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8814 if test "x$LINE" != x ; then
8815 eval "DEFAULT_$LINE"
8820 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8824 eval "$ac_cv_use_tipdlg"
8825 if test "$no_cache" != 1; then
8826 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8829 if test "$wxUSE_STARTUP_TIPS" = yes; then
8830 echo "$as_me:$LINENO: result: yes" >&5
8831 echo "${ECHO_T}yes" >&6
8833 echo "$as_me:$LINENO: result: no" >&5
8834 echo "${ECHO_T}no" >&6
8839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8840 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8842 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8843 if test "${enable_progressdlg+set}" = set; then
8844 enableval="$enable_progressdlg"
8846 if test "$enableval" = yes; then
8847 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8849 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8854 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8855 if test "x$LINE" != x ; then
8856 eval "DEFAULT_$LINE"
8861 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8865 eval "$ac_cv_use_progressdlg"
8866 if test "$no_cache" != 1; then
8867 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8870 if test "$wxUSE_PROGRESSDLG" = yes; then
8871 echo "$as_me:$LINENO: result: yes" >&5
8872 echo "${ECHO_T}yes" >&6
8874 echo "$as_me:$LINENO: result: no" >&5
8875 echo "${ECHO_T}no" >&6
8880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8883 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8884 if test "${enable_wizarddlg+set}" = set; then
8885 enableval="$enable_wizarddlg"
8887 if test "$enableval" = yes; then
8888 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8890 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8895 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8896 if test "x$LINE" != x ; then
8897 eval "DEFAULT_$LINE"
8902 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8906 eval "$ac_cv_use_wizarddlg"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8911 if test "$wxUSE_WIZARDDLG" = yes; then
8912 echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6
8915 echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6
8923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8926 # Check whether --enable-menus or --disable-menus was given.
8927 if test "${enable_menus+set}" = set; then
8928 enableval="$enable_menus"
8930 if test "$enableval" = yes; then
8931 ac_cv_use_menus='wxUSE_MENUS
=yes'
8933 ac_cv_use_menus='wxUSE_MENUS
=no
'
8938 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8945 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8949 eval "$ac_cv_use_menus"
8950 if test "$no_cache" != 1; then
8951 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8954 if test "$wxUSE_MENUS" = yes; then
8955 echo "$as_me:$LINENO: result: yes" >&5
8956 echo "${ECHO_T}yes" >&6
8958 echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6
8964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8967 # Check whether --enable-miniframe or --disable-miniframe was given.
8968 if test "${enable_miniframe+set}" = set; then
8969 enableval="$enable_miniframe"
8971 if test "$enableval" = yes; then
8972 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8974 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8979 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8986 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8990 eval "$ac_cv_use_miniframe"
8991 if test "$no_cache" != 1; then
8992 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8995 if test "$wxUSE_MINIFRAME" = yes; then
8996 echo "$as_me:$LINENO: result: yes" >&5
8997 echo "${ECHO_T}yes" >&6
8999 echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6
9005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9008 # Check whether --enable-tooltips or --disable-tooltips was given.
9009 if test "${enable_tooltips+set}" = set; then
9010 enableval="$enable_tooltips"
9012 if test "$enableval" = yes; then
9013 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9015 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9020 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9027 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9031 eval "$ac_cv_use_tooltips"
9032 if test "$no_cache" != 1; then
9033 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9036 if test "$wxUSE_TOOLTIPS" = yes; then
9037 echo "$as_me:$LINENO: result: yes" >&5
9038 echo "${ECHO_T}yes" >&6
9040 echo "$as_me:$LINENO: result: no" >&5
9041 echo "${ECHO_T}no" >&6
9046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9049 # Check whether --enable-splines or --disable-splines was given.
9050 if test "${enable_splines+set}" = set; then
9051 enableval="$enable_splines"
9053 if test "$enableval" = yes; then
9054 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9056 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9061 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9068 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9072 eval "$ac_cv_use_splines"
9073 if test "$no_cache" != 1; then
9074 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9077 if test "$wxUSE_SPLINES" = yes; then
9078 echo "$as_me:$LINENO: result: yes" >&5
9079 echo "${ECHO_T}yes" >&6
9081 echo "$as_me:$LINENO: result: no" >&5
9082 echo "${ECHO_T}no" >&6
9087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9088 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9090 # Check whether --enable-validators or --disable-validators was given.
9091 if test "${enable_validators+set}" = set; then
9092 enableval="$enable_validators"
9094 if test "$enableval" = yes; then
9095 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9097 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9102 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9109 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9113 eval "$ac_cv_use_validators"
9114 if test "$no_cache" != 1; then
9115 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9118 if test "$wxUSE_VALIDATORS" = yes; then
9119 echo "$as_me:$LINENO: result: yes" >&5
9120 echo "${ECHO_T}yes" >&6
9122 echo "$as_me:$LINENO: result: no" >&5
9123 echo "${ECHO_T}no" >&6
9128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9129 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9131 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9132 if test "${enable_busyinfo+set}" = set; then
9133 enableval="$enable_busyinfo"
9135 if test "$enableval" = yes; then
9136 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9138 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9143 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9150 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9154 eval "$ac_cv_use_busyinfo"
9155 if test "$no_cache" != 1; then
9156 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9159 if test "$wxUSE_BUSYINFO" = yes; then
9160 echo "$as_me:$LINENO: result: yes" >&5
9161 echo "${ECHO_T}yes" >&6
9163 echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6
9169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9172 # Check whether --enable-joystick or --disable-joystick was given.
9173 if test "${enable_joystick+set}" = set; then
9174 enableval="$enable_joystick"
9176 if test "$enableval" = yes; then
9177 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9179 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9184 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9191 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9195 eval "$ac_cv_use_joystick"
9196 if test "$no_cache" != 1; then
9197 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9200 if test "$wxUSE_JOYSTICK" = yes; then
9201 echo "$as_me:$LINENO: result: yes" >&5
9202 echo "${ECHO_T}yes" >&6
9204 echo "$as_me:$LINENO: result: no" >&5
9205 echo "${ECHO_T}no" >&6
9210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9213 # Check whether --enable-metafile or --disable-metafile was given.
9214 if test "${enable_metafile+set}" = set; then
9215 enableval="$enable_metafile"
9217 if test "$enableval" = yes; then
9218 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9220 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9225 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9232 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9236 eval "$ac_cv_use_metafile"
9237 if test "$no_cache" != 1; then
9238 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9241 if test "$wxUSE_METAFILE" = yes; then
9242 echo "$as_me:$LINENO: result: yes" >&5
9243 echo "${ECHO_T}yes" >&6
9245 echo "$as_me:$LINENO: result: no" >&5
9246 echo "${ECHO_T}no" >&6
9251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9254 # Check whether --enable-dragimage or --disable-dragimage was given.
9255 if test "${enable_dragimage+set}" = set; then
9256 enableval="$enable_dragimage"
9258 if test "$enableval" = yes; then
9259 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9261 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9266 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9273 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9277 eval "$ac_cv_use_dragimage"
9278 if test "$no_cache" != 1; then
9279 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9282 if test "$wxUSE_DRAGIMAGE" = yes; then
9283 echo "$as_me:$LINENO: result: yes" >&5
9284 echo "${ECHO_T}yes" >&6
9286 echo "$as_me:$LINENO: result: no" >&5
9287 echo "${ECHO_T}no" >&6
9292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9293 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9295 # Check whether --enable-accessibility or --disable-accessibility was given.
9296 if test "${enable_accessibility+set}" = set; then
9297 enableval="$enable_accessibility"
9299 if test "$enableval" = yes; then
9300 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9302 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9307 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9314 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9318 eval "$ac_cv_use_accessibility"
9319 if test "$no_cache" != 1; then
9320 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9323 if test "$wxUSE_ACCESSIBILITY" = yes; then
9324 echo "$as_me:$LINENO: result: yes" >&5
9325 echo "${ECHO_T}yes" >&6
9327 echo "$as_me:$LINENO: result: no" >&5
9328 echo "${ECHO_T}no" >&6
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9338 # Check whether --enable-palette or --disable-palette was given.
9339 if test "${enable_palette+set}" = set; then
9340 enableval="$enable_palette"
9342 if test "$enableval" = yes; then
9343 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9345 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9350 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x ; then
9352 eval "DEFAULT_$LINE"
9357 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9361 eval "$ac_cv_use_palette"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9366 if test "$wxUSE_PALETTE" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9379 # Check whether --enable-image or --disable-image was given.
9380 if test "${enable_image+set}" = set; then
9381 enableval="$enable_image"
9383 if test "$enableval" = yes; then
9384 ac_cv_use_image='wxUSE_IMAGE
=yes'
9386 ac_cv_use_image='wxUSE_IMAGE
=no
'
9391 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9398 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9402 eval "$ac_cv_use_image"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9407 if test "$wxUSE_IMAGE" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9420 # Check whether --enable-gif or --disable-gif was given.
9421 if test "${enable_gif+set}" = set; then
9422 enableval="$enable_gif"
9424 if test "$enableval" = yes; then
9425 ac_cv_use_gif='wxUSE_GIF
=yes'
9427 ac_cv_use_gif='wxUSE_GIF
=no
'
9432 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x ; then
9434 eval "DEFAULT_$LINE"
9439 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9443 eval "$ac_cv_use_gif"
9444 if test "$no_cache" != 1; then
9445 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9448 if test "$wxUSE_GIF" = yes; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9459 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9461 # Check whether --enable-pcx or --disable-pcx was given.
9462 if test "${enable_pcx+set}" = set; then
9463 enableval="$enable_pcx"
9465 if test "$enableval" = yes; then
9466 ac_cv_use_pcx='wxUSE_PCX
=yes'
9468 ac_cv_use_pcx='wxUSE_PCX
=no
'
9473 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x ; then
9475 eval "DEFAULT_$LINE"
9480 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9484 eval "$ac_cv_use_pcx"
9485 if test "$no_cache" != 1; then
9486 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9489 if test "$wxUSE_PCX" = yes; then
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9493 echo "$as_me:$LINENO: result: no" >&5
9494 echo "${ECHO_T}no" >&6
9499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9502 # Check whether --enable-iff or --disable-iff was given.
9503 if test "${enable_iff+set}" = set; then
9504 enableval="$enable_iff"
9506 if test "$enableval" = yes; then
9507 ac_cv_use_iff='wxUSE_IFF
=yes'
9509 ac_cv_use_iff='wxUSE_IFF
=no
'
9514 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x ; then
9516 eval "DEFAULT_$LINE"
9521 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9525 eval "$ac_cv_use_iff"
9526 if test "$no_cache" != 1; then
9527 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9530 if test "$wxUSE_IFF" = yes; then
9531 echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9543 # Check whether --enable-pnm or --disable-pnm was given.
9544 if test "${enable_pnm+set}" = set; then
9545 enableval="$enable_pnm"
9547 if test "$enableval" = yes; then
9548 ac_cv_use_pnm='wxUSE_PNM
=yes'
9550 ac_cv_use_pnm='wxUSE_PNM
=no
'
9555 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x ; then
9557 eval "DEFAULT_$LINE"
9562 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9566 eval "$ac_cv_use_pnm"
9567 if test "$no_cache" != 1; then
9568 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9571 if test "$wxUSE_PNM" = yes; then
9572 echo "$as_me:$LINENO: result: yes" >&5
9573 echo "${ECHO_T}yes" >&6
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9584 # Check whether --enable-xpm or --disable-xpm was given.
9585 if test "${enable_xpm+set}" = set; then
9586 enableval="$enable_xpm"
9588 if test "$enableval" = yes; then
9589 ac_cv_use_xpm='wxUSE_XPM
=yes'
9591 ac_cv_use_xpm='wxUSE_XPM
=no
'
9596 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x ; then
9598 eval "DEFAULT_$LINE"
9603 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9607 eval "$ac_cv_use_xpm"
9608 if test "$no_cache" != 1; then
9609 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9612 if test "$wxUSE_XPM" = yes; then
9613 echo "$as_me:$LINENO: result: yes" >&5
9614 echo "${ECHO_T}yes" >&6
9616 echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6
9622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9625 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9626 if test "${enable_ico_cur+set}" = set; then
9627 enableval="$enable_ico_cur"
9629 if test "$enableval" = yes; then
9630 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9632 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9637 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9638 if test "x$LINE" != x ; then
9639 eval "DEFAULT_$LINE"
9644 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9648 eval "$ac_cv_use_ico_cur"
9649 if test "$no_cache" != 1; then
9650 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9653 if test "$wxUSE_ICO_CUR" = yes; then
9654 echo "$as_me:$LINENO: result: yes" >&5
9655 echo "${ECHO_T}yes" >&6
9657 echo "$as_me:$LINENO: result: no" >&5
9658 echo "${ECHO_T}no" >&6
9667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9670 # Check whether --enable-official_build or --disable-official_build was given.
9671 if test "${enable_official_build+set}" = set; then
9672 enableval="$enable_official_build"
9674 if test "$enableval" = yes; then
9675 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9677 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9682 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x ; then
9684 eval "DEFAULT_$LINE"
9689 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9693 eval "$ac_cv_use_official_build"
9694 if test "$no_cache" != 1; then
9695 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9698 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9699 echo "$as_me:$LINENO: result: yes" >&5
9700 echo "${ECHO_T}yes" >&6
9702 echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6
9706 # Check whether --enable-vendor or --disable-vendor was given.
9707 if test "${enable_vendor+set}" = set; then
9708 enableval="$enable_vendor"
9711 if test "x$VENDOR" = "x"; then
9716 *-pc-os2_emx | *-pc-os2-emx )
9726 echo "saving argument cache $wx_arg_cache_file"
9727 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9731 echo "$as_me:$LINENO: checking for toolkit" >&5
9732 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9734 # In Wine, we need to default to MSW, not GTK or MOTIF
9735 if test "$wxUSE_WINE" = "yes"; then
9736 DEFAULT_DEFAULT_wxUSE_GTK=0
9737 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9738 DEFAULT_DEFAULT_wxUSE_MSW=1
9741 if test "$wxUSE_GUI" = "yes"; then
9743 if test "$USE_BEOS" = 1; then
9744 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9745 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9746 { (exit 1); exit 1; }; }
9749 if test "$TOOLKIT_GIVEN" = 1; then
9750 for toolkit in `echo $ALL_TOOLKITS`; do
9752 eval "value=\$${var}"
9753 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9756 for toolkit in `echo $ALL_TOOLKITS`; do
9757 if test "$has_toolkit_in_cache" != 1; then
9758 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9760 var=DEFAULT_wxUSE_$toolkit
9762 eval "wxUSE_$toolkit=\$${var}"
9766 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9767 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9768 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9771 *-pc-os2_emx | *-pc-os2-emx )
9772 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9775 case "$NUM_TOOLKITS" in
9779 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9780 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9781 { (exit 1); exit 1; }; }
9784 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9785 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9786 { (exit 1); exit 1; }; }
9789 for toolkit in `echo $ALL_TOOLKITS`; do
9791 eval "value=\$${var}"
9792 if test "x$value" != x; then
9793 cache_var=CACHE_$toolkit
9794 eval "cache=\$${cache_var}"
9795 if test "$cache" = 1; then
9796 echo "$var=$value" >> ${wx_arg_cache_file}
9798 if test "$value" = 1; then
9799 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9800 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9801 echo "${ECHO_T}$toolkit_echo" >&6
9806 if test "x$host_alias" != "x"; then
9807 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9808 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9810 echo "$as_me:$LINENO: result: base only" >&5
9811 echo "${ECHO_T}base only" >&6
9819 if test "$wxUSE_MSW" = 1 ; then
9830 if test "$wxUSE_WINE" = "yes"; then
9837 if test "$wants_win32" = 1 ; then
9840 cat >>confdefs.h <<\_ACEOF
9844 cat >>confdefs.h <<\_ACEOF
9848 cat >>confdefs.h <<\_ACEOF
9849 #define __WINDOWS__ 1
9852 cat >>confdefs.h <<\_ACEOF
9853 #define __GNUWIN32__ 1
9856 cat >>confdefs.h <<\_ACEOF
9860 cat >>confdefs.h <<\_ACEOF
9861 #define WINVER 0x0400
9865 if test "$doesnt_want_win32" = 1 ; then
9870 if test "$USE_UNIX" = 1 ; then
9872 cat >>confdefs.h <<\_ACEOF
9879 cat >confcache <<\_ACEOF
9880 # This file is a shell script that caches the results of configure
9881 # tests run on this system so they can be shared between configure
9882 # scripts and configure runs, see configure's option
--config-cache.
9883 # It is not useful on other systems. If it contains results you don't
9884 # want to keep, you may remove or edit it.
9886 # config.status only pays attention to the cache file if you give it
9887 # the --recheck option to rerun configure.
9889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9895 # The following way of writing the cache mishandles newlines in values,
9896 # but we know of no workaround that is simple, portable, and efficient.
9897 # So, don't put newlines in cache variables' values.
9898 # Ultrix sh set writes to stderr and can't be redirected directly,
9899 # and sets the high bit in the cache file unless we assign to the vars.
9902 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9904 # `set' does not quote correctly, so add quotes (double-quote
9905 # substitution turns \\\\ into \\, and sed turns \\ into \).
9908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9911 # `set' quotes correctly as required by POSIX, so do not add quotes.
9913 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9922 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9924 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9925 if test -w $cache_file; then
9926 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9927 cat confcache
>$cache_file
9929 echo "not updating unwritable cache $cache_file"
9934 if test "$build" != "$host" ; then
9935 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9939 RANLIB
=$host_alias-ranlib
9940 DLLTOOL
=$host_alias-dlltool
9941 RESCOMP
=$host_alias-windres
9944 STRIP
=$host_alias-strip
9946 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9947 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9948 { (exit 1); exit 1; }; }
9954 ac_cpp
='$CPP $CPPFLAGS'
9955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9958 if test -n "$ac_tool_prefix"; then
9959 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9960 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9961 echo "$as_me:$LINENO: checking for $ac_word" >&5
9962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9963 if test "${ac_cv_prog_CC+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9966 if test -n "$CC"; then
9967 ac_cv_prog_CC
="$CC" # Let the user override the test.
9969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9973 test -z "$as_dir" && as_dir
=.
9974 for ac_exec_ext
in '' $ac_executable_extensions; do
9975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9976 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9986 if test -n "$CC"; then
9987 echo "$as_me:$LINENO: result: $CC" >&5
9988 echo "${ECHO_T}$CC" >&6
9990 echo "$as_me:$LINENO: result: no" >&5
9991 echo "${ECHO_T}no" >&6
9995 if test -z "$ac_cv_prog_CC"; then
9997 # Extract the first word of "gcc", so it can be a program name with args.
9998 set dummy gcc
; ac_word
=$2
9999 echo "$as_me:$LINENO: checking for $ac_word" >&5
10000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 if test -n "$ac_ct_CC"; then
10005 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10008 for as_dir
in $PATH
10011 test -z "$as_dir" && as_dir
=.
10012 for ac_exec_ext
in '' $ac_executable_extensions; do
10013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10014 ac_cv_prog_ac_ct_CC
="gcc"
10015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10023 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10024 if test -n "$ac_ct_CC"; then
10025 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10026 echo "${ECHO_T}$ac_ct_CC" >&6
10028 echo "$as_me:$LINENO: result: no" >&5
10029 echo "${ECHO_T}no" >&6
10034 CC
="$ac_cv_prog_CC"
10037 if test -z "$CC"; then
10038 if test -n "$ac_tool_prefix"; then
10039 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10040 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10041 echo "$as_me:$LINENO: checking for $ac_word" >&5
10042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10043 if test "${ac_cv_prog_CC+set}" = set; then
10044 echo $ECHO_N "(cached) $ECHO_C" >&6
10046 if test -n "$CC"; then
10047 ac_cv_prog_CC
="$CC" # Let the user override the test.
10049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10050 for as_dir
in $PATH
10053 test -z "$as_dir" && as_dir
=.
10054 for ac_exec_ext
in '' $ac_executable_extensions; do
10055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10056 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 if test -n "$CC"; then
10067 echo "$as_me:$LINENO: result: $CC" >&5
10068 echo "${ECHO_T}$CC" >&6
10070 echo "$as_me:$LINENO: result: no" >&5
10071 echo "${ECHO_T}no" >&6
10075 if test -z "$ac_cv_prog_CC"; then
10077 # Extract the first word of "cc", so it can be a program name with args.
10078 set dummy cc
; ac_word
=$2
10079 echo "$as_me:$LINENO: checking for $ac_word" >&5
10080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10081 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10082 echo $ECHO_N "(cached) $ECHO_C" >&6
10084 if test -n "$ac_ct_CC"; then
10085 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10088 for as_dir
in $PATH
10091 test -z "$as_dir" && as_dir
=.
10092 for ac_exec_ext
in '' $ac_executable_extensions; do
10093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10094 ac_cv_prog_ac_ct_CC
="cc"
10095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10103 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10104 if test -n "$ac_ct_CC"; then
10105 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10106 echo "${ECHO_T}$ac_ct_CC" >&6
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10114 CC
="$ac_cv_prog_CC"
10118 if test -z "$CC"; then
10119 # Extract the first word of "cc", so it can be a program name with args.
10120 set dummy cc
; ac_word
=$2
10121 echo "$as_me:$LINENO: checking for $ac_word" >&5
10122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10123 if test "${ac_cv_prog_CC+set}" = set; then
10124 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 if test -n "$CC"; then
10127 ac_cv_prog_CC
="$CC" # Let the user override the test.
10129 ac_prog_rejected
=no
10130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10131 for as_dir
in $PATH
10134 test -z "$as_dir" && as_dir
=.
10135 for ac_exec_ext
in '' $ac_executable_extensions; do
10136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10137 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10138 ac_prog_rejected
=yes
10142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10148 if test $ac_prog_rejected = yes; then
10149 # We found a bogon in the path, so make sure we never use it.
10150 set dummy
$ac_cv_prog_CC
10152 if test $# != 0; then
10153 # We chose a different compiler from the bogus one.
10154 # However, it has the same basename, so the bogon will be chosen
10155 # first if we set CC to just the basename; use the full file name.
10157 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10163 if test -n "$CC"; then
10164 echo "$as_me:$LINENO: result: $CC" >&5
10165 echo "${ECHO_T}$CC" >&6
10167 echo "$as_me:$LINENO: result: no" >&5
10168 echo "${ECHO_T}no" >&6
10172 if test -z "$CC"; then
10173 if test -n "$ac_tool_prefix"; then
10176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10177 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10178 echo "$as_me:$LINENO: checking for $ac_word" >&5
10179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10180 if test "${ac_cv_prog_CC+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 if test -n "$CC"; then
10184 ac_cv_prog_CC
="$CC" # Let the user override the test.
10186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10187 for as_dir
in $PATH
10190 test -z "$as_dir" && as_dir
=.
10191 for ac_exec_ext
in '' $ac_executable_extensions; do
10192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10193 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10203 if test -n "$CC"; then
10204 echo "$as_me:$LINENO: result: $CC" >&5
10205 echo "${ECHO_T}$CC" >&6
10207 echo "$as_me:$LINENO: result: no" >&5
10208 echo "${ECHO_T}no" >&6
10211 test -n "$CC" && break
10214 if test -z "$CC"; then
10218 # Extract the first word of "$ac_prog", so it can be a program name with args.
10219 set dummy
$ac_prog; ac_word
=$2
10220 echo "$as_me:$LINENO: checking for $ac_word" >&5
10221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10222 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6
10225 if test -n "$ac_ct_CC"; then
10226 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10229 for as_dir
in $PATH
10232 test -z "$as_dir" && as_dir
=.
10233 for ac_exec_ext
in '' $ac_executable_extensions; do
10234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10235 ac_cv_prog_ac_ct_CC
="$ac_prog"
10236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10244 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10245 if test -n "$ac_ct_CC"; then
10246 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10247 echo "${ECHO_T}$ac_ct_CC" >&6
10249 echo "$as_me:$LINENO: result: no" >&5
10250 echo "${ECHO_T}no" >&6
10253 test -n "$ac_ct_CC" && break
10262 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10263 See \`config.log' for more details." >&5
10264 echo "$as_me: error: no acceptable C compiler found in \$PATH
10265 See \`config.log' for more details." >&2;}
10266 { (exit 1); exit 1; }; }
10268 # Provide some information about the compiler.
10269 echo "$as_me:$LINENO:" \
10270 "checking for C compiler version" >&5
10271 ac_compiler
=`set X $ac_compile; echo $2`
10272 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10273 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); }
10277 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10278 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }
10282 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10283 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }
10288 cat >conftest.
$ac_ext <<_ACEOF
10291 cat confdefs.h
>>conftest.
$ac_ext
10292 cat >>conftest.
$ac_ext <<_ACEOF
10293 /* end confdefs.h. */
10303 ac_clean_files_save
=$ac_clean_files
10304 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10305 # Try to create an executable without -o first, disregard a.out.
10306 # It will help us diagnose broken compilers, and finding out an intuition
10308 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10309 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10310 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10311 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10312 (eval $ac_link_default) 2>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; then
10316 # Find the output, starting from the most likely. This scheme is
10317 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10320 # Be careful to initialize this variable, since it used to be cached.
10321 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10323 # b.out is created by i960 compilers.
10324 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10326 test -f "$ac_file" || continue
10328 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10331 # This is the source file.
10334 # We found the default executable, but exeext='' is most
10338 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10339 # FIXME: I believe we export ac_cv_exeext for Libtool,
10340 # but it would be cool to find out if it's true. Does anybody
10341 # maintain Libtool? --akim.
10342 export ac_cv_exeext
10349 echo "$as_me: failed program was:" >&5
10350 sed 's/^/| /' conftest.
$ac_ext >&5
10352 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10353 See \`config.log' for more details." >&5
10354 echo "$as_me: error: C compiler cannot create executables
10355 See \`config.log' for more details." >&2;}
10356 { (exit 77); exit 77; }; }
10359 ac_exeext
=$ac_cv_exeext
10360 echo "$as_me:$LINENO: result: $ac_file" >&5
10361 echo "${ECHO_T}$ac_file" >&6
10363 # Check the compiler produces executables we can run. If not, either
10364 # the compiler is broken, or we cross compile.
10365 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10366 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10367 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10368 # If not cross compiling, check that we can run a simple program.
10369 if test "$cross_compiling" != yes; then
10370 if { ac_try
='./$ac_file'
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); }; }; then
10378 if test "$cross_compiling" = maybe
; then
10379 cross_compiling
=yes
10381 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10382 If you meant to cross compile, use \`--host'.
10383 See \`config.log' for more details." >&5
10384 echo "$as_me: error: cannot run C compiled programs.
10385 If you meant to cross compile, use \`--host'.
10386 See \`config.log' for more details." >&2;}
10387 { (exit 1); exit 1; }; }
10391 echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6
10394 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10395 ac_clean_files
=$ac_clean_files_save
10396 # Check the compiler produces executables we can run. If not, either
10397 # the compiler is broken, or we cross compile.
10398 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10399 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10400 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10401 echo "${ECHO_T}$cross_compiling" >&6
10403 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10404 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10406 (eval $ac_link) 2>&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; then
10410 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10411 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10412 # work properly (i.e., refer to `conftest.exe'), while it won't with
10414 for ac_file
in conftest.exe conftest conftest.
*; do
10415 test -f "$ac_file" || continue
10417 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10418 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10419 export ac_cv_exeext
10425 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10426 See \`config.log' for more details." >&5
10427 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10428 See \`config.log' for more details." >&2;}
10429 { (exit 1); exit 1; }; }
10432 rm -f conftest
$ac_cv_exeext
10433 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10434 echo "${ECHO_T}$ac_cv_exeext" >&6
10436 rm -f conftest.
$ac_ext
10437 EXEEXT
=$ac_cv_exeext
10439 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10440 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10441 if test "${ac_cv_objext+set}" = set; then
10442 echo $ECHO_N "(cached) $ECHO_C" >&6
10444 cat >conftest.
$ac_ext <<_ACEOF
10447 cat confdefs.h
>>conftest.
$ac_ext
10448 cat >>conftest.
$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10459 rm -f conftest.o conftest.obj
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461 (eval $ac_compile) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }; then
10465 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10467 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10468 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10473 echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.
$ac_ext >&5
10476 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10477 See \`config.log' for more details." >&5
10478 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10479 See \`config.log' for more details." >&2;}
10480 { (exit 1); exit 1; }; }
10483 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10485 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10486 echo "${ECHO_T}$ac_cv_objext" >&6
10487 OBJEXT
=$ac_cv_objext
10489 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10490 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10491 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10492 echo $ECHO_N "(cached) $ECHO_C" >&6
10494 cat >conftest.
$ac_ext <<_ACEOF
10497 cat confdefs.h
>>conftest.
$ac_ext
10498 cat >>conftest.
$ac_ext <<_ACEOF
10499 /* end confdefs.h. */
10512 rm -f conftest.
$ac_objext
10513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10514 (eval $ac_compile) 2>conftest.er1
10516 grep -v '^ *+' conftest.er1
>conftest.err
10518 cat conftest.err
>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try
='test -z "$ac_c_werror_flag"
10522 || test ! -s conftest.err'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; } &&
10528 { ac_try
='test -s conftest.$ac_objext'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; }; then
10534 ac_compiler_gnu
=yes
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.
$ac_ext >&5
10541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10542 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10545 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10546 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10547 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10548 ac_test_CFLAGS
=${CFLAGS+set}
10549 ac_save_CFLAGS
=$CFLAGS
10551 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10552 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10553 if test "${ac_cv_prog_cc_g+set}" = set; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 cat >conftest.
$ac_ext <<_ACEOF
10559 cat confdefs.h
>>conftest.
$ac_ext
10560 cat >>conftest.
$ac_ext <<_ACEOF
10561 /* end confdefs.h. */
10571 rm -f conftest.
$ac_objext
10572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10573 (eval $ac_compile) 2>conftest.er1
10575 grep -v '^ *+' conftest.er1
>conftest.err
10577 cat conftest.err
>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } &&
10580 { ac_try
='test -z "$ac_c_werror_flag"
10581 || test ! -s conftest.err'
10582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583 (eval $ac_try) 2>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); }; } &&
10587 { ac_try
='test -s conftest.$ac_objext'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; }; then
10593 ac_cv_prog_cc_g
=yes
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.
$ac_ext >&5
10600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10602 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10603 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10604 if test "$ac_test_CFLAGS" = set; then
10605 CFLAGS
=$ac_save_CFLAGS
10606 elif test $ac_cv_prog_cc_g = yes; then
10607 if test "$GCC" = yes; then
10613 if test "$GCC" = yes; then
10619 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10620 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10621 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 ac_cv_prog_cc_stdc
=no
10626 cat >conftest.
$ac_ext <<_ACEOF
10629 cat confdefs.h
>>conftest.
$ac_ext
10630 cat >>conftest.
$ac_ext <<_ACEOF
10631 /* end confdefs.h. */
10632 #include <stdarg.h>
10634 #include <sys/types.h>
10635 #include <sys/stat.h>
10636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10637 struct buf { int x; };
10638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10639 static char *e (p, i)
10645 static char *f (char * (*g) (char **, int), char **p, ...)
10650 s = g (p, va_arg (v,int));
10655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10656 function prototypes and stuff, but not '\xHH' hex character constants.
10657 These don't provoke an error unfortunately, instead are silently treated
10658 as 'x'. The following induces an error, until -std1 is added to get
10659 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10660 array size at least. It's necessary to write '\x00'==0 to get something
10661 that's true only with -std1. */
10662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10664 int test (int i, double x);
10665 struct s1 {int (*f) (int a);};
10666 struct s2 {int (*f) (double a);};
10667 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10673 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10678 # Don't try gcc -ansi; that turns off useful extensions and
10679 # breaks some systems' header files.
10680 # AIX -qlanglvl=ansi
10681 # Ultrix and OSF/1 -std1
10682 # HP-UX 10.20 and later -Ae
10683 # HP-UX older versions -Aa -D_HPUX_SOURCE
10684 # SVR4 -Xc -D__EXTENSIONS__
10685 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10687 CC
="$ac_save_CC $ac_arg"
10688 rm -f conftest.
$ac_objext
10689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10690 (eval $ac_compile) 2>conftest.er1
10692 grep -v '^ *+' conftest.er1
>conftest.err
10694 cat conftest.err
>&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } &&
10697 { ac_try
='test -z "$ac_c_werror_flag"
10698 || test ! -s conftest.err'
10699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 (eval $ac_try) 2>&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; } &&
10704 { ac_try
='test -s conftest.$ac_objext'
10705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706 (eval $ac_try) 2>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); }; }; then
10710 ac_cv_prog_cc_stdc
=$ac_arg
10713 echo "$as_me: failed program was:" >&5
10714 sed 's/^/| /' conftest.
$ac_ext >&5
10717 rm -f conftest.err conftest.
$ac_objext
10719 rm -f conftest.
$ac_ext conftest.
$ac_objext
10724 case "x$ac_cv_prog_cc_stdc" in
10726 echo "$as_me:$LINENO: result: none needed" >&5
10727 echo "${ECHO_T}none needed" >&6 ;;
10729 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10730 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10731 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10734 # Some people use a C++ compiler to compile C. Since we use `exit',
10735 # in C++ we need to declare it. In case someone uses the same compiler
10736 # for both compiling C and C++ we need to have the C++ compiler decide
10737 # the declaration of exit, since it's the most demanding environment.
10738 cat >conftest.
$ac_ext <<_ACEOF
10739 #ifndef __cplusplus
10743 rm -f conftest.
$ac_objext
10744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10745 (eval $ac_compile) 2>conftest.er1
10747 grep -v '^ *+' conftest.er1
>conftest.err
10749 cat conftest.err
>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } &&
10752 { ac_try
='test -z "$ac_c_werror_flag"
10753 || test ! -s conftest.err'
10754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10755 (eval $ac_try) 2>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); }; } &&
10759 { ac_try
='test -s conftest.$ac_objext'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; }; then
10765 for ac_declaration
in \
10767 'extern "C" void std::exit (int) throw (); using std::exit;' \
10768 'extern "C" void std::exit (int); using std::exit;' \
10769 'extern "C" void exit (int) throw ();' \
10770 'extern "C" void exit (int);' \
10773 cat >conftest.
$ac_ext <<_ACEOF
10776 cat confdefs.h
>>conftest.
$ac_ext
10777 cat >>conftest.
$ac_ext <<_ACEOF
10778 /* end confdefs.h. */
10780 #include <stdlib.h>
10789 rm -f conftest.
$ac_objext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10791 (eval $ac_compile) 2>conftest.er1
10793 grep -v '^ *+' conftest.er1
>conftest.err
10795 cat conftest.err
>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } &&
10798 { ac_try
='test -z "$ac_c_werror_flag"
10799 || test ! -s conftest.err'
10800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10801 (eval $ac_try) 2>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; } &&
10805 { ac_try
='test -s conftest.$ac_objext'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; }; then
10813 echo "$as_me: failed program was:" >&5
10814 sed 's/^/| /' conftest.
$ac_ext >&5
10818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10819 cat >conftest.
$ac_ext <<_ACEOF
10822 cat confdefs.h
>>conftest.
$ac_ext
10823 cat >>conftest.
$ac_ext <<_ACEOF
10824 /* end confdefs.h. */
10834 rm -f conftest.
$ac_objext
10835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10836 (eval $ac_compile) 2>conftest.er1
10838 grep -v '^ *+' conftest.er1
>conftest.err
10840 cat conftest.err
>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } &&
10843 { ac_try
='test -z "$ac_c_werror_flag"
10844 || test ! -s conftest.err'
10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846 (eval $ac_try) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; } &&
10850 { ac_try
='test -s conftest.$ac_objext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.
$ac_ext >&5
10862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10865 if test -n "$ac_declaration"; then
10866 echo '#ifdef __cplusplus' >>confdefs.h
10867 echo $ac_declaration >>confdefs.h
10868 echo '#endif' >>confdefs.h
10872 echo "$as_me: failed program was:" >&5
10873 sed 's/^/| /' conftest.
$ac_ext >&5
10876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10878 ac_cpp
='$CPP $CPPFLAGS'
10879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10886 ac_cpp
='$CPP $CPPFLAGS'
10887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10890 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10891 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10892 # On Suns, sometimes $CPP names a directory.
10893 if test -n "$CPP" && test -d "$CPP"; then
10896 if test -z "$CPP"; then
10897 if test "${ac_cv_prog_CPP+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 # Double quotes because CPP needs to be expanded
10901 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10903 ac_preproc_ok
=false
10904 for ac_c_preproc_warn_flag
in '' yes
10906 # Use a header file that comes with gcc, so configuring glibc
10907 # with a fresh cross-compiler works.
10908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10909 # <limits.h> exists even on freestanding compilers.
10910 # On the NeXT, cc -E runs the code through the compiler's parser,
10911 # not just through cpp. "Syntax error" is here to catch this case.
10912 cat >conftest.
$ac_ext <<_ACEOF
10915 cat confdefs.h
>>conftest.
$ac_ext
10916 cat >>conftest.
$ac_ext <<_ACEOF
10917 /* end confdefs.h. */
10919 # include <limits.h>
10921 # include <assert.h>
10925 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10926 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10928 grep -v '^ *+' conftest.er1
>conftest.err
10930 cat conftest.err
>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } >/dev
/null
; then
10933 if test -s conftest.err
; then
10934 ac_cpp_err
=$ac_c_preproc_warn_flag
10935 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10942 if test -z "$ac_cpp_err"; then
10945 echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.
$ac_ext >&5
10948 # Broken: fails on valid input.
10951 rm -f conftest.err conftest.
$ac_ext
10953 # OK, works on sane cases. Now check whether non-existent headers
10954 # can be detected and how.
10955 cat >conftest.
$ac_ext <<_ACEOF
10958 cat confdefs.h
>>conftest.
$ac_ext
10959 cat >>conftest.
$ac_ext <<_ACEOF
10960 /* end confdefs.h. */
10961 #include <ac_nonexistent.h>
10963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10964 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10966 grep -v '^ *+' conftest.er1
>conftest.err
10968 cat conftest.err
>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } >/dev
/null
; then
10971 if test -s conftest.err
; then
10972 ac_cpp_err
=$ac_c_preproc_warn_flag
10973 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10980 if test -z "$ac_cpp_err"; then
10981 # Broken: success on invalid input.
10984 echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.
$ac_ext >&5
10987 # Passes both tests.
10991 rm -f conftest.err conftest.
$ac_ext
10994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10995 rm -f conftest.err conftest.
$ac_ext
10996 if $ac_preproc_ok; then
11001 ac_cv_prog_CPP
=$CPP
11004 CPP
=$ac_cv_prog_CPP
11006 ac_cv_prog_CPP
=$CPP
11008 echo "$as_me:$LINENO: result: $CPP" >&5
11009 echo "${ECHO_T}$CPP" >&6
11010 ac_preproc_ok
=false
11011 for ac_c_preproc_warn_flag
in '' yes
11013 # Use a header file that comes with gcc, so configuring glibc
11014 # with a fresh cross-compiler works.
11015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11016 # <limits.h> exists even on freestanding compilers.
11017 # On the NeXT, cc -E runs the code through the compiler's parser,
11018 # not just through cpp. "Syntax error" is here to catch this case.
11019 cat >conftest.
$ac_ext <<_ACEOF
11022 cat confdefs.h
>>conftest.
$ac_ext
11023 cat >>conftest.
$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11026 # include <limits.h>
11028 # include <assert.h>
11032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11033 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11035 grep -v '^ *+' conftest.er1
>conftest.err
11037 cat conftest.err
>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); } >/dev
/null
; then
11040 if test -s conftest.err
; then
11041 ac_cpp_err
=$ac_c_preproc_warn_flag
11042 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11049 if test -z "$ac_cpp_err"; then
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.
$ac_ext >&5
11055 # Broken: fails on valid input.
11058 rm -f conftest.err conftest.
$ac_ext
11060 # OK, works on sane cases. Now check whether non-existent headers
11061 # can be detected and how.
11062 cat >conftest.
$ac_ext <<_ACEOF
11065 cat confdefs.h
>>conftest.
$ac_ext
11066 cat >>conftest.
$ac_ext <<_ACEOF
11067 /* end confdefs.h. */
11068 #include <ac_nonexistent.h>
11070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11073 grep -v '^ *+' conftest.er1
>conftest.err
11075 cat conftest.err
>&5
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); } >/dev
/null
; then
11078 if test -s conftest.err
; then
11079 ac_cpp_err
=$ac_c_preproc_warn_flag
11080 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11087 if test -z "$ac_cpp_err"; then
11088 # Broken: success on invalid input.
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.
$ac_ext >&5
11094 # Passes both tests.
11098 rm -f conftest.err conftest.
$ac_ext
11101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11102 rm -f conftest.err conftest.
$ac_ext
11103 if $ac_preproc_ok; then
11106 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11107 See \`config.log' for more details." >&5
11108 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11109 See \`config.log' for more details." >&2;}
11110 { (exit 1); exit 1; }; }
11114 ac_cpp
='$CPP $CPPFLAGS'
11115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11120 echo "$as_me:$LINENO: checking for egrep" >&5
11121 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11122 if test "${ac_cv_prog_egrep+set}" = set; then
11123 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11126 then ac_cv_prog_egrep
='grep -E'
11127 else ac_cv_prog_egrep
='egrep'
11130 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11131 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11132 EGREP
=$ac_cv_prog_egrep
11135 if test $ac_cv_c_compiler_gnu = yes; then
11136 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11137 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11138 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 ac_pattern
="Autoconf.*'x'"
11142 cat >conftest.
$ac_ext <<_ACEOF
11145 cat confdefs.h
>>conftest.
$ac_ext
11146 cat >>conftest.
$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11152 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11153 ac_cv_prog_gcc_traditional
=yes
11155 ac_cv_prog_gcc_traditional
=no
11160 if test $ac_cv_prog_gcc_traditional = no
; then
11161 cat >conftest.
$ac_ext <<_ACEOF
11164 cat confdefs.h
>>conftest.
$ac_ext
11165 cat >>conftest.
$ac_ext <<_ACEOF
11166 /* end confdefs.h. */
11167 #include <termio.h>
11170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11171 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11172 ac_cv_prog_gcc_traditional
=yes
11178 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11179 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11180 if test $ac_cv_prog_gcc_traditional = yes; then
11181 CC
="$CC -traditional"
11189 ac_cpp
='$CXXCPP $CPPFLAGS'
11190 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11191 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11192 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11195 CXXFLAGS
=${CXXFLAGS:=}
11197 ac_cpp
='$CXXCPP $CPPFLAGS'
11198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11201 if test -n "$ac_tool_prefix"; then
11202 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11205 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11206 echo "$as_me:$LINENO: checking for $ac_word" >&5
11207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11208 if test "${ac_cv_prog_CXX+set}" = set; then
11209 echo $ECHO_N "(cached) $ECHO_C" >&6
11211 if test -n "$CXX"; then
11212 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11215 for as_dir
in $PATH
11218 test -z "$as_dir" && as_dir
=.
11219 for ac_exec_ext
in '' $ac_executable_extensions; do
11220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11221 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11230 CXX
=$ac_cv_prog_CXX
11231 if test -n "$CXX"; then
11232 echo "$as_me:$LINENO: result: $CXX" >&5
11233 echo "${ECHO_T}$CXX" >&6
11235 echo "$as_me:$LINENO: result: no" >&5
11236 echo "${ECHO_T}no" >&6
11239 test -n "$CXX" && break
11242 if test -z "$CXX"; then
11244 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11246 # Extract the first word of "$ac_prog", so it can be a program name with args.
11247 set dummy
$ac_prog; ac_word
=$2
11248 echo "$as_me:$LINENO: checking for $ac_word" >&5
11249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 if test -n "$ac_ct_CXX"; then
11254 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11257 for as_dir
in $PATH
11260 test -z "$as_dir" && as_dir
=.
11261 for ac_exec_ext
in '' $ac_executable_extensions; do
11262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11263 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11272 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11273 if test -n "$ac_ct_CXX"; then
11274 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11275 echo "${ECHO_T}$ac_ct_CXX" >&6
11277 echo "$as_me:$LINENO: result: no" >&5
11278 echo "${ECHO_T}no" >&6
11281 test -n "$ac_ct_CXX" && break
11283 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11289 # Provide some information about the compiler.
11290 echo "$as_me:$LINENO:" \
11291 "checking for C++ compiler version" >&5
11292 ac_compiler
=`set X $ac_compile; echo $2`
11293 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11294 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }
11298 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11299 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }
11303 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11304 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); }
11309 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11310 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11311 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11312 echo $ECHO_N "(cached) $ECHO_C" >&6
11314 cat >conftest.
$ac_ext <<_ACEOF
11317 cat confdefs.h
>>conftest.
$ac_ext
11318 cat >>conftest.
$ac_ext <<_ACEOF
11319 /* end confdefs.h. */
11332 rm -f conftest.
$ac_objext
11333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11334 (eval $ac_compile) 2>conftest.er1
11336 grep -v '^ *+' conftest.er1
>conftest.err
11338 cat conftest.err
>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try
='test -z "$ac_cxx_werror_flag"
11342 || test ! -s conftest.err'
11343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11344 (eval $ac_try) 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; } &&
11348 { ac_try
='test -s conftest.$ac_objext'
11349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350 (eval $ac_try) 2>&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); }; }; then
11354 ac_compiler_gnu
=yes
11356 echo "$as_me: failed program was:" >&5
11357 sed 's/^/| /' conftest.
$ac_ext >&5
11361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11362 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11365 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11366 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11367 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11368 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11369 ac_save_CXXFLAGS
=$CXXFLAGS
11371 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11372 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11373 if test "${ac_cv_prog_cxx_g+set}" = set; then
11374 echo $ECHO_N "(cached) $ECHO_C" >&6
11376 cat >conftest.
$ac_ext <<_ACEOF
11379 cat confdefs.h
>>conftest.
$ac_ext
11380 cat >>conftest.
$ac_ext <<_ACEOF
11381 /* end confdefs.h. */
11391 rm -f conftest.
$ac_objext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>conftest.er1
11395 grep -v '^ *+' conftest.er1
>conftest.err
11397 cat conftest.err
>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try
='test -z "$ac_cxx_werror_flag"
11401 || test ! -s conftest.err'
11402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11403 (eval $ac_try) 2>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }; } &&
11407 { ac_try
='test -s conftest.$ac_objext'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; }; then
11413 ac_cv_prog_cxx_g
=yes
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.
$ac_ext >&5
11418 ac_cv_prog_cxx_g
=no
11420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11422 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11423 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11424 if test "$ac_test_CXXFLAGS" = set; then
11425 CXXFLAGS
=$ac_save_CXXFLAGS
11426 elif test $ac_cv_prog_cxx_g = yes; then
11427 if test "$GXX" = yes; then
11433 if test "$GXX" = yes; then
11439 for ac_declaration
in \
11441 'extern "C" void std::exit (int) throw (); using std::exit;' \
11442 'extern "C" void std::exit (int); using std::exit;' \
11443 'extern "C" void exit (int) throw ();' \
11444 'extern "C" void exit (int);' \
11447 cat >conftest.
$ac_ext <<_ACEOF
11450 cat confdefs.h
>>conftest.
$ac_ext
11451 cat >>conftest.
$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11454 #include <stdlib.h>
11463 rm -f conftest.
$ac_objext
11464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11465 (eval $ac_compile) 2>conftest.er1
11467 grep -v '^ *+' conftest.er1
>conftest.err
11469 cat conftest.err
>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); } &&
11472 { ac_try
='test -z "$ac_cxx_werror_flag"
11473 || test ! -s conftest.err'
11474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11475 (eval $ac_try) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; } &&
11479 { ac_try
='test -s conftest.$ac_objext'
11480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11481 (eval $ac_try) 2>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); }; }; then
11487 echo "$as_me: failed program was:" >&5
11488 sed 's/^/| /' conftest.
$ac_ext >&5
11492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11493 cat >conftest.
$ac_ext <<_ACEOF
11496 cat confdefs.h
>>conftest.
$ac_ext
11497 cat >>conftest.
$ac_ext <<_ACEOF
11498 /* end confdefs.h. */
11508 rm -f conftest.
$ac_objext
11509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11510 (eval $ac_compile) 2>conftest.er1
11512 grep -v '^ *+' conftest.er1
>conftest.err
11514 cat conftest.err
>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); } &&
11517 { ac_try
='test -z "$ac_cxx_werror_flag"
11518 || test ! -s conftest.err'
11519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11520 (eval $ac_try) 2>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); }; } &&
11524 { ac_try
='test -s conftest.$ac_objext'
11525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11526 (eval $ac_try) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); }; }; then
11532 echo "$as_me: failed program was:" >&5
11533 sed 's/^/| /' conftest.
$ac_ext >&5
11536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11539 if test -n "$ac_declaration"; then
11540 echo '#ifdef __cplusplus' >>confdefs.h
11541 echo $ac_declaration >>confdefs.h
11542 echo '#endif' >>confdefs.h
11546 ac_cpp
='$CXXCPP $CPPFLAGS'
11547 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11548 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11549 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11553 ac_cpp
='$CPP $CPPFLAGS'
11554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11559 if test -n "$ac_tool_prefix"; then
11560 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11561 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11562 echo "$as_me:$LINENO: checking for $ac_word" >&5
11563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11564 if test "${ac_cv_prog_RANLIB+set}" = set; then
11565 echo $ECHO_N "(cached) $ECHO_C" >&6
11567 if test -n "$RANLIB"; then
11568 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11571 for as_dir
in $PATH
11574 test -z "$as_dir" && as_dir
=.
11575 for ac_exec_ext
in '' $ac_executable_extensions; do
11576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11577 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11586 RANLIB
=$ac_cv_prog_RANLIB
11587 if test -n "$RANLIB"; then
11588 echo "$as_me:$LINENO: result: $RANLIB" >&5
11589 echo "${ECHO_T}$RANLIB" >&6
11591 echo "$as_me:$LINENO: result: no" >&5
11592 echo "${ECHO_T}no" >&6
11596 if test -z "$ac_cv_prog_RANLIB"; then
11597 ac_ct_RANLIB
=$RANLIB
11598 # Extract the first word of "ranlib", so it can be a program name with args.
11599 set dummy ranlib
; ac_word
=$2
11600 echo "$as_me:$LINENO: checking for $ac_word" >&5
11601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11602 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 if test -n "$ac_ct_RANLIB"; then
11606 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11609 for as_dir
in $PATH
11612 test -z "$as_dir" && as_dir
=.
11613 for ac_exec_ext
in '' $ac_executable_extensions; do
11614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11615 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11622 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11625 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11626 if test -n "$ac_ct_RANLIB"; then
11627 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11628 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11630 echo "$as_me:$LINENO: result: no" >&5
11631 echo "${ECHO_T}no" >&6
11634 RANLIB
=$ac_ct_RANLIB
11636 RANLIB
="$ac_cv_prog_RANLIB"
11640 # Extract the first word of "ar", so it can be a program name with args.
11641 set dummy
ar; ac_word
=$2
11642 echo "$as_me:$LINENO: checking for $ac_word" >&5
11643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11644 if test "${ac_cv_prog_AR+set}" = set; then
11645 echo $ECHO_N "(cached) $ECHO_C" >&6
11647 if test -n "$AR"; then
11648 ac_cv_prog_AR
="$AR" # Let the user override the test.
11650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11651 for as_dir
in $PATH
11654 test -z "$as_dir" && as_dir
=.
11655 for ac_exec_ext
in '' $ac_executable_extensions; do
11656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11667 if test -n "$AR"; then
11668 echo "$as_me:$LINENO: result: $AR" >&5
11669 echo "${ECHO_T}$AR" >&6
11671 echo "$as_me:$LINENO: result: no" >&5
11672 echo "${ECHO_T}no" >&6
11675 if test "x$AR" = "x" ; then
11676 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11677 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11678 { (exit 1); exit 1; }; }
11681 # Find a good install program. We prefer a C program (faster),
11682 # so one script is as good as another. But avoid the broken or
11683 # incompatible versions:
11684 # SysV /etc/install, /usr/sbin/install
11685 # SunOS /usr/etc/install
11686 # IRIX /sbin/install
11688 # AmigaOS /C/install, which installs bootblocks on floppy discs
11689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11692 # OS/2's system install, which has a completely different semantic
11693 # ./install, which can be erroneously created by make from ./install.sh.
11694 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11695 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11696 if test -z "$INSTALL"; then
11697 if test "${ac_cv_path_install+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11701 for as_dir
in $PATH
11704 test -z "$as_dir" && as_dir
=.
11705 # Account for people who put trailing slashes in PATH elements.
11707 .
/ | .
// | /cC
/* | \
11708 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11709 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11712 # OSF1 and SCO ODT 3.0 have their own names for install.
11713 # Don't use installbsd from OSF since it installs stuff as root
11715 for ac_prog
in ginstall scoinst
install; do
11716 for ac_exec_ext
in '' $ac_executable_extensions; do
11717 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11718 if test $ac_prog = install &&
11719 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11720 # AIX install. It has an incompatible calling convention.
11722 elif test $ac_prog = install &&
11723 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11724 # program-specific install script used by HP pwplus--don't use.
11727 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11739 if test "${ac_cv_path_install+set}" = set; then
11740 INSTALL
=$ac_cv_path_install
11742 # As a last resort, use the slow shell script. We don't cache a
11743 # path for INSTALL within a source directory, because that will
11744 # break other packages using the cache if that directory is
11745 # removed, or if the path is relative.
11746 INSTALL
=$ac_install_sh
11749 echo "$as_me:$LINENO: result: $INSTALL" >&5
11750 echo "${ECHO_T}$INSTALL" >&6
11752 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11753 # It thinks the first close brace ends the variable substitution.
11754 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11756 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11758 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11764 ?
:* ) # Drive letter, considered as absolute.
11767 INSTALL
=`pwd`/${INSTALL} ;;
11772 INSTALL_DIR
="mkdir"
11775 *) INSTALL_DIR
="$INSTALL -d"
11782 powerpc
-*-darwin* )
11783 INSTALL_PROGRAM
="cp -fp"
11784 INSTALL_DATA
="cp -fp"
11790 # Extract the first word of "strip", so it can be a program name with args.
11791 set dummy strip
; ac_word
=$2
11792 echo "$as_me:$LINENO: checking for $ac_word" >&5
11793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11794 if test "${ac_cv_prog_STRIP+set}" = set; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 if test -n "$STRIP"; then
11798 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11801 for as_dir
in $PATH
11804 test -z "$as_dir" && as_dir
=.
11805 for ac_exec_ext
in '' $ac_executable_extensions; do
11806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11807 ac_cv_prog_STRIP
="strip"
11808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11814 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11817 STRIP
=$ac_cv_prog_STRIP
11818 if test -n "$STRIP"; then
11819 echo "$as_me:$LINENO: result: $STRIP" >&5
11820 echo "${ECHO_T}$STRIP" >&6
11822 echo "$as_me:$LINENO: result: no" >&5
11823 echo "${ECHO_T}no" >&6
11827 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11828 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11829 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11830 echo $ECHO_N "(cached) $ECHO_C" >&6
11833 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11834 egrep -s GNU
> /dev
/null
); then
11835 wx_cv_prog_makeisgnu
="yes"
11837 wx_cv_prog_makeisgnu
="no"
11841 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11842 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11844 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11852 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11853 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11854 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11855 if test "${wx_cv_prog_makevpath+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 cat - << EOF > confMake
11865 if test ! -d sub
; then
11868 echo dummy
> sub
/file
11869 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11871 rm -f sub
/file check final_file confMake
11873 if test "$RESULT" = 0; then
11874 wx_cv_prog_makevpath
="yes"
11876 wx_cv_prog_makevpath
="no"
11880 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11881 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11883 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11884 { { echo "$as_me:$LINENO: error:
11885 You need a make-utility that is able to use the variable
11887 If your version of make does not support VPATH correctly,
11888 please install GNU-make (possibly as gmake), and start
11889 configure with the following command:
11890 export MAKE=gmake; ./configure for sh-type shells
11891 setenv MAKE gmake; ./configure for csh-type shells
11892 Also please do remember to use gmake in this case every time
11893 you are trying to compile.
11895 echo "$as_me: error:
11896 You need a make-utility that is able to use the variable
11898 If your version of make does not support VPATH correctly,
11899 please install GNU-make (possibly as gmake), and start
11900 configure with the following command:
11901 export MAKE=gmake; ./configure for sh-type shells
11902 setenv MAKE gmake; ./configure for csh-type shells
11903 Also please do remember to use gmake in this case every time
11904 you are trying to compile.
11906 { (exit 1); exit 1; }; }
11908 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11909 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11911 if test "$LN_S" = "ln -s"; then
11912 echo "$as_me:$LINENO: result: yes" >&5
11913 echo "${ECHO_T}yes" >&6
11915 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11916 echo "${ECHO_T}no, using $LN_S" >&6
11921 *-pc-os2_emx | *-pc-os2-emx )
11922 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11923 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11924 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11925 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 ac_check_lib_save_LIBS
=$LIBS
11929 LIBS
="-lcExt $LIBS"
11930 cat >conftest.
$ac_ext <<_ACEOF
11933 cat confdefs.h
>>conftest.
$ac_ext
11934 cat >>conftest.
$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11937 /* Override any gcc2 internal prototype to avoid an error. */
11941 /* We use char because int might match the return type of a gcc2
11942 builtin and then its argument prototype would still apply. */
11952 rm -f conftest.
$ac_objext conftest
$ac_exeext
11953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11954 (eval $ac_link) 2>conftest.er1
11956 grep -v '^ *+' conftest.er1
>conftest.err
11958 cat conftest.err
>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } &&
11961 { ac_try
='test -z "$ac_c_werror_flag"
11962 || test ! -s conftest.err'
11963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11964 (eval $ac_try) 2>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); }; } &&
11968 { ac_try
='test -s conftest$ac_exeext'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; }; then
11974 ac_cv_lib_cExt_drand48
=yes
11976 echo "$as_me: failed program was:" >&5
11977 sed 's/^/| /' conftest.
$ac_ext >&5
11979 ac_cv_lib_cExt_drand48
=no
11981 rm -f conftest.err conftest.
$ac_objext \
11982 conftest
$ac_exeext conftest.
$ac_ext
11983 LIBS
=$ac_check_lib_save_LIBS
11985 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11986 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11987 if test $ac_cv_lib_cExt_drand48 = yes; then
11988 LIBS
="$LIBS -lcExt"
11992 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11994 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11995 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11996 if test "${wx_cv_gcc3+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 cat >conftest.
$ac_ext <<_ACEOF
12003 cat confdefs.h
>>conftest.
$ac_ext
12004 cat >>conftest.
$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12019 rm -f conftest.
$ac_objext
12020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12021 (eval $ac_compile) 2>conftest.er1
12023 grep -v '^ *+' conftest.er1
>conftest.err
12025 cat conftest.err
>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } &&
12028 { ac_try
='test -z "$ac_c_werror_flag"
12029 || test ! -s conftest.err'
12030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12031 (eval $ac_try) 2>&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); }; } &&
12035 { ac_try
='test -s conftest.$ac_objext'
12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037 (eval $ac_try) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; }; then
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.
$ac_ext >&5
12053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12056 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12057 echo "${ECHO_T}$wx_cv_gcc3" >&6
12058 if test "$wx_cv_gcc3" = "no"; then
12059 LIBS
="$LIBS -lstdcpp"
12061 LIBS
="$LIBS -lstdcxx"
12067 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
12068 echo "$as_me:$LINENO: checking for strings.h" >&5
12069 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
12070 if test "${ac_cv_header_strings_h+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 ac_cv_header_strings_h
=no
12075 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
12076 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
12077 if test "$ac_cv_header_strings_h" = "no"; then
12078 echo "$as_me:$LINENO: result: forced no into cache" >&5
12079 echo "${ECHO_T}forced no into cache" >&6
12081 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
12082 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
12085 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12086 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12087 if test "${ac_cv_header_stdc+set}" = set; then
12088 echo $ECHO_N "(cached) $ECHO_C" >&6
12090 cat >conftest.
$ac_ext <<_ACEOF
12093 cat confdefs.h
>>conftest.
$ac_ext
12094 cat >>conftest.
$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12096 #include <stdlib.h>
12097 #include <stdarg.h>
12098 #include <string.h>
12109 rm -f conftest.
$ac_objext
12110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12111 (eval $ac_compile) 2>conftest.er1
12113 grep -v '^ *+' conftest.er1
>conftest.err
12115 cat conftest.err
>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try
='test -z "$ac_c_werror_flag"
12119 || test ! -s conftest.err'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; } &&
12125 { ac_try
='test -s conftest.$ac_objext'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; }; then
12131 ac_cv_header_stdc
=yes
12133 echo "$as_me: failed program was:" >&5
12134 sed 's/^/| /' conftest.
$ac_ext >&5
12136 ac_cv_header_stdc
=no
12138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12140 if test $ac_cv_header_stdc = yes; then
12141 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12142 cat >conftest.
$ac_ext <<_ACEOF
12145 cat confdefs.h
>>conftest.
$ac_ext
12146 cat >>conftest.
$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12148 #include <string.h>
12151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12152 $EGREP "memchr" >/dev
/null
2>&1; then
12155 ac_cv_header_stdc
=no
12161 if test $ac_cv_header_stdc = yes; then
12162 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12163 cat >conftest.
$ac_ext <<_ACEOF
12166 cat confdefs.h
>>conftest.
$ac_ext
12167 cat >>conftest.
$ac_ext <<_ACEOF
12168 /* end confdefs.h. */
12169 #include <stdlib.h>
12172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12173 $EGREP "free" >/dev
/null
2>&1; then
12176 ac_cv_header_stdc
=no
12182 if test $ac_cv_header_stdc = yes; then
12183 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12184 if test "$cross_compiling" = yes; then
12187 cat >conftest.
$ac_ext <<_ACEOF
12190 cat confdefs.h
>>conftest.
$ac_ext
12191 cat >>conftest.
$ac_ext <<_ACEOF
12192 /* end confdefs.h. */
12194 #if ((' ' & 0x0FF) == 0x020)
12195 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12196 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12198 # define ISLOWER(c) \
12199 (('a' <= (c) && (c) <= 'i') \
12200 || ('j' <= (c) && (c) <= 'r') \
12201 || ('s' <= (c) && (c) <= 'z'))
12202 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12205 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12210 for (i = 0; i < 256; i++)
12211 if (XOR (islower (i), ISLOWER (i))
12212 || toupper (i) != TOUPPER (i))
12217 rm -f conftest
$ac_exeext
12218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12219 (eval $ac_link) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; }; then
12230 echo "$as_me: program exited with status $ac_status" >&5
12231 echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.
$ac_ext >&5
12234 ( exit $ac_status )
12235 ac_cv_header_stdc
=no
12237 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12241 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12242 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12243 if test $ac_cv_header_stdc = yes; then
12245 cat >>confdefs.h
<<\_ACEOF
12246 #define STDC_HEADERS 1
12251 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12261 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12262 inttypes.h stdint.h unistd.h
12264 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12265 echo "$as_me:$LINENO: checking for $ac_header" >&5
12266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 cat >conftest.
$ac_ext <<_ACEOF
12273 cat confdefs.h
>>conftest.
$ac_ext
12274 cat >>conftest.
$ac_ext <<_ACEOF
12275 /* end confdefs.h. */
12276 $ac_includes_default
12278 #include <$ac_header>
12280 rm -f conftest.
$ac_objext
12281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12282 (eval $ac_compile) 2>conftest.er1
12284 grep -v '^ *+' conftest.er1
>conftest.err
12286 cat conftest.err
>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } &&
12289 { ac_try
='test -z "$ac_c_werror_flag"
12290 || test ! -s conftest.err'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; } &&
12296 { ac_try
='test -s conftest.$ac_objext'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then
12302 eval "$as_ac_Header=yes"
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.
$ac_ext >&5
12307 eval "$as_ac_Header=no"
12309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12314 cat >>confdefs.h
<<_ACEOF
12315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12324 for ac_header
in strings.h
12326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12328 echo "$as_me:$LINENO: checking for $ac_header" >&5
12329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12331 echo $ECHO_N "(cached) $ECHO_C" >&6
12333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12336 # Is the header compilable?
12337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12339 cat >conftest.
$ac_ext <<_ACEOF
12342 cat confdefs.h
>>conftest.
$ac_ext
12343 cat >>conftest.
$ac_ext <<_ACEOF
12344 /* end confdefs.h. */
12345 $ac_includes_default
12346 #include <$ac_header>
12348 rm -f conftest.
$ac_objext
12349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12350 (eval $ac_compile) 2>conftest.er1
12352 grep -v '^ *+' conftest.er1
>conftest.err
12354 cat conftest.err
>&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); } &&
12357 { ac_try
='test -z "$ac_c_werror_flag"
12358 || test ! -s conftest.err'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; } &&
12364 { ac_try
='test -s conftest.$ac_objext'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then
12370 ac_header_compiler
=yes
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.
$ac_ext >&5
12375 ac_header_compiler
=no
12377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12379 echo "${ECHO_T}$ac_header_compiler" >&6
12381 # Is the header present?
12382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12384 cat >conftest.
$ac_ext <<_ACEOF
12387 cat confdefs.h
>>conftest.
$ac_ext
12388 cat >>conftest.
$ac_ext <<_ACEOF
12389 /* end confdefs.h. */
12390 #include <$ac_header>
12392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12393 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12395 grep -v '^ *+' conftest.er1
>conftest.err
12397 cat conftest.err
>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); } >/dev
/null
; then
12400 if test -s conftest.err
; then
12401 ac_cpp_err
=$ac_c_preproc_warn_flag
12402 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12409 if test -z "$ac_cpp_err"; then
12410 ac_header_preproc
=yes
12412 echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.
$ac_ext >&5
12415 ac_header_preproc
=no
12417 rm -f conftest.err conftest.
$ac_ext
12418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12419 echo "${ECHO_T}$ac_header_preproc" >&6
12421 # So? What about this header?
12422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12428 ac_header_preproc
=yes
12431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12445 ## ----------------------------------------- ##
12446 ## Report this to wx-dev@lists.wxwindows.org ##
12447 ## ----------------------------------------- ##
12450 sed "s/^/$as_me: WARNING: /" >&2
12453 echo "$as_me:$LINENO: checking for $ac_header" >&5
12454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 eval "$as_ac_Header=\$ac_header_preproc"
12460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12465 cat >>confdefs.h
<<_ACEOF
12466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12475 for ac_header
in stdlib.h
12477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12479 echo "$as_me:$LINENO: checking for $ac_header" >&5
12480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12487 # Is the header compilable?
12488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12490 cat >conftest.
$ac_ext <<_ACEOF
12493 cat confdefs.h
>>conftest.
$ac_ext
12494 cat >>conftest.
$ac_ext <<_ACEOF
12495 /* end confdefs.h. */
12496 $ac_includes_default
12497 #include <$ac_header>
12499 rm -f conftest.
$ac_objext
12500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12501 (eval $ac_compile) 2>conftest.er1
12503 grep -v '^ *+' conftest.er1
>conftest.err
12505 cat conftest.err
>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try
='test -z "$ac_c_werror_flag"
12509 || test ! -s conftest.err'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }; } &&
12515 { ac_try
='test -s conftest.$ac_objext'
12516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12517 (eval $ac_try) 2>&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }; }; then
12521 ac_header_compiler
=yes
12523 echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.
$ac_ext >&5
12526 ac_header_compiler
=no
12528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12530 echo "${ECHO_T}$ac_header_compiler" >&6
12532 # Is the header present?
12533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12535 cat >conftest.
$ac_ext <<_ACEOF
12538 cat confdefs.h
>>conftest.
$ac_ext
12539 cat >>conftest.
$ac_ext <<_ACEOF
12540 /* end confdefs.h. */
12541 #include <$ac_header>
12543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12546 grep -v '^ *+' conftest.er1
>conftest.err
12548 cat conftest.err
>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } >/dev
/null
; then
12551 if test -s conftest.err
; then
12552 ac_cpp_err
=$ac_c_preproc_warn_flag
12553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12560 if test -z "$ac_cpp_err"; then
12561 ac_header_preproc
=yes
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12566 ac_header_preproc
=no
12568 rm -f conftest.err conftest.
$ac_ext
12569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12570 echo "${ECHO_T}$ac_header_preproc" >&6
12572 # So? What about this header?
12573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12579 ac_header_preproc
=yes
12582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12596 ## ----------------------------------------- ##
12597 ## Report this to wx-dev@lists.wxwindows.org ##
12598 ## ----------------------------------------- ##
12601 sed "s/^/$as_me: WARNING: /" >&2
12604 echo "$as_me:$LINENO: checking for $ac_header" >&5
12605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12609 eval "$as_ac_Header=\$ac_header_preproc"
12611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12616 cat >>confdefs.h
<<_ACEOF
12617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12625 for ac_header
in malloc.h
12627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12629 echo "$as_me:$LINENO: checking for $ac_header" >&5
12630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12637 # Is the header compilable?
12638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12640 cat >conftest.
$ac_ext <<_ACEOF
12643 cat confdefs.h
>>conftest.
$ac_ext
12644 cat >>conftest.
$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12646 $ac_includes_default
12647 #include <$ac_header>
12649 rm -f conftest.
$ac_objext
12650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12651 (eval $ac_compile) 2>conftest.er1
12653 grep -v '^ *+' conftest.er1
>conftest.err
12655 cat conftest.err
>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try
='test -z "$ac_c_werror_flag"
12659 || test ! -s conftest.err'
12660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12661 (eval $ac_try) 2>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; } &&
12665 { ac_try
='test -s conftest.$ac_objext'
12666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12667 (eval $ac_try) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; }; then
12671 ac_header_compiler
=yes
12673 echo "$as_me: failed program was:" >&5
12674 sed 's/^/| /' conftest.
$ac_ext >&5
12676 ac_header_compiler
=no
12678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12680 echo "${ECHO_T}$ac_header_compiler" >&6
12682 # Is the header present?
12683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12685 cat >conftest.
$ac_ext <<_ACEOF
12688 cat confdefs.h
>>conftest.
$ac_ext
12689 cat >>conftest.
$ac_ext <<_ACEOF
12690 /* end confdefs.h. */
12691 #include <$ac_header>
12693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12694 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12696 grep -v '^ *+' conftest.er1
>conftest.err
12698 cat conftest.err
>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } >/dev
/null
; then
12701 if test -s conftest.err
; then
12702 ac_cpp_err
=$ac_c_preproc_warn_flag
12703 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12710 if test -z "$ac_cpp_err"; then
12711 ac_header_preproc
=yes
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.
$ac_ext >&5
12716 ac_header_preproc
=no
12718 rm -f conftest.err conftest.
$ac_ext
12719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12720 echo "${ECHO_T}$ac_header_preproc" >&6
12722 # So? What about this header?
12723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12729 ac_header_preproc
=yes
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12746 ## ----------------------------------------- ##
12747 ## Report this to wx-dev@lists.wxwindows.org ##
12748 ## ----------------------------------------- ##
12751 sed "s/^/$as_me: WARNING: /" >&2
12754 echo "$as_me:$LINENO: checking for $ac_header" >&5
12755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 eval "$as_ac_Header=\$ac_header_preproc"
12761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12766 cat >>confdefs.h
<<_ACEOF
12767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12775 for ac_header
in unistd.h
12777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12779 echo "$as_me:$LINENO: checking for $ac_header" >&5
12780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12782 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12787 # Is the header compilable?
12788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12790 cat >conftest.
$ac_ext <<_ACEOF
12793 cat confdefs.h
>>conftest.
$ac_ext
12794 cat >>conftest.
$ac_ext <<_ACEOF
12795 /* end confdefs.h. */
12796 $ac_includes_default
12797 #include <$ac_header>
12799 rm -f conftest.
$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12803 grep -v '^ *+' conftest.er1
>conftest.err
12805 cat conftest.err
>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try
='test -z "$ac_c_werror_flag"
12809 || test ! -s conftest.err'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; } &&
12815 { ac_try
='test -s conftest.$ac_objext'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; }; then
12821 ac_header_compiler
=yes
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.
$ac_ext >&5
12826 ac_header_compiler
=no
12828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12830 echo "${ECHO_T}$ac_header_compiler" >&6
12832 # Is the header present?
12833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12835 cat >conftest.
$ac_ext <<_ACEOF
12838 cat confdefs.h
>>conftest.
$ac_ext
12839 cat >>conftest.
$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 #include <$ac_header>
12843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12844 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12846 grep -v '^ *+' conftest.er1
>conftest.err
12848 cat conftest.err
>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } >/dev
/null
; then
12851 if test -s conftest.err
; then
12852 ac_cpp_err
=$ac_c_preproc_warn_flag
12853 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12860 if test -z "$ac_cpp_err"; then
12861 ac_header_preproc
=yes
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12866 ac_header_preproc
=no
12868 rm -f conftest.err conftest.
$ac_ext
12869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12870 echo "${ECHO_T}$ac_header_preproc" >&6
12872 # So? What about this header?
12873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12879 ac_header_preproc
=yes
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12896 ## ----------------------------------------- ##
12897 ## Report this to wx-dev@lists.wxwindows.org ##
12898 ## ----------------------------------------- ##
12901 sed "s/^/$as_me: WARNING: /" >&2
12904 echo "$as_me:$LINENO: checking for $ac_header" >&5
12905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 eval "$as_ac_Header=\$ac_header_preproc"
12911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12916 cat >>confdefs.h
<<_ACEOF
12917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12925 for ac_header
in wchar.h
12927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12929 echo "$as_me:$LINENO: checking for $ac_header" >&5
12930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12937 # Is the header compilable?
12938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12940 cat >conftest.
$ac_ext <<_ACEOF
12943 cat confdefs.h
>>conftest.
$ac_ext
12944 cat >>conftest.
$ac_ext <<_ACEOF
12945 /* end confdefs.h. */
12946 $ac_includes_default
12947 #include <$ac_header>
12949 rm -f conftest.
$ac_objext
12950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12951 (eval $ac_compile) 2>conftest.er1
12953 grep -v '^ *+' conftest.er1
>conftest.err
12955 cat conftest.err
>&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); } &&
12958 { ac_try
='test -z "$ac_c_werror_flag"
12959 || test ! -s conftest.err'
12960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961 (eval $ac_try) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }; } &&
12965 { ac_try
='test -s conftest.$ac_objext'
12966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12967 (eval $ac_try) 2>&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); }; }; then
12971 ac_header_compiler
=yes
12973 echo "$as_me: failed program was:" >&5
12974 sed 's/^/| /' conftest.
$ac_ext >&5
12976 ac_header_compiler
=no
12978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12980 echo "${ECHO_T}$ac_header_compiler" >&6
12982 # Is the header present?
12983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12985 cat >conftest.
$ac_ext <<_ACEOF
12988 cat confdefs.h
>>conftest.
$ac_ext
12989 cat >>conftest.
$ac_ext <<_ACEOF
12990 /* end confdefs.h. */
12991 #include <$ac_header>
12993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12996 grep -v '^ *+' conftest.er1
>conftest.err
12998 cat conftest.err
>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); } >/dev
/null
; then
13001 if test -s conftest.err
; then
13002 ac_cpp_err
=$ac_c_preproc_warn_flag
13003 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13010 if test -z "$ac_cpp_err"; then
13011 ac_header_preproc
=yes
13013 echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.
$ac_ext >&5
13016 ac_header_preproc
=no
13018 rm -f conftest.err conftest.
$ac_ext
13019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13020 echo "${ECHO_T}$ac_header_preproc" >&6
13022 # So? What about this header?
13023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13029 ac_header_preproc
=yes
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13046 ## ----------------------------------------- ##
13047 ## Report this to wx-dev@lists.wxwindows.org ##
13048 ## ----------------------------------------- ##
13051 sed "s/^/$as_me: WARNING: /" >&2
13054 echo "$as_me:$LINENO: checking for $ac_header" >&5
13055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 eval "$as_ac_Header=\$ac_header_preproc"
13061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13066 cat >>confdefs.h
<<_ACEOF
13067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13075 if test "$ac_cv_header_wchar_h" != "yes"; then
13077 for ac_header
in wcstr.h
13079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13081 echo "$as_me:$LINENO: checking for $ac_header" >&5
13082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13084 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13089 # Is the header compilable?
13090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13092 cat >conftest.
$ac_ext <<_ACEOF
13095 cat confdefs.h
>>conftest.
$ac_ext
13096 cat >>conftest.
$ac_ext <<_ACEOF
13097 /* end confdefs.h. */
13098 $ac_includes_default
13099 #include <$ac_header>
13101 rm -f conftest.
$ac_objext
13102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13103 (eval $ac_compile) 2>conftest.er1
13105 grep -v '^ *+' conftest.er1
>conftest.err
13107 cat conftest.err
>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); } &&
13110 { ac_try
='test -z "$ac_c_werror_flag"
13111 || test ! -s conftest.err'
13112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13113 (eval $ac_try) 2>&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); }; } &&
13117 { ac_try
='test -s conftest.$ac_objext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 ac_header_compiler
=yes
13125 echo "$as_me: failed program was:" >&5
13126 sed 's/^/| /' conftest.
$ac_ext >&5
13128 ac_header_compiler
=no
13130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13132 echo "${ECHO_T}$ac_header_compiler" >&6
13134 # Is the header present?
13135 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13136 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13137 cat >conftest.
$ac_ext <<_ACEOF
13140 cat confdefs.h
>>conftest.
$ac_ext
13141 cat >>conftest.
$ac_ext <<_ACEOF
13142 /* end confdefs.h. */
13143 #include <$ac_header>
13145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13148 grep -v '^ *+' conftest.er1
>conftest.err
13150 cat conftest.err
>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } >/dev
/null
; then
13153 if test -s conftest.err
; then
13154 ac_cpp_err
=$ac_c_preproc_warn_flag
13155 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13162 if test -z "$ac_cpp_err"; then
13163 ac_header_preproc
=yes
13165 echo "$as_me: failed program was:" >&5
13166 sed 's/^/| /' conftest.
$ac_ext >&5
13168 ac_header_preproc
=no
13170 rm -f conftest.err conftest.
$ac_ext
13171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13172 echo "${ECHO_T}$ac_header_preproc" >&6
13174 # So? What about this header?
13175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13180 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13181 ac_header_preproc
=yes
13184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13185 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13187 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13189 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13191 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13195 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13198 ## ----------------------------------------- ##
13199 ## Report this to wx-dev@lists.wxwindows.org ##
13200 ## ----------------------------------------- ##
13203 sed "s/^/$as_me: WARNING: /" >&2
13206 echo "$as_me:$LINENO: checking for $ac_header" >&5
13207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13209 echo $ECHO_N "(cached) $ECHO_C" >&6
13211 eval "$as_ac_Header=\$ac_header_preproc"
13213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13218 cat >>confdefs.h
<<_ACEOF
13219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13229 for ac_header
in fnmatch.h
13231 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13233 echo "$as_me:$LINENO: checking for $ac_header" >&5
13234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13241 # Is the header compilable?
13242 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13244 cat >conftest.
$ac_ext <<_ACEOF
13247 cat confdefs.h
>>conftest.
$ac_ext
13248 cat >>conftest.
$ac_ext <<_ACEOF
13249 /* end confdefs.h. */
13250 $ac_includes_default
13251 #include <$ac_header>
13253 rm -f conftest.
$ac_objext
13254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13255 (eval $ac_compile) 2>conftest.er1
13257 grep -v '^ *+' conftest.er1
>conftest.err
13259 cat conftest.err
>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } &&
13262 { ac_try
='test -z "$ac_c_werror_flag"
13263 || test ! -s conftest.err'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; } &&
13269 { ac_try
='test -s conftest.$ac_objext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 ac_header_compiler
=yes
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.
$ac_ext >&5
13280 ac_header_compiler
=no
13282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13284 echo "${ECHO_T}$ac_header_compiler" >&6
13286 # Is the header present?
13287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13289 cat >conftest.
$ac_ext <<_ACEOF
13292 cat confdefs.h
>>conftest.
$ac_ext
13293 cat >>conftest.
$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <$ac_header>
13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13300 grep -v '^ *+' conftest.er1
>conftest.err
13302 cat conftest.err
>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev
/null
; then
13305 if test -s conftest.err
; then
13306 ac_cpp_err
=$ac_c_preproc_warn_flag
13307 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13314 if test -z "$ac_cpp_err"; then
13315 ac_header_preproc
=yes
13317 echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.
$ac_ext >&5
13320 ac_header_preproc
=no
13322 rm -f conftest.err conftest.
$ac_ext
13323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13324 echo "${ECHO_T}$ac_header_preproc" >&6
13326 # So? What about this header?
13327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13333 ac_header_preproc
=yes
13336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13350 ## ----------------------------------------- ##
13351 ## Report this to wx-dev@lists.wxwindows.org ##
13352 ## ----------------------------------------- ##
13355 sed "s/^/$as_me: WARNING: /" >&2
13358 echo "$as_me:$LINENO: checking for $ac_header" >&5
13359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 eval "$as_ac_Header=\$ac_header_preproc"
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13370 cat >>confdefs.h
<<_ACEOF
13371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13379 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13381 for ac_func
in fnmatch
13383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13384 echo "$as_me:$LINENO: checking for $ac_func" >&5
13385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13386 if eval "test \"\${$as_ac_var+set}\" = set"; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13389 cat >conftest.
$ac_ext <<_ACEOF
13392 cat confdefs.h
>>conftest.
$ac_ext
13393 cat >>conftest.
$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13397 #define $ac_func innocuous_$ac_func
13399 /* System header to define __stub macros and hopefully few prototypes,
13400 which can conflict with char $ac_func (); below.
13401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13402 <limits.h> exists even on freestanding compilers. */
13405 # include <limits.h>
13407 # include <assert.h>
13412 /* Override any gcc2 internal prototype to avoid an error. */
13417 /* We use char because int might match the return type of a gcc2
13418 builtin and then its argument prototype would still apply. */
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13426 char (*f) () = $ac_func;
13435 return f != $ac_func;
13440 rm -f conftest.
$ac_objext conftest
$ac_exeext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13442 (eval $ac_link) 2>conftest.er1
13444 grep -v '^ *+' conftest.er1
>conftest.err
13446 cat conftest.err
>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try
='test -z "$ac_c_werror_flag"
13450 || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try
='test -s conftest$ac_exeext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13462 eval "$as_ac_var=yes"
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.
$ac_ext >&5
13467 eval "$as_ac_var=no"
13469 rm -f conftest.err conftest.
$ac_objext \
13470 conftest
$ac_exeext conftest.
$ac_ext
13472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13474 if test `eval echo '${'$as_ac_var'}'` = yes; then
13475 cat >>confdefs.h
<<_ACEOF
13476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13485 for ac_header
in langinfo.h
13487 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13489 echo "$as_me:$LINENO: checking for $ac_header" >&5
13490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13492 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13497 # Is the header compilable?
13498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13500 cat >conftest.
$ac_ext <<_ACEOF
13503 cat confdefs.h
>>conftest.
$ac_ext
13504 cat >>conftest.
$ac_ext <<_ACEOF
13505 /* end confdefs.h. */
13506 $ac_includes_default
13507 #include <$ac_header>
13509 rm -f conftest.
$ac_objext
13510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13511 (eval $ac_compile) 2>conftest.er1
13513 grep -v '^ *+' conftest.er1
>conftest.err
13515 cat conftest.err
>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); } &&
13518 { ac_try
='test -z "$ac_c_werror_flag"
13519 || test ! -s conftest.err'
13520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13521 (eval $ac_try) 2>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); }; } &&
13525 { ac_try
='test -s conftest.$ac_objext'
13526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 (eval $ac_try) 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; }; then
13531 ac_header_compiler
=yes
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.
$ac_ext >&5
13536 ac_header_compiler
=no
13538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13540 echo "${ECHO_T}$ac_header_compiler" >&6
13542 # Is the header present?
13543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13545 cat >conftest.
$ac_ext <<_ACEOF
13548 cat confdefs.h
>>conftest.
$ac_ext
13549 cat >>conftest.
$ac_ext <<_ACEOF
13550 /* end confdefs.h. */
13551 #include <$ac_header>
13553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13556 grep -v '^ *+' conftest.er1
>conftest.err
13558 cat conftest.err
>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); } >/dev
/null
; then
13561 if test -s conftest.err
; then
13562 ac_cpp_err
=$ac_c_preproc_warn_flag
13563 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13570 if test -z "$ac_cpp_err"; then
13571 ac_header_preproc
=yes
13573 echo "$as_me: failed program was:" >&5
13574 sed 's/^/| /' conftest.
$ac_ext >&5
13576 ac_header_preproc
=no
13578 rm -f conftest.err conftest.
$ac_ext
13579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13580 echo "${ECHO_T}$ac_header_preproc" >&6
13582 # So? What about this header?
13583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13589 ac_header_preproc
=yes
13592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13606 ## ----------------------------------------- ##
13607 ## Report this to wx-dev@lists.wxwindows.org ##
13608 ## ----------------------------------------- ##
13611 sed "s/^/$as_me: WARNING: /" >&2
13614 echo "$as_me:$LINENO: checking for $ac_header" >&5
13615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13617 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 eval "$as_ac_Header=\$ac_header_preproc"
13621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13626 cat >>confdefs.h
<<_ACEOF
13627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13636 *-pc-os2_emx | *-pc-os2-emx )
13637 if test $ac_cv_header_langinfo_h = "yes"; then
13638 LIBS
="$LIBS -lintl"
13643 if test "$wxUSE_GUI" = "yes"; then
13644 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13646 for ac_header
in X
11/Xlib.h
13648 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13650 echo "$as_me:$LINENO: checking for $ac_header" >&5
13651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13653 echo $ECHO_N "(cached) $ECHO_C" >&6
13655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13658 # Is the header compilable?
13659 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13660 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13661 cat >conftest.
$ac_ext <<_ACEOF
13664 cat confdefs.h
>>conftest.
$ac_ext
13665 cat >>conftest.
$ac_ext <<_ACEOF
13666 /* end confdefs.h. */
13667 $ac_includes_default
13668 #include <$ac_header>
13670 rm -f conftest.
$ac_objext
13671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13672 (eval $ac_compile) 2>conftest.er1
13674 grep -v '^ *+' conftest.er1
>conftest.err
13676 cat conftest.err
>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } &&
13679 { ac_try
='test -z "$ac_c_werror_flag"
13680 || test ! -s conftest.err'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; } &&
13686 { ac_try
='test -s conftest.$ac_objext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 ac_header_compiler
=yes
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.
$ac_ext >&5
13697 ac_header_compiler
=no
13699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13701 echo "${ECHO_T}$ac_header_compiler" >&6
13703 # Is the header present?
13704 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13706 cat >conftest.
$ac_ext <<_ACEOF
13709 cat confdefs.h
>>conftest.
$ac_ext
13710 cat >>conftest.
$ac_ext <<_ACEOF
13711 /* end confdefs.h. */
13712 #include <$ac_header>
13714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13715 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13717 grep -v '^ *+' conftest.er1
>conftest.err
13719 cat conftest.err
>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } >/dev
/null
; then
13722 if test -s conftest.err
; then
13723 ac_cpp_err
=$ac_c_preproc_warn_flag
13724 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13731 if test -z "$ac_cpp_err"; then
13732 ac_header_preproc
=yes
13734 echo "$as_me: failed program was:" >&5
13735 sed 's/^/| /' conftest.
$ac_ext >&5
13737 ac_header_preproc
=no
13739 rm -f conftest.err conftest.
$ac_ext
13740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13741 echo "${ECHO_T}$ac_header_preproc" >&6
13743 # So? What about this header?
13744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13746 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13749 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13750 ac_header_preproc
=yes
13753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13757 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13758 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13759 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13760 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13763 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13764 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13767 ## ----------------------------------------- ##
13768 ## Report this to wx-dev@lists.wxwindows.org ##
13769 ## ----------------------------------------- ##
13772 sed "s/^/$as_me: WARNING: /" >&2
13775 echo "$as_me:$LINENO: checking for $ac_header" >&5
13776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13778 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 eval "$as_ac_Header=\$ac_header_preproc"
13782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13787 cat >>confdefs.h
<<_ACEOF
13788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13796 for ac_header
in X
11/XKBlib.h
13798 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13799 echo "$as_me:$LINENO: checking for $ac_header" >&5
13800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 cat >conftest.
$ac_ext <<_ACEOF
13807 cat confdefs.h
>>conftest.
$ac_ext
13808 cat >>conftest.
$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13811 #if HAVE_X11_XLIB_H
13812 #include <X11/Xlib.h>
13816 #include <$ac_header>
13818 rm -f conftest.
$ac_objext
13819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13820 (eval $ac_compile) 2>conftest.er1
13822 grep -v '^ *+' conftest.er1
>conftest.err
13824 cat conftest.err
>&5
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); } &&
13827 { ac_try
='test -z "$ac_c_werror_flag"
13828 || test ! -s conftest.err'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; } &&
13834 { ac_try
='test -s conftest.$ac_objext'
13835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836 (eval $ac_try) 2>&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); }; }; then
13840 eval "$as_ac_Header=yes"
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.
$ac_ext >&5
13845 eval "$as_ac_Header=no"
13847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13852 cat >>confdefs.h
<<_ACEOF
13853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13864 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13865 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13866 if test "${ac_cv_c_const+set}" = set; then
13867 echo $ECHO_N "(cached) $ECHO_C" >&6
13869 cat >conftest.
$ac_ext <<_ACEOF
13872 cat confdefs.h
>>conftest.
$ac_ext
13873 cat >>conftest.
$ac_ext <<_ACEOF
13874 /* end confdefs.h. */
13879 /* FIXME: Include the comments suggested by Paul. */
13880 #ifndef __cplusplus
13881 /* Ultrix mips cc rejects this. */
13882 typedef int charset[2];
13884 /* SunOS 4.1.1 cc rejects this. */
13885 char const *const *ccp;
13887 /* NEC SVR4.0.2 mips cc rejects this. */
13888 struct point {int x, y;};
13889 static struct point const zero = {0,0};
13890 /* AIX XL C 1.02.0.0 rejects this.
13891 It does not let you subtract one const X* pointer from another in
13892 an arm of an if-expression whose if-part is not a constant
13894 const char *g = "string";
13895 ccp = &g + (g ? g-g : 0);
13896 /* HPUX 7.0 cc rejects these. */
13899 ccp = (char const *const *) p;
13900 { /* SCO 3.2v4 cc rejects this. */
13902 char const *s = 0 ? (char *) 0 : (char const *) 0;
13906 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13907 int x[] = {25, 17};
13908 const int *foo = &x[0];
13911 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13912 typedef const int *iptr;
13916 { /* AIX XL C 1.02.0.0 rejects this saying
13917 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13918 struct s { int j; const int *ap[3]; };
13919 struct s *b; b->j = 5;
13921 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13922 const int foo = 10;
13930 rm -f conftest.
$ac_objext
13931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13932 (eval $ac_compile) 2>conftest.er1
13934 grep -v '^ *+' conftest.er1
>conftest.err
13936 cat conftest.err
>&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); } &&
13939 { ac_try
='test -z "$ac_c_werror_flag"
13940 || test ! -s conftest.err'
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); }; } &&
13946 { ac_try
='test -s conftest.$ac_objext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.
$ac_ext >&5
13959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13961 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13962 echo "${ECHO_T}$ac_cv_c_const" >&6
13963 if test $ac_cv_c_const = no
; then
13965 cat >>confdefs.h
<<\_ACEOF
13971 echo "$as_me:$LINENO: checking for inline" >&5
13972 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13973 if test "${ac_cv_c_inline+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 for ac_kw
in inline __inline__ __inline
; do
13978 cat >conftest.
$ac_ext <<_ACEOF
13981 cat confdefs.h
>>conftest.
$ac_ext
13982 cat >>conftest.
$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984 #ifndef __cplusplus
13986 static $ac_kw foo_t static_foo () {return 0; }
13987 $ac_kw foo_t foo () {return 0; }
13991 rm -f conftest.
$ac_objext
13992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13993 (eval $ac_compile) 2>conftest.er1
13995 grep -v '^ *+' conftest.er1
>conftest.err
13997 cat conftest.err
>&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); } &&
14000 { ac_try
='test -z "$ac_c_werror_flag"
14001 || test ! -s conftest.err'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; } &&
14007 { ac_try
='test -s conftest.$ac_objext'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; }; then
14013 ac_cv_c_inline
=$ac_kw; break
14015 echo "$as_me: failed program was:" >&5
14016 sed 's/^/| /' conftest.
$ac_ext >&5
14019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14023 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14024 echo "${ECHO_T}$ac_cv_c_inline" >&6
14027 case $ac_cv_c_inline in
14030 case $ac_cv_c_inline in
14032 *) ac_val
=$ac_cv_c_inline;;
14034 cat >>confdefs.h
<<_ACEOF
14035 #ifndef __cplusplus
14036 #define inline $ac_val
14043 echo "$as_me:$LINENO: checking for char" >&5
14044 echo $ECHO_N "checking for char... $ECHO_C" >&6
14045 if test "${ac_cv_type_char+set}" = set; then
14046 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 cat >conftest.
$ac_ext <<_ACEOF
14051 cat confdefs.h
>>conftest.
$ac_ext
14052 cat >>conftest.
$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 $ac_includes_default
14066 rm -f conftest.
$ac_objext
14067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14068 (eval $ac_compile) 2>conftest.er1
14070 grep -v '^ *+' conftest.er1
>conftest.err
14072 cat conftest.err
>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); } &&
14075 { ac_try
='test -z "$ac_c_werror_flag"
14076 || test ! -s conftest.err'
14077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14078 (eval $ac_try) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; } &&
14082 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14088 ac_cv_type_char
=yes
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.
$ac_ext >&5
14095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14097 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14098 echo "${ECHO_T}$ac_cv_type_char" >&6
14100 echo "$as_me:$LINENO: checking size of char" >&5
14101 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14102 if test "${ac_cv_sizeof_char+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 if test "$ac_cv_type_char" = yes; then
14106 # The cast to unsigned long works around a bug in the HP C Compiler
14107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14109 # This bug is HP SR number 8606223364.
14110 if test "$cross_compiling" = yes; then
14111 # Depending upon the size, compute the lo and hi bounds.
14112 cat >conftest.
$ac_ext <<_ACEOF
14115 cat confdefs.h
>>conftest.
$ac_ext
14116 cat >>conftest.
$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118 $ac_includes_default
14122 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14129 rm -f conftest.
$ac_objext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14131 (eval $ac_compile) 2>conftest.er1
14133 grep -v '^ *+' conftest.er1
>conftest.err
14135 cat conftest.err
>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try
='test -z "$ac_c_werror_flag"
14139 || test ! -s conftest.err'
14140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14141 (eval $ac_try) 2>&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); }; } &&
14145 { ac_try
='test -s conftest.$ac_objext'
14146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14147 (eval $ac_try) 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; }; then
14153 cat >conftest.
$ac_ext <<_ACEOF
14156 cat confdefs.h
>>conftest.
$ac_ext
14157 cat >>conftest.
$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159 $ac_includes_default
14163 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14170 rm -f conftest.
$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14174 grep -v '^ *+' conftest.er1
>conftest.err
14176 cat conftest.err
>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try
='test -z "$ac_c_werror_flag"
14180 || test ! -s conftest.err'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; } &&
14186 { ac_try
='test -s conftest.$ac_objext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 ac_hi
=$ac_mid; break
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.
$ac_ext >&5
14197 ac_lo
=`expr $ac_mid + 1`
14198 if test $ac_lo -le $ac_mid; then
14202 ac_mid
=`expr 2 '*' $ac_mid + 1`
14204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14207 echo "$as_me: failed program was:" >&5
14208 sed 's/^/| /' conftest.
$ac_ext >&5
14210 cat >conftest.
$ac_ext <<_ACEOF
14213 cat confdefs.h
>>conftest.
$ac_ext
14214 cat >>conftest.
$ac_ext <<_ACEOF
14215 /* end confdefs.h. */
14216 $ac_includes_default
14220 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14227 rm -f conftest.
$ac_objext
14228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14229 (eval $ac_compile) 2>conftest.er1
14231 grep -v '^ *+' conftest.er1
>conftest.err
14233 cat conftest.err
>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } &&
14236 { ac_try
='test -z "$ac_c_werror_flag"
14237 || test ! -s conftest.err'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; } &&
14243 { ac_try
='test -s conftest.$ac_objext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14251 cat >conftest.
$ac_ext <<_ACEOF
14254 cat confdefs.h
>>conftest.
$ac_ext
14255 cat >>conftest.
$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 $ac_includes_default
14261 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14268 rm -f conftest.
$ac_objext
14269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14270 (eval $ac_compile) 2>conftest.er1
14272 grep -v '^ *+' conftest.er1
>conftest.err
14274 cat conftest.err
>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } &&
14277 { ac_try
='test -z "$ac_c_werror_flag"
14278 || test ! -s conftest.err'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; } &&
14284 { ac_try
='test -s conftest.$ac_objext'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_lo
=$ac_mid; break
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.
$ac_ext >&5
14295 ac_hi
=`expr '(' $ac_mid ')' - 1`
14296 if test $ac_mid -le $ac_hi; then
14300 ac_mid
=`expr 2 '*' $ac_mid`
14302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14305 echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.
$ac_ext >&5
14310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14313 # Binary search between lo and hi bounds.
14314 while test "x$ac_lo" != "x$ac_hi"; do
14315 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14316 cat >conftest.
$ac_ext <<_ACEOF
14319 cat confdefs.h
>>conftest.
$ac_ext
14320 cat >>conftest.
$ac_ext <<_ACEOF
14321 /* end confdefs.h. */
14322 $ac_includes_default
14326 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14333 rm -f conftest.
$ac_objext
14334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14335 (eval $ac_compile) 2>conftest.er1
14337 grep -v '^ *+' conftest.er1
>conftest.err
14339 cat conftest.err
>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); } &&
14342 { ac_try
='test -z "$ac_c_werror_flag"
14343 || test ! -s conftest.err'
14344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14345 (eval $ac_try) 2>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; } &&
14349 { ac_try
='test -s conftest.$ac_objext'
14350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14351 (eval $ac_try) 2>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }; }; then
14357 echo "$as_me: failed program was:" >&5
14358 sed 's/^/| /' conftest.
$ac_ext >&5
14360 ac_lo
=`expr '(' $ac_mid ')' + 1`
14362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14365 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14366 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14367 See \`config.log' for more details." >&5
14368 echo "$as_me: error: cannot compute sizeof (char), 77
14369 See \`config.log' for more details." >&2;}
14370 { (exit 1); exit 1; }; } ;;
14373 if test "$cross_compiling" = yes; then
14374 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14375 See \`config.log' for more details." >&5
14376 echo "$as_me: error: cannot run test program while cross compiling
14377 See \`config.log' for more details." >&2;}
14378 { (exit 1); exit 1; }; }
14380 cat >conftest.
$ac_ext <<_ACEOF
14383 cat confdefs.h
>>conftest.
$ac_ext
14384 cat >>conftest.
$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14386 $ac_includes_default
14387 long longval () { return (long) (sizeof (char)); }
14388 unsigned long ulongval () { return (long) (sizeof (char)); }
14390 #include <stdlib.h>
14395 FILE *f = fopen ("conftest.val", "w");
14398 if (((long) (sizeof (char))) < 0)
14400 long i = longval ();
14401 if (i != ((long) (sizeof (char))))
14403 fprintf (f, "%ld\n", i);
14407 unsigned long i = ulongval ();
14408 if (i != ((long) (sizeof (char))))
14410 fprintf (f, "%lu\n", i);
14412 exit (ferror (f) || fclose (f) != 0);
14418 rm -f conftest
$ac_exeext
14419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14420 (eval $ac_link) 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14425 (eval $ac_try) 2>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; }; then
14429 ac_cv_sizeof_char
=`cat conftest.val`
14431 echo "$as_me: program exited with status $ac_status" >&5
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.
$ac_ext >&5
14435 ( exit $ac_status )
14436 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14437 See \`config.log' for more details." >&5
14438 echo "$as_me: error: cannot compute sizeof (char), 77
14439 See \`config.log' for more details." >&2;}
14440 { (exit 1); exit 1; }; }
14442 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14447 ac_cv_sizeof_char
=0
14450 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14451 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14452 cat >>confdefs.h
<<_ACEOF
14453 #define SIZEOF_CHAR $ac_cv_sizeof_char
14457 echo "$as_me:$LINENO: checking for short" >&5
14458 echo $ECHO_N "checking for short... $ECHO_C" >&6
14459 if test "${ac_cv_type_short+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 cat >conftest.
$ac_ext <<_ACEOF
14465 cat confdefs.h
>>conftest.
$ac_ext
14466 cat >>conftest.
$ac_ext <<_ACEOF
14467 /* end confdefs.h. */
14468 $ac_includes_default
14474 if (sizeof (short))
14480 rm -f conftest.
$ac_objext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14482 (eval $ac_compile) 2>conftest.er1
14484 grep -v '^ *+' conftest.er1
>conftest.err
14486 cat conftest.err
>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } &&
14489 { ac_try
='test -z "$ac_c_werror_flag"
14490 || test ! -s conftest.err'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; } &&
14496 { ac_try
='test -s conftest.$ac_objext'
14497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 (eval $ac_try) 2>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; }; then
14502 ac_cv_type_short
=yes
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.
$ac_ext >&5
14507 ac_cv_type_short
=no
14509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14511 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14512 echo "${ECHO_T}$ac_cv_type_short" >&6
14514 echo "$as_me:$LINENO: checking size of short" >&5
14515 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14516 if test "${ac_cv_sizeof_short+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 if test "$ac_cv_type_short" = yes; then
14520 # The cast to unsigned long works around a bug in the HP C Compiler
14521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14523 # This bug is HP SR number 8606223364.
14524 if test "$cross_compiling" = yes; then
14525 # Depending upon the size, compute the lo and hi bounds.
14526 cat >conftest.
$ac_ext <<_ACEOF
14529 cat confdefs.h
>>conftest.
$ac_ext
14530 cat >>conftest.
$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532 $ac_includes_default
14536 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14543 rm -f conftest.
$ac_objext
14544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14545 (eval $ac_compile) 2>conftest.er1
14547 grep -v '^ *+' conftest.er1
>conftest.err
14549 cat conftest.err
>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); } &&
14552 { ac_try
='test -z "$ac_c_werror_flag"
14553 || test ! -s conftest.err'
14554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14555 (eval $ac_try) 2>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); }; } &&
14559 { ac_try
='test -s conftest.$ac_objext'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; }; then
14567 cat >conftest.
$ac_ext <<_ACEOF
14570 cat confdefs.h
>>conftest.
$ac_ext
14571 cat >>conftest.
$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14573 $ac_includes_default
14577 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14584 rm -f conftest.
$ac_objext
14585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14586 (eval $ac_compile) 2>conftest.er1
14588 grep -v '^ *+' conftest.er1
>conftest.err
14590 cat conftest.err
>&5
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); } &&
14593 { ac_try
='test -z "$ac_c_werror_flag"
14594 || test ! -s conftest.err'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; } &&
14600 { ac_try
='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14606 ac_hi
=$ac_mid; break
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.
$ac_ext >&5
14611 ac_lo
=`expr $ac_mid + 1`
14612 if test $ac_lo -le $ac_mid; then
14616 ac_mid
=`expr 2 '*' $ac_mid + 1`
14618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.
$ac_ext >&5
14624 cat >conftest.
$ac_ext <<_ACEOF
14627 cat confdefs.h
>>conftest.
$ac_ext
14628 cat >>conftest.
$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630 $ac_includes_default
14634 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14641 rm -f conftest.
$ac_objext
14642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14643 (eval $ac_compile) 2>conftest.er1
14645 grep -v '^ *+' conftest.er1
>conftest.err
14647 cat conftest.err
>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); } &&
14650 { ac_try
='test -z "$ac_c_werror_flag"
14651 || test ! -s conftest.err'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; } &&
14657 { ac_try
='test -s conftest.$ac_objext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14665 cat >conftest.
$ac_ext <<_ACEOF
14668 cat confdefs.h
>>conftest.
$ac_ext
14669 cat >>conftest.
$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14671 $ac_includes_default
14675 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14682 rm -f conftest.
$ac_objext
14683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14684 (eval $ac_compile) 2>conftest.er1
14686 grep -v '^ *+' conftest.er1
>conftest.err
14688 cat conftest.err
>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } &&
14691 { ac_try
='test -z "$ac_c_werror_flag"
14692 || test ! -s conftest.err'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; } &&
14698 { ac_try
='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 ac_lo
=$ac_mid; break
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.
$ac_ext >&5
14709 ac_hi
=`expr '(' $ac_mid ')' - 1`
14710 if test $ac_mid -le $ac_hi; then
14714 ac_mid
=`expr 2 '*' $ac_mid`
14716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14719 echo "$as_me: failed program was:" >&5
14720 sed 's/^/| /' conftest.
$ac_ext >&5
14724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14727 # Binary search between lo and hi bounds.
14728 while test "x$ac_lo" != "x$ac_hi"; do
14729 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14730 cat >conftest.
$ac_ext <<_ACEOF
14733 cat confdefs.h
>>conftest.
$ac_ext
14734 cat >>conftest.
$ac_ext <<_ACEOF
14735 /* end confdefs.h. */
14736 $ac_includes_default
14740 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14747 rm -f conftest.
$ac_objext
14748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14749 (eval $ac_compile) 2>conftest.er1
14751 grep -v '^ *+' conftest.er1
>conftest.err
14753 cat conftest.err
>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } &&
14756 { ac_try
='test -z "$ac_c_werror_flag"
14757 || test ! -s conftest.err'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; } &&
14763 { ac_try
='test -s conftest.$ac_objext'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; }; then
14771 echo "$as_me: failed program was:" >&5
14772 sed 's/^/| /' conftest.
$ac_ext >&5
14774 ac_lo
=`expr '(' $ac_mid ')' + 1`
14776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14779 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14780 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14781 See \`config.log' for more details." >&5
14782 echo "$as_me: error: cannot compute sizeof (short), 77
14783 See \`config.log' for more details." >&2;}
14784 { (exit 1); exit 1; }; } ;;
14787 if test "$cross_compiling" = yes; then
14788 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14789 See \`config.log' for more details." >&5
14790 echo "$as_me: error: cannot run test program while cross compiling
14791 See \`config.log' for more details." >&2;}
14792 { (exit 1); exit 1; }; }
14794 cat >conftest.
$ac_ext <<_ACEOF
14797 cat confdefs.h
>>conftest.
$ac_ext
14798 cat >>conftest.
$ac_ext <<_ACEOF
14799 /* end confdefs.h. */
14800 $ac_includes_default
14801 long longval () { return (long) (sizeof (short)); }
14802 unsigned long ulongval () { return (long) (sizeof (short)); }
14804 #include <stdlib.h>
14809 FILE *f = fopen ("conftest.val", "w");
14812 if (((long) (sizeof (short))) < 0)
14814 long i = longval ();
14815 if (i != ((long) (sizeof (short))))
14817 fprintf (f, "%ld\n", i);
14821 unsigned long i = ulongval ();
14822 if (i != ((long) (sizeof (short))))
14824 fprintf (f, "%lu\n", i);
14826 exit (ferror (f) || fclose (f) != 0);
14832 rm -f conftest
$ac_exeext
14833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14834 (eval $ac_link) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14839 (eval $ac_try) 2>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }; }; then
14843 ac_cv_sizeof_short
=`cat conftest.val`
14845 echo "$as_me: program exited with status $ac_status" >&5
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.
$ac_ext >&5
14849 ( exit $ac_status )
14850 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14851 See \`config.log' for more details." >&5
14852 echo "$as_me: error: cannot compute sizeof (short), 77
14853 See \`config.log' for more details." >&2;}
14854 { (exit 1); exit 1; }; }
14856 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14861 ac_cv_sizeof_short
=0
14864 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14865 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14866 cat >>confdefs.h
<<_ACEOF
14867 #define SIZEOF_SHORT $ac_cv_sizeof_short
14871 echo "$as_me:$LINENO: checking for void *" >&5
14872 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14873 if test "${ac_cv_type_void_p+set}" = set; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 cat >conftest.
$ac_ext <<_ACEOF
14879 cat confdefs.h
>>conftest.
$ac_ext
14880 cat >>conftest.
$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14882 $ac_includes_default
14888 if (sizeof (void *))
14894 rm -f conftest.
$ac_objext
14895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14896 (eval $ac_compile) 2>conftest.er1
14898 grep -v '^ *+' conftest.er1
>conftest.err
14900 cat conftest.err
>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try
='test -z "$ac_c_werror_flag"
14904 || test ! -s conftest.err'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try
='test -s conftest.$ac_objext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_type_void_p
=yes
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.
$ac_ext >&5
14921 ac_cv_type_void_p
=no
14923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14925 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14926 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14928 echo "$as_me:$LINENO: checking size of void *" >&5
14929 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14930 if test "${ac_cv_sizeof_void_p+set}" = set; then
14931 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 if test "$ac_cv_type_void_p" = yes; then
14934 # The cast to unsigned long works around a bug in the HP C Compiler
14935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14937 # This bug is HP SR number 8606223364.
14938 if test "$cross_compiling" = yes; then
14939 # Depending upon the size, compute the lo and hi bounds.
14940 cat >conftest.
$ac_ext <<_ACEOF
14943 cat confdefs.h
>>conftest.
$ac_ext
14944 cat >>conftest.
$ac_ext <<_ACEOF
14945 /* end confdefs.h. */
14946 $ac_includes_default
14950 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14957 rm -f conftest.
$ac_objext
14958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14959 (eval $ac_compile) 2>conftest.er1
14961 grep -v '^ *+' conftest.er1
>conftest.err
14963 cat conftest.err
>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } &&
14966 { ac_try
='test -z "$ac_c_werror_flag"
14967 || test ! -s conftest.err'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; } &&
14973 { ac_try
='test -s conftest.$ac_objext'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; }; then
14981 cat >conftest.
$ac_ext <<_ACEOF
14984 cat confdefs.h
>>conftest.
$ac_ext
14985 cat >>conftest.
$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987 $ac_includes_default
14991 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14998 rm -f conftest.
$ac_objext
14999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15000 (eval $ac_compile) 2>conftest.er1
15002 grep -v '^ *+' conftest.er1
>conftest.err
15004 cat conftest.err
>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try
='test -z "$ac_c_werror_flag"
15008 || test ! -s conftest.err'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try
='test -s conftest.$ac_objext'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; }; then
15020 ac_hi
=$ac_mid; break
15022 echo "$as_me: failed program was:" >&5
15023 sed 's/^/| /' conftest.
$ac_ext >&5
15025 ac_lo
=`expr $ac_mid + 1`
15026 if test $ac_lo -le $ac_mid; then
15030 ac_mid
=`expr 2 '*' $ac_mid + 1`
15032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.
$ac_ext >&5
15038 cat >conftest.
$ac_ext <<_ACEOF
15041 cat confdefs.h
>>conftest.
$ac_ext
15042 cat >>conftest.
$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15044 $ac_includes_default
15048 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15055 rm -f conftest.
$ac_objext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15057 (eval $ac_compile) 2>conftest.er1
15059 grep -v '^ *+' conftest.er1
>conftest.err
15061 cat conftest.err
>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } &&
15064 { ac_try
='test -z "$ac_c_werror_flag"
15065 || test ! -s conftest.err'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; } &&
15071 { ac_try
='test -s conftest.$ac_objext'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; }; then
15079 cat >conftest.
$ac_ext <<_ACEOF
15082 cat confdefs.h
>>conftest.
$ac_ext
15083 cat >>conftest.
$ac_ext <<_ACEOF
15084 /* end confdefs.h. */
15085 $ac_includes_default
15089 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15096 rm -f conftest.
$ac_objext
15097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15098 (eval $ac_compile) 2>conftest.er1
15100 grep -v '^ *+' conftest.er1
>conftest.err
15102 cat conftest.err
>&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); } &&
15105 { ac_try
='test -z "$ac_c_werror_flag"
15106 || test ! -s conftest.err'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; } &&
15112 { ac_try
='test -s conftest.$ac_objext'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; }; then
15118 ac_lo
=$ac_mid; break
15120 echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.
$ac_ext >&5
15123 ac_hi
=`expr '(' $ac_mid ')' - 1`
15124 if test $ac_mid -le $ac_hi; then
15128 ac_mid
=`expr 2 '*' $ac_mid`
15130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15133 echo "$as_me: failed program was:" >&5
15134 sed 's/^/| /' conftest.
$ac_ext >&5
15138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15141 # Binary search between lo and hi bounds.
15142 while test "x$ac_lo" != "x$ac_hi"; do
15143 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15144 cat >conftest.
$ac_ext <<_ACEOF
15147 cat confdefs.h
>>conftest.
$ac_ext
15148 cat >>conftest.
$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150 $ac_includes_default
15154 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15161 rm -f conftest.
$ac_objext
15162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15163 (eval $ac_compile) 2>conftest.er1
15165 grep -v '^ *+' conftest.er1
>conftest.err
15167 cat conftest.err
>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } &&
15170 { ac_try
='test -z "$ac_c_werror_flag"
15171 || test ! -s conftest.err'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; } &&
15177 { ac_try
='test -s conftest.$ac_objext'
15178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15179 (eval $ac_try) 2>&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }; }; then
15185 echo "$as_me: failed program was:" >&5
15186 sed 's/^/| /' conftest.
$ac_ext >&5
15188 ac_lo
=`expr '(' $ac_mid ')' + 1`
15190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15193 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15194 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15195 See \`config.log' for more details." >&5
15196 echo "$as_me: error: cannot compute sizeof (void *), 77
15197 See \`config.log' for more details." >&2;}
15198 { (exit 1); exit 1; }; } ;;
15201 if test "$cross_compiling" = yes; then
15202 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15203 See \`config.log' for more details." >&5
15204 echo "$as_me: error: cannot run test program while cross compiling
15205 See \`config.log' for more details." >&2;}
15206 { (exit 1); exit 1; }; }
15208 cat >conftest.
$ac_ext <<_ACEOF
15211 cat confdefs.h
>>conftest.
$ac_ext
15212 cat >>conftest.
$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15214 $ac_includes_default
15215 long longval () { return (long) (sizeof (void *)); }
15216 unsigned long ulongval () { return (long) (sizeof (void *)); }
15218 #include <stdlib.h>
15223 FILE *f = fopen ("conftest.val", "w");
15226 if (((long) (sizeof (void *))) < 0)
15228 long i = longval ();
15229 if (i != ((long) (sizeof (void *))))
15231 fprintf (f, "%ld\n", i);
15235 unsigned long i = ulongval ();
15236 if (i != ((long) (sizeof (void *))))
15238 fprintf (f, "%lu\n", i);
15240 exit (ferror (f) || fclose (f) != 0);
15246 rm -f conftest
$ac_exeext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15248 (eval $ac_link) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; }; then
15257 ac_cv_sizeof_void_p
=`cat conftest.val`
15259 echo "$as_me: program exited with status $ac_status" >&5
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.
$ac_ext >&5
15263 ( exit $ac_status )
15264 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15265 See \`config.log' for more details." >&5
15266 echo "$as_me: error: cannot compute sizeof (void *), 77
15267 See \`config.log' for more details." >&2;}
15268 { (exit 1); exit 1; }; }
15270 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15275 ac_cv_sizeof_void_p
=0
15278 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15279 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15280 cat >>confdefs.h
<<_ACEOF
15281 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15285 echo "$as_me:$LINENO: checking for int" >&5
15286 echo $ECHO_N "checking for int... $ECHO_C" >&6
15287 if test "${ac_cv_type_int+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 cat >conftest.
$ac_ext <<_ACEOF
15293 cat confdefs.h
>>conftest.
$ac_ext
15294 cat >>conftest.
$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296 $ac_includes_default
15308 rm -f conftest.
$ac_objext
15309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15310 (eval $ac_compile) 2>conftest.er1
15312 grep -v '^ *+' conftest.er1
>conftest.err
15314 cat conftest.err
>&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); } &&
15317 { ac_try
='test -z "$ac_c_werror_flag"
15318 || test ! -s conftest.err'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; } &&
15324 { ac_try
='test -s conftest.$ac_objext'
15325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15326 (eval $ac_try) 2>&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); }; }; then
15332 echo "$as_me: failed program was:" >&5
15333 sed 's/^/| /' conftest.
$ac_ext >&5
15337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15339 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15340 echo "${ECHO_T}$ac_cv_type_int" >&6
15342 echo "$as_me:$LINENO: checking size of int" >&5
15343 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15344 if test "${ac_cv_sizeof_int+set}" = set; then
15345 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 if test "$ac_cv_type_int" = yes; then
15348 # The cast to unsigned long works around a bug in the HP C Compiler
15349 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15350 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15351 # This bug is HP SR number 8606223364.
15352 if test "$cross_compiling" = yes; then
15353 # Depending upon the size, compute the lo and hi bounds.
15354 cat >conftest.
$ac_ext <<_ACEOF
15357 cat confdefs.h
>>conftest.
$ac_ext
15358 cat >>conftest.
$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 $ac_includes_default
15364 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15371 rm -f conftest.
$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>conftest.er1
15375 grep -v '^ *+' conftest.er1
>conftest.err
15377 cat conftest.err
>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try
='test -z "$ac_c_werror_flag"
15381 || test ! -s conftest.err'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; } &&
15387 { ac_try
='test -s conftest.$ac_objext'
15388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15389 (eval $ac_try) 2>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); }; }; then
15395 cat >conftest.
$ac_ext <<_ACEOF
15398 cat confdefs.h
>>conftest.
$ac_ext
15399 cat >>conftest.
$ac_ext <<_ACEOF
15400 /* end confdefs.h. */
15401 $ac_includes_default
15405 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15412 rm -f conftest.
$ac_objext
15413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15414 (eval $ac_compile) 2>conftest.er1
15416 grep -v '^ *+' conftest.er1
>conftest.err
15418 cat conftest.err
>&5
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); } &&
15421 { ac_try
='test -z "$ac_c_werror_flag"
15422 || test ! -s conftest.err'
15423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15424 (eval $ac_try) 2>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); }; } &&
15428 { ac_try
='test -s conftest.$ac_objext'
15429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15430 (eval $ac_try) 2>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); }; }; then
15434 ac_hi
=$ac_mid; break
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.
$ac_ext >&5
15439 ac_lo
=`expr $ac_mid + 1`
15440 if test $ac_lo -le $ac_mid; then
15444 ac_mid
=`expr 2 '*' $ac_mid + 1`
15446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.
$ac_ext >&5
15452 cat >conftest.
$ac_ext <<_ACEOF
15455 cat confdefs.h
>>conftest.
$ac_ext
15456 cat >>conftest.
$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15458 $ac_includes_default
15462 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15469 rm -f conftest.
$ac_objext
15470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15471 (eval $ac_compile) 2>conftest.er1
15473 grep -v '^ *+' conftest.er1
>conftest.err
15475 cat conftest.err
>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try
='test -z "$ac_c_werror_flag"
15479 || test ! -s conftest.err'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; } &&
15485 { ac_try
='test -s conftest.$ac_objext'
15486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487 (eval $ac_try) 2>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); }; }; then
15493 cat >conftest.
$ac_ext <<_ACEOF
15496 cat confdefs.h
>>conftest.
$ac_ext
15497 cat >>conftest.
$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499 $ac_includes_default
15503 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15510 rm -f conftest.
$ac_objext
15511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15512 (eval $ac_compile) 2>conftest.er1
15514 grep -v '^ *+' conftest.er1
>conftest.err
15516 cat conftest.err
>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } &&
15519 { ac_try
='test -z "$ac_c_werror_flag"
15520 || test ! -s conftest.err'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; } &&
15526 { ac_try
='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_lo
=$ac_mid; break
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.
$ac_ext >&5
15537 ac_hi
=`expr '(' $ac_mid ')' - 1`
15538 if test $ac_mid -le $ac_hi; then
15542 ac_mid
=`expr 2 '*' $ac_mid`
15544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15547 echo "$as_me: failed program was:" >&5
15548 sed 's/^/| /' conftest.
$ac_ext >&5
15552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15555 # Binary search between lo and hi bounds.
15556 while test "x$ac_lo" != "x$ac_hi"; do
15557 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15558 cat >conftest.
$ac_ext <<_ACEOF
15561 cat confdefs.h
>>conftest.
$ac_ext
15562 cat >>conftest.
$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15564 $ac_includes_default
15568 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15575 rm -f conftest.
$ac_objext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577 (eval $ac_compile) 2>conftest.er1
15579 grep -v '^ *+' conftest.er1
>conftest.err
15581 cat conftest.err
>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try
='test -z "$ac_c_werror_flag"
15585 || test ! -s conftest.err'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; } &&
15591 { ac_try
='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.
$ac_ext >&5
15602 ac_lo
=`expr '(' $ac_mid ')' + 1`
15604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15607 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15608 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15609 See \`config.log' for more details." >&5
15610 echo "$as_me: error: cannot compute sizeof (int), 77
15611 See \`config.log' for more details." >&2;}
15612 { (exit 1); exit 1; }; } ;;
15615 if test "$cross_compiling" = yes; then
15616 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15617 See \`config.log' for more details." >&5
15618 echo "$as_me: error: cannot run test program while cross compiling
15619 See \`config.log' for more details." >&2;}
15620 { (exit 1); exit 1; }; }
15622 cat >conftest.
$ac_ext <<_ACEOF
15625 cat confdefs.h
>>conftest.
$ac_ext
15626 cat >>conftest.
$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15628 $ac_includes_default
15629 long longval () { return (long) (sizeof (int)); }
15630 unsigned long ulongval () { return (long) (sizeof (int)); }
15632 #include <stdlib.h>
15637 FILE *f = fopen ("conftest.val", "w");
15640 if (((long) (sizeof (int))) < 0)
15642 long i = longval ();
15643 if (i != ((long) (sizeof (int))))
15645 fprintf (f, "%ld\n", i);
15649 unsigned long i = ulongval ();
15650 if (i != ((long) (sizeof (int))))
15652 fprintf (f, "%lu\n", i);
15654 exit (ferror (f) || fclose (f) != 0);
15660 rm -f conftest
$ac_exeext
15661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15662 (eval $ac_link) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; }; then
15671 ac_cv_sizeof_int
=`cat conftest.val`
15673 echo "$as_me: program exited with status $ac_status" >&5
15674 echo "$as_me: failed program was:" >&5
15675 sed 's/^/| /' conftest.
$ac_ext >&5
15677 ( exit $ac_status )
15678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15679 See \`config.log' for more details." >&5
15680 echo "$as_me: error: cannot compute sizeof (int), 77
15681 See \`config.log' for more details." >&2;}
15682 { (exit 1); exit 1; }; }
15684 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15692 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15693 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15694 cat >>confdefs.h
<<_ACEOF
15695 #define SIZEOF_INT $ac_cv_sizeof_int
15699 echo "$as_me:$LINENO: checking for long" >&5
15700 echo $ECHO_N "checking for long... $ECHO_C" >&6
15701 if test "${ac_cv_type_long+set}" = set; then
15702 echo $ECHO_N "(cached) $ECHO_C" >&6
15704 cat >conftest.
$ac_ext <<_ACEOF
15707 cat confdefs.h
>>conftest.
$ac_ext
15708 cat >>conftest.
$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 $ac_includes_default
15722 rm -f conftest.
$ac_objext
15723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15724 (eval $ac_compile) 2>conftest.er1
15726 grep -v '^ *+' conftest.er1
>conftest.err
15728 cat conftest.err
>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } &&
15731 { ac_try
='test -z "$ac_c_werror_flag"
15732 || test ! -s conftest.err'
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; } &&
15738 { ac_try
='test -s conftest.$ac_objext'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; }; then
15744 ac_cv_type_long
=yes
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.
$ac_ext >&5
15751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15753 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15754 echo "${ECHO_T}$ac_cv_type_long" >&6
15756 echo "$as_me:$LINENO: checking size of long" >&5
15757 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15758 if test "${ac_cv_sizeof_long+set}" = set; then
15759 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 if test "$ac_cv_type_long" = yes; then
15762 # The cast to unsigned long works around a bug in the HP C Compiler
15763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15765 # This bug is HP SR number 8606223364.
15766 if test "$cross_compiling" = yes; then
15767 # Depending upon the size, compute the lo and hi bounds.
15768 cat >conftest.
$ac_ext <<_ACEOF
15771 cat confdefs.h
>>conftest.
$ac_ext
15772 cat >>conftest.
$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 $ac_includes_default
15778 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15785 rm -f conftest.
$ac_objext
15786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15787 (eval $ac_compile) 2>conftest.er1
15789 grep -v '^ *+' conftest.er1
>conftest.err
15791 cat conftest.err
>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); } &&
15794 { ac_try
='test -z "$ac_c_werror_flag"
15795 || test ! -s conftest.err'
15796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15797 (eval $ac_try) 2>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); }; } &&
15801 { ac_try
='test -s conftest.$ac_objext'
15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; }; then
15809 cat >conftest.
$ac_ext <<_ACEOF
15812 cat confdefs.h
>>conftest.
$ac_ext
15813 cat >>conftest.
$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 $ac_includes_default
15819 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15826 rm -f conftest.
$ac_objext
15827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15828 (eval $ac_compile) 2>conftest.er1
15830 grep -v '^ *+' conftest.er1
>conftest.err
15832 cat conftest.err
>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try
='test -z "$ac_c_werror_flag"
15836 || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try
='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 ac_hi
=$ac_mid; break
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.
$ac_ext >&5
15853 ac_lo
=`expr $ac_mid + 1`
15854 if test $ac_lo -le $ac_mid; then
15858 ac_mid
=`expr 2 '*' $ac_mid + 1`
15860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.
$ac_ext >&5
15866 cat >conftest.
$ac_ext <<_ACEOF
15869 cat confdefs.h
>>conftest.
$ac_ext
15870 cat >>conftest.
$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872 $ac_includes_default
15876 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15883 rm -f conftest.
$ac_objext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885 (eval $ac_compile) 2>conftest.er1
15887 grep -v '^ *+' conftest.er1
>conftest.err
15889 cat conftest.err
>&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); } &&
15892 { ac_try
='test -z "$ac_c_werror_flag"
15893 || test ! -s conftest.err'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; } &&
15899 { ac_try
='test -s conftest.$ac_objext'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; }; then
15907 cat >conftest.
$ac_ext <<_ACEOF
15910 cat confdefs.h
>>conftest.
$ac_ext
15911 cat >>conftest.
$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 $ac_includes_default
15917 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15924 rm -f conftest.
$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15928 grep -v '^ *+' conftest.er1
>conftest.err
15930 cat conftest.err
>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try
='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try
='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_lo
=$ac_mid; break
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.
$ac_ext >&5
15951 ac_hi
=`expr '(' $ac_mid ')' - 1`
15952 if test $ac_mid -le $ac_hi; then
15956 ac_mid
=`expr 2 '*' $ac_mid`
15958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.
$ac_ext >&5
15966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15969 # Binary search between lo and hi bounds.
15970 while test "x$ac_lo" != "x$ac_hi"; do
15971 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15972 cat >conftest.
$ac_ext <<_ACEOF
15975 cat confdefs.h
>>conftest.
$ac_ext
15976 cat >>conftest.
$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 $ac_includes_default
15982 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15989 rm -f conftest.
$ac_objext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15991 (eval $ac_compile) 2>conftest.er1
15993 grep -v '^ *+' conftest.er1
>conftest.err
15995 cat conftest.err
>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try
='test -z "$ac_c_werror_flag"
15999 || test ! -s conftest.err'
16000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001 (eval $ac_try) 2>&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); }; } &&
16005 { ac_try
='test -s conftest.$ac_objext'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; }; then
16013 echo "$as_me: failed program was:" >&5
16014 sed 's/^/| /' conftest.
$ac_ext >&5
16016 ac_lo
=`expr '(' $ac_mid ')' + 1`
16018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16021 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16022 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16023 See \`config.log' for more details." >&5
16024 echo "$as_me: error: cannot compute sizeof (long), 77
16025 See \`config.log' for more details." >&2;}
16026 { (exit 1); exit 1; }; } ;;
16029 if test "$cross_compiling" = yes; then
16030 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16031 See \`config.log' for more details." >&5
16032 echo "$as_me: error: cannot run test program while cross compiling
16033 See \`config.log' for more details." >&2;}
16034 { (exit 1); exit 1; }; }
16036 cat >conftest.
$ac_ext <<_ACEOF
16039 cat confdefs.h
>>conftest.
$ac_ext
16040 cat >>conftest.
$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16042 $ac_includes_default
16043 long longval () { return (long) (sizeof (long)); }
16044 unsigned long ulongval () { return (long) (sizeof (long)); }
16046 #include <stdlib.h>
16051 FILE *f = fopen ("conftest.val", "w");
16054 if (((long) (sizeof (long))) < 0)
16056 long i = longval ();
16057 if (i != ((long) (sizeof (long))))
16059 fprintf (f, "%ld\n", i);
16063 unsigned long i = ulongval ();
16064 if (i != ((long) (sizeof (long))))
16066 fprintf (f, "%lu\n", i);
16068 exit (ferror (f) || fclose (f) != 0);
16074 rm -f conftest
$ac_exeext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16076 (eval $ac_link) 2>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; }; then
16085 ac_cv_sizeof_long
=`cat conftest.val`
16087 echo "$as_me: program exited with status $ac_status" >&5
16088 echo "$as_me: failed program was:" >&5
16089 sed 's/^/| /' conftest.
$ac_ext >&5
16091 ( exit $ac_status )
16092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16093 See \`config.log' for more details." >&5
16094 echo "$as_me: error: cannot compute sizeof (long), 77
16095 See \`config.log' for more details." >&2;}
16096 { (exit 1); exit 1; }; }
16098 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16103 ac_cv_sizeof_long
=0
16106 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16107 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16108 cat >>confdefs.h
<<_ACEOF
16109 #define SIZEOF_LONG $ac_cv_sizeof_long
16116 echo "$as_me:$LINENO: checking for long long" >&5
16117 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16118 if test "${ac_cv_type_long_long+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 cat >conftest.
$ac_ext <<_ACEOF
16124 cat confdefs.h
>>conftest.
$ac_ext
16125 cat >>conftest.
$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 $ac_includes_default
16131 if ((long long *) 0)
16133 if (sizeof (long long))
16139 rm -f conftest.
$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141 (eval $ac_compile) 2>conftest.er1
16143 grep -v '^ *+' conftest.er1
>conftest.err
16145 cat conftest.err
>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try
='test -z "$ac_c_werror_flag"
16149 || test ! -s conftest.err'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try
='test -s conftest.$ac_objext'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; }; then
16161 ac_cv_type_long_long
=yes
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.
$ac_ext >&5
16166 ac_cv_type_long_long
=no
16168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16170 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16171 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16173 echo "$as_me:$LINENO: checking size of long long" >&5
16174 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16175 if test "${ac_cv_sizeof_long_long+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16178 if test "$ac_cv_type_long_long" = yes; then
16179 # The cast to unsigned long works around a bug in the HP C Compiler
16180 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16181 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16182 # This bug is HP SR number 8606223364.
16183 if test "$cross_compiling" = yes; then
16184 # Depending upon the size, compute the lo and hi bounds.
16185 cat >conftest.
$ac_ext <<_ACEOF
16188 cat confdefs.h
>>conftest.
$ac_ext
16189 cat >>conftest.
$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191 $ac_includes_default
16195 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16202 rm -f conftest.
$ac_objext
16203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16204 (eval $ac_compile) 2>conftest.er1
16206 grep -v '^ *+' conftest.er1
>conftest.err
16208 cat conftest.err
>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } &&
16211 { ac_try
='test -z "$ac_c_werror_flag"
16212 || test ! -s conftest.err'
16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16214 (eval $ac_try) 2>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }; } &&
16218 { ac_try
='test -s conftest.$ac_objext'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; }; then
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 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
16265 ac_hi
=$ac_mid; break
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.
$ac_ext >&5
16270 ac_lo
=`expr $ac_mid + 1`
16271 if test $ac_lo -le $ac_mid; then
16275 ac_mid
=`expr 2 '*' $ac_mid + 1`
16277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16280 echo "$as_me: failed program was:" >&5
16281 sed 's/^/| /' conftest.
$ac_ext >&5
16283 cat >conftest.
$ac_ext <<_ACEOF
16286 cat confdefs.h
>>conftest.
$ac_ext
16287 cat >>conftest.
$ac_ext <<_ACEOF
16288 /* end confdefs.h. */
16289 $ac_includes_default
16293 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16300 rm -f conftest.
$ac_objext
16301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16302 (eval $ac_compile) 2>conftest.er1
16304 grep -v '^ *+' conftest.er1
>conftest.err
16306 cat conftest.err
>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } &&
16309 { ac_try
='test -z "$ac_c_werror_flag"
16310 || test ! -s conftest.err'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; } &&
16316 { ac_try
='test -s conftest.$ac_objext'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16324 cat >conftest.
$ac_ext <<_ACEOF
16327 cat confdefs.h
>>conftest.
$ac_ext
16328 cat >>conftest.
$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 $ac_includes_default
16334 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16341 rm -f conftest.
$ac_objext
16342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16343 (eval $ac_compile) 2>conftest.er1
16345 grep -v '^ *+' conftest.er1
>conftest.err
16347 cat conftest.err
>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try
='test -z "$ac_c_werror_flag"
16351 || test ! -s conftest.err'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; } &&
16357 { ac_try
='test -s conftest.$ac_objext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16363 ac_lo
=$ac_mid; break
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.
$ac_ext >&5
16368 ac_hi
=`expr '(' $ac_mid ')' - 1`
16369 if test $ac_mid -le $ac_hi; then
16373 ac_mid
=`expr 2 '*' $ac_mid`
16375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.
$ac_ext >&5
16383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16386 # Binary search between lo and hi bounds.
16387 while test "x$ac_lo" != "x$ac_hi"; do
16388 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16389 cat >conftest.
$ac_ext <<_ACEOF
16392 cat confdefs.h
>>conftest.
$ac_ext
16393 cat >>conftest.
$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 $ac_includes_default
16399 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16406 rm -f conftest.
$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>conftest.er1
16410 grep -v '^ *+' conftest.er1
>conftest.err
16412 cat conftest.err
>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try
='test -z "$ac_c_werror_flag"
16416 || test ! -s conftest.err'
16417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16418 (eval $ac_try) 2>&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); }; } &&
16422 { ac_try
='test -s conftest.$ac_objext'
16423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16424 (eval $ac_try) 2>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }; }; then
16430 echo "$as_me: failed program was:" >&5
16431 sed 's/^/| /' conftest.
$ac_ext >&5
16433 ac_lo
=`expr '(' $ac_mid ')' + 1`
16435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16438 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16439 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16440 See \`config.log' for more details." >&5
16441 echo "$as_me: error: cannot compute sizeof (long long), 77
16442 See \`config.log' for more details." >&2;}
16443 { (exit 1); exit 1; }; } ;;
16446 if test "$cross_compiling" = yes; then
16447 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16448 See \`config.log' for more details." >&5
16449 echo "$as_me: error: cannot run test program while cross compiling
16450 See \`config.log' for more details." >&2;}
16451 { (exit 1); exit 1; }; }
16453 cat >conftest.
$ac_ext <<_ACEOF
16456 cat confdefs.h
>>conftest.
$ac_ext
16457 cat >>conftest.
$ac_ext <<_ACEOF
16458 /* end confdefs.h. */
16459 $ac_includes_default
16460 long longval () { return (long) (sizeof (long long)); }
16461 unsigned long ulongval () { return (long) (sizeof (long long)); }
16463 #include <stdlib.h>
16468 FILE *f = fopen ("conftest.val", "w");
16471 if (((long) (sizeof (long long))) < 0)
16473 long i = longval ();
16474 if (i != ((long) (sizeof (long long))))
16476 fprintf (f, "%ld\n", i);
16480 unsigned long i = ulongval ();
16481 if (i != ((long) (sizeof (long long))))
16483 fprintf (f, "%lu\n", i);
16485 exit (ferror (f) || fclose (f) != 0);
16491 rm -f conftest
$ac_exeext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16493 (eval $ac_link) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; }; then
16502 ac_cv_sizeof_long_long
=`cat conftest.val`
16504 echo "$as_me: program exited with status $ac_status" >&5
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.
$ac_ext >&5
16508 ( exit $ac_status )
16509 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16510 See \`config.log' for more details." >&5
16511 echo "$as_me: error: cannot compute sizeof (long long), 77
16512 See \`config.log' for more details." >&2;}
16513 { (exit 1); exit 1; }; }
16515 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16520 ac_cv_sizeof_long_long
=0
16523 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16524 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16525 cat >>confdefs.h
<<_ACEOF
16526 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16532 echo "$as_me:$LINENO: checking for long long" >&5
16533 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16534 if test "${ac_cv_type_long_long+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 cat >conftest.
$ac_ext <<_ACEOF
16540 cat confdefs.h
>>conftest.
$ac_ext
16541 cat >>conftest.
$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543 $ac_includes_default
16547 if ((long long *) 0)
16549 if (sizeof (long long))
16555 rm -f conftest.
$ac_objext
16556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16557 (eval $ac_compile) 2>conftest.er1
16559 grep -v '^ *+' conftest.er1
>conftest.err
16561 cat conftest.err
>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } &&
16564 { ac_try
='test -z "$ac_c_werror_flag"
16565 || test ! -s conftest.err'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; } &&
16571 { ac_try
='test -s conftest.$ac_objext'
16572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16573 (eval $ac_try) 2>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); }; }; then
16577 ac_cv_type_long_long
=yes
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.
$ac_ext >&5
16582 ac_cv_type_long_long
=no
16584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16586 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16587 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16589 echo "$as_me:$LINENO: checking size of long long" >&5
16590 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16591 if test "${ac_cv_sizeof_long_long+set}" = set; then
16592 echo $ECHO_N "(cached) $ECHO_C" >&6
16594 if test "$ac_cv_type_long_long" = yes; then
16595 # The cast to unsigned long works around a bug in the HP C Compiler
16596 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16597 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16598 # This bug is HP SR number 8606223364.
16599 if test "$cross_compiling" = yes; then
16600 # Depending upon the size, compute the lo and hi bounds.
16601 cat >conftest.
$ac_ext <<_ACEOF
16604 cat confdefs.h
>>conftest.
$ac_ext
16605 cat >>conftest.
$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 $ac_includes_default
16611 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16618 rm -f conftest.
$ac_objext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16620 (eval $ac_compile) 2>conftest.er1
16622 grep -v '^ *+' conftest.er1
>conftest.err
16624 cat conftest.err
>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } &&
16627 { ac_try
='test -z "$ac_c_werror_flag"
16628 || test ! -s conftest.err'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; } &&
16634 { ac_try
='test -s conftest.$ac_objext'
16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16636 (eval $ac_try) 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; }; then
16642 cat >conftest.
$ac_ext <<_ACEOF
16645 cat confdefs.h
>>conftest.
$ac_ext
16646 cat >>conftest.
$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648 $ac_includes_default
16652 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16659 rm -f conftest.
$ac_objext
16660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16661 (eval $ac_compile) 2>conftest.er1
16663 grep -v '^ *+' conftest.er1
>conftest.err
16665 cat conftest.err
>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try
='test -z "$ac_c_werror_flag"
16669 || test ! -s conftest.err'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; } &&
16675 { ac_try
='test -s conftest.$ac_objext'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; }; then
16681 ac_hi
=$ac_mid; break
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.
$ac_ext >&5
16686 ac_lo
=`expr $ac_mid + 1`
16687 if test $ac_lo -le $ac_mid; then
16691 ac_mid
=`expr 2 '*' $ac_mid + 1`
16693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16696 echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.
$ac_ext >&5
16699 cat >conftest.
$ac_ext <<_ACEOF
16702 cat confdefs.h
>>conftest.
$ac_ext
16703 cat >>conftest.
$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 $ac_includes_default
16709 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16716 rm -f conftest.
$ac_objext
16717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16718 (eval $ac_compile) 2>conftest.er1
16720 grep -v '^ *+' conftest.er1
>conftest.err
16722 cat conftest.err
>&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } &&
16725 { ac_try
='test -z "$ac_c_werror_flag"
16726 || test ! -s conftest.err'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; } &&
16732 { ac_try
='test -s conftest.$ac_objext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 $ac_includes_default
16750 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16757 rm -f conftest.
$ac_objext
16758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16759 (eval $ac_compile) 2>conftest.er1
16761 grep -v '^ *+' conftest.er1
>conftest.err
16763 cat conftest.err
>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); } &&
16766 { ac_try
='test -z "$ac_c_werror_flag"
16767 || test ! -s conftest.err'
16768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16769 (eval $ac_try) 2>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); }; } &&
16773 { ac_try
='test -s conftest.$ac_objext'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; }; then
16779 ac_lo
=$ac_mid; break
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.
$ac_ext >&5
16784 ac_hi
=`expr '(' $ac_mid ')' - 1`
16785 if test $ac_mid -le $ac_hi; then
16789 ac_mid
=`expr 2 '*' $ac_mid`
16791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.
$ac_ext >&5
16799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16802 # Binary search between lo and hi bounds.
16803 while test "x$ac_lo" != "x$ac_hi"; do
16804 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16805 cat >conftest.
$ac_ext <<_ACEOF
16808 cat confdefs.h
>>conftest.
$ac_ext
16809 cat >>conftest.
$ac_ext <<_ACEOF
16810 /* end confdefs.h. */
16811 $ac_includes_default
16815 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16822 rm -f conftest.
$ac_objext
16823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16824 (eval $ac_compile) 2>conftest.er1
16826 grep -v '^ *+' conftest.er1
>conftest.err
16828 cat conftest.err
>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); } &&
16831 { ac_try
='test -z "$ac_c_werror_flag"
16832 || test ! -s conftest.err'
16833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834 (eval $ac_try) 2>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; } &&
16838 { ac_try
='test -s conftest.$ac_objext'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; }; then
16846 echo "$as_me: failed program was:" >&5
16847 sed 's/^/| /' conftest.
$ac_ext >&5
16849 ac_lo
=`expr '(' $ac_mid ')' + 1`
16851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16854 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16855 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16856 See \`config.log' for more details." >&5
16857 echo "$as_me: error: cannot compute sizeof (long long), 77
16858 See \`config.log' for more details." >&2;}
16859 { (exit 1); exit 1; }; } ;;
16862 if test "$cross_compiling" = yes; then
16863 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16864 See \`config.log' for more details." >&5
16865 echo "$as_me: error: cannot run test program while cross compiling
16866 See \`config.log' for more details." >&2;}
16867 { (exit 1); exit 1; }; }
16869 cat >conftest.
$ac_ext <<_ACEOF
16872 cat confdefs.h
>>conftest.
$ac_ext
16873 cat >>conftest.
$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16875 $ac_includes_default
16876 long longval () { return (long) (sizeof (long long)); }
16877 unsigned long ulongval () { return (long) (sizeof (long long)); }
16879 #include <stdlib.h>
16884 FILE *f = fopen ("conftest.val", "w");
16887 if (((long) (sizeof (long long))) < 0)
16889 long i = longval ();
16890 if (i != ((long) (sizeof (long long))))
16892 fprintf (f, "%ld\n", i);
16896 unsigned long i = ulongval ();
16897 if (i != ((long) (sizeof (long long))))
16899 fprintf (f, "%lu\n", i);
16901 exit (ferror (f) || fclose (f) != 0);
16907 rm -f conftest
$ac_exeext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16909 (eval $ac_link) 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; }; then
16918 ac_cv_sizeof_long_long
=`cat conftest.val`
16920 echo "$as_me: program exited with status $ac_status" >&5
16921 echo "$as_me: failed program was:" >&5
16922 sed 's/^/| /' conftest.
$ac_ext >&5
16924 ( exit $ac_status )
16925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16926 See \`config.log' for more details." >&5
16927 echo "$as_me: error: cannot compute sizeof (long long), 77
16928 See \`config.log' for more details." >&2;}
16929 { (exit 1); exit 1; }; }
16931 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16936 ac_cv_sizeof_long_long
=0
16939 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16940 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16941 cat >>confdefs.h
<<_ACEOF
16942 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16946 if test "$ac_cv_sizeof_long_long" != "0"; then
16947 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16951 echo "$as_me:$LINENO: checking for long long" >&5
16952 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16953 if test "${ac_cv_type_long_long+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 cat >conftest.
$ac_ext <<_ACEOF
16959 cat confdefs.h
>>conftest.
$ac_ext
16960 cat >>conftest.
$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962 $ac_includes_default
16966 if ((long long *) 0)
16968 if (sizeof (long long))
16974 rm -f conftest.
$ac_objext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16976 (eval $ac_compile) 2>conftest.er1
16978 grep -v '^ *+' conftest.er1
>conftest.err
16980 cat conftest.err
>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try
='test -z "$ac_c_werror_flag"
16984 || test ! -s conftest.err'
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); }; } &&
16990 { ac_try
='test -s conftest.$ac_objext'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; }; then
16996 ac_cv_type_long_long
=yes
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.
$ac_ext >&5
17001 ac_cv_type_long_long
=no
17003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17005 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17006 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17008 echo "$as_me:$LINENO: checking size of long long" >&5
17009 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17010 if test "${ac_cv_sizeof_long_long+set}" = set; then
17011 echo $ECHO_N "(cached) $ECHO_C" >&6
17013 if test "$ac_cv_type_long_long" = yes; then
17014 # The cast to unsigned long works around a bug in the HP C Compiler
17015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17017 # This bug is HP SR number 8606223364.
17018 if test "$cross_compiling" = yes; then
17019 # Depending upon the size, compute the lo and hi bounds.
17020 cat >conftest.
$ac_ext <<_ACEOF
17023 cat confdefs.h
>>conftest.
$ac_ext
17024 cat >>conftest.
$ac_ext <<_ACEOF
17025 /* end confdefs.h. */
17026 $ac_includes_default
17030 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17037 rm -f conftest.
$ac_objext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17039 (eval $ac_compile) 2>conftest.er1
17041 grep -v '^ *+' conftest.er1
>conftest.err
17043 cat conftest.err
>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try
='test -z "$ac_c_werror_flag"
17047 || test ! -s conftest.err'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; } &&
17053 { ac_try
='test -s conftest.$ac_objext'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; }; then
17061 cat >conftest.
$ac_ext <<_ACEOF
17064 cat confdefs.h
>>conftest.
$ac_ext
17065 cat >>conftest.
$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17067 $ac_includes_default
17071 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17078 rm -f conftest.
$ac_objext
17079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17080 (eval $ac_compile) 2>conftest.er1
17082 grep -v '^ *+' conftest.er1
>conftest.err
17084 cat conftest.err
>&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } &&
17087 { ac_try
='test -z "$ac_c_werror_flag"
17088 || test ! -s conftest.err'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; } &&
17094 { ac_try
='test -s conftest.$ac_objext'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; }; then
17100 ac_hi
=$ac_mid; break
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.
$ac_ext >&5
17105 ac_lo
=`expr $ac_mid + 1`
17106 if test $ac_lo -le $ac_mid; then
17110 ac_mid
=`expr 2 '*' $ac_mid + 1`
17112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17115 echo "$as_me: failed program was:" >&5
17116 sed 's/^/| /' conftest.
$ac_ext >&5
17118 cat >conftest.
$ac_ext <<_ACEOF
17121 cat confdefs.h
>>conftest.
$ac_ext
17122 cat >>conftest.
$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17128 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17135 rm -f conftest.
$ac_objext
17136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17137 (eval $ac_compile) 2>conftest.er1
17139 grep -v '^ *+' conftest.er1
>conftest.err
17141 cat conftest.err
>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } &&
17144 { ac_try
='test -z "$ac_c_werror_flag"
17145 || test ! -s conftest.err'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; } &&
17151 { ac_try
='test -s conftest.$ac_objext'
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; }; then
17159 cat >conftest.
$ac_ext <<_ACEOF
17162 cat confdefs.h
>>conftest.
$ac_ext
17163 cat >>conftest.
$ac_ext <<_ACEOF
17164 /* end confdefs.h. */
17165 $ac_includes_default
17169 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17176 rm -f conftest.
$ac_objext
17177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17178 (eval $ac_compile) 2>conftest.er1
17180 grep -v '^ *+' conftest.er1
>conftest.err
17182 cat conftest.err
>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); } &&
17185 { ac_try
='test -z "$ac_c_werror_flag"
17186 || test ! -s conftest.err'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; } &&
17192 { ac_try
='test -s conftest.$ac_objext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17198 ac_lo
=$ac_mid; break
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.
$ac_ext >&5
17203 ac_hi
=`expr '(' $ac_mid ')' - 1`
17204 if test $ac_mid -le $ac_hi; then
17208 ac_mid
=`expr 2 '*' $ac_mid`
17210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17213 echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.
$ac_ext >&5
17218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17221 # Binary search between lo and hi bounds.
17222 while test "x$ac_lo" != "x$ac_hi"; do
17223 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17224 cat >conftest.
$ac_ext <<_ACEOF
17227 cat confdefs.h
>>conftest.
$ac_ext
17228 cat >>conftest.
$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 $ac_includes_default
17234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17241 rm -f conftest.
$ac_objext
17242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>conftest.er1
17245 grep -v '^ *+' conftest.er1
>conftest.err
17247 cat conftest.err
>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try
='test -z "$ac_c_werror_flag"
17251 || test ! -s conftest.err'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; } &&
17257 { ac_try
='test -s conftest.$ac_objext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.
$ac_ext >&5
17268 ac_lo
=`expr '(' $ac_mid ')' + 1`
17270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17273 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17274 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17275 See \`config.log' for more details." >&5
17276 echo "$as_me: error: cannot compute sizeof (long long), 77
17277 See \`config.log' for more details." >&2;}
17278 { (exit 1); exit 1; }; } ;;
17281 if test "$cross_compiling" = yes; then
17282 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17283 See \`config.log' for more details." >&5
17284 echo "$as_me: error: cannot run test program while cross compiling
17285 See \`config.log' for more details." >&2;}
17286 { (exit 1); exit 1; }; }
17288 cat >conftest.
$ac_ext <<_ACEOF
17291 cat confdefs.h
>>conftest.
$ac_ext
17292 cat >>conftest.
$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17294 $ac_includes_default
17295 long longval () { return (long) (sizeof (long long)); }
17296 unsigned long ulongval () { return (long) (sizeof (long long)); }
17298 #include <stdlib.h>
17303 FILE *f = fopen ("conftest.val", "w");
17306 if (((long) (sizeof (long long))) < 0)
17308 long i = longval ();
17309 if (i != ((long) (sizeof (long long))))
17311 fprintf (f, "%ld\n", i);
17315 unsigned long i = ulongval ();
17316 if (i != ((long) (sizeof (long long))))
17318 fprintf (f, "%lu\n", i);
17320 exit (ferror (f) || fclose (f) != 0);
17326 rm -f conftest
$ac_exeext
17327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17328 (eval $ac_link) 2>&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; }; then
17337 ac_cv_sizeof_long_long
=`cat conftest.val`
17339 echo "$as_me: program exited with status $ac_status" >&5
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.
$ac_ext >&5
17343 ( exit $ac_status )
17344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17345 See \`config.log' for more details." >&5
17346 echo "$as_me: error: cannot compute sizeof (long long), 77
17347 See \`config.log' for more details." >&2;}
17348 { (exit 1); exit 1; }; }
17350 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17355 ac_cv_sizeof_long_long
=0
17358 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17359 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17360 cat >>confdefs.h
<<_ACEOF
17361 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17367 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17368 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17369 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 if test "$cross_compiling" = yes; then
17377 wx_cv_sizeof_wchar_t
=0
17380 wx_cv_sizeof_wchar_t
=4
17386 cat >conftest.
$ac_ext <<_ACEOF
17389 cat confdefs.h
>>conftest.
$ac_ext
17390 cat >>conftest.
$ac_ext <<_ACEOF
17391 /* end confdefs.h. */
17393 /* DJGPP only has fake wchar_t: */
17395 # error "fake wchar_t"
17397 #ifdef HAVE_WCHAR_H
17399 # include <stddef.h>
17401 # include <wchar.h>
17403 #ifdef HAVE_STDLIB_H
17404 # include <stdlib.h>
17409 FILE *f=fopen("conftestval", "w");
17411 fprintf(f, "%i", sizeof(wchar_t));
17416 rm -f conftest
$ac_exeext
17417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17418 (eval $ac_link) 2>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423 (eval $ac_try) 2>&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); }; }; then
17427 wx_cv_sizeof_wchar_t
=`cat conftestval`
17429 echo "$as_me: program exited with status $ac_status" >&5
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.
$ac_ext >&5
17433 ( exit $ac_status )
17434 wx_cv_sizeof_wchar_t
=0
17436 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17440 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17441 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17443 cat >>confdefs.h
<<_ACEOF
17444 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17448 # Check whether --enable-largefile or --disable-largefile was given.
17449 if test "${enable_largefile+set}" = set; then
17450 enableval
="$enable_largefile"
17453 if test "$enable_largefile" != no
; then
17456 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17457 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17458 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17462 cat >conftest.
$ac_ext <<_ACEOF
17465 cat confdefs.h
>>conftest.
$ac_ext
17466 cat >>conftest.
$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17468 #define _FILE_OFFSET_BITS 64
17469 #include <sys/types.h>
17474 unsigned int field: sizeof(off_t) == 8;
17481 rm -f conftest.
$ac_objext
17482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17483 (eval $ac_compile) 2>conftest.er1
17485 grep -v '^ *+' conftest.er1
>conftest.err
17487 cat conftest.err
>&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } &&
17490 { ac_try
='test -z "$ac_c_werror_flag"
17491 || test ! -s conftest.err'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; } &&
17497 { ac_try
='test -s conftest.$ac_objext'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; }; then
17503 ac_cv_sys_file_offset_bits
=64
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.
$ac_ext >&5
17508 ac_cv_sys_file_offset_bits
=no
17510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17514 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17515 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17517 if test "$ac_cv_sys_file_offset_bits" != no
; then
17519 cat >>confdefs.h
<<_ACEOF
17520 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17525 if test "x$wx_largefile" != "xyes"; then
17527 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17528 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17529 if test "${ac_cv_sys_large_files+set}" = set; then
17530 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 cat >conftest.
$ac_ext <<_ACEOF
17536 cat confdefs.h
>>conftest.
$ac_ext
17537 cat >>conftest.
$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539 #define _LARGE_FILES 1
17540 #include <sys/types.h>
17545 unsigned int field: sizeof(off_t) == 8;
17552 rm -f conftest.
$ac_objext
17553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17554 (eval $ac_compile) 2>conftest.er1
17556 grep -v '^ *+' conftest.er1
>conftest.err
17558 cat conftest.err
>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } &&
17561 { ac_try
='test -z "$ac_c_werror_flag"
17562 || test ! -s conftest.err'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; } &&
17568 { ac_try
='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17574 ac_cv_sys_large_files
=1
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.
$ac_ext >&5
17579 ac_cv_sys_large_files
=no
17581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17585 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17586 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17588 if test "$ac_cv_sys_large_files" != no
; then
17590 cat >>confdefs.h
<<_ACEOF
17591 #define _LARGE_FILES $ac_cv_sys_large_files
17598 echo "$as_me:$LINENO: checking if large file support is available" >&5
17599 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17600 if test "x$wx_largefile" = "xyes"; then
17601 cat >>confdefs.h
<<\_ACEOF
17602 #define HAVE_LARGEFILE_SUPPORT 1
17606 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17607 echo "${ECHO_T}$wx_largefile" >&6
17611 if test "x$wx_largefile" = "xyes"; then
17612 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17613 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17615 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
17617 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17620 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17621 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17622 if test "${ac_cv_c_bigendian+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 ac_cv_c_bigendian
=unknown
17626 # See if sys/param.h defines the BYTE_ORDER macro.
17627 cat >conftest.
$ac_ext <<_ACEOF
17630 cat confdefs.h
>>conftest.
$ac_ext
17631 cat >>conftest.
$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 #include <sys/types.h>
17634 #include <sys/param.h>
17639 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17640 bogus endian macros
17646 rm -f conftest.
$ac_objext
17647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17648 (eval $ac_compile) 2>conftest.er1
17650 grep -v '^ *+' conftest.er1
>conftest.err
17652 cat conftest.err
>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); } &&
17655 { ac_try
='test -z "$ac_c_werror_flag"
17656 || test ! -s conftest.err'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; } &&
17662 { ac_try
='test -s conftest.$ac_objext'
17663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664 (eval $ac_try) 2>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; }; then
17668 # It does; now see whether it defined to BIG_ENDIAN or not.
17669 cat >conftest.
$ac_ext <<_ACEOF
17672 cat confdefs.h
>>conftest.
$ac_ext
17673 cat >>conftest.
$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 #include <sys/types.h>
17676 #include <sys/param.h>
17681 #if BYTE_ORDER != BIG_ENDIAN
17688 rm -f conftest.
$ac_objext
17689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17690 (eval $ac_compile) 2>conftest.er1
17692 grep -v '^ *+' conftest.er1
>conftest.err
17694 cat conftest.err
>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } &&
17697 { ac_try
='test -z "$ac_c_werror_flag"
17698 || test ! -s conftest.err'
17699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17700 (eval $ac_try) 2>&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); }; } &&
17704 { ac_try
='test -s conftest.$ac_objext'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; }; then
17710 ac_cv_c_bigendian
=yes
17712 echo "$as_me: failed program was:" >&5
17713 sed 's/^/| /' conftest.
$ac_ext >&5
17715 ac_cv_c_bigendian
=no
17717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17719 echo "$as_me: failed program was:" >&5
17720 sed 's/^/| /' conftest.
$ac_ext >&5
17723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17724 if test $ac_cv_c_bigendian = unknown
; then
17725 if test "$cross_compiling" = yes; then
17726 ac_cv_c_bigendian
=unknown
17728 cat >conftest.
$ac_ext <<_ACEOF
17731 cat confdefs.h
>>conftest.
$ac_ext
17732 cat >>conftest.
$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17735 /* Are we little or big endian? From Harbison&Steele. */
17739 char c[sizeof (long)];
17742 exit (u.c[sizeof (long) - 1] == 1);
17745 rm -f conftest
$ac_exeext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17747 (eval $ac_link) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17752 (eval $ac_try) 2>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; }; then
17756 ac_cv_c_bigendian
=no
17758 echo "$as_me: program exited with status $ac_status" >&5
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.
$ac_ext >&5
17762 ( exit $ac_status )
17763 ac_cv_c_bigendian
=yes
17765 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17769 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17770 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17771 if test $ac_cv_c_bigendian = unknown
; then
17772 { 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
17773 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;}
17775 if test $ac_cv_c_bigendian = yes; then
17776 cat >>confdefs.h
<<\_ACEOF
17777 #define WORDS_BIGENDIAN 1
17785 ac_cpp
='$CXXCPP $CPPFLAGS'
17786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17789 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17790 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17791 if test -z "$CXXCPP"; then
17792 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17793 echo $ECHO_N "(cached) $ECHO_C" >&6
17795 # Double quotes because CXXCPP needs to be expanded
17796 for CXXCPP
in "$CXX -E" "/lib/cpp"
17798 ac_preproc_ok
=false
17799 for ac_cxx_preproc_warn_flag
in '' yes
17801 # Use a header file that comes with gcc, so configuring glibc
17802 # with a fresh cross-compiler works.
17803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17804 # <limits.h> exists even on freestanding compilers.
17805 # On the NeXT, cc -E runs the code through the compiler's parser,
17806 # not just through cpp. "Syntax error" is here to catch this case.
17807 cat >conftest.
$ac_ext <<_ACEOF
17810 cat confdefs.h
>>conftest.
$ac_ext
17811 cat >>conftest.
$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17814 # include <limits.h>
17816 # include <assert.h>
17820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17823 grep -v '^ *+' conftest.er1
>conftest.err
17825 cat conftest.err
>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } >/dev
/null
; then
17828 if test -s conftest.err
; then
17829 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17830 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17837 if test -z "$ac_cpp_err"; then
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.
$ac_ext >&5
17843 # Broken: fails on valid input.
17846 rm -f conftest.err conftest.
$ac_ext
17848 # OK, works on sane cases. Now check whether non-existent headers
17849 # can be detected and how.
17850 cat >conftest.
$ac_ext <<_ACEOF
17853 cat confdefs.h
>>conftest.
$ac_ext
17854 cat >>conftest.
$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856 #include <ac_nonexistent.h>
17858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17861 grep -v '^ *+' conftest.er1
>conftest.err
17863 cat conftest.err
>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } >/dev
/null
; then
17866 if test -s conftest.err
; then
17867 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17868 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17875 if test -z "$ac_cpp_err"; then
17876 # Broken: success on invalid input.
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.
$ac_ext >&5
17882 # Passes both tests.
17886 rm -f conftest.err conftest.
$ac_ext
17889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17890 rm -f conftest.err conftest.
$ac_ext
17891 if $ac_preproc_ok; then
17896 ac_cv_prog_CXXCPP
=$CXXCPP
17899 CXXCPP
=$ac_cv_prog_CXXCPP
17901 ac_cv_prog_CXXCPP
=$CXXCPP
17903 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17904 echo "${ECHO_T}$CXXCPP" >&6
17905 ac_preproc_ok
=false
17906 for ac_cxx_preproc_warn_flag
in '' yes
17908 # Use a header file that comes with gcc, so configuring glibc
17909 # with a fresh cross-compiler works.
17910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17911 # <limits.h> exists even on freestanding compilers.
17912 # On the NeXT, cc -E runs the code through the compiler's parser,
17913 # not just through cpp. "Syntax error" is here to catch this case.
17914 cat >conftest.
$ac_ext <<_ACEOF
17917 cat confdefs.h
>>conftest.
$ac_ext
17918 cat >>conftest.
$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17921 # include <limits.h>
17923 # include <assert.h>
17927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17930 grep -v '^ *+' conftest.er1
>conftest.err
17932 cat conftest.err
>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } >/dev
/null
; then
17935 if test -s conftest.err
; then
17936 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17937 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17944 if test -z "$ac_cpp_err"; then
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.
$ac_ext >&5
17950 # Broken: fails on valid input.
17953 rm -f conftest.err conftest.
$ac_ext
17955 # OK, works on sane cases. Now check whether non-existent headers
17956 # can be detected and how.
17957 cat >conftest.
$ac_ext <<_ACEOF
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 #include <ac_nonexistent.h>
17965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17968 grep -v '^ *+' conftest.er1
>conftest.err
17970 cat conftest.err
>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } >/dev
/null
; then
17973 if test -s conftest.err
; then
17974 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17975 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17982 if test -z "$ac_cpp_err"; then
17983 # Broken: success on invalid input.
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.
$ac_ext >&5
17989 # Passes both tests.
17993 rm -f conftest.err conftest.
$ac_ext
17996 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17997 rm -f conftest.err conftest.
$ac_ext
17998 if $ac_preproc_ok; then
18001 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18002 See \`config.log' for more details." >&5
18003 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18004 See \`config.log' for more details." >&2;}
18005 { (exit 1); exit 1; }; }
18009 ac_cpp
='$CXXCPP $CPPFLAGS'
18010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18016 if test "$cross_compiling" = "yes"; then
18017 cat >>confdefs.h
<<\_ACEOF
18018 #define wxUSE_IOSTREAMH 1
18025 ac_cpp
='$CXXCPP $CPPFLAGS'
18026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18032 for ac_header
in iostream
18034 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18036 echo "$as_me:$LINENO: checking for $ac_header" >&5
18037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18039 echo $ECHO_N "(cached) $ECHO_C" >&6
18041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18044 # Is the header compilable?
18045 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18047 cat >conftest.
$ac_ext <<_ACEOF
18050 cat confdefs.h
>>conftest.
$ac_ext
18051 cat >>conftest.
$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18053 $ac_includes_default
18054 #include <$ac_header>
18056 rm -f conftest.
$ac_objext
18057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18058 (eval $ac_compile) 2>conftest.er1
18060 grep -v '^ *+' conftest.er1
>conftest.err
18062 cat conftest.err
>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } &&
18065 { ac_try
='test -z "$ac_cxx_werror_flag"
18066 || test ! -s conftest.err'
18067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18068 (eval $ac_try) 2>&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); }; } &&
18072 { ac_try
='test -s conftest.$ac_objext'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; }; then
18078 ac_header_compiler
=yes
18080 echo "$as_me: failed program was:" >&5
18081 sed 's/^/| /' conftest.
$ac_ext >&5
18083 ac_header_compiler
=no
18085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18087 echo "${ECHO_T}$ac_header_compiler" >&6
18089 # Is the header present?
18090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18092 cat >conftest.
$ac_ext <<_ACEOF
18095 cat confdefs.h
>>conftest.
$ac_ext
18096 cat >>conftest.
$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 #include <$ac_header>
18100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18103 grep -v '^ *+' conftest.er1
>conftest.err
18105 cat conftest.err
>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } >/dev
/null
; then
18108 if test -s conftest.err
; then
18109 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18110 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18117 if test -z "$ac_cpp_err"; then
18118 ac_header_preproc
=yes
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.
$ac_ext >&5
18123 ac_header_preproc
=no
18125 rm -f conftest.err conftest.
$ac_ext
18126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18127 echo "${ECHO_T}$ac_header_preproc" >&6
18129 # So? What about this header?
18130 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18136 ac_header_preproc
=yes
18139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18143 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18144 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18145 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18146 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18149 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18150 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18153 ## ----------------------------------------- ##
18154 ## Report this to wx-dev@lists.wxwindows.org ##
18155 ## ----------------------------------------- ##
18158 sed "s/^/$as_me: WARNING: /" >&2
18161 echo "$as_me:$LINENO: checking for $ac_header" >&5
18162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18164 echo $ECHO_N "(cached) $ECHO_C" >&6
18166 eval "$as_ac_Header=\$ac_header_preproc"
18168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18173 cat >>confdefs.h
<<_ACEOF
18174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18182 if test "$ac_cv_header_iostream" = "yes" ; then
18185 cat >>confdefs.h
<<\_ACEOF
18186 #define wxUSE_IOSTREAMH 1
18192 ac_cpp
='$CPP $CPPFLAGS'
18193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18201 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18202 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18203 if test "${wx_cv_cpp_bool+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18210 ac_cpp
='$CXXCPP $CPPFLAGS'
18211 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18212 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18213 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18216 cat >conftest.
$ac_ext <<_ACEOF
18219 cat confdefs.h
>>conftest.
$ac_ext
18220 cat >>conftest.
$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18236 rm -f conftest.
$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18240 grep -v '^ *+' conftest.er1
>conftest.err
18242 cat conftest.err
>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try
='test -z "$ac_cxx_werror_flag"
18246 || test ! -s conftest.err'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; } &&
18252 { ac_try
='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18262 echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.
$ac_ext >&5
18270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18273 ac_cpp
='$CPP $CPPFLAGS'
18274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18280 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18281 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18283 if test "$wx_cv_cpp_bool" = "yes"; then
18284 cat >>confdefs.h
<<\_ACEOF
18285 #define HAVE_BOOL 1
18292 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18293 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18294 if test "${wx_cv_explicit+set}" = set; then
18295 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 ac_cpp
='$CXXCPP $CPPFLAGS'
18302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18307 cat >conftest.
$ac_ext <<_ACEOF
18310 cat confdefs.h
>>conftest.
$ac_ext
18311 cat >>conftest.
$ac_ext <<_ACEOF
18312 /* end confdefs.h. */
18314 class Foo { public: explicit Foo(int) {} };
18326 rm -f conftest.
$ac_objext
18327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18328 (eval $ac_compile) 2>conftest.er1
18330 grep -v '^ *+' conftest.er1
>conftest.err
18332 cat conftest.err
>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } &&
18335 { ac_try
='test -z "$ac_cxx_werror_flag"
18336 || test ! -s conftest.err'
18337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 (eval $ac_try) 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; } &&
18342 { ac_try
='test -s conftest.$ac_objext'
18343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 (eval $ac_try) 2>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; }; then
18349 cat >conftest.
$ac_ext <<_ACEOF
18352 cat confdefs.h
>>conftest.
$ac_ext
18353 cat >>conftest.
$ac_ext <<_ACEOF
18354 /* end confdefs.h. */
18356 class Foo { public: explicit Foo(int) {} };
18357 static void TakeFoo(const Foo& foo) { }
18370 rm -f conftest.
$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18374 grep -v '^ *+' conftest.er1
>conftest.err
18376 cat conftest.err
>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try
='test -z "$ac_cxx_werror_flag"
18380 || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try
='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.
$ac_ext >&5
18400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.
$ac_ext >&5
18409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18412 ac_cpp
='$CPP $CPPFLAGS'
18413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18419 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18420 echo "${ECHO_T}$wx_cv_explicit" >&6
18422 if test "$wx_cv_explicit" = "yes"; then
18423 cat >>confdefs.h
<<\_ACEOF
18424 #define HAVE_EXPLICIT 1
18430 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18431 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18432 if test "${ac_cv_cxx_const_cast+set}" = set; then
18433 echo $ECHO_N "(cached) $ECHO_C" >&6
18438 ac_cpp
='$CXXCPP $CPPFLAGS'
18439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18443 cat >conftest.
$ac_ext <<_ACEOF
18446 cat confdefs.h
>>conftest.
$ac_ext
18447 cat >>conftest.
$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18453 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18458 rm -f conftest.
$ac_objext
18459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18460 (eval $ac_compile) 2>conftest.er1
18462 grep -v '^ *+' conftest.er1
>conftest.err
18464 cat conftest.err
>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } &&
18467 { ac_try
='test -z "$ac_cxx_werror_flag"
18468 || test ! -s conftest.err'
18469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18470 (eval $ac_try) 2>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); }; } &&
18474 { ac_try
='test -s conftest.$ac_objext'
18475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476 (eval $ac_try) 2>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); }; }; then
18480 ac_cv_cxx_const_cast
=yes
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.
$ac_ext >&5
18485 ac_cv_cxx_const_cast
=no
18487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18489 ac_cpp
='$CPP $CPPFLAGS'
18490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18496 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18497 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18498 if test "$ac_cv_cxx_const_cast" = yes; then
18500 cat >>confdefs.h
<<\_ACEOF
18501 #define HAVE_CONST_CAST
18507 if test "$wxUSE_STL" = "yes"; then
18509 ac_cpp
='$CXXCPP $CPPFLAGS'
18510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18515 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18516 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18517 cat >conftest.
$ac_ext <<_ACEOF
18520 cat confdefs.h
>>conftest.
$ac_ext
18521 cat >>conftest.
$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18524 #include <functional>
18525 #include <algorithm>
18531 std::vector<int> moo;
18532 std::list<int> foo;
18533 std::vector<int>::iterator it =
18534 std::find_if(moo.begin(), moo.end(),
18535 std::bind2nd(std::less<int>(), 3));
18540 rm -f conftest.
$ac_objext
18541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18542 (eval $ac_compile) 2>conftest.er1
18544 grep -v '^ *+' conftest.er1
>conftest.err
18546 cat conftest.err
>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } &&
18549 { ac_try
='test -z "$ac_cxx_werror_flag"
18550 || test ! -s conftest.err'
18551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18552 (eval $ac_try) 2>&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); }; } &&
18556 { ac_try
='test -s conftest.$ac_objext'
18557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18558 (eval $ac_try) 2>&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); }; }; then
18562 echo "$as_me:$LINENO: result: yes" >&5
18563 echo "${ECHO_T}yes" >&6
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.
$ac_ext >&5
18568 echo "$as_me:$LINENO: result: no" >&5
18569 echo "${ECHO_T}no" >&6
18570 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18571 echo "$as_me: error: Basic STL functionality missing" >&2;}
18572 { (exit 1); exit 1; }; }
18574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18576 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18577 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18578 cat >conftest.
$ac_ext <<_ACEOF
18581 cat confdefs.h
>>conftest.
$ac_ext
18582 cat >>conftest.
$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18593 rm -f conftest.
$ac_objext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18595 (eval $ac_compile) 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); } &&
18602 { ac_try
='test -z "$ac_cxx_werror_flag"
18603 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; } &&
18609 { ac_try
='test -s conftest.$ac_objext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18615 echo "$as_me:$LINENO: result: yes" >&5
18616 echo "${ECHO_T}yes" >&6
18617 cat >>confdefs.h
<<\_ACEOF
18618 #define HAVE_STD_WSTRING 1
18622 echo "$as_me: failed program was:" >&5
18623 sed 's/^/| /' conftest.
$ac_ext >&5
18625 echo "$as_me:$LINENO: result: no" >&5
18626 echo "${ECHO_T}no" >&6
18628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18630 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18631 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18642 std::string foo, bar;
18644 foo.compare(1, 1, bar);
18645 foo.compare(1, 1, bar, 1, 1);
18647 foo.compare(1, 1, "");
18648 foo.compare(1, 1, "", 2);
18653 rm -f conftest.
$ac_objext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18655 (eval $ac_compile) 2>conftest.er1
18657 grep -v '^ *+' conftest.er1
>conftest.err
18659 cat conftest.err
>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try
='test -z "$ac_cxx_werror_flag"
18663 || test ! -s conftest.err'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; } &&
18669 { ac_try
='test -s conftest.$ac_objext'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; }; then
18675 echo "$as_me:$LINENO: result: yes" >&5
18676 echo "${ECHO_T}yes" >&6
18677 cat >>confdefs.h
<<\_ACEOF
18678 #define HAVE_STD_STRING_COMPARE 1
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.
$ac_ext >&5
18685 echo "$as_me:$LINENO: result: no" >&5
18686 echo "${ECHO_T}no" >&6
18688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18691 ac_cpp
='$CPP $CPPFLAGS'
18692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18700 /usr/local/include \
18702 /usr/Motif-1.2/include \
18703 /usr/Motif-2.1/include \
18705 /usr/include/Motif1.2 \
18706 /opt/xpm/include/X11 \
18707 /opt/GBxpm/include/ \
18708 /opt/GBxpm/X11/include/ \
18710 /usr/Motif1.2/include \
18712 /usr/openwin/include \
18716 /usr/X11R6/include \
18717 /usr/X11R6.4/include \
18718 /usr/X11R5/include \
18719 /usr/X11R4/include \
18721 /usr/include/X11R6 \
18722 /usr/include/X11R5 \
18723 /usr/include/X11R4 \
18725 /usr/local/X11R6/include \
18726 /usr/local/X11R5/include \
18727 /usr/local/X11R4/include \
18729 /usr/local/include/X11R6 \
18730 /usr/local/include/X11R5 \
18731 /usr/local/include/X11R4 \
18735 /usr/local/X11/include \
18736 /usr/local/include/X11 \
18738 /usr/X386/include \
18739 /usr/x386/include \
18740 /usr/XFree86/include/X11 \
18742 X:/XFree86/include \
18743 X:/XFree86/include/X11 \
18746 /usr/local/include/gtk \
18747 /usr/include/glib \
18748 /usr/local/include/glib \
18751 /usr/local/include/qt \
18753 /usr/include/windows \
18754 /usr/include/wine \
18755 /usr/local/include/wine \
18757 /usr/unsupported/include \
18758 /usr/athena/include \
18759 /usr/local/x11r5/include \
18760 /usr/lpp/Xamples/include \
18762 /usr/openwin/share/include"
18764 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
18767 cat >confcache
<<\_ACEOF
18768 # This file is a shell script that caches the results of configure
18769 # tests run on this system so they can be shared between configure
18770 # scripts and configure runs, see configure's option --config-cache.
18771 # It is not useful on other systems. If it contains results you don't
18772 # want to keep, you may remove or edit it.
18774 # config.status only pays attention to the cache file if you give it
18775 # the --recheck option to rerun configure.
18777 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18778 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18779 # following values.
18783 # The following way of writing the cache mishandles newlines in values,
18784 # but we know of no workaround that is simple, portable, and efficient.
18785 # So, don't put newlines in cache variables' values.
18786 # Ultrix sh set writes to stderr and can't be redirected directly,
18787 # and sets the high bit in the cache file unless we assign to the vars.
18790 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18792 # `set' does not quote correctly, so add quotes (double-quote
18793 # substitution turns \\\\ into \\, and sed turns \\ into \).
18796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18799 # `set' quotes correctly as required by POSIX, so do not add quotes.
18801 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18808 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18810 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18812 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18813 if test -w $cache_file; then
18814 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18815 cat confcache
>$cache_file
18817 echo "not updating unwritable cache $cache_file"
18822 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18823 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18824 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18825 if test "${wx_cv_lib_glibc21+set}" = set; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 cat >conftest.
$ac_ext <<_ACEOF
18832 cat confdefs.h
>>conftest.
$ac_ext
18833 cat >>conftest.
$ac_ext <<_ACEOF
18834 /* end confdefs.h. */
18835 #include <features.h>
18840 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18841 #error not glibc2.1
18848 rm -f conftest.
$ac_objext
18849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18850 (eval $ac_compile) 2>conftest.er1
18852 grep -v '^ *+' conftest.er1
>conftest.err
18854 cat conftest.err
>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } &&
18857 { ac_try
='test -z "$ac_c_werror_flag"
18858 || test ! -s conftest.err'
18859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860 (eval $ac_try) 2>&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); }; } &&
18864 { ac_try
='test -s conftest.$ac_objext'
18865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18866 (eval $ac_try) 2>&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); }; }; then
18871 wx_cv_lib_glibc21
=yes
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.
$ac_ext >&5
18878 wx_cv_lib_glibc21
=no
18882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18885 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18886 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18887 if test "$wx_cv_lib_glibc21" = "yes"; then
18888 cat >>confdefs.h
<<\_ACEOF
18889 #define wxHAVE_GLIBC2 1
18895 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18896 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18897 cat >>confdefs.h
<<\_ACEOF
18898 #define _GNU_SOURCE 1
18906 if test "$wxUSE_REGEX" != "no"; then
18907 cat >>confdefs.h
<<\_ACEOF
18908 #define wxUSE_REGEX 1
18912 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18913 if test "${ac_cv_header_regex_h+set}" = set; then
18914 echo "$as_me:$LINENO: checking for regex.h" >&5
18915 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18916 if test "${ac_cv_header_regex_h+set}" = set; then
18917 echo $ECHO_N "(cached) $ECHO_C" >&6
18919 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18920 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18922 # Is the header compilable?
18923 echo "$as_me:$LINENO: checking regex.h usability" >&5
18924 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18934 rm -f conftest.
$ac_objext
18935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18936 (eval $ac_compile) 2>conftest.er1
18938 grep -v '^ *+' conftest.er1
>conftest.err
18940 cat conftest.err
>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } &&
18943 { ac_try
='test -z "$ac_c_werror_flag"
18944 || test ! -s conftest.err'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; } &&
18950 { ac_try
='test -s conftest.$ac_objext'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; }; then
18956 ac_header_compiler
=yes
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.
$ac_ext >&5
18961 ac_header_compiler
=no
18963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18965 echo "${ECHO_T}$ac_header_compiler" >&6
18967 # Is the header present?
18968 echo "$as_me:$LINENO: checking regex.h presence" >&5
18969 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18981 grep -v '^ *+' conftest.er1
>conftest.err
18983 cat conftest.err
>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } >/dev
/null
; then
18986 if test -s conftest.err
; then
18987 ac_cpp_err
=$ac_c_preproc_warn_flag
18988 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18995 if test -z "$ac_cpp_err"; then
18996 ac_header_preproc
=yes
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.
$ac_ext >&5
19001 ac_header_preproc
=no
19003 rm -f conftest.err conftest.
$ac_ext
19004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19005 echo "${ECHO_T}$ac_header_preproc" >&6
19007 # So? What about this header?
19008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19010 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19011 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19012 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19013 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19014 ac_header_preproc
=yes
19017 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19018 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19019 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19020 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19021 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19022 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19023 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19024 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19025 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19026 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19027 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19028 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19031 ## ----------------------------------------- ##
19032 ## Report this to wx-dev@lists.wxwindows.org ##
19033 ## ----------------------------------------- ##
19036 sed "s/^/$as_me: WARNING: /" >&2
19039 echo "$as_me:$LINENO: checking for regex.h" >&5
19040 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19041 if test "${ac_cv_header_regex_h+set}" = set; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 ac_cv_header_regex_h
=$ac_header_preproc
19046 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19047 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19050 if test $ac_cv_header_regex_h = yes; then
19052 for ac_func
in regcomp
19054 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19055 echo "$as_me:$LINENO: checking for $ac_func" >&5
19056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19057 if eval "test \"\${$as_ac_var+set}\" = set"; then
19058 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 cat >conftest.
$ac_ext <<_ACEOF
19063 cat confdefs.h
>>conftest.
$ac_ext
19064 cat >>conftest.
$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19068 #define $ac_func innocuous_$ac_func
19070 /* System header to define __stub macros and hopefully few prototypes,
19071 which can conflict with char $ac_func (); below.
19072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19073 <limits.h> exists even on freestanding compilers. */
19076 # include <limits.h>
19078 # include <assert.h>
19083 /* Override any gcc2 internal prototype to avoid an error. */
19088 /* We use char because int might match the return type of a gcc2
19089 builtin and then its argument prototype would still apply. */
19091 /* The GNU C library defines this for functions which it implements
19092 to always fail with ENOSYS. Some functions are actually named
19093 something starting with __ and the normal name is an alias. */
19094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19097 char (*f) () = $ac_func;
19106 return f != $ac_func;
19111 rm -f conftest.
$ac_objext conftest
$ac_exeext
19112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19113 (eval $ac_link) 2>conftest.er1
19115 grep -v '^ *+' conftest.er1
>conftest.err
19117 cat conftest.err
>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try
='test -z "$ac_c_werror_flag"
19121 || test ! -s conftest.err'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; } &&
19127 { ac_try
='test -s conftest$ac_exeext'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19133 eval "$as_ac_var=yes"
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.
$ac_ext >&5
19138 eval "$as_ac_var=no"
19140 rm -f conftest.err conftest.
$ac_objext \
19141 conftest
$ac_exeext conftest.
$ac_ext
19143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19145 if test `eval echo '${'$as_ac_var'}'` = yes; then
19146 cat >>confdefs.h
<<_ACEOF
19147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19157 if test "x$ac_cv_func_regcomp" != "xyes"; then
19158 if test "$wxUSE_REGEX" = "sys" ; then
19159 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19160 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19161 { (exit 1); exit 1; }; }
19163 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19164 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19165 wxUSE_REGEX
=builtin
19175 if test "$wxUSE_ZLIB" != "no" ; then
19176 cat >>confdefs.h
<<\_ACEOF
19177 #define wxUSE_ZLIB 1
19181 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19182 if test "$USE_DARWIN" = 1; then
19183 system_zlib_h_ok
="yes"
19185 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19186 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19187 if test "${ac_cv_header_zlib_h+set}" = set; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 if test "$cross_compiling" = yes; then
19191 unset ac_cv_header_zlib_h
19194 cat >conftest.
$ac_ext <<_ACEOF
19197 cat confdefs.h
>>conftest.
$ac_ext
19198 cat >>conftest.
$ac_ext <<_ACEOF
19199 /* end confdefs.h. */
19206 FILE *f=fopen("conftestval", "w");
19209 ZLIB_VERSION[0] == '1' &&
19210 (ZLIB_VERSION[2] > '1' ||
19211 (ZLIB_VERSION[2] == '1' &&
19212 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19217 rm -f conftest
$ac_exeext
19218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19219 (eval $ac_link) 2>&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224 (eval $ac_try) 2>&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); }; }; then
19228 ac_cv_header_zlib_h
=`cat conftestval`
19230 echo "$as_me: program exited with status $ac_status" >&5
19231 echo "$as_me: failed program was:" >&5
19232 sed 's/^/| /' conftest.
$ac_ext >&5
19234 ( exit $ac_status )
19235 ac_cv_header_zlib_h
=no
19237 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19241 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19242 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19243 if test "${ac_cv_header_zlib_h+set}" = set; then
19244 echo "$as_me:$LINENO: checking for zlib.h" >&5
19245 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19246 if test "${ac_cv_header_zlib_h+set}" = set; then
19247 echo $ECHO_N "(cached) $ECHO_C" >&6
19249 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19250 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19252 # Is the header compilable?
19253 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19254 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19255 cat >conftest.
$ac_ext <<_ACEOF
19258 cat confdefs.h
>>conftest.
$ac_ext
19259 cat >>conftest.
$ac_ext <<_ACEOF
19260 /* end confdefs.h. */
19261 $ac_includes_default
19264 rm -f conftest.
$ac_objext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19266 (eval $ac_compile) 2>conftest.er1
19268 grep -v '^ *+' conftest.er1
>conftest.err
19270 cat conftest.err
>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try
='test -z "$ac_c_werror_flag"
19274 || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try
='test -s conftest.$ac_objext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_header_compiler
=yes
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.
$ac_ext >&5
19291 ac_header_compiler
=no
19293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19295 echo "${ECHO_T}$ac_header_compiler" >&6
19297 # Is the header present?
19298 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19299 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19300 cat >conftest.
$ac_ext <<_ACEOF
19303 cat confdefs.h
>>conftest.
$ac_ext
19304 cat >>conftest.
$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19311 grep -v '^ *+' conftest.er1
>conftest.err
19313 cat conftest.err
>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); } >/dev
/null
; then
19316 if test -s conftest.err
; then
19317 ac_cpp_err
=$ac_c_preproc_warn_flag
19318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19325 if test -z "$ac_cpp_err"; then
19326 ac_header_preproc
=yes
19328 echo "$as_me: failed program was:" >&5
19329 sed 's/^/| /' conftest.
$ac_ext >&5
19331 ac_header_preproc
=no
19333 rm -f conftest.err conftest.
$ac_ext
19334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19335 echo "${ECHO_T}$ac_header_preproc" >&6
19337 # So? What about this header?
19338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19340 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19341 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19342 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19343 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19344 ac_header_preproc
=yes
19347 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19348 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19349 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19350 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19351 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19352 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19353 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19354 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19355 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19356 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19357 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19358 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19361 ## ----------------------------------------- ##
19362 ## Report this to wx-dev@lists.wxwindows.org ##
19363 ## ----------------------------------------- ##
19366 sed "s/^/$as_me: WARNING: /" >&2
19369 echo "$as_me:$LINENO: checking for zlib.h" >&5
19370 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19371 if test "${ac_cv_header_zlib_h+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 ac_cv_header_zlib_h
=$ac_header_preproc
19376 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19377 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19383 system_zlib_h_ok
=$ac_cv_header_zlib_h
19386 if test "$system_zlib_h_ok" = "yes"; then
19387 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19388 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19389 if test "${ac_cv_lib_z_deflate+set}" = set; then
19390 echo $ECHO_N "(cached) $ECHO_C" >&6
19392 ac_check_lib_save_LIBS
=$LIBS
19394 cat >conftest.
$ac_ext <<_ACEOF
19397 cat confdefs.h
>>conftest.
$ac_ext
19398 cat >>conftest.
$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19401 /* Override any gcc2 internal prototype to avoid an error. */
19405 /* We use char because int might match the return type of a gcc2
19406 builtin and then its argument prototype would still apply. */
19416 rm -f conftest.
$ac_objext conftest
$ac_exeext
19417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19418 (eval $ac_link) 2>conftest.er1
19420 grep -v '^ *+' conftest.er1
>conftest.err
19422 cat conftest.err
>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); } &&
19425 { ac_try
='test -z "$ac_c_werror_flag"
19426 || test ! -s conftest.err'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; } &&
19432 { ac_try
='test -s conftest$ac_exeext'
19433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19434 (eval $ac_try) 2>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); }; }; then
19438 ac_cv_lib_z_deflate
=yes
19440 echo "$as_me: failed program was:" >&5
19441 sed 's/^/| /' conftest.
$ac_ext >&5
19443 ac_cv_lib_z_deflate
=no
19445 rm -f conftest.err conftest.
$ac_objext \
19446 conftest
$ac_exeext conftest.
$ac_ext
19447 LIBS
=$ac_check_lib_save_LIBS
19449 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19450 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19451 if test $ac_cv_lib_z_deflate = yes; then
19457 if test "x$ZLIB_LINK" = "x" ; then
19458 if test "$wxUSE_ZLIB" = "sys" ; then
19459 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19460 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19461 { (exit 1); exit 1; }; }
19463 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19464 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19475 if test "$wxUSE_LIBPNG" != "no" ; then
19476 cat >>confdefs.h
<<\_ACEOF
19477 #define wxUSE_LIBPNG 1
19481 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19482 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19483 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19487 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19488 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19489 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19490 wxUSE_LIBPNG
=builtin
19493 if test "$wxUSE_MGL" != 1 ; then
19494 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19495 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19496 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19497 if test "${ac_cv_header_png_h+set}" = set; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 if test "$cross_compiling" = yes; then
19501 unset ac_cv_header_png_h
19504 cat >conftest.
$ac_ext <<_ACEOF
19507 cat confdefs.h
>>conftest.
$ac_ext
19508 cat >>conftest.
$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19516 FILE *f=fopen("conftestval", "w");
19519 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19524 rm -f conftest
$ac_exeext
19525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19526 (eval $ac_link) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_cv_header_png_h
=`cat conftestval`
19537 echo "$as_me: program exited with status $ac_status" >&5
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.
$ac_ext >&5
19541 ( exit $ac_status )
19542 ac_cv_header_png_h
=no
19544 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19548 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19549 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19550 if test "${ac_cv_header_png_h+set}" = set; then
19551 echo "$as_me:$LINENO: checking for png.h" >&5
19552 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19553 if test "${ac_cv_header_png_h+set}" = set; then
19554 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19557 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19559 # Is the header compilable?
19560 echo "$as_me:$LINENO: checking png.h usability" >&5
19561 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19562 cat >conftest.
$ac_ext <<_ACEOF
19565 cat confdefs.h
>>conftest.
$ac_ext
19566 cat >>conftest.
$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19571 rm -f conftest.
$ac_objext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19573 (eval $ac_compile) 2>conftest.er1
19575 grep -v '^ *+' conftest.er1
>conftest.err
19577 cat conftest.err
>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try
='test -z "$ac_c_werror_flag"
19581 || test ! -s conftest.err'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; } &&
19587 { ac_try
='test -s conftest.$ac_objext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 ac_header_compiler
=yes
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.
$ac_ext >&5
19598 ac_header_compiler
=no
19600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19602 echo "${ECHO_T}$ac_header_compiler" >&6
19604 # Is the header present?
19605 echo "$as_me:$LINENO: checking png.h presence" >&5
19606 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19607 cat >conftest.
$ac_ext <<_ACEOF
19610 cat confdefs.h
>>conftest.
$ac_ext
19611 cat >>conftest.
$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19618 grep -v '^ *+' conftest.er1
>conftest.err
19620 cat conftest.err
>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } >/dev
/null
; then
19623 if test -s conftest.err
; then
19624 ac_cpp_err
=$ac_c_preproc_warn_flag
19625 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19632 if test -z "$ac_cpp_err"; then
19633 ac_header_preproc
=yes
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.
$ac_ext >&5
19638 ac_header_preproc
=no
19640 rm -f conftest.err conftest.
$ac_ext
19641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19642 echo "${ECHO_T}$ac_header_preproc" >&6
19644 # So? What about this header?
19645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19647 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19648 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19649 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
19650 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
19651 ac_header_preproc
=yes
19654 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19655 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19656 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19657 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19658 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
19659 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
19660 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
19661 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
19662 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19663 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19664 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
19665 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
19668 ## ----------------------------------------- ##
19669 ## Report this to wx-dev@lists.wxwindows.org ##
19670 ## ----------------------------------------- ##
19673 sed "s/^/$as_me: WARNING: /" >&2
19676 echo "$as_me:$LINENO: checking for png.h" >&5
19677 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19678 if test "${ac_cv_header_png_h+set}" = set; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19681 ac_cv_header_png_h
=$ac_header_preproc
19683 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19684 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19690 if test "$ac_cv_header_png_h" = "yes"; then
19691 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19692 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19693 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19694 echo $ECHO_N "(cached) $ECHO_C" >&6
19696 ac_check_lib_save_LIBS
=$LIBS
19697 LIBS
="-lpng -lz -lm $LIBS"
19698 cat >conftest.
$ac_ext <<_ACEOF
19701 cat confdefs.h
>>conftest.
$ac_ext
19702 cat >>conftest.
$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19705 /* Override any gcc2 internal prototype to avoid an error. */
19709 /* We use char because int might match the return type of a gcc2
19710 builtin and then its argument prototype would still apply. */
19711 char png_check_sig ();
19720 rm -f conftest.
$ac_objext conftest
$ac_exeext
19721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19722 (eval $ac_link) 2>conftest.er1
19724 grep -v '^ *+' conftest.er1
>conftest.err
19726 cat conftest.err
>&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); } &&
19729 { ac_try
='test -z "$ac_c_werror_flag"
19730 || test ! -s conftest.err'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try
='test -s conftest$ac_exeext'
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; }; then
19742 ac_cv_lib_png_png_check_sig
=yes
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.
$ac_ext >&5
19747 ac_cv_lib_png_png_check_sig
=no
19749 rm -f conftest.err conftest.
$ac_objext \
19750 conftest
$ac_exeext conftest.
$ac_ext
19751 LIBS
=$ac_check_lib_save_LIBS
19753 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19754 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19755 if test $ac_cv_lib_png_png_check_sig = yes; then
19761 if test "x$PNG_LINK" = "x" ; then
19762 if test "$wxUSE_LIBPNG" = "sys" ; then
19763 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19764 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19765 { (exit 1); exit 1; }; }
19767 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19768 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19769 wxUSE_LIBPNG
=builtin
19777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
19782 if test "$wxUSE_LIBJPEG" != "no" ; then
19783 cat >>confdefs.h
<<\_ACEOF
19784 #define wxUSE_LIBJPEG 1
19788 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19789 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19790 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19794 if test "$wxUSE_MGL" != 1 ; then
19795 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19796 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19797 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19798 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 cat >conftest.
$ac_ext <<_ACEOF
19804 cat confdefs.h
>>conftest.
$ac_ext
19805 cat >>conftest.
$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19808 #undef HAVE_STDLIB_H
19810 #include <jpeglib.h>
19821 rm -f conftest.
$ac_objext
19822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19823 (eval $ac_compile) 2>conftest.er1
19825 grep -v '^ *+' conftest.er1
>conftest.err
19827 cat conftest.err
>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } &&
19830 { ac_try
='test -z "$ac_c_werror_flag"
19831 || test ! -s conftest.err'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; } &&
19837 { ac_try
='test -s conftest.$ac_objext'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; }; then
19843 ac_cv_header_jpeglib_h
=yes
19845 echo "$as_me: failed program was:" >&5
19846 sed 's/^/| /' conftest.
$ac_ext >&5
19848 ac_cv_header_jpeglib_h
=no
19851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19855 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19856 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19858 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19859 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19860 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19861 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19862 echo $ECHO_N "(cached) $ECHO_C" >&6
19864 ac_check_lib_save_LIBS
=$LIBS
19865 LIBS
="-ljpeg $LIBS"
19866 cat >conftest.
$ac_ext <<_ACEOF
19869 cat confdefs.h
>>conftest.
$ac_ext
19870 cat >>conftest.
$ac_ext <<_ACEOF
19871 /* end confdefs.h. */
19873 /* Override any gcc2 internal prototype to avoid an error. */
19877 /* We use char because int might match the return type of a gcc2
19878 builtin and then its argument prototype would still apply. */
19879 char jpeg_read_header ();
19883 jpeg_read_header ();
19888 rm -f conftest.
$ac_objext conftest
$ac_exeext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19890 (eval $ac_link) 2>conftest.er1
19892 grep -v '^ *+' conftest.er1
>conftest.err
19894 cat conftest.err
>&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try
='test -z "$ac_c_werror_flag"
19898 || test ! -s conftest.err'
19899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19900 (eval $ac_try) 2>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; } &&
19904 { ac_try
='test -s conftest$ac_exeext'
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19906 (eval $ac_try) 2>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; }; then
19910 ac_cv_lib_jpeg_jpeg_read_header
=yes
19912 echo "$as_me: failed program was:" >&5
19913 sed 's/^/| /' conftest.
$ac_ext >&5
19915 ac_cv_lib_jpeg_jpeg_read_header
=no
19917 rm -f conftest.err conftest.
$ac_objext \
19918 conftest
$ac_exeext conftest.
$ac_ext
19919 LIBS
=$ac_check_lib_save_LIBS
19921 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19922 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19923 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19924 JPEG_LINK
=" -ljpeg"
19929 if test "x$JPEG_LINK" = "x" ; then
19930 if test "$wxUSE_LIBJPEG" = "sys" ; then
19931 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19932 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19933 { (exit 1); exit 1; }; }
19935 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19936 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19937 wxUSE_LIBJPEG
=builtin
19948 TIFF_PREREQ_LINKS
=-lm
19949 if test "$wxUSE_LIBTIFF" != "no" ; then
19950 cat >>confdefs.h
<<\_ACEOF
19951 #define wxUSE_LIBTIFF 1
19955 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19956 if test "$wxUSE_LIBJPEG" = "sys"; then
19957 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19959 if test "$wxUSE_ZLIB" = "sys"; then
19960 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19962 if test "${ac_cv_header_tiffio_h+set}" = set; then
19963 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19964 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19965 if test "${ac_cv_header_tiffio_h+set}" = set; then
19966 echo $ECHO_N "(cached) $ECHO_C" >&6
19968 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19969 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19971 # Is the header compilable?
19972 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19973 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19974 cat >conftest.
$ac_ext <<_ACEOF
19977 cat confdefs.h
>>conftest.
$ac_ext
19978 cat >>conftest.
$ac_ext <<_ACEOF
19979 /* end confdefs.h. */
19980 $ac_includes_default
19981 #include <tiffio.h>
19983 rm -f conftest.
$ac_objext
19984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19985 (eval $ac_compile) 2>conftest.er1
19987 grep -v '^ *+' conftest.er1
>conftest.err
19989 cat conftest.err
>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } &&
19992 { ac_try
='test -z "$ac_c_werror_flag"
19993 || test ! -s conftest.err'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; } &&
19999 { ac_try
='test -s conftest.$ac_objext'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; }; then
20005 ac_header_compiler
=yes
20007 echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.
$ac_ext >&5
20010 ac_header_compiler
=no
20012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20013 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20014 echo "${ECHO_T}$ac_header_compiler" >&6
20016 # Is the header present?
20017 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20018 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20019 cat >conftest.
$ac_ext <<_ACEOF
20022 cat confdefs.h
>>conftest.
$ac_ext
20023 cat >>conftest.
$ac_ext <<_ACEOF
20024 /* end confdefs.h. */
20025 #include <tiffio.h>
20027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20028 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20030 grep -v '^ *+' conftest.er1
>conftest.err
20032 cat conftest.err
>&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); } >/dev
/null
; then
20035 if test -s conftest.err
; then
20036 ac_cpp_err
=$ac_c_preproc_warn_flag
20037 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20044 if test -z "$ac_cpp_err"; then
20045 ac_header_preproc
=yes
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.
$ac_ext >&5
20050 ac_header_preproc
=no
20052 rm -f conftest.err conftest.
$ac_ext
20053 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20054 echo "${ECHO_T}$ac_header_preproc" >&6
20056 # So? What about this header?
20057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20059 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20060 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20061 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20062 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20063 ac_header_preproc
=yes
20066 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20067 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20068 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20069 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20070 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20071 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20072 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20073 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20074 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20075 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20076 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20077 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20080 ## ----------------------------------------- ##
20081 ## Report this to wx-dev@lists.wxwindows.org ##
20082 ## ----------------------------------------- ##
20085 sed "s/^/$as_me: WARNING: /" >&2
20088 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20089 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20090 if test "${ac_cv_header_tiffio_h+set}" = set; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 ac_cv_header_tiffio_h
=$ac_header_preproc
20095 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20096 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20099 if test $ac_cv_header_tiffio_h = yes; then
20101 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20102 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20103 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20104 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 ac_check_lib_save_LIBS
=$LIBS
20107 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20108 cat >conftest.
$ac_ext <<_ACEOF
20111 cat confdefs.h
>>conftest.
$ac_ext
20112 cat >>conftest.
$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20115 /* Override any gcc2 internal prototype to avoid an error. */
20119 /* We use char because int might match the return type of a gcc2
20120 builtin and then its argument prototype would still apply. */
20130 rm -f conftest.
$ac_objext conftest
$ac_exeext
20131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20132 (eval $ac_link) 2>conftest.er1
20134 grep -v '^ *+' conftest.er1
>conftest.err
20136 cat conftest.err
>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } &&
20139 { ac_try
='test -z "$ac_c_werror_flag"
20140 || test ! -s conftest.err'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; } &&
20146 { ac_try
='test -s conftest$ac_exeext'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; }; then
20152 ac_cv_lib_tiff_TIFFError
=yes
20154 echo "$as_me: failed program was:" >&5
20155 sed 's/^/| /' conftest.
$ac_ext >&5
20157 ac_cv_lib_tiff_TIFFError
=no
20159 rm -f conftest.err conftest.
$ac_objext \
20160 conftest
$ac_exeext conftest.
$ac_ext
20161 LIBS
=$ac_check_lib_save_LIBS
20163 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20164 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20165 if test $ac_cv_lib_tiff_TIFFError = yes; then
20166 TIFF_LINK
=" -ltiff"
20175 if test "x$TIFF_LINK" = "x" ; then
20176 if test "$wxUSE_LIBTIFF" = "sys" ; then
20177 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20178 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20179 { (exit 1); exit 1; }; }
20181 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20182 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20183 wxUSE_LIBTIFF
=builtin
20192 if test "$wxUSE_EXPAT" != "no"; then
20194 cat >>confdefs.h
<<\_ACEOF
20195 #define wxUSE_EXPAT 1
20198 cat >>confdefs.h
<<\_ACEOF
20199 #define wxUSE_XML 1
20203 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20204 if test "${ac_cv_header_expat_h+set}" = set; then
20205 echo "$as_me:$LINENO: checking for expat.h" >&5
20206 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20207 if test "${ac_cv_header_expat_h+set}" = set; then
20208 echo $ECHO_N "(cached) $ECHO_C" >&6
20210 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20211 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20213 # Is the header compilable?
20214 echo "$as_me:$LINENO: checking expat.h usability" >&5
20215 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20216 cat >conftest.
$ac_ext <<_ACEOF
20219 cat confdefs.h
>>conftest.
$ac_ext
20220 cat >>conftest.
$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 $ac_includes_default
20225 rm -f conftest.
$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20229 grep -v '^ *+' conftest.er1
>conftest.err
20231 cat conftest.err
>&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try
='test -z "$ac_c_werror_flag"
20235 || test ! -s conftest.err'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; } &&
20241 { ac_try
='test -s conftest.$ac_objext'
20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243 (eval $ac_try) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; }; then
20247 ac_header_compiler
=yes
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.
$ac_ext >&5
20252 ac_header_compiler
=no
20254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20256 echo "${ECHO_T}$ac_header_compiler" >&6
20258 # Is the header present?
20259 echo "$as_me:$LINENO: checking expat.h presence" >&5
20260 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20261 cat >conftest.
$ac_ext <<_ACEOF
20264 cat confdefs.h
>>conftest.
$ac_ext
20265 cat >>conftest.
$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20270 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20272 grep -v '^ *+' conftest.er1
>conftest.err
20274 cat conftest.err
>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } >/dev
/null
; then
20277 if test -s conftest.err
; then
20278 ac_cpp_err
=$ac_c_preproc_warn_flag
20279 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20286 if test -z "$ac_cpp_err"; then
20287 ac_header_preproc
=yes
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.
$ac_ext >&5
20292 ac_header_preproc
=no
20294 rm -f conftest.err conftest.
$ac_ext
20295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20296 echo "${ECHO_T}$ac_header_preproc" >&6
20298 # So? What about this header?
20299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20301 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20302 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20303 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20304 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20305 ac_header_preproc
=yes
20308 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20309 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20310 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20311 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20312 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20313 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20314 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20315 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20316 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20317 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20318 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20319 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20322 ## ----------------------------------------- ##
20323 ## Report this to wx-dev@lists.wxwindows.org ##
20324 ## ----------------------------------------- ##
20327 sed "s/^/$as_me: WARNING: /" >&2
20330 echo "$as_me:$LINENO: checking for expat.h" >&5
20331 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20332 if test "${ac_cv_header_expat_h+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20335 ac_cv_header_expat_h
=$ac_header_preproc
20337 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20338 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20341 if test $ac_cv_header_expat_h = yes; then
20346 if test "x$found_expat_h" = "x1"; then
20347 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20348 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20349 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20356 ac_cpp
='$CXXCPP $CPPFLAGS'
20357 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20358 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20359 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20361 cat >conftest.
$ac_ext <<_ACEOF
20364 cat confdefs.h
>>conftest.
$ac_ext
20365 cat >>conftest.
$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20376 rm -f conftest.
$ac_objext
20377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20378 (eval $ac_compile) 2>conftest.er1
20380 grep -v '^ *+' conftest.er1
>conftest.err
20382 cat conftest.err
>&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } &&
20385 { ac_try
='test -z "$ac_cxx_werror_flag"
20386 || test ! -s conftest.err'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; } &&
20392 { ac_try
='test -s conftest.$ac_objext'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; }; then
20398 wx_cv_expat_is_not_broken
=yes
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.
$ac_ext >&5
20403 wx_cv_expat_is_not_broken
=no
20406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20408 ac_cpp
='$CPP $CPPFLAGS'
20409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20416 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20417 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20418 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20419 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20420 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20421 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20422 echo $ECHO_N "(cached) $ECHO_C" >&6
20424 ac_check_lib_save_LIBS
=$LIBS
20425 LIBS
="-lexpat $LIBS"
20426 cat >conftest.
$ac_ext <<_ACEOF
20429 cat confdefs.h
>>conftest.
$ac_ext
20430 cat >>conftest.
$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20433 /* Override any gcc2 internal prototype to avoid an error. */
20437 /* We use char because int might match the return type of a gcc2
20438 builtin and then its argument prototype would still apply. */
20439 char XML_ParserCreate ();
20443 XML_ParserCreate ();
20448 rm -f conftest.
$ac_objext conftest
$ac_exeext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20450 (eval $ac_link) 2>conftest.er1
20452 grep -v '^ *+' conftest.er1
>conftest.err
20454 cat conftest.err
>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try
='test -z "$ac_c_werror_flag"
20458 || test ! -s conftest.err'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; } &&
20464 { ac_try
='test -s conftest$ac_exeext'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; }; then
20470 ac_cv_lib_expat_XML_ParserCreate
=yes
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.
$ac_ext >&5
20475 ac_cv_lib_expat_XML_ParserCreate
=no
20477 rm -f conftest.err conftest.
$ac_objext \
20478 conftest
$ac_exeext conftest.
$ac_ext
20479 LIBS
=$ac_check_lib_save_LIBS
20481 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20482 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20483 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20484 EXPAT_LINK
=" -lexpat"
20489 if test "x$EXPAT_LINK" = "x" ; then
20490 if test "$wxUSE_EXPAT" = "sys" ; then
20491 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20492 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20493 { (exit 1); exit 1; }; }
20495 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20496 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20497 wxUSE_EXPAT
=builtin
20503 if test "$wxUSE_EXPAT" = "builtin" ; then
20506 subdirs
="$subdirs src/expat"
20513 if test "$wxUSE_LIBMSPACK" != "no"; then
20515 if test "${ac_cv_header_mspack_h+set}" = set; then
20516 echo "$as_me:$LINENO: checking for mspack.h" >&5
20517 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20518 if test "${ac_cv_header_mspack_h+set}" = set; then
20519 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20522 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20524 # Is the header compilable?
20525 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20526 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20527 cat >conftest.
$ac_ext <<_ACEOF
20530 cat confdefs.h
>>conftest.
$ac_ext
20531 cat >>conftest.
$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533 $ac_includes_default
20534 #include <mspack.h>
20536 rm -f conftest.
$ac_objext
20537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20538 (eval $ac_compile) 2>conftest.er1
20540 grep -v '^ *+' conftest.er1
>conftest.err
20542 cat conftest.err
>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } &&
20545 { ac_try
='test -z "$ac_c_werror_flag"
20546 || test ! -s conftest.err'
20547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20548 (eval $ac_try) 2>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); }; } &&
20552 { ac_try
='test -s conftest.$ac_objext'
20553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554 (eval $ac_try) 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; }; then
20558 ac_header_compiler
=yes
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.
$ac_ext >&5
20563 ac_header_compiler
=no
20565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20567 echo "${ECHO_T}$ac_header_compiler" >&6
20569 # Is the header present?
20570 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20571 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20572 cat >conftest.
$ac_ext <<_ACEOF
20575 cat confdefs.h
>>conftest.
$ac_ext
20576 cat >>conftest.
$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 #include <mspack.h>
20580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20583 grep -v '^ *+' conftest.er1
>conftest.err
20585 cat conftest.err
>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } >/dev
/null
; then
20588 if test -s conftest.err
; then
20589 ac_cpp_err
=$ac_c_preproc_warn_flag
20590 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20597 if test -z "$ac_cpp_err"; then
20598 ac_header_preproc
=yes
20600 echo "$as_me: failed program was:" >&5
20601 sed 's/^/| /' conftest.
$ac_ext >&5
20603 ac_header_preproc
=no
20605 rm -f conftest.err conftest.
$ac_ext
20606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20607 echo "${ECHO_T}$ac_header_preproc" >&6
20609 # So? What about this header?
20610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20612 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20613 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20614 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
20615 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
20616 ac_header_preproc
=yes
20619 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20620 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20621 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20622 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20623 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
20624 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
20625 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
20626 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
20627 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20628 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20629 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
20630 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
20633 ## ----------------------------------------- ##
20634 ## Report this to wx-dev@lists.wxwindows.org ##
20635 ## ----------------------------------------- ##
20638 sed "s/^/$as_me: WARNING: /" >&2
20641 echo "$as_me:$LINENO: checking for mspack.h" >&5
20642 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20643 if test "${ac_cv_header_mspack_h+set}" = set; then
20644 echo $ECHO_N "(cached) $ECHO_C" >&6
20646 ac_cv_header_mspack_h
=$ac_header_preproc
20648 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20649 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20652 if test $ac_cv_header_mspack_h = yes; then
20657 if test "x$found_mspack_h" = "x1"; then
20658 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20659 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20660 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 ac_check_lib_save_LIBS
=$LIBS
20664 LIBS
="-lmspack $LIBS"
20665 cat >conftest.
$ac_ext <<_ACEOF
20668 cat confdefs.h
>>conftest.
$ac_ext
20669 cat >>conftest.
$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20672 /* Override any gcc2 internal prototype to avoid an error. */
20676 /* We use char because int might match the return type of a gcc2
20677 builtin and then its argument prototype would still apply. */
20678 char mspack_create_chm_decompressor ();
20682 mspack_create_chm_decompressor ();
20687 rm -f conftest.
$ac_objext conftest
$ac_exeext
20688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20689 (eval $ac_link) 2>conftest.er1
20691 grep -v '^ *+' conftest.er1
>conftest.err
20693 cat conftest.err
>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } &&
20696 { ac_try
='test -z "$ac_c_werror_flag"
20697 || test ! -s conftest.err'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; } &&
20703 { ac_try
='test -s conftest$ac_exeext'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; }; then
20709 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
20711 echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.
$ac_ext >&5
20714 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
20716 rm -f conftest.err conftest.
$ac_objext \
20717 conftest
$ac_exeext conftest.
$ac_ext
20718 LIBS
=$ac_check_lib_save_LIBS
20720 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20721 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20722 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20723 MSPACK_LINK
=" -lmspack"
20727 if test "x$MSPACK_LINK" = "x" ; then
20730 cat >>confdefs.h
<<\_ACEOF
20731 #define wxUSE_LIBMSPACK 1
20746 if test "$USE_WIN32" = 1 ; then
20748 for ac_header
in w32api.h
20750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20752 echo "$as_me:$LINENO: checking for $ac_header" >&5
20753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20755 echo $ECHO_N "(cached) $ECHO_C" >&6
20757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20760 # Is the header compilable?
20761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20763 cat >conftest.
$ac_ext <<_ACEOF
20766 cat confdefs.h
>>conftest.
$ac_ext
20767 cat >>conftest.
$ac_ext <<_ACEOF
20768 /* end confdefs.h. */
20769 $ac_includes_default
20770 #include <$ac_header>
20772 rm -f conftest.
$ac_objext
20773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20774 (eval $ac_compile) 2>conftest.er1
20776 grep -v '^ *+' conftest.er1
>conftest.err
20778 cat conftest.err
>&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); } &&
20781 { ac_try
='test -z "$ac_c_werror_flag"
20782 || test ! -s conftest.err'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try
='test -s conftest.$ac_objext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20794 ac_header_compiler
=yes
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.
$ac_ext >&5
20799 ac_header_compiler
=no
20801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20803 echo "${ECHO_T}$ac_header_compiler" >&6
20805 # Is the header present?
20806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20808 cat >conftest.
$ac_ext <<_ACEOF
20811 cat confdefs.h
>>conftest.
$ac_ext
20812 cat >>conftest.
$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20814 #include <$ac_header>
20816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20819 grep -v '^ *+' conftest.er1
>conftest.err
20821 cat conftest.err
>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } >/dev
/null
; then
20824 if test -s conftest.err
; then
20825 ac_cpp_err
=$ac_c_preproc_warn_flag
20826 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20833 if test -z "$ac_cpp_err"; then
20834 ac_header_preproc
=yes
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.
$ac_ext >&5
20839 ac_header_preproc
=no
20841 rm -f conftest.err conftest.
$ac_ext
20842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20843 echo "${ECHO_T}$ac_header_preproc" >&6
20845 # So? What about this header?
20846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20852 ac_header_preproc
=yes
20855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20869 ## ----------------------------------------- ##
20870 ## Report this to wx-dev@lists.wxwindows.org ##
20871 ## ----------------------------------------- ##
20874 sed "s/^/$as_me: WARNING: /" >&2
20877 echo "$as_me:$LINENO: checking for $ac_header" >&5
20878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20880 echo $ECHO_N "(cached) $ECHO_C" >&6
20882 eval "$as_ac_Header=\$ac_header_preproc"
20884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20889 cat >>confdefs.h
<<_ACEOF
20890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20897 if test "${ac_cv_header_windows_h+set}" = set; then
20898 echo "$as_me:$LINENO: checking for windows.h" >&5
20899 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20900 if test "${ac_cv_header_windows_h+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20904 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20906 # Is the header compilable?
20907 echo "$as_me:$LINENO: checking windows.h usability" >&5
20908 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20909 cat >conftest.
$ac_ext <<_ACEOF
20912 cat confdefs.h
>>conftest.
$ac_ext
20913 cat >>conftest.
$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 $ac_includes_default
20916 #include <windows.h>
20918 rm -f conftest.
$ac_objext
20919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20920 (eval $ac_compile) 2>conftest.er1
20922 grep -v '^ *+' conftest.er1
>conftest.err
20924 cat conftest.err
>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } &&
20927 { ac_try
='test -z "$ac_c_werror_flag"
20928 || test ! -s conftest.err'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; } &&
20934 { ac_try
='test -s conftest.$ac_objext'
20935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20936 (eval $ac_try) 2>&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_header_compiler
=yes
20942 echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.
$ac_ext >&5
20945 ac_header_compiler
=no
20947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20949 echo "${ECHO_T}$ac_header_compiler" >&6
20951 # Is the header present?
20952 echo "$as_me:$LINENO: checking windows.h presence" >&5
20953 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20954 cat >conftest.
$ac_ext <<_ACEOF
20957 cat confdefs.h
>>conftest.
$ac_ext
20958 cat >>conftest.
$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 #include <windows.h>
20962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20965 grep -v '^ *+' conftest.er1
>conftest.err
20967 cat conftest.err
>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } >/dev
/null
; then
20970 if test -s conftest.err
; then
20971 ac_cpp_err
=$ac_c_preproc_warn_flag
20972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20979 if test -z "$ac_cpp_err"; then
20980 ac_header_preproc
=yes
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.
$ac_ext >&5
20985 ac_header_preproc
=no
20987 rm -f conftest.err conftest.
$ac_ext
20988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20989 echo "${ECHO_T}$ac_header_preproc" >&6
20991 # So? What about this header?
20992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20994 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20995 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20996 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
20997 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
20998 ac_header_preproc
=yes
21001 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21002 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21003 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21004 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21005 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21006 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21007 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21008 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21009 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21010 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21011 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21012 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21015 ## ----------------------------------------- ##
21016 ## Report this to wx-dev@lists.wxwindows.org ##
21017 ## ----------------------------------------- ##
21020 sed "s/^/$as_me: WARNING: /" >&2
21023 echo "$as_me:$LINENO: checking for windows.h" >&5
21024 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21025 if test "${ac_cv_header_windows_h+set}" = set; then
21026 echo $ECHO_N "(cached) $ECHO_C" >&6
21028 ac_cv_header_windows_h
=$ac_header_preproc
21030 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21031 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21034 if test $ac_cv_header_windows_h = yes; then
21038 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21039 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21040 { (exit 1); exit 1; }; }
21046 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21048 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21049 LIBS
="$LIBS -loleacc"
21054 LIBS
="$LIBS -lkernel32 -luser32"
21055 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21058 if test "$wxUSE_ODBC" = "sys" ; then
21061 if test "$wxUSE_ODBC" = "yes" ; then
21062 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21063 cat >>confdefs.h
<<\_ACEOF
21064 #define wxUSE_ODBC 1
21069 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21070 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21072 WIN32INSTALL
=win32install
21075 if test "$wxUSE_GUI" = "yes"; then
21084 if test "$wxUSE_MSW" = 1 ; then
21090 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21094 if test "$wxUSE_GTK" = 1; then
21095 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21096 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21098 gtk_version_cached
=1
21099 if test "${wx_cv_lib_gtk+set}" = set; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21103 gtk_version_cached
=0
21104 echo "$as_me:$LINENO: result: " >&5
21105 echo "${ECHO_T}" >&6
21108 if test "$wxUSE_THREADS" = "yes"; then
21109 GTK_MODULES
=gthread
21113 if test "x$wxUSE_GTK2" = "xyes"; then
21114 # Check whether --enable-gtktest or --disable-gtktest was given.
21115 if test "${enable_gtktest+set}" = set; then
21116 enableval
="$enable_gtktest"
21122 pkg_config_args
=gtk
+-2.0
21123 for module
in .
$GTK_MODULES
21127 pkg_config_args
="$pkg_config_args gthread-2.0"
21134 # Extract the first word of "pkg-config", so it can be a program name with args.
21135 set dummy pkg
-config; ac_word
=$2
21136 echo "$as_me:$LINENO: checking for $ac_word" >&5
21137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21141 case $PKG_CONFIG in
21143 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21147 for as_dir
in $PATH
21150 test -z "$as_dir" && as_dir
=.
21151 for ac_exec_ext
in '' $ac_executable_extensions; do
21152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21153 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21160 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21164 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21166 if test -n "$PKG_CONFIG"; then
21167 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21168 echo "${ECHO_T}$PKG_CONFIG" >&6
21170 echo "$as_me:$LINENO: result: no" >&5
21171 echo "${ECHO_T}no" >&6
21175 if test x
$PKG_CONFIG != xno
; then
21176 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21179 echo *** pkg
-config too old
; version
0.7 or better required.
21187 min_gtk_version
=2.0.0
21188 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21189 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21191 if test x
$PKG_CONFIG != xno
; then
21192 ## don't try to run the test against uninstalled libtool libs
21193 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21194 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21198 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21205 if test x
"$no_gtk" = x
; then
21206 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21207 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21208 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21210 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21211 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21212 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21214 if test "x$enable_gtktest" = "xyes" ; then
21215 ac_save_CFLAGS
="$CFLAGS"
21216 ac_save_LIBS
="$LIBS"
21217 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21218 LIBS
="$GTK_LIBS $LIBS"
21220 if test "$cross_compiling" = yes; then
21221 echo $ac_n "cross compiling; assumed OK... $ac_c"
21223 cat >conftest.
$ac_ext <<_ACEOF
21226 cat confdefs.h
>>conftest.
$ac_ext
21227 cat >>conftest.
$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21230 #include <gtk/gtk.h>
21232 #include <stdlib.h>
21237 int major, minor, micro;
21240 system ("touch conf.gtktest");
21242 /* HP/UX 9 (%@#!) writes to sscanf strings */
21243 tmp_version = g_strdup("$min_gtk_version");
21244 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21245 printf("%s, bad version string\n", "$min_gtk_version");
21249 if ((gtk_major_version != $gtk_config_major_version) ||
21250 (gtk_minor_version != $gtk_config_minor_version) ||
21251 (gtk_micro_version != $gtk_config_micro_version))
21253 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21254 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21255 gtk_major_version, gtk_minor_version, gtk_micro_version);
21256 printf ("*** was found! If pkg-config was correct, then it is best\n");
21257 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21258 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21259 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21260 printf("*** required on your system.\n");
21261 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21262 printf("*** to point to the correct configuration files\n");
21264 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21265 (gtk_minor_version != GTK_MINOR_VERSION) ||
21266 (gtk_micro_version != GTK_MICRO_VERSION))
21268 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21269 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21270 printf("*** library (version %d.%d.%d)\n",
21271 gtk_major_version, gtk_minor_version, gtk_micro_version);
21275 if ((gtk_major_version > major) ||
21276 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21277 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21283 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21284 gtk_major_version, gtk_minor_version, gtk_micro_version);
21285 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21286 major, minor, micro);
21287 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21289 printf("*** If you have already installed a sufficiently new version, this error\n");
21290 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21291 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21292 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21293 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21294 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21295 printf("*** so that the correct libraries are found at run-time))\n");
21302 rm -f conftest
$ac_exeext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21304 (eval $ac_link) 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21315 echo "$as_me: program exited with status $ac_status" >&5
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.
$ac_ext >&5
21319 ( exit $ac_status )
21322 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21324 CFLAGS
="$ac_save_CFLAGS"
21325 LIBS
="$ac_save_LIBS"
21328 if test "x$no_gtk" = x
; then
21329 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21330 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21333 echo "$as_me:$LINENO: result: no" >&5
21334 echo "${ECHO_T}no" >&6
21335 if test "$PKG_CONFIG" = "no" ; then
21336 echo "*** A new enough version of pkg-config was not found."
21337 echo "*** See http://pkgconfig.sourceforge.net"
21339 if test -f conf.gtktest
; then
21342 echo "*** Could not run GTK+ test program, checking why..."
21343 ac_save_CFLAGS
="$CFLAGS"
21344 ac_save_LIBS
="$LIBS"
21345 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21346 LIBS
="$LIBS $GTK_LIBS"
21347 cat >conftest.
$ac_ext <<_ACEOF
21350 cat confdefs.h
>>conftest.
$ac_ext
21351 cat >>conftest.
$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21354 #include <gtk/gtk.h>
21360 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21365 rm -f conftest.
$ac_objext conftest
$ac_exeext
21366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21367 (eval $ac_link) 2>conftest.er1
21369 grep -v '^ *+' conftest.er1
>conftest.err
21371 cat conftest.err
>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } &&
21374 { ac_try
='test -z "$ac_c_werror_flag"
21375 || test ! -s conftest.err'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; } &&
21381 { ac_try
='test -s conftest$ac_exeext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21387 echo "*** The test program compiled, but did not run. This usually means"
21388 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21389 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21390 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21391 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21392 echo "*** is required on your system"
21394 echo "*** If you have an old version installed, it is best to remove it, although"
21395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.
$ac_ext >&5
21400 echo "*** The test program failed to compile or link. See the file config.log for the"
21401 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21403 rm -f conftest.err conftest.
$ac_objext \
21404 conftest
$ac_exeext conftest.
$ac_ext
21405 CFLAGS
="$ac_save_CFLAGS"
21406 LIBS
="$ac_save_LIBS"
21419 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21420 if test "${with_gtk_prefix+set}" = set; then
21421 withval
="$with_gtk_prefix"
21422 gtk_config_prefix
="$withval"
21424 gtk_config_prefix
=""
21427 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21428 if test "${with_gtk_exec_prefix+set}" = set; then
21429 withval
="$with_gtk_exec_prefix"
21430 gtk_config_exec_prefix
="$withval"
21432 gtk_config_exec_prefix
=""
21434 # Check whether --enable-gtktest or --disable-gtktest was given.
21435 if test "${enable_gtktest+set}" = set; then
21436 enableval
="$enable_gtktest"
21442 for module
in .
$GTK_MODULES
21446 gtk_config_args
="$gtk_config_args gthread"
21451 if test x
$gtk_config_exec_prefix != x
; then
21452 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21453 if test x
${GTK_CONFIG+set} != xset
; then
21454 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
21457 if test x
$gtk_config_prefix != x
; then
21458 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
21459 if test x
${GTK_CONFIG+set} != xset
; then
21460 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21464 # Extract the first word of "gtk-config", so it can be a program name with args.
21465 set dummy gtk
-config; ac_word
=$2
21466 echo "$as_me:$LINENO: checking for $ac_word" >&5
21467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21468 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21469 echo $ECHO_N "(cached) $ECHO_C" >&6
21471 case $GTK_CONFIG in
21473 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21477 for as_dir
in $PATH
21480 test -z "$as_dir" && as_dir
=.
21481 for ac_exec_ext
in '' $ac_executable_extensions; do
21482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21483 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21490 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21494 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21496 if test -n "$GTK_CONFIG"; then
21497 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21498 echo "${ECHO_T}$GTK_CONFIG" >&6
21500 echo "$as_me:$LINENO: result: no" >&5
21501 echo "${ECHO_T}no" >&6
21504 min_gtk_version
=1.2.7
21505 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21506 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21508 if test "$GTK_CONFIG" = "no" ; then
21511 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21512 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21513 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21515 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21517 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21519 if test "x$enable_gtktest" = "xyes" ; then
21520 ac_save_CFLAGS
="$CFLAGS"
21521 ac_save_LIBS
="$LIBS"
21522 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21523 LIBS
="$GTK_LIBS $LIBS"
21525 if test "$cross_compiling" = yes; then
21526 echo $ac_n "cross compiling; assumed OK... $ac_c"
21528 cat >conftest.
$ac_ext <<_ACEOF
21531 cat confdefs.h
>>conftest.
$ac_ext
21532 cat >>conftest.
$ac_ext <<_ACEOF
21533 /* end confdefs.h. */
21535 #include <gtk/gtk.h>
21537 #include <stdlib.h>
21542 int major, minor, micro;
21545 system ("touch conf.gtktest");
21547 /* HP/UX 9 (%@#!) writes to sscanf strings */
21548 tmp_version = g_strdup("$min_gtk_version");
21549 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21550 printf("%s, bad version string\n", "$min_gtk_version");
21554 if ((gtk_major_version != $gtk_config_major_version) ||
21555 (gtk_minor_version != $gtk_config_minor_version) ||
21556 (gtk_micro_version != $gtk_config_micro_version))
21558 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21559 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21560 gtk_major_version, gtk_minor_version, gtk_micro_version);
21561 printf ("*** was found! If gtk-config was correct, then it is best\n");
21562 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21563 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21564 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21565 printf("*** required on your system.\n");
21566 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21567 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21568 printf("*** before re-running configure\n");
21570 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21571 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21572 (gtk_minor_version != GTK_MINOR_VERSION) ||
21573 (gtk_micro_version != GTK_MICRO_VERSION))
21575 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21576 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21577 printf("*** library (version %d.%d.%d)\n",
21578 gtk_major_version, gtk_minor_version, gtk_micro_version);
21580 #endif /* defined (GTK_MAJOR_VERSION) ... */
21583 if ((gtk_major_version > major) ||
21584 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21585 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21591 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21592 gtk_major_version, gtk_minor_version, gtk_micro_version);
21593 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21594 major, minor, micro);
21595 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21597 printf("*** If you have already installed a sufficiently new version, this error\n");
21598 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21599 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21600 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21601 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21602 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21603 printf("*** so that the correct libraries are found at run-time))\n");
21610 rm -f conftest
$ac_exeext
21611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21612 (eval $ac_link) 2>&5
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21617 (eval $ac_try) 2>&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); }; }; then
21623 echo "$as_me: program exited with status $ac_status" >&5
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.
$ac_ext >&5
21627 ( exit $ac_status )
21630 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21632 CFLAGS
="$ac_save_CFLAGS"
21633 LIBS
="$ac_save_LIBS"
21636 if test "x$no_gtk" = x
; then
21637 echo "$as_me:$LINENO: result: yes" >&5
21638 echo "${ECHO_T}yes" >&6
21639 wx_cv_lib_gtk
=1.2.7
21641 echo "$as_me:$LINENO: result: no" >&5
21642 echo "${ECHO_T}no" >&6
21643 if test "$GTK_CONFIG" = "no" ; then
21644 echo "*** The gtk-config script installed by GTK could not be found"
21645 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21646 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21647 echo "*** full path to gtk-config."
21649 if test -f conf.gtktest
; then
21652 echo "*** Could not run GTK test program, checking why..."
21653 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21654 LIBS
="$LIBS $GTK_LIBS"
21655 cat >conftest.
$ac_ext <<_ACEOF
21658 cat confdefs.h
>>conftest.
$ac_ext
21659 cat >>conftest.
$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21662 #include <gtk/gtk.h>
21668 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21673 rm -f conftest.
$ac_objext conftest
$ac_exeext
21674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21675 (eval $ac_link) 2>conftest.er1
21677 grep -v '^ *+' conftest.er1
>conftest.err
21679 cat conftest.err
>&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } &&
21682 { ac_try
='test -z "$ac_c_werror_flag"
21683 || test ! -s conftest.err'
21684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21685 (eval $ac_try) 2>&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); }; } &&
21689 { ac_try
='test -s conftest$ac_exeext'
21690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21691 (eval $ac_try) 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; }; then
21695 echo "*** The test program compiled, but did not run. This usually means"
21696 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21697 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21698 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21699 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21700 echo "*** is required on your system"
21702 echo "*** If you have an old version installed, it is best to remove it, although"
21703 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21705 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21706 echo "*** came with the system with the command"
21708 echo "*** rpm --erase --nodeps gtk gtk-devel"
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.
$ac_ext >&5
21713 echo "*** The test program failed to compile or link. See the file config.log for the"
21714 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21715 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21716 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21718 rm -f conftest.err conftest.
$ac_objext \
21719 conftest
$ac_exeext conftest.
$ac_ext
21720 CFLAGS
="$ac_save_CFLAGS"
21721 LIBS
="$ac_save_LIBS"
21733 if test -z "$wx_cv_lib_gtk"; then
21735 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21736 if test "${with_gtk_prefix+set}" = set; then
21737 withval
="$with_gtk_prefix"
21738 gtk_config_prefix
="$withval"
21740 gtk_config_prefix
=""
21743 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21744 if test "${with_gtk_exec_prefix+set}" = set; then
21745 withval
="$with_gtk_exec_prefix"
21746 gtk_config_exec_prefix
="$withval"
21748 gtk_config_exec_prefix
=""
21750 # Check whether --enable-gtktest or --disable-gtktest was given.
21751 if test "${enable_gtktest+set}" = set; then
21752 enableval
="$enable_gtktest"
21758 for module
in .
$GTK_MODULES
21762 gtk_config_args
="$gtk_config_args gthread"
21767 if test x
$gtk_config_exec_prefix != x
; then
21768 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21769 if test x
${GTK_CONFIG+set} != xset
; then
21770 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
21773 if test x
$gtk_config_prefix != x
; then
21774 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
21775 if test x
${GTK_CONFIG+set} != xset
; then
21776 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21780 # Extract the first word of "gtk-config", so it can be a program name with args.
21781 set dummy gtk
-config; ac_word
=$2
21782 echo "$as_me:$LINENO: checking for $ac_word" >&5
21783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21784 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 case $GTK_CONFIG in
21789 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21793 for as_dir
in $PATH
21796 test -z "$as_dir" && as_dir
=.
21797 for ac_exec_ext
in '' $ac_executable_extensions; do
21798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21799 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21806 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21810 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21812 if test -n "$GTK_CONFIG"; then
21813 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21814 echo "${ECHO_T}$GTK_CONFIG" >&6
21816 echo "$as_me:$LINENO: result: no" >&5
21817 echo "${ECHO_T}no" >&6
21820 min_gtk_version
=1.2.3
21821 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21822 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21824 if test "$GTK_CONFIG" = "no" ; then
21827 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21828 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21829 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21831 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21832 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21833 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21835 if test "x$enable_gtktest" = "xyes" ; then
21836 ac_save_CFLAGS
="$CFLAGS"
21837 ac_save_LIBS
="$LIBS"
21838 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21839 LIBS
="$GTK_LIBS $LIBS"
21841 if test "$cross_compiling" = yes; then
21842 echo $ac_n "cross compiling; assumed OK... $ac_c"
21844 cat >conftest.
$ac_ext <<_ACEOF
21847 cat confdefs.h
>>conftest.
$ac_ext
21848 cat >>conftest.
$ac_ext <<_ACEOF
21849 /* end confdefs.h. */
21851 #include <gtk/gtk.h>
21853 #include <stdlib.h>
21858 int major, minor, micro;
21861 system ("touch conf.gtktest");
21863 /* HP/UX 9 (%@#!) writes to sscanf strings */
21864 tmp_version = g_strdup("$min_gtk_version");
21865 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21866 printf("%s, bad version string\n", "$min_gtk_version");
21870 if ((gtk_major_version != $gtk_config_major_version) ||
21871 (gtk_minor_version != $gtk_config_minor_version) ||
21872 (gtk_micro_version != $gtk_config_micro_version))
21874 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21875 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21876 gtk_major_version, gtk_minor_version, gtk_micro_version);
21877 printf ("*** was found! If gtk-config was correct, then it is best\n");
21878 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21879 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21880 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21881 printf("*** required on your system.\n");
21882 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21883 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21884 printf("*** before re-running configure\n");
21886 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21887 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21888 (gtk_minor_version != GTK_MINOR_VERSION) ||
21889 (gtk_micro_version != GTK_MICRO_VERSION))
21891 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21892 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21893 printf("*** library (version %d.%d.%d)\n",
21894 gtk_major_version, gtk_minor_version, gtk_micro_version);
21896 #endif /* defined (GTK_MAJOR_VERSION) ... */
21899 if ((gtk_major_version > major) ||
21900 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21901 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21907 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21908 gtk_major_version, gtk_minor_version, gtk_micro_version);
21909 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21910 major, minor, micro);
21911 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21913 printf("*** If you have already installed a sufficiently new version, this error\n");
21914 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21915 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21916 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21917 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21918 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21919 printf("*** so that the correct libraries are found at run-time))\n");
21926 rm -f conftest
$ac_exeext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21928 (eval $ac_link) 2>&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21933 (eval $ac_try) 2>&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); }; }; then
21939 echo "$as_me: program exited with status $ac_status" >&5
21940 echo "$as_me: failed program was:" >&5
21941 sed 's/^/| /' conftest.
$ac_ext >&5
21943 ( exit $ac_status )
21946 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21948 CFLAGS
="$ac_save_CFLAGS"
21949 LIBS
="$ac_save_LIBS"
21952 if test "x$no_gtk" = x
; then
21953 echo "$as_me:$LINENO: result: yes" >&5
21954 echo "${ECHO_T}yes" >&6
21955 wx_cv_lib_gtk
=1.2.3
21957 echo "$as_me:$LINENO: result: no" >&5
21958 echo "${ECHO_T}no" >&6
21959 if test "$GTK_CONFIG" = "no" ; then
21960 echo "*** The gtk-config script installed by GTK could not be found"
21961 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21962 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21963 echo "*** full path to gtk-config."
21965 if test -f conf.gtktest
; then
21968 echo "*** Could not run GTK test program, checking why..."
21969 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21970 LIBS
="$LIBS $GTK_LIBS"
21971 cat >conftest.
$ac_ext <<_ACEOF
21974 cat confdefs.h
>>conftest.
$ac_ext
21975 cat >>conftest.
$ac_ext <<_ACEOF
21976 /* end confdefs.h. */
21978 #include <gtk/gtk.h>
21984 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21989 rm -f conftest.
$ac_objext conftest
$ac_exeext
21990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21991 (eval $ac_link) 2>conftest.er1
21993 grep -v '^ *+' conftest.er1
>conftest.err
21995 cat conftest.err
>&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); } &&
21998 { ac_try
='test -z "$ac_c_werror_flag"
21999 || test ! -s conftest.err'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; } &&
22005 { ac_try
='test -s conftest$ac_exeext'
22006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22007 (eval $ac_try) 2>&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); }; }; then
22011 echo "*** The test program compiled, but did not run. This usually means"
22012 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22013 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22014 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22015 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22016 echo "*** is required on your system"
22018 echo "*** If you have an old version installed, it is best to remove it, although"
22019 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22021 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22022 echo "*** came with the system with the command"
22024 echo "*** rpm --erase --nodeps gtk gtk-devel"
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.
$ac_ext >&5
22029 echo "*** The test program failed to compile or link. See the file config.log for the"
22030 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22031 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22032 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22034 rm -f conftest.err conftest.
$ac_objext \
22035 conftest
$ac_exeext conftest.
$ac_ext
22036 CFLAGS
="$ac_save_CFLAGS"
22037 LIBS
="$ac_save_LIBS"
22051 if test -z "$wx_cv_lib_gtk"; then
22054 wx_cv_cflags_gtk
=$GTK_CFLAGS
22055 wx_cv_libs_gtk
=$GTK_LIBS
22062 if test "$gtk_version_cached" = 1; then
22063 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22064 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22067 case "$wx_cv_lib_gtk" in
22076 *) { { echo "$as_me:$LINENO: error:
22077 Please check that gtk-config is in path, the directory
22078 where GTK+ libraries are installed (returned by
22079 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22080 equivalent variable and GTK+ is version 1.2.3 or above.
22082 echo "$as_me: error:
22083 Please check that gtk-config is in path, the directory
22084 where GTK+ libraries are installed (returned by
22085 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22086 equivalent variable and GTK+ is version 1.2.3 or above.
22088 { (exit 1); exit 1; }; }
22092 if test "$WXGTK20" = 1; then
22093 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22097 if test -z "$PKG_CONFIG"; then
22098 # Extract the first word of "pkg-config", so it can be a program name with args.
22099 set dummy pkg
-config; ac_word
=$2
22100 echo "$as_me:$LINENO: checking for $ac_word" >&5
22101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22102 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22103 echo $ECHO_N "(cached) $ECHO_C" >&6
22105 case $PKG_CONFIG in
22107 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22111 for as_dir
in $PATH
22114 test -z "$as_dir" && as_dir
=.
22115 for ac_exec_ext
in '' $ac_executable_extensions; do
22116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22117 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22124 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22128 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22130 if test -n "$PKG_CONFIG"; then
22131 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22132 echo "${ECHO_T}$PKG_CONFIG" >&6
22134 echo "$as_me:$LINENO: result: no" >&5
22135 echo "${ECHO_T}no" >&6
22140 if test "$PKG_CONFIG" = "no" ; then
22141 echo "*** The pkg-config script could not be found. Make sure it is"
22142 echo "*** in your path, or set the PKG_CONFIG environment variable"
22143 echo "*** to the full path to pkg-config."
22144 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22146 PKG_CONFIG_MIN_VERSION
=0.9.0
22147 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22148 echo "$as_me:$LINENO: checking for pangoft2" >&5
22149 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22151 if $PKG_CONFIG --exists "pangoft2" ; then
22152 echo "$as_me:$LINENO: result: yes" >&5
22153 echo "${ECHO_T}yes" >&6
22156 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22157 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22158 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22159 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22160 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22162 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22163 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22164 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22165 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22166 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22170 ## If we have a custom action on failure, don't print errors, but
22171 ## do set a variable so people can do so.
22172 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22179 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22180 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22184 if test $succeeded = yes; then
22186 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22187 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22191 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22192 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22193 wxUSE_PRINTING_ARCHITECTURE
="no"
22200 if test "$wxUSE_UNICODE" = "yes"; then
22201 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22202 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22207 if test "$USE_DARWIN" != 1; then
22209 for ac_func
in poll
22211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22212 echo "$as_me:$LINENO: checking for $ac_func" >&5
22213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22214 if eval "test \"\${$as_ac_var+set}\" = set"; then
22215 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 cat >conftest.
$ac_ext <<_ACEOF
22220 cat confdefs.h
>>conftest.
$ac_ext
22221 cat >>conftest.
$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22225 #define $ac_func innocuous_$ac_func
22227 /* System header to define __stub macros and hopefully few prototypes,
22228 which can conflict with char $ac_func (); below.
22229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22230 <limits.h> exists even on freestanding compilers. */
22233 # include <limits.h>
22235 # include <assert.h>
22240 /* Override any gcc2 internal prototype to avoid an error. */
22245 /* We use char because int might match the return type of a gcc2
22246 builtin and then its argument prototype would still apply. */
22248 /* The GNU C library defines this for functions which it implements
22249 to always fail with ENOSYS. Some functions are actually named
22250 something starting with __ and the normal name is an alias. */
22251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22254 char (*f) () = $ac_func;
22263 return f != $ac_func;
22268 rm -f conftest.
$ac_objext conftest
$ac_exeext
22269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22270 (eval $ac_link) 2>conftest.er1
22272 grep -v '^ *+' conftest.er1
>conftest.err
22274 cat conftest.err
>&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } &&
22277 { ac_try
='test -z "$ac_c_werror_flag"
22278 || test ! -s conftest.err'
22279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22280 (eval $ac_try) 2>&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); }; } &&
22284 { ac_try
='test -s conftest$ac_exeext'
22285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22286 (eval $ac_try) 2>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); }; }; then
22290 eval "$as_ac_var=yes"
22292 echo "$as_me: failed program was:" >&5
22293 sed 's/^/| /' conftest.
$ac_ext >&5
22295 eval "$as_ac_var=no"
22297 rm -f conftest.err conftest.
$ac_objext \
22298 conftest
$ac_exeext conftest.
$ac_ext
22300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22302 if test `eval echo '${'$as_ac_var'}'` = yes; then
22303 cat >>confdefs.h
<<_ACEOF
22304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22312 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
22313 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22315 AFMINSTALL
=afminstall
22319 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22320 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22321 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22322 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 ac_check_lib_save_LIBS
=$LIBS
22326 cat >conftest.
$ac_ext <<_ACEOF
22329 cat confdefs.h
>>conftest.
$ac_ext
22330 cat >>conftest.
$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22333 /* Override any gcc2 internal prototype to avoid an error. */
22337 /* We use char because int might match the return type of a gcc2
22338 builtin and then its argument prototype would still apply. */
22339 char gdk_im_open ();
22348 rm -f conftest.
$ac_objext conftest
$ac_exeext
22349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22350 (eval $ac_link) 2>conftest.er1
22352 grep -v '^ *+' conftest.er1
>conftest.err
22354 cat conftest.err
>&5
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); } &&
22357 { ac_try
='test -z "$ac_c_werror_flag"
22358 || test ! -s conftest.err'
22359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22360 (eval $ac_try) 2>&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); }; } &&
22364 { ac_try
='test -s conftest$ac_exeext'
22365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22366 (eval $ac_try) 2>&5
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 ac_cv_lib_gdk_gdk_im_open
=yes
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.
$ac_ext >&5
22375 ac_cv_lib_gdk_gdk_im_open
=no
22377 rm -f conftest.err conftest.
$ac_objext \
22378 conftest
$ac_exeext conftest.
$ac_ext
22379 LIBS
=$ac_check_lib_save_LIBS
22381 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22382 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22383 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22384 cat >>confdefs.h
<<\_ACEOF
22392 if test "$wxUSE_MGL" = 1; then
22393 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22394 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22395 if test "x$MGL_ROOT" = x
; then
22396 echo "$as_me:$LINENO: result: not found" >&5
22397 echo "${ECHO_T}not found" >&6
22398 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
22399 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
22400 { (exit 1); exit 1; }; }
22402 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
22403 echo "${ECHO_T}$MGL_ROOT" >&6
22406 echo "$as_me:$LINENO: checking for libmgl location" >&5
22407 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
22410 if test "x$wxUSE_SHARED" = xyes
; then
22411 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
22413 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
22417 mgl_os_candidates
="dos32/dj2"
22420 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
22421 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
22422 { (exit 1); exit 1; }; }
22428 for mgl_os_i
in $mgl_os_candidates ; do
22429 if test "x$mgl_os" = x
; then
22430 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22431 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
22432 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
22437 if test "x$mgl_lib_type" = x
; then
22438 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
22439 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
22440 mgl_lib_type
=release
22447 if test "x$mgl_os" = x
; then
22448 echo "$as_me:$LINENO: result: not found" >&5
22449 echo "${ECHO_T}not found" >&6
22450 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22451 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22452 { (exit 1); exit 1; }; }
22454 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22455 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22457 wxUSE_UNIVERSAL
="yes"
22459 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
22460 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22462 AFMINSTALL
=afminstall
22467 if test "$wxUSE_MICROWIN" = 1; then
22468 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22469 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22470 if test "x$MICROWINDOWS" = x
; then
22471 echo "$as_me:$LINENO: result: not found" >&5
22472 echo "${ECHO_T}not found" >&6
22473 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22474 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22475 { (exit 1); exit 1; }; }
22477 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22478 echo "${ECHO_T}$MICROWINDOWS" >&6
22481 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
22482 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22483 echo "${ECHO_T}MicroWindows' libraries found." >&6
22485 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22486 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22487 { (exit 1); exit 1; }; }
22490 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
22491 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22493 wxUSE_UNIVERSAL
="yes"
22495 AFMINSTALL
=afminstall
22497 GUIDIST
=MICROWIN_DIST
22499 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22502 if test "$wxUSE_X11" = 1; then
22503 echo "$as_me:$LINENO: checking for X" >&5
22504 echo $ECHO_N "checking for X... $ECHO_C" >&6
22507 # Check whether --with-x or --without-x was given.
22508 if test "${with_x+set}" = set; then
22512 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22513 if test "x$with_x" = xno
; then
22514 # The user explicitly disabled X.
22517 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
22518 # Both variables are already set.
22521 if test "${ac_cv_have_x+set}" = set; then
22522 echo $ECHO_N "(cached) $ECHO_C" >&6
22524 # One or both of the vars are not set, and there is no cached value.
22525 ac_x_includes
=no ac_x_libraries
=no
22526 rm -fr conftest.dir
22527 if mkdir conftest.dir
; then
22529 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22530 cat >Imakefile
<<'_ACEOF'
22532 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22534 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
22535 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22536 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22537 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22538 for ac_extension
in a so sl
; do
22539 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
22540 test -f $ac_im_libdir/libX11.
$ac_extension; then
22541 ac_im_usrlibdir
=$ac_im_libdir; break
22544 # Screen out bogus values from the imake configuration. They are
22545 # bogus both because they are the default anyway, and because
22546 # using them would break gcc on systems where it needs fixed includes.
22547 case $ac_im_incroot in
22549 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
22551 case $ac_im_usrlibdir in
22552 /usr
/lib
| /lib
) ;;
22553 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
22557 rm -fr conftest.dir
22560 # Standard set of common directories for X headers.
22561 # Check X11 before X11Rn because it is often a symlink to the current release.
22573 /usr/local/X11/include
22574 /usr/local/X11R6/include
22575 /usr/local/X11R5/include
22576 /usr/local/X11R4/include
22578 /usr/local/include/X11
22579 /usr/local/include/X11R6
22580 /usr/local/include/X11R5
22581 /usr/local/include/X11R4
22585 /usr/XFree86/include/X11
22589 /usr/unsupported/include
22590 /usr/athena/include
22591 /usr/local/x11r5/include
22592 /usr/lpp/Xamples/include
22594 /usr/openwin/include
22595 /usr/openwin/share/include'
22597 if test "$ac_x_includes" = no
; then
22598 # Guess where to find include files, by looking for Intrinsic.h.
22599 # First, try using that file with no special directory specified.
22600 cat >conftest.
$ac_ext <<_ACEOF
22603 cat confdefs.h
>>conftest.
$ac_ext
22604 cat >>conftest.
$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 #include <X11/Intrinsic.h>
22608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22611 grep -v '^ *+' conftest.er1
>conftest.err
22613 cat conftest.err
>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); } >/dev
/null
; then
22616 if test -s conftest.err
; then
22617 ac_cpp_err
=$ac_c_preproc_warn_flag
22618 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22625 if test -z "$ac_cpp_err"; then
22626 # We can compile using X headers with no special include directory.
22629 echo "$as_me: failed program was:" >&5
22630 sed 's/^/| /' conftest.
$ac_ext >&5
22632 for ac_dir
in $ac_x_header_dirs; do
22633 if test -r "$ac_dir/X11/Intrinsic.h"; then
22634 ac_x_includes
=$ac_dir
22639 rm -f conftest.err conftest.
$ac_ext
22640 fi # $ac_x_includes = no
22642 if test "$ac_x_libraries" = no
; then
22643 # Check for the libraries.
22644 # See if we find them without any special options.
22645 # Don't add to $LIBS permanently.
22648 cat >conftest.
$ac_ext <<_ACEOF
22651 cat confdefs.h
>>conftest.
$ac_ext
22652 cat >>conftest.
$ac_ext <<_ACEOF
22653 /* end confdefs.h. */
22654 #include <X11/Intrinsic.h>
22663 rm -f conftest.
$ac_objext conftest
$ac_exeext
22664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22665 (eval $ac_link) 2>conftest.er1
22667 grep -v '^ *+' conftest.er1
>conftest.err
22669 cat conftest.err
>&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } &&
22672 { ac_try
='test -z "$ac_c_werror_flag"
22673 || test ! -s conftest.err'
22674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22675 (eval $ac_try) 2>&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); }; } &&
22679 { ac_try
='test -s conftest$ac_exeext'
22680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22681 (eval $ac_try) 2>&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); }; }; then
22686 # We can link X programs with no special library path.
22689 echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.
$ac_ext >&5
22693 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22695 # Don't even attempt the hair of trying to link an X program!
22696 for ac_extension
in a so sl
; do
22697 if test -r $ac_dir/libXt.
$ac_extension; then
22698 ac_x_libraries
=$ac_dir
22704 rm -f conftest.err conftest.
$ac_objext \
22705 conftest
$ac_exeext conftest.
$ac_ext
22706 fi # $ac_x_libraries = no
22708 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
22709 # Didn't find X anywhere. Cache the known absence of X.
22710 ac_cv_have_x
="have_x=no"
22712 # Record where we found X for the cache.
22713 ac_cv_have_x
="have_x=yes \
22714 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22719 eval "$ac_cv_have_x"
22722 if test "$have_x" != yes; then
22723 echo "$as_me:$LINENO: result: $have_x" >&5
22724 echo "${ECHO_T}$have_x" >&6
22727 # If each of the values was on the command line, it overrides each guess.
22728 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
22729 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
22730 # Update the cache value to reflect the command line values.
22731 ac_cv_have_x
="have_x=yes \
22732 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22733 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22734 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22737 if test "$no_x" = yes; then
22738 # Not all programs may use this symbol, but it does not hurt to define it.
22740 cat >>confdefs.h
<<\_ACEOF
22741 #define X_DISPLAY_MISSING 1
22744 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22746 if test -n "$x_includes"; then
22747 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22750 # It would also be nice to do this for all -L options, not just this one.
22751 if test -n "$x_libraries"; then
22752 X_LIBS
="$X_LIBS -L$x_libraries"
22753 # For Solaris; some versions of Sun CC require a space after -R and
22754 # others require no space. Words are not sufficient . . . .
22755 case `(uname -sr) 2>/dev/null` in
22757 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22758 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22759 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22760 cat >conftest.
$ac_ext <<_ACEOF
22763 cat confdefs.h
>>conftest.
$ac_ext
22764 cat >>conftest.
$ac_ext <<_ACEOF
22765 /* end confdefs.h. */
22775 rm -f conftest.
$ac_objext conftest
$ac_exeext
22776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22777 (eval $ac_link) 2>conftest.er1
22779 grep -v '^ *+' conftest.er1
>conftest.err
22781 cat conftest.err
>&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); } &&
22784 { ac_try
='test -z "$ac_c_werror_flag"
22785 || test ! -s conftest.err'
22786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22787 (eval $ac_try) 2>&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); }; } &&
22791 { ac_try
='test -s conftest$ac_exeext'
22792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793 (eval $ac_try) 2>&5
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; }; then
22799 echo "$as_me: failed program was:" >&5
22800 sed 's/^/| /' conftest.
$ac_ext >&5
22804 rm -f conftest.err conftest.
$ac_objext \
22805 conftest
$ac_exeext conftest.
$ac_ext
22806 if test $ac_R_nospace = yes; then
22807 echo "$as_me:$LINENO: result: no" >&5
22808 echo "${ECHO_T}no" >&6
22809 X_LIBS
="$X_LIBS -R$x_libraries"
22811 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22812 cat >conftest.
$ac_ext <<_ACEOF
22815 cat confdefs.h
>>conftest.
$ac_ext
22816 cat >>conftest.
$ac_ext <<_ACEOF
22817 /* end confdefs.h. */
22827 rm -f conftest.
$ac_objext conftest
$ac_exeext
22828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22829 (eval $ac_link) 2>conftest.er1
22831 grep -v '^ *+' conftest.er1
>conftest.err
22833 cat conftest.err
>&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } &&
22836 { ac_try
='test -z "$ac_c_werror_flag"
22837 || test ! -s conftest.err'
22838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22839 (eval $ac_try) 2>&5
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); }; } &&
22843 { ac_try
='test -s conftest$ac_exeext'
22844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22845 (eval $ac_try) 2>&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); }; }; then
22851 echo "$as_me: failed program was:" >&5
22852 sed 's/^/| /' conftest.
$ac_ext >&5
22856 rm -f conftest.err conftest.
$ac_objext \
22857 conftest
$ac_exeext conftest.
$ac_ext
22858 if test $ac_R_space = yes; then
22859 echo "$as_me:$LINENO: result: yes" >&5
22860 echo "${ECHO_T}yes" >&6
22861 X_LIBS
="$X_LIBS -R $x_libraries"
22863 echo "$as_me:$LINENO: result: neither works" >&5
22864 echo "${ECHO_T}neither works" >&6
22867 LIBS
=$ac_xsave_LIBS
22871 # Check for system-dependent libraries X programs must link with.
22872 # Do this before checking for the system-independent R6 libraries
22873 # (-lICE), since we may need -lsocket or whatever for X linking.
22875 if test "$ISC" = yes; then
22876 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22878 # Martyn Johnson says this is needed for Ultrix, if the X
22879 # libraries were built with DECnet support. And Karl Berry says
22880 # the Alpha needs dnet_stub (dnet does not exist).
22881 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22882 cat >conftest.
$ac_ext <<_ACEOF
22885 cat confdefs.h
>>conftest.
$ac_ext
22886 cat >>conftest.
$ac_ext <<_ACEOF
22887 /* end confdefs.h. */
22889 /* Override any gcc2 internal prototype to avoid an error. */
22893 /* We use char because int might match the return type of a gcc2
22894 builtin and then its argument prototype would still apply. */
22895 char XOpenDisplay ();
22904 rm -f conftest.
$ac_objext conftest
$ac_exeext
22905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22906 (eval $ac_link) 2>conftest.er1
22908 grep -v '^ *+' conftest.er1
>conftest.err
22910 cat conftest.err
>&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } &&
22913 { ac_try
='test -z "$ac_c_werror_flag"
22914 || test ! -s conftest.err'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; } &&
22920 { ac_try
='test -s conftest$ac_exeext'
22921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22922 (eval $ac_try) 2>&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); }; }; then
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.
$ac_ext >&5
22931 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22932 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22933 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22934 echo $ECHO_N "(cached) $ECHO_C" >&6
22936 ac_check_lib_save_LIBS
=$LIBS
22937 LIBS
="-ldnet $LIBS"
22938 cat >conftest.
$ac_ext <<_ACEOF
22941 cat confdefs.h
>>conftest.
$ac_ext
22942 cat >>conftest.
$ac_ext <<_ACEOF
22943 /* end confdefs.h. */
22945 /* Override any gcc2 internal prototype to avoid an error. */
22949 /* We use char because int might match the return type of a gcc2
22950 builtin and then its argument prototype would still apply. */
22960 rm -f conftest.
$ac_objext conftest
$ac_exeext
22961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22962 (eval $ac_link) 2>conftest.er1
22964 grep -v '^ *+' conftest.er1
>conftest.err
22966 cat conftest.err
>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } &&
22969 { ac_try
='test -z "$ac_c_werror_flag"
22970 || test ! -s conftest.err'
22971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972 (eval $ac_try) 2>&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; } &&
22976 { ac_try
='test -s conftest$ac_exeext'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; }; then
22982 ac_cv_lib_dnet_dnet_ntoa
=yes
22984 echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.
$ac_ext >&5
22987 ac_cv_lib_dnet_dnet_ntoa
=no
22989 rm -f conftest.err conftest.
$ac_objext \
22990 conftest
$ac_exeext conftest.
$ac_ext
22991 LIBS
=$ac_check_lib_save_LIBS
22993 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22994 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22995 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22996 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22999 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23000 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23001 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23002 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23003 echo $ECHO_N "(cached) $ECHO_C" >&6
23005 ac_check_lib_save_LIBS
=$LIBS
23006 LIBS
="-ldnet_stub $LIBS"
23007 cat >conftest.
$ac_ext <<_ACEOF
23010 cat confdefs.h
>>conftest.
$ac_ext
23011 cat >>conftest.
$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23014 /* Override any gcc2 internal prototype to avoid an error. */
23018 /* We use char because int might match the return type of a gcc2
23019 builtin and then its argument prototype would still apply. */
23029 rm -f conftest.
$ac_objext conftest
$ac_exeext
23030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23031 (eval $ac_link) 2>conftest.er1
23033 grep -v '^ *+' conftest.er1
>conftest.err
23035 cat conftest.err
>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } &&
23038 { ac_try
='test -z "$ac_c_werror_flag"
23039 || test ! -s conftest.err'
23040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041 (eval $ac_try) 2>&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); }; } &&
23045 { ac_try
='test -s conftest$ac_exeext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.
$ac_ext >&5
23056 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23058 rm -f conftest.err conftest.
$ac_objext \
23059 conftest
$ac_exeext conftest.
$ac_ext
23060 LIBS
=$ac_check_lib_save_LIBS
23062 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23063 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23064 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23065 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23070 rm -f conftest.err conftest.
$ac_objext \
23071 conftest
$ac_exeext conftest.
$ac_ext
23072 LIBS
="$ac_xsave_LIBS"
23074 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23075 # to get the SysV transport functions.
23076 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23078 # The nsl library prevents programs from opening the X display
23079 # on Irix 5.2, according to T.E. Dickey.
23080 # The functions gethostbyname, getservbyname, and inet_addr are
23081 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23082 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23083 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23084 if test "${ac_cv_func_gethostbyname+set}" = set; then
23085 echo $ECHO_N "(cached) $ECHO_C" >&6
23087 cat >conftest.
$ac_ext <<_ACEOF
23090 cat confdefs.h
>>conftest.
$ac_ext
23091 cat >>conftest.
$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23093 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23095 #define gethostbyname innocuous_gethostbyname
23097 /* System header to define __stub macros and hopefully few prototypes,
23098 which can conflict with char gethostbyname (); below.
23099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23100 <limits.h> exists even on freestanding compilers. */
23103 # include <limits.h>
23105 # include <assert.h>
23108 #undef gethostbyname
23110 /* Override any gcc2 internal prototype to avoid an error. */
23115 /* We use char because int might match the return type of a gcc2
23116 builtin and then its argument prototype would still apply. */
23117 char gethostbyname ();
23118 /* The GNU C library defines this for functions which it implements
23119 to always fail with ENOSYS. Some functions are actually named
23120 something starting with __ and the normal name is an alias. */
23121 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23124 char (*f) () = gethostbyname;
23133 return f != gethostbyname;
23138 rm -f conftest.
$ac_objext conftest
$ac_exeext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23140 (eval $ac_link) 2>conftest.er1
23142 grep -v '^ *+' conftest.er1
>conftest.err
23144 cat conftest.err
>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try
='test -z "$ac_c_werror_flag"
23148 || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try
='test -s conftest$ac_exeext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_cv_func_gethostbyname
=yes
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.
$ac_ext >&5
23165 ac_cv_func_gethostbyname
=no
23167 rm -f conftest.err conftest.
$ac_objext \
23168 conftest
$ac_exeext conftest.
$ac_ext
23170 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23171 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23173 if test $ac_cv_func_gethostbyname = no
; then
23174 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23175 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23176 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23177 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 ac_check_lib_save_LIBS
=$LIBS
23181 cat >conftest.
$ac_ext <<_ACEOF
23184 cat confdefs.h
>>conftest.
$ac_ext
23185 cat >>conftest.
$ac_ext <<_ACEOF
23186 /* end confdefs.h. */
23188 /* Override any gcc2 internal prototype to avoid an error. */
23192 /* We use char because int might match the return type of a gcc2
23193 builtin and then its argument prototype would still apply. */
23194 char gethostbyname ();
23203 rm -f conftest.
$ac_objext conftest
$ac_exeext
23204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23205 (eval $ac_link) 2>conftest.er1
23207 grep -v '^ *+' conftest.er1
>conftest.err
23209 cat conftest.err
>&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); } &&
23212 { ac_try
='test -z "$ac_c_werror_flag"
23213 || test ! -s conftest.err'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; } &&
23219 { ac_try
='test -s conftest$ac_exeext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225 ac_cv_lib_nsl_gethostbyname
=yes
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.
$ac_ext >&5
23230 ac_cv_lib_nsl_gethostbyname
=no
23232 rm -f conftest.err conftest.
$ac_objext \
23233 conftest
$ac_exeext conftest.
$ac_ext
23234 LIBS
=$ac_check_lib_save_LIBS
23236 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23237 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23238 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23242 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23243 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23244 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23245 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23246 echo $ECHO_N "(cached) $ECHO_C" >&6
23248 ac_check_lib_save_LIBS
=$LIBS
23250 cat >conftest.
$ac_ext <<_ACEOF
23253 cat confdefs.h
>>conftest.
$ac_ext
23254 cat >>conftest.
$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23257 /* Override any gcc2 internal prototype to avoid an error. */
23261 /* We use char because int might match the return type of a gcc2
23262 builtin and then its argument prototype would still apply. */
23263 char gethostbyname ();
23272 rm -f conftest.
$ac_objext conftest
$ac_exeext
23273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23274 (eval $ac_link) 2>conftest.er1
23276 grep -v '^ *+' conftest.er1
>conftest.err
23278 cat conftest.err
>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); } &&
23281 { ac_try
='test -z "$ac_c_werror_flag"
23282 || test ! -s conftest.err'
23283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23284 (eval $ac_try) 2>&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); }; } &&
23288 { ac_try
='test -s conftest$ac_exeext'
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; }; then
23294 ac_cv_lib_bsd_gethostbyname
=yes
23296 echo "$as_me: failed program was:" >&5
23297 sed 's/^/| /' conftest.
$ac_ext >&5
23299 ac_cv_lib_bsd_gethostbyname
=no
23301 rm -f conftest.err conftest.
$ac_objext \
23302 conftest
$ac_exeext conftest.
$ac_ext
23303 LIBS
=$ac_check_lib_save_LIBS
23305 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23306 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23307 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23308 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23314 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23315 # socket/setsockopt and other routines are undefined under SCO ODT
23316 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23317 # on later versions), says Simon Leinen: it contains gethostby*
23318 # variants that don't use the name server (or something). -lsocket
23319 # must be given before -lnsl if both are needed. We assume that
23320 # if connect needs -lnsl, so does gethostbyname.
23321 echo "$as_me:$LINENO: checking for connect" >&5
23322 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23323 if test "${ac_cv_func_connect+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 cat >conftest.
$ac_ext <<_ACEOF
23329 cat confdefs.h
>>conftest.
$ac_ext
23330 cat >>conftest.
$ac_ext <<_ACEOF
23331 /* end confdefs.h. */
23332 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23334 #define connect innocuous_connect
23336 /* System header to define __stub macros and hopefully few prototypes,
23337 which can conflict with char connect (); below.
23338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23339 <limits.h> exists even on freestanding compilers. */
23342 # include <limits.h>
23344 # include <assert.h>
23349 /* Override any gcc2 internal prototype to avoid an error. */
23354 /* We use char because int might match the return type of a gcc2
23355 builtin and then its argument prototype would still apply. */
23357 /* The GNU C library defines this for functions which it implements
23358 to always fail with ENOSYS. Some functions are actually named
23359 something starting with __ and the normal name is an alias. */
23360 #if defined (__stub_connect) || defined (__stub___connect)
23363 char (*f) () = connect;
23372 return f != connect;
23377 rm -f conftest.
$ac_objext conftest
$ac_exeext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23379 (eval $ac_link) 2>conftest.er1
23381 grep -v '^ *+' conftest.er1
>conftest.err
23383 cat conftest.err
>&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try
='test -z "$ac_c_werror_flag"
23387 || test ! -s conftest.err'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; } &&
23393 { ac_try
='test -s conftest$ac_exeext'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; }; then
23399 ac_cv_func_connect
=yes
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.
$ac_ext >&5
23404 ac_cv_func_connect
=no
23406 rm -f conftest.err conftest.
$ac_objext \
23407 conftest
$ac_exeext conftest.
$ac_ext
23409 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23410 echo "${ECHO_T}$ac_cv_func_connect" >&6
23412 if test $ac_cv_func_connect = no
; then
23413 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23414 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23415 if test "${ac_cv_lib_socket_connect+set}" = set; then
23416 echo $ECHO_N "(cached) $ECHO_C" >&6
23418 ac_check_lib_save_LIBS
=$LIBS
23419 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23420 cat >conftest.
$ac_ext <<_ACEOF
23423 cat confdefs.h
>>conftest.
$ac_ext
23424 cat >>conftest.
$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23427 /* Override any gcc2 internal prototype to avoid an error. */
23431 /* We use char because int might match the return type of a gcc2
23432 builtin and then its argument prototype would still apply. */
23442 rm -f conftest.
$ac_objext conftest
$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444 (eval $ac_link) 2>conftest.er1
23446 grep -v '^ *+' conftest.er1
>conftest.err
23448 cat conftest.err
>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try
='test -z "$ac_c_werror_flag"
23452 || test ! -s conftest.err'
23453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454 (eval $ac_try) 2>&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); }; } &&
23458 { ac_try
='test -s conftest$ac_exeext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23464 ac_cv_lib_socket_connect
=yes
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.
$ac_ext >&5
23469 ac_cv_lib_socket_connect
=no
23471 rm -f conftest.err conftest.
$ac_objext \
23472 conftest
$ac_exeext conftest.
$ac_ext
23473 LIBS
=$ac_check_lib_save_LIBS
23475 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23476 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23477 if test $ac_cv_lib_socket_connect = yes; then
23478 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23483 # Guillermo Gomez says -lposix is necessary on A/UX.
23484 echo "$as_me:$LINENO: checking for remove" >&5
23485 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23486 if test "${ac_cv_func_remove+set}" = set; then
23487 echo $ECHO_N "(cached) $ECHO_C" >&6
23489 cat >conftest.
$ac_ext <<_ACEOF
23492 cat confdefs.h
>>conftest.
$ac_ext
23493 cat >>conftest.
$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23495 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
23496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23497 #define remove innocuous_remove
23499 /* System header to define __stub macros and hopefully few prototypes,
23500 which can conflict with char remove (); below.
23501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23502 <limits.h> exists even on freestanding compilers. */
23505 # include <limits.h>
23507 # include <assert.h>
23512 /* Override any gcc2 internal prototype to avoid an error. */
23517 /* We use char because int might match the return type of a gcc2
23518 builtin and then its argument prototype would still apply. */
23520 /* The GNU C library defines this for functions which it implements
23521 to always fail with ENOSYS. Some functions are actually named
23522 something starting with __ and the normal name is an alias. */
23523 #if defined (__stub_remove) || defined (__stub___remove)
23526 char (*f) () = remove;
23535 return f != remove;
23540 rm -f conftest.
$ac_objext conftest
$ac_exeext
23541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23542 (eval $ac_link) 2>conftest.er1
23544 grep -v '^ *+' conftest.er1
>conftest.err
23546 cat conftest.err
>&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } &&
23549 { ac_try
='test -z "$ac_c_werror_flag"
23550 || test ! -s conftest.err'
23551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23552 (eval $ac_try) 2>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); }; } &&
23556 { ac_try
='test -s conftest$ac_exeext'
23557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23558 (eval $ac_try) 2>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; }; then
23562 ac_cv_func_remove
=yes
23564 echo "$as_me: failed program was:" >&5
23565 sed 's/^/| /' conftest.
$ac_ext >&5
23567 ac_cv_func_remove
=no
23569 rm -f conftest.err conftest.
$ac_objext \
23570 conftest
$ac_exeext conftest.
$ac_ext
23572 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23573 echo "${ECHO_T}$ac_cv_func_remove" >&6
23575 if test $ac_cv_func_remove = no
; then
23576 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23577 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23578 if test "${ac_cv_lib_posix_remove+set}" = set; then
23579 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 ac_check_lib_save_LIBS
=$LIBS
23582 LIBS
="-lposix $LIBS"
23583 cat >conftest.
$ac_ext <<_ACEOF
23586 cat confdefs.h
>>conftest.
$ac_ext
23587 cat >>conftest.
$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23590 /* Override any gcc2 internal prototype to avoid an error. */
23594 /* We use char because int might match the return type of a gcc2
23595 builtin and then its argument prototype would still apply. */
23605 rm -f conftest.
$ac_objext conftest
$ac_exeext
23606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23607 (eval $ac_link) 2>conftest.er1
23609 grep -v '^ *+' conftest.er1
>conftest.err
23611 cat conftest.err
>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } &&
23614 { ac_try
='test -z "$ac_c_werror_flag"
23615 || test ! -s conftest.err'
23616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617 (eval $ac_try) 2>&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); }; } &&
23621 { ac_try
='test -s conftest$ac_exeext'
23622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23623 (eval $ac_try) 2>&5
23625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626 (exit $ac_status); }; }; then
23627 ac_cv_lib_posix_remove
=yes
23629 echo "$as_me: failed program was:" >&5
23630 sed 's/^/| /' conftest.
$ac_ext >&5
23632 ac_cv_lib_posix_remove
=no
23634 rm -f conftest.err conftest.
$ac_objext \
23635 conftest
$ac_exeext conftest.
$ac_ext
23636 LIBS
=$ac_check_lib_save_LIBS
23638 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23639 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23640 if test $ac_cv_lib_posix_remove = yes; then
23641 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23646 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23647 echo "$as_me:$LINENO: checking for shmat" >&5
23648 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23649 if test "${ac_cv_func_shmat+set}" = set; then
23650 echo $ECHO_N "(cached) $ECHO_C" >&6
23652 cat >conftest.
$ac_ext <<_ACEOF
23655 cat confdefs.h
>>conftest.
$ac_ext
23656 cat >>conftest.
$ac_ext <<_ACEOF
23657 /* end confdefs.h. */
23658 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23660 #define shmat innocuous_shmat
23662 /* System header to define __stub macros and hopefully few prototypes,
23663 which can conflict with char shmat (); below.
23664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23665 <limits.h> exists even on freestanding compilers. */
23668 # include <limits.h>
23670 # include <assert.h>
23675 /* Override any gcc2 internal prototype to avoid an error. */
23680 /* We use char because int might match the return type of a gcc2
23681 builtin and then its argument prototype would still apply. */
23683 /* The GNU C library defines this for functions which it implements
23684 to always fail with ENOSYS. Some functions are actually named
23685 something starting with __ and the normal name is an alias. */
23686 #if defined (__stub_shmat) || defined (__stub___shmat)
23689 char (*f) () = shmat;
23703 rm -f conftest.
$ac_objext conftest
$ac_exeext
23704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23705 (eval $ac_link) 2>conftest.er1
23707 grep -v '^ *+' conftest.er1
>conftest.err
23709 cat conftest.err
>&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } &&
23712 { ac_try
='test -z "$ac_c_werror_flag"
23713 || test ! -s conftest.err'
23714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23715 (eval $ac_try) 2>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); }; } &&
23719 { ac_try
='test -s conftest$ac_exeext'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; }; then
23725 ac_cv_func_shmat
=yes
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.
$ac_ext >&5
23730 ac_cv_func_shmat
=no
23732 rm -f conftest.err conftest.
$ac_objext \
23733 conftest
$ac_exeext conftest.
$ac_ext
23735 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23736 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23738 if test $ac_cv_func_shmat = no
; then
23739 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23740 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23741 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23742 echo $ECHO_N "(cached) $ECHO_C" >&6
23744 ac_check_lib_save_LIBS
=$LIBS
23746 cat >conftest.
$ac_ext <<_ACEOF
23749 cat confdefs.h
>>conftest.
$ac_ext
23750 cat >>conftest.
$ac_ext <<_ACEOF
23751 /* end confdefs.h. */
23753 /* Override any gcc2 internal prototype to avoid an error. */
23757 /* We use char because int might match the return type of a gcc2
23758 builtin and then its argument prototype would still apply. */
23768 rm -f conftest.
$ac_objext conftest
$ac_exeext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23770 (eval $ac_link) 2>conftest.er1
23772 grep -v '^ *+' conftest.er1
>conftest.err
23774 cat conftest.err
>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } &&
23777 { ac_try
='test -z "$ac_c_werror_flag"
23778 || test ! -s conftest.err'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; } &&
23784 { ac_try
='test -s conftest$ac_exeext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 ac_cv_lib_ipc_shmat
=yes
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.
$ac_ext >&5
23795 ac_cv_lib_ipc_shmat
=no
23797 rm -f conftest.err conftest.
$ac_objext \
23798 conftest
$ac_exeext conftest.
$ac_ext
23799 LIBS
=$ac_check_lib_save_LIBS
23801 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23802 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23803 if test $ac_cv_lib_ipc_shmat = yes; then
23804 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23810 # Check for libraries that X11R6 Xt/Xaw programs need.
23811 ac_save_LDFLAGS
=$LDFLAGS
23812 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23813 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23814 # check for ICE first), but we must link in the order -lSM -lICE or
23815 # we get undefined symbols. So assume we have SM if we have ICE.
23816 # These have to be linked with before -lX11, unlike the other
23817 # libraries we check for below, so use a different variable.
23818 # John Interrante, Karl Berry
23819 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23820 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23821 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23822 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 ac_check_lib_save_LIBS
=$LIBS
23825 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23826 cat >conftest.
$ac_ext <<_ACEOF
23829 cat confdefs.h
>>conftest.
$ac_ext
23830 cat >>conftest.
$ac_ext <<_ACEOF
23831 /* end confdefs.h. */
23833 /* Override any gcc2 internal prototype to avoid an error. */
23837 /* We use char because int might match the return type of a gcc2
23838 builtin and then its argument prototype would still apply. */
23839 char IceConnectionNumber ();
23843 IceConnectionNumber ();
23848 rm -f conftest.
$ac_objext conftest
$ac_exeext
23849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23850 (eval $ac_link) 2>conftest.er1
23852 grep -v '^ *+' conftest.er1
>conftest.err
23854 cat conftest.err
>&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); } &&
23857 { ac_try
='test -z "$ac_c_werror_flag"
23858 || test ! -s conftest.err'
23859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23860 (eval $ac_try) 2>&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); }; } &&
23864 { ac_try
='test -s conftest$ac_exeext'
23865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866 (eval $ac_try) 2>&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); }; }; then
23870 ac_cv_lib_ICE_IceConnectionNumber
=yes
23872 echo "$as_me: failed program was:" >&5
23873 sed 's/^/| /' conftest.
$ac_ext >&5
23875 ac_cv_lib_ICE_IceConnectionNumber
=no
23877 rm -f conftest.err conftest.
$ac_objext \
23878 conftest
$ac_exeext conftest.
$ac_ext
23879 LIBS
=$ac_check_lib_save_LIBS
23881 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23882 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23883 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23884 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23887 LDFLAGS
=$ac_save_LDFLAGS
23892 if test "$no_x" = "yes"; then
23893 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23894 echo "$as_me: error: X11 not found" >&2;}
23895 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23898 GUI_TK_LIBRARY
="$X_LIBS"
23899 TOOLKIT_INCLUDE
="$X_CFLAGS"
23900 AFMINSTALL
=afminstall
23901 COMPILED_X_PROGRAM
=0
23903 if test "$wxUSE_NANOX" = "yes"; then
23904 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23905 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23906 if test "x$MICROWIN" = x
; then
23907 echo "$as_me:$LINENO: result: not found" >&5
23908 echo "${ECHO_T}not found" >&6
23909 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23910 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23911 { (exit 1); exit 1; }; }
23913 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23914 echo "${ECHO_T}$MICROWIN" >&6
23915 cat >>confdefs.h
<<\_ACEOF
23916 #define wxUSE_NANOX 1
23922 if test "$wxUSE_UNICODE" = "yes"; then
23926 if test -z "$PKG_CONFIG"; then
23927 # Extract the first word of "pkg-config", so it can be a program name with args.
23928 set dummy pkg
-config; ac_word
=$2
23929 echo "$as_me:$LINENO: checking for $ac_word" >&5
23930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23931 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23932 echo $ECHO_N "(cached) $ECHO_C" >&6
23934 case $PKG_CONFIG in
23936 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23940 for as_dir
in $PATH
23943 test -z "$as_dir" && as_dir
=.
23944 for ac_exec_ext
in '' $ac_executable_extensions; do
23945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23946 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23953 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23957 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23959 if test -n "$PKG_CONFIG"; then
23960 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23961 echo "${ECHO_T}$PKG_CONFIG" >&6
23963 echo "$as_me:$LINENO: result: no" >&5
23964 echo "${ECHO_T}no" >&6
23969 if test "$PKG_CONFIG" = "no" ; then
23970 echo "*** The pkg-config script could not be found. Make sure it is"
23971 echo "*** in your path, or set the PKG_CONFIG environment variable"
23972 echo "*** to the full path to pkg-config."
23973 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23975 PKG_CONFIG_MIN_VERSION
=0.9.0
23976 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23977 echo "$as_me:$LINENO: checking for pangox" >&5
23978 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23980 if $PKG_CONFIG --exists "pangox" ; then
23981 echo "$as_me:$LINENO: result: yes" >&5
23982 echo "${ECHO_T}yes" >&6
23985 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23986 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23987 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
23988 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23989 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23991 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23992 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23993 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
23994 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23995 echo "${ECHO_T}$PANGOX_LIBS" >&6
23999 ## If we have a custom action on failure, don't print errors, but
24000 ## do set a variable so people can do so.
24001 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24008 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24009 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24013 if test $succeeded = yes; then
24015 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24016 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24020 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24021 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24022 { (exit 1); exit 1; }; }
24030 if test -z "$PKG_CONFIG"; then
24031 # Extract the first word of "pkg-config", so it can be a program name with args.
24032 set dummy pkg
-config; ac_word
=$2
24033 echo "$as_me:$LINENO: checking for $ac_word" >&5
24034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24035 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24036 echo $ECHO_N "(cached) $ECHO_C" >&6
24038 case $PKG_CONFIG in
24040 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24044 for as_dir
in $PATH
24047 test -z "$as_dir" && as_dir
=.
24048 for ac_exec_ext
in '' $ac_executable_extensions; do
24049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24050 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24057 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24061 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24063 if test -n "$PKG_CONFIG"; then
24064 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24065 echo "${ECHO_T}$PKG_CONFIG" >&6
24067 echo "$as_me:$LINENO: result: no" >&5
24068 echo "${ECHO_T}no" >&6
24073 if test "$PKG_CONFIG" = "no" ; then
24074 echo "*** The pkg-config script could not be found. Make sure it is"
24075 echo "*** in your path, or set the PKG_CONFIG environment variable"
24076 echo "*** to the full path to pkg-config."
24077 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24079 PKG_CONFIG_MIN_VERSION
=0.9.0
24080 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24081 echo "$as_me:$LINENO: checking for pangoft2" >&5
24082 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24084 if $PKG_CONFIG --exists "pangoft2" ; then
24085 echo "$as_me:$LINENO: result: yes" >&5
24086 echo "${ECHO_T}yes" >&6
24089 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24090 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24091 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24092 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24093 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24095 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24096 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24097 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24098 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24099 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24103 ## If we have a custom action on failure, don't print errors, but
24104 ## do set a variable so people can do so.
24105 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24112 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24113 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24117 if test $succeeded = yes; then
24119 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24120 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24124 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24125 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24126 wxUSE_PRINTING_ARCHITECTURE
="no"
24134 if test -z "$PKG_CONFIG"; then
24135 # Extract the first word of "pkg-config", so it can be a program name with args.
24136 set dummy pkg
-config; ac_word
=$2
24137 echo "$as_me:$LINENO: checking for $ac_word" >&5
24138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24139 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24140 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 case $PKG_CONFIG in
24144 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24148 for as_dir
in $PATH
24151 test -z "$as_dir" && as_dir
=.
24152 for ac_exec_ext
in '' $ac_executable_extensions; do
24153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24154 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24161 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24165 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24167 if test -n "$PKG_CONFIG"; then
24168 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24169 echo "${ECHO_T}$PKG_CONFIG" >&6
24171 echo "$as_me:$LINENO: result: no" >&5
24172 echo "${ECHO_T}no" >&6
24177 if test "$PKG_CONFIG" = "no" ; then
24178 echo "*** The pkg-config script could not be found. Make sure it is"
24179 echo "*** in your path, or set the PKG_CONFIG environment variable"
24180 echo "*** to the full path to pkg-config."
24181 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24183 PKG_CONFIG_MIN_VERSION
=0.9.0
24184 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24185 echo "$as_me:$LINENO: checking for pangoxft" >&5
24186 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24188 if $PKG_CONFIG --exists "pangoxft" ; then
24189 echo "$as_me:$LINENO: result: yes" >&5
24190 echo "${ECHO_T}yes" >&6
24193 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24194 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24195 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24196 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24197 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24199 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24200 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24201 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24202 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24203 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24207 ## If we have a custom action on failure, don't print errors, but
24208 ## do set a variable so people can do so.
24209 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24216 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24217 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24221 if test $succeeded = yes; then
24223 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24224 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24228 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24229 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24236 wxUSE_UNIVERSAL
="yes"
24238 if test "$wxUSE_NANOX" = "yes"; then
24239 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24240 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"
24241 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24243 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24246 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24251 if test "$wxUSE_MOTIF" = 1; then
24252 if test "$no_x" = yes; then
24253 # Not all programs may use this symbol, but it does not hurt to define it.
24255 cat >>confdefs.h
<<\_ACEOF
24256 #define X_DISPLAY_MISSING 1
24259 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24261 if test -n "$x_includes"; then
24262 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24265 # It would also be nice to do this for all -L options, not just this one.
24266 if test -n "$x_libraries"; then
24267 X_LIBS
="$X_LIBS -L$x_libraries"
24268 # For Solaris; some versions of Sun CC require a space after -R and
24269 # others require no space. Words are not sufficient . . . .
24270 case `(uname -sr) 2>/dev/null` in
24272 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24273 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24274 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24275 cat >conftest.
$ac_ext <<_ACEOF
24278 cat confdefs.h
>>conftest.
$ac_ext
24279 cat >>conftest.
$ac_ext <<_ACEOF
24280 /* end confdefs.h. */
24290 rm -f conftest.
$ac_objext conftest
$ac_exeext
24291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24292 (eval $ac_link) 2>conftest.er1
24294 grep -v '^ *+' conftest.er1
>conftest.err
24296 cat conftest.err
>&5
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); } &&
24299 { ac_try
='test -z "$ac_c_werror_flag"
24300 || test ! -s conftest.err'
24301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24302 (eval $ac_try) 2>&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); }; } &&
24306 { ac_try
='test -s conftest$ac_exeext'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24314 echo "$as_me: failed program was:" >&5
24315 sed 's/^/| /' conftest.
$ac_ext >&5
24319 rm -f conftest.err conftest.
$ac_objext \
24320 conftest
$ac_exeext conftest.
$ac_ext
24321 if test $ac_R_nospace = yes; then
24322 echo "$as_me:$LINENO: result: no" >&5
24323 echo "${ECHO_T}no" >&6
24324 X_LIBS
="$X_LIBS -R$x_libraries"
24326 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24327 cat >conftest.
$ac_ext <<_ACEOF
24330 cat confdefs.h
>>conftest.
$ac_ext
24331 cat >>conftest.
$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24342 rm -f conftest.
$ac_objext conftest
$ac_exeext
24343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24344 (eval $ac_link) 2>conftest.er1
24346 grep -v '^ *+' conftest.er1
>conftest.err
24348 cat conftest.err
>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } &&
24351 { ac_try
='test -z "$ac_c_werror_flag"
24352 || test ! -s conftest.err'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; } &&
24358 { ac_try
='test -s conftest$ac_exeext'
24359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360 (eval $ac_try) 2>&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; }; then
24366 echo "$as_me: failed program was:" >&5
24367 sed 's/^/| /' conftest.
$ac_ext >&5
24371 rm -f conftest.err conftest.
$ac_objext \
24372 conftest
$ac_exeext conftest.
$ac_ext
24373 if test $ac_R_space = yes; then
24374 echo "$as_me:$LINENO: result: yes" >&5
24375 echo "${ECHO_T}yes" >&6
24376 X_LIBS
="$X_LIBS -R $x_libraries"
24378 echo "$as_me:$LINENO: result: neither works" >&5
24379 echo "${ECHO_T}neither works" >&6
24382 LIBS
=$ac_xsave_LIBS
24386 # Check for system-dependent libraries X programs must link with.
24387 # Do this before checking for the system-independent R6 libraries
24388 # (-lICE), since we may need -lsocket or whatever for X linking.
24390 if test "$ISC" = yes; then
24391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24393 # Martyn Johnson says this is needed for Ultrix, if the X
24394 # libraries were built with DECnet support. And Karl Berry says
24395 # the Alpha needs dnet_stub (dnet does not exist).
24396 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24397 cat >conftest.
$ac_ext <<_ACEOF
24400 cat confdefs.h
>>conftest.
$ac_ext
24401 cat >>conftest.
$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24404 /* Override any gcc2 internal prototype to avoid an error. */
24408 /* We use char because int might match the return type of a gcc2
24409 builtin and then its argument prototype would still apply. */
24410 char XOpenDisplay ();
24419 rm -f conftest.
$ac_objext conftest
$ac_exeext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24421 (eval $ac_link) 2>conftest.er1
24423 grep -v '^ *+' conftest.er1
>conftest.err
24425 cat conftest.err
>&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); } &&
24428 { ac_try
='test -z "$ac_c_werror_flag"
24429 || test ! -s conftest.err'
24430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24431 (eval $ac_try) 2>&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); }; } &&
24435 { ac_try
='test -s conftest$ac_exeext'
24436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437 (eval $ac_try) 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; }; then
24443 echo "$as_me: failed program was:" >&5
24444 sed 's/^/| /' conftest.
$ac_ext >&5
24446 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24447 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24448 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24449 echo $ECHO_N "(cached) $ECHO_C" >&6
24451 ac_check_lib_save_LIBS
=$LIBS
24452 LIBS
="-ldnet $LIBS"
24453 cat >conftest.
$ac_ext <<_ACEOF
24456 cat confdefs.h
>>conftest.
$ac_ext
24457 cat >>conftest.
$ac_ext <<_ACEOF
24458 /* end confdefs.h. */
24460 /* Override any gcc2 internal prototype to avoid an error. */
24464 /* We use char because int might match the return type of a gcc2
24465 builtin and then its argument prototype would still apply. */
24475 rm -f conftest.
$ac_objext conftest
$ac_exeext
24476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24477 (eval $ac_link) 2>conftest.er1
24479 grep -v '^ *+' conftest.er1
>conftest.err
24481 cat conftest.err
>&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); } &&
24484 { ac_try
='test -z "$ac_c_werror_flag"
24485 || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try
='test -s conftest$ac_exeext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 ac_cv_lib_dnet_dnet_ntoa
=yes
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.
$ac_ext >&5
24502 ac_cv_lib_dnet_dnet_ntoa
=no
24504 rm -f conftest.err conftest.
$ac_objext \
24505 conftest
$ac_exeext conftest.
$ac_ext
24506 LIBS
=$ac_check_lib_save_LIBS
24508 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24509 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24510 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24511 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24514 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24515 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24516 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24517 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24520 ac_check_lib_save_LIBS
=$LIBS
24521 LIBS
="-ldnet_stub $LIBS"
24522 cat >conftest.
$ac_ext <<_ACEOF
24525 cat confdefs.h
>>conftest.
$ac_ext
24526 cat >>conftest.
$ac_ext <<_ACEOF
24527 /* end confdefs.h. */
24529 /* Override any gcc2 internal prototype to avoid an error. */
24533 /* We use char because int might match the return type of a gcc2
24534 builtin and then its argument prototype would still apply. */
24544 rm -f conftest.
$ac_objext conftest
$ac_exeext
24545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24546 (eval $ac_link) 2>conftest.er1
24548 grep -v '^ *+' conftest.er1
>conftest.err
24550 cat conftest.err
>&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); } &&
24553 { ac_try
='test -z "$ac_c_werror_flag"
24554 || test ! -s conftest.err'
24555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24556 (eval $ac_try) 2>&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); }; } &&
24560 { ac_try
='test -s conftest$ac_exeext'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.
$ac_ext >&5
24571 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24573 rm -f conftest.err conftest.
$ac_objext \
24574 conftest
$ac_exeext conftest.
$ac_ext
24575 LIBS
=$ac_check_lib_save_LIBS
24577 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24578 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24579 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24580 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24585 rm -f conftest.err conftest.
$ac_objext \
24586 conftest
$ac_exeext conftest.
$ac_ext
24587 LIBS
="$ac_xsave_LIBS"
24589 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24590 # to get the SysV transport functions.
24591 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24593 # The nsl library prevents programs from opening the X display
24594 # on Irix 5.2, according to T.E. Dickey.
24595 # The functions gethostbyname, getservbyname, and inet_addr are
24596 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24597 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24598 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24599 if test "${ac_cv_func_gethostbyname+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24602 cat >conftest.
$ac_ext <<_ACEOF
24605 cat confdefs.h
>>conftest.
$ac_ext
24606 cat >>conftest.
$ac_ext <<_ACEOF
24607 /* end confdefs.h. */
24608 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24610 #define gethostbyname innocuous_gethostbyname
24612 /* System header to define __stub macros and hopefully few prototypes,
24613 which can conflict with char gethostbyname (); below.
24614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24615 <limits.h> exists even on freestanding compilers. */
24618 # include <limits.h>
24620 # include <assert.h>
24623 #undef gethostbyname
24625 /* Override any gcc2 internal prototype to avoid an error. */
24630 /* We use char because int might match the return type of a gcc2
24631 builtin and then its argument prototype would still apply. */
24632 char gethostbyname ();
24633 /* The GNU C library defines this for functions which it implements
24634 to always fail with ENOSYS. Some functions are actually named
24635 something starting with __ and the normal name is an alias. */
24636 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24639 char (*f) () = gethostbyname;
24648 return f != gethostbyname;
24653 rm -f conftest.
$ac_objext conftest
$ac_exeext
24654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24655 (eval $ac_link) 2>conftest.er1
24657 grep -v '^ *+' conftest.er1
>conftest.err
24659 cat conftest.err
>&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); } &&
24662 { ac_try
='test -z "$ac_c_werror_flag"
24663 || test ! -s conftest.err'
24664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24665 (eval $ac_try) 2>&5
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); }; } &&
24669 { ac_try
='test -s conftest$ac_exeext'
24670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671 (eval $ac_try) 2>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); }; }; then
24675 ac_cv_func_gethostbyname
=yes
24677 echo "$as_me: failed program was:" >&5
24678 sed 's/^/| /' conftest.
$ac_ext >&5
24680 ac_cv_func_gethostbyname
=no
24682 rm -f conftest.err conftest.
$ac_objext \
24683 conftest
$ac_exeext conftest.
$ac_ext
24685 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24686 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24688 if test $ac_cv_func_gethostbyname = no
; then
24689 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24690 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24691 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24692 echo $ECHO_N "(cached) $ECHO_C" >&6
24694 ac_check_lib_save_LIBS
=$LIBS
24696 cat >conftest.
$ac_ext <<_ACEOF
24699 cat confdefs.h
>>conftest.
$ac_ext
24700 cat >>conftest.
$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24703 /* Override any gcc2 internal prototype to avoid an error. */
24707 /* We use char because int might match the return type of a gcc2
24708 builtin and then its argument prototype would still apply. */
24709 char gethostbyname ();
24718 rm -f conftest.
$ac_objext conftest
$ac_exeext
24719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24720 (eval $ac_link) 2>conftest.er1
24722 grep -v '^ *+' conftest.er1
>conftest.err
24724 cat conftest.err
>&5
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); } &&
24727 { ac_try
='test -z "$ac_c_werror_flag"
24728 || test ! -s conftest.err'
24729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24730 (eval $ac_try) 2>&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); }; } &&
24734 { ac_try
='test -s conftest$ac_exeext'
24735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24736 (eval $ac_try) 2>&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); }; }; then
24740 ac_cv_lib_nsl_gethostbyname
=yes
24742 echo "$as_me: failed program was:" >&5
24743 sed 's/^/| /' conftest.
$ac_ext >&5
24745 ac_cv_lib_nsl_gethostbyname
=no
24747 rm -f conftest.err conftest.
$ac_objext \
24748 conftest
$ac_exeext conftest.
$ac_ext
24749 LIBS
=$ac_check_lib_save_LIBS
24751 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24752 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24753 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24754 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24757 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24758 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24759 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24760 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 ac_check_lib_save_LIBS
=$LIBS
24765 cat >conftest.
$ac_ext <<_ACEOF
24768 cat confdefs.h
>>conftest.
$ac_ext
24769 cat >>conftest.
$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24772 /* Override any gcc2 internal prototype to avoid an error. */
24776 /* We use char because int might match the return type of a gcc2
24777 builtin and then its argument prototype would still apply. */
24778 char gethostbyname ();
24787 rm -f conftest.
$ac_objext conftest
$ac_exeext
24788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24789 (eval $ac_link) 2>conftest.er1
24791 grep -v '^ *+' conftest.er1
>conftest.err
24793 cat conftest.err
>&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } &&
24796 { ac_try
='test -z "$ac_c_werror_flag"
24797 || test ! -s conftest.err'
24798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799 (eval $ac_try) 2>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); }; } &&
24803 { ac_try
='test -s conftest$ac_exeext'
24804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805 (eval $ac_try) 2>&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); }; }; then
24809 ac_cv_lib_bsd_gethostbyname
=yes
24811 echo "$as_me: failed program was:" >&5
24812 sed 's/^/| /' conftest.
$ac_ext >&5
24814 ac_cv_lib_bsd_gethostbyname
=no
24816 rm -f conftest.err conftest.
$ac_objext \
24817 conftest
$ac_exeext conftest.
$ac_ext
24818 LIBS
=$ac_check_lib_save_LIBS
24820 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24821 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24822 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24829 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24830 # socket/setsockopt and other routines are undefined under SCO ODT
24831 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24832 # on later versions), says Simon Leinen: it contains gethostby*
24833 # variants that don't use the name server (or something). -lsocket
24834 # must be given before -lnsl if both are needed. We assume that
24835 # if connect needs -lnsl, so does gethostbyname.
24836 echo "$as_me:$LINENO: checking for connect" >&5
24837 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24838 if test "${ac_cv_func_connect+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 cat >conftest.
$ac_ext <<_ACEOF
24844 cat confdefs.h
>>conftest.
$ac_ext
24845 cat >>conftest.
$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24849 #define connect innocuous_connect
24851 /* System header to define __stub macros and hopefully few prototypes,
24852 which can conflict with char connect (); below.
24853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24854 <limits.h> exists even on freestanding compilers. */
24857 # include <limits.h>
24859 # include <assert.h>
24864 /* Override any gcc2 internal prototype to avoid an error. */
24869 /* We use char because int might match the return type of a gcc2
24870 builtin and then its argument prototype would still apply. */
24872 /* The GNU C library defines this for functions which it implements
24873 to always fail with ENOSYS. Some functions are actually named
24874 something starting with __ and the normal name is an alias. */
24875 #if defined (__stub_connect) || defined (__stub___connect)
24878 char (*f) () = connect;
24887 return f != connect;
24892 rm -f conftest.
$ac_objext conftest
$ac_exeext
24893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24894 (eval $ac_link) 2>conftest.er1
24896 grep -v '^ *+' conftest.er1
>conftest.err
24898 cat conftest.err
>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try
='test -z "$ac_c_werror_flag"
24902 || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try
='test -s conftest$ac_exeext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24914 ac_cv_func_connect
=yes
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.
$ac_ext >&5
24919 ac_cv_func_connect
=no
24921 rm -f conftest.err conftest.
$ac_objext \
24922 conftest
$ac_exeext conftest.
$ac_ext
24924 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24925 echo "${ECHO_T}$ac_cv_func_connect" >&6
24927 if test $ac_cv_func_connect = no
; then
24928 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24929 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24930 if test "${ac_cv_lib_socket_connect+set}" = set; then
24931 echo $ECHO_N "(cached) $ECHO_C" >&6
24933 ac_check_lib_save_LIBS
=$LIBS
24934 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24935 cat >conftest.
$ac_ext <<_ACEOF
24938 cat confdefs.h
>>conftest.
$ac_ext
24939 cat >>conftest.
$ac_ext <<_ACEOF
24940 /* end confdefs.h. */
24942 /* Override any gcc2 internal prototype to avoid an error. */
24946 /* We use char because int might match the return type of a gcc2
24947 builtin and then its argument prototype would still apply. */
24957 rm -f conftest.
$ac_objext conftest
$ac_exeext
24958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24959 (eval $ac_link) 2>conftest.er1
24961 grep -v '^ *+' conftest.er1
>conftest.err
24963 cat conftest.err
>&5
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); } &&
24966 { ac_try
='test -z "$ac_c_werror_flag"
24967 || test ! -s conftest.err'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; } &&
24973 { ac_try
='test -s conftest$ac_exeext'
24974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24975 (eval $ac_try) 2>&5
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); }; }; then
24979 ac_cv_lib_socket_connect
=yes
24981 echo "$as_me: failed program was:" >&5
24982 sed 's/^/| /' conftest.
$ac_ext >&5
24984 ac_cv_lib_socket_connect
=no
24986 rm -f conftest.err conftest.
$ac_objext \
24987 conftest
$ac_exeext conftest.
$ac_ext
24988 LIBS
=$ac_check_lib_save_LIBS
24990 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24991 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24992 if test $ac_cv_lib_socket_connect = yes; then
24993 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24998 # Guillermo Gomez says -lposix is necessary on A/UX.
24999 echo "$as_me:$LINENO: checking for remove" >&5
25000 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25001 if test "${ac_cv_func_remove+set}" = set; then
25002 echo $ECHO_N "(cached) $ECHO_C" >&6
25004 cat >conftest.
$ac_ext <<_ACEOF
25007 cat confdefs.h
>>conftest.
$ac_ext
25008 cat >>conftest.
$ac_ext <<_ACEOF
25009 /* end confdefs.h. */
25010 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25012 #define remove innocuous_remove
25014 /* System header to define __stub macros and hopefully few prototypes,
25015 which can conflict with char remove (); below.
25016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25017 <limits.h> exists even on freestanding compilers. */
25020 # include <limits.h>
25022 # include <assert.h>
25027 /* Override any gcc2 internal prototype to avoid an error. */
25032 /* We use char because int might match the return type of a gcc2
25033 builtin and then its argument prototype would still apply. */
25035 /* The GNU C library defines this for functions which it implements
25036 to always fail with ENOSYS. Some functions are actually named
25037 something starting with __ and the normal name is an alias. */
25038 #if defined (__stub_remove) || defined (__stub___remove)
25041 char (*f) () = remove;
25050 return f != remove;
25055 rm -f conftest.
$ac_objext conftest
$ac_exeext
25056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25057 (eval $ac_link) 2>conftest.er1
25059 grep -v '^ *+' conftest.er1
>conftest.err
25061 cat conftest.err
>&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); } &&
25064 { ac_try
='test -z "$ac_c_werror_flag"
25065 || test ! -s conftest.err'
25066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25067 (eval $ac_try) 2>&5
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); }; } &&
25071 { ac_try
='test -s conftest$ac_exeext'
25072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25073 (eval $ac_try) 2>&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); }; }; then
25077 ac_cv_func_remove
=yes
25079 echo "$as_me: failed program was:" >&5
25080 sed 's/^/| /' conftest.
$ac_ext >&5
25082 ac_cv_func_remove
=no
25084 rm -f conftest.err conftest.
$ac_objext \
25085 conftest
$ac_exeext conftest.
$ac_ext
25087 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25088 echo "${ECHO_T}$ac_cv_func_remove" >&6
25090 if test $ac_cv_func_remove = no
; then
25091 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25092 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25093 if test "${ac_cv_lib_posix_remove+set}" = set; then
25094 echo $ECHO_N "(cached) $ECHO_C" >&6
25096 ac_check_lib_save_LIBS
=$LIBS
25097 LIBS
="-lposix $LIBS"
25098 cat >conftest.
$ac_ext <<_ACEOF
25101 cat confdefs.h
>>conftest.
$ac_ext
25102 cat >>conftest.
$ac_ext <<_ACEOF
25103 /* end confdefs.h. */
25105 /* Override any gcc2 internal prototype to avoid an error. */
25109 /* We use char because int might match the return type of a gcc2
25110 builtin and then its argument prototype would still apply. */
25120 rm -f conftest.
$ac_objext conftest
$ac_exeext
25121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25122 (eval $ac_link) 2>conftest.er1
25124 grep -v '^ *+' conftest.er1
>conftest.err
25126 cat conftest.err
>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); } &&
25129 { ac_try
='test -z "$ac_c_werror_flag"
25130 || test ! -s conftest.err'
25131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25132 (eval $ac_try) 2>&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); }; } &&
25136 { ac_try
='test -s conftest$ac_exeext'
25137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25138 (eval $ac_try) 2>&5
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); }; }; then
25142 ac_cv_lib_posix_remove
=yes
25144 echo "$as_me: failed program was:" >&5
25145 sed 's/^/| /' conftest.
$ac_ext >&5
25147 ac_cv_lib_posix_remove
=no
25149 rm -f conftest.err conftest.
$ac_objext \
25150 conftest
$ac_exeext conftest.
$ac_ext
25151 LIBS
=$ac_check_lib_save_LIBS
25153 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25154 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25155 if test $ac_cv_lib_posix_remove = yes; then
25156 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25161 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25162 echo "$as_me:$LINENO: checking for shmat" >&5
25163 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25164 if test "${ac_cv_func_shmat+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 cat >conftest.
$ac_ext <<_ACEOF
25170 cat confdefs.h
>>conftest.
$ac_ext
25171 cat >>conftest.
$ac_ext <<_ACEOF
25172 /* end confdefs.h. */
25173 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25175 #define shmat innocuous_shmat
25177 /* System header to define __stub macros and hopefully few prototypes,
25178 which can conflict with char shmat (); below.
25179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25180 <limits.h> exists even on freestanding compilers. */
25183 # include <limits.h>
25185 # include <assert.h>
25190 /* Override any gcc2 internal prototype to avoid an error. */
25195 /* We use char because int might match the return type of a gcc2
25196 builtin and then its argument prototype would still apply. */
25198 /* The GNU C library defines this for functions which it implements
25199 to always fail with ENOSYS. Some functions are actually named
25200 something starting with __ and the normal name is an alias. */
25201 #if defined (__stub_shmat) || defined (__stub___shmat)
25204 char (*f) () = shmat;
25218 rm -f conftest.
$ac_objext conftest
$ac_exeext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25220 (eval $ac_link) 2>conftest.er1
25222 grep -v '^ *+' conftest.er1
>conftest.err
25224 cat conftest.err
>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try
='test -z "$ac_c_werror_flag"
25228 || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try
='test -s conftest$ac_exeext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240 ac_cv_func_shmat
=yes
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.
$ac_ext >&5
25245 ac_cv_func_shmat
=no
25247 rm -f conftest.err conftest.
$ac_objext \
25248 conftest
$ac_exeext conftest.
$ac_ext
25250 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25251 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25253 if test $ac_cv_func_shmat = no
; then
25254 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25255 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25256 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25257 echo $ECHO_N "(cached) $ECHO_C" >&6
25259 ac_check_lib_save_LIBS
=$LIBS
25261 cat >conftest.
$ac_ext <<_ACEOF
25264 cat confdefs.h
>>conftest.
$ac_ext
25265 cat >>conftest.
$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25268 /* Override any gcc2 internal prototype to avoid an error. */
25272 /* We use char because int might match the return type of a gcc2
25273 builtin and then its argument prototype would still apply. */
25283 rm -f conftest.
$ac_objext conftest
$ac_exeext
25284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25285 (eval $ac_link) 2>conftest.er1
25287 grep -v '^ *+' conftest.er1
>conftest.err
25289 cat conftest.err
>&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } &&
25292 { ac_try
='test -z "$ac_c_werror_flag"
25293 || test ! -s conftest.err'
25294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25295 (eval $ac_try) 2>&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; } &&
25299 { ac_try
='test -s conftest$ac_exeext'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; }; then
25305 ac_cv_lib_ipc_shmat
=yes
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.
$ac_ext >&5
25310 ac_cv_lib_ipc_shmat
=no
25312 rm -f conftest.err conftest.
$ac_objext \
25313 conftest
$ac_exeext conftest.
$ac_ext
25314 LIBS
=$ac_check_lib_save_LIBS
25316 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25317 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25318 if test $ac_cv_lib_ipc_shmat = yes; then
25319 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25325 # Check for libraries that X11R6 Xt/Xaw programs need.
25326 ac_save_LDFLAGS
=$LDFLAGS
25327 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25328 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25329 # check for ICE first), but we must link in the order -lSM -lICE or
25330 # we get undefined symbols. So assume we have SM if we have ICE.
25331 # These have to be linked with before -lX11, unlike the other
25332 # libraries we check for below, so use a different variable.
25333 # John Interrante, Karl Berry
25334 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25335 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25336 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25337 echo $ECHO_N "(cached) $ECHO_C" >&6
25339 ac_check_lib_save_LIBS
=$LIBS
25340 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25341 cat >conftest.
$ac_ext <<_ACEOF
25344 cat confdefs.h
>>conftest.
$ac_ext
25345 cat >>conftest.
$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25348 /* Override any gcc2 internal prototype to avoid an error. */
25352 /* We use char because int might match the return type of a gcc2
25353 builtin and then its argument prototype would still apply. */
25354 char IceConnectionNumber ();
25358 IceConnectionNumber ();
25363 rm -f conftest.
$ac_objext conftest
$ac_exeext
25364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25365 (eval $ac_link) 2>conftest.er1
25367 grep -v '^ *+' conftest.er1
>conftest.err
25369 cat conftest.err
>&5
25370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371 (exit $ac_status); } &&
25372 { ac_try
='test -z "$ac_c_werror_flag"
25373 || test ! -s conftest.err'
25374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25375 (eval $ac_try) 2>&5
25377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378 (exit $ac_status); }; } &&
25379 { ac_try
='test -s conftest$ac_exeext'
25380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25381 (eval $ac_try) 2>&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); }; }; then
25385 ac_cv_lib_ICE_IceConnectionNumber
=yes
25387 echo "$as_me: failed program was:" >&5
25388 sed 's/^/| /' conftest.
$ac_ext >&5
25390 ac_cv_lib_ICE_IceConnectionNumber
=no
25392 rm -f conftest.err conftest.
$ac_objext \
25393 conftest
$ac_exeext conftest.
$ac_ext
25394 LIBS
=$ac_check_lib_save_LIBS
25396 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25397 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25398 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25399 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25402 LDFLAGS
=$ac_save_LDFLAGS
25407 if test "$no_x" = "yes"; then
25408 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25409 echo "$as_me: error: X11 not found" >&2;}
25410 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25413 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
25414 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25415 AFMINSTALL
=afminstall
25416 COMPILED_X_PROGRAM
=0
25418 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25419 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25422 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25424 if test -f "$ac_dir/Xm/Xm.h"; then
25425 ac_find_includes
=$ac_dir
25430 if test "$ac_find_includes" != "" ; then
25431 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25432 echo "${ECHO_T}found in $ac_find_includes" >&6
25434 if test "x$ac_find_includes" = "x/usr/include"; then
25435 ac_path_to_include
=""
25437 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25439 if test $result = 0; then
25440 ac_path_to_include
=""
25442 ac_path_to_include
=" -I$ac_find_includes"
25446 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25448 cat >conftest.
$ac_ext <<_ACEOF
25451 cat confdefs.h
>>conftest.
$ac_ext
25452 cat >>conftest.
$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25462 version = xmUseVersion;
25468 rm -f conftest.
$ac_objext
25469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25470 (eval $ac_compile) 2>conftest.er1
25472 grep -v '^ *+' conftest.er1
>conftest.err
25474 cat conftest.err
>&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); } &&
25477 { ac_try
='test -z "$ac_c_werror_flag"
25478 || test ! -s conftest.err'
25479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480 (eval $ac_try) 2>&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); }; } &&
25484 { ac_try
='test -s conftest.$ac_objext'
25485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25486 (eval $ac_try) 2>&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); }; }; then
25491 echo "$as_me:$LINENO: result: found in default search path" >&5
25492 echo "${ECHO_T}found in default search path" >&6
25493 COMPILED_X_PROGRAM
=1
25496 echo "$as_me: failed program was:" >&5
25497 sed 's/^/| /' conftest.
$ac_ext >&5
25500 echo "$as_me:$LINENO: result: no" >&5
25501 echo "${ECHO_T}no" >&6
25502 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25503 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25504 { (exit 1); exit 1; }; }
25508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25511 if test "$COMPILED_X_PROGRAM" = 0; then
25512 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25513 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25516 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25518 for ac_extension
in a so sl dylib
; do
25519 if test -f "$ac_dir/libXm.$ac_extension"; then
25520 ac_find_libraries
=$ac_dir
25526 if test "$ac_find_libraries" != "" ; then
25527 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25528 echo "${ECHO_T}found at $ac_find_libraries" >&6
25531 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25533 if test $result = 0; then
25536 ac_path_to_link
=" -L$ac_find_libraries"
25539 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25541 save_CFLAGS
=$CFLAGS
25542 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25544 cat >conftest.
$ac_ext <<_ACEOF
25547 cat confdefs.h
>>conftest.
$ac_ext
25548 cat >>conftest.
$ac_ext <<_ACEOF
25549 /* end confdefs.h. */
25558 version = xmUseVersion;
25564 rm -f conftest.
$ac_objext
25565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25566 (eval $ac_compile) 2>conftest.er1
25568 grep -v '^ *+' conftest.er1
>conftest.err
25570 cat conftest.err
>&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try
='test -z "$ac_c_werror_flag"
25574 || test ! -s conftest.err'
25575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25576 (eval $ac_try) 2>&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); }; } &&
25580 { ac_try
='test -s conftest.$ac_objext'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; }; then
25587 echo "$as_me:$LINENO: result: found in default search path" >&5
25588 echo "${ECHO_T}found in default search path" >&6
25589 COMPILED_X_PROGRAM
=1
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.
$ac_ext >&5
25596 echo "$as_me:$LINENO: result: no" >&5
25597 echo "${ECHO_T}no" >&6
25598 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25599 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25600 { (exit 1); exit 1; }; }
25604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25606 CFLAGS
=$save_CFLAGS
25610 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25611 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25615 for libp
in "" " -lXp"; do
25616 if test "$libs_found" = "0"; then
25617 for libsm_ice
in "" " -lSM -lICE"; do
25618 if test "$libs_found" = "0"; then
25620 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25621 save_CFLAGS
=$CFLAGS
25622 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25624 cat >conftest.
$ac_ext <<_ACEOF
25627 cat confdefs.h
>>conftest.
$ac_ext
25628 cat >>conftest.
$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25632 #include <Xm/List.h>
25638 XmString string = NULL;
25641 XmListAddItem(w, string, position);
25647 rm -f conftest.
$ac_objext conftest
$ac_exeext
25648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25649 (eval $ac_link) 2>conftest.er1
25651 grep -v '^ *+' conftest.er1
>conftest.err
25653 cat conftest.err
>&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } &&
25656 { ac_try
='test -z "$ac_c_werror_flag"
25657 || test ! -s conftest.err'
25658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25659 (eval $ac_try) 2>&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); }; } &&
25663 { ac_try
='test -s conftest$ac_exeext'
25664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665 (eval $ac_try) 2>&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; }; then
25671 libsm_ice_link
="$libsm_ice"
25672 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25673 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25677 echo "$as_me: failed program was:" >&5
25678 sed 's/^/| /' conftest.
$ac_ext >&5
25683 rm -f conftest.err conftest.
$ac_objext \
25684 conftest
$ac_exeext conftest.
$ac_ext
25687 CFLAGS
=$save_CFLAGS
25693 if test "$libs_found" = "0"; then
25694 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25695 echo "${ECHO_T}can't find the right libraries" >&6
25696 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25697 echo "$as_me: error: can't link a simple motif program" >&2;}
25698 { (exit 1); exit 1; }; }
25701 save_CFLAGS
=$CFLAGS
25702 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25703 echo "$as_me:$LINENO: checking for Motif 2" >&5
25704 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25705 cat >conftest.
$ac_ext <<_ACEOF
25708 cat confdefs.h
>>conftest.
$ac_ext
25709 cat >>conftest.
$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25718 #if XmVersion < 2000
25719 #error "Not Motif 2"
25726 rm -f conftest.
$ac_objext
25727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25728 (eval $ac_compile) 2>conftest.er1
25730 grep -v '^ *+' conftest.er1
>conftest.err
25732 cat conftest.err
>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); } &&
25735 { ac_try
='test -z "$ac_c_werror_flag"
25736 || test ! -s conftest.err'
25737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25738 (eval $ac_try) 2>&5
25740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741 (exit $ac_status); }; } &&
25742 { ac_try
='test -s conftest.$ac_objext'
25743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25744 (eval $ac_try) 2>&5
25746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747 (exit $ac_status); }; }; then
25749 cat >>confdefs.h
<<\_ACEOF
25750 #define __WXMOTIF20__ 1
25753 echo "$as_me:$LINENO: result: found" >&5
25754 echo "${ECHO_T}found" >&6
25757 echo "$as_me: failed program was:" >&5
25758 sed 's/^/| /' conftest.
$ac_ext >&5
25761 cat >>confdefs.h
<<\_ACEOF
25762 #define __WXMOTIF20__ 0
25765 echo "$as_me:$LINENO: result: not found" >&5
25766 echo "${ECHO_T}not found" >&6
25769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25770 CFLAGS
=$save_CFLAGS
25772 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25773 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25778 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25779 if test "$wxUSE_LIBXPM" = "sys"; then
25780 echo "$as_me:$LINENO: checking for Xpm library" >&5
25781 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25784 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25786 for ac_extension
in a so sl dylib
; do
25787 if test -f "$ac_dir/libXpm.$ac_extension"; then
25788 ac_find_libraries
=$ac_dir
25794 if test "$ac_find_libraries" != "" ; then
25796 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25798 if test $result = 0; then
25801 ac_path_to_link
=" -L$ac_find_libraries"
25804 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25805 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25806 echo "${ECHO_T}found at $ac_find_libraries" >&6
25808 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25809 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25810 if test "${wx_cv_x11_xpm_h+set}" = set; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 save_CFLAGS
=$CFLAGS
25815 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25817 cat >conftest.
$ac_ext <<_ACEOF
25820 cat confdefs.h
>>conftest.
$ac_ext
25821 cat >>conftest.
$ac_ext <<_ACEOF
25822 /* end confdefs.h. */
25824 #include <X11/xpm.h>
25831 version = XpmLibraryVersion();
25837 rm -f conftest.
$ac_objext
25838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25839 (eval $ac_compile) 2>conftest.er1
25841 grep -v '^ *+' conftest.er1
>conftest.err
25843 cat conftest.err
>&5
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } &&
25846 { ac_try
='test -z "$ac_c_werror_flag"
25847 || test ! -s conftest.err'
25848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25849 (eval $ac_try) 2>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); }; } &&
25853 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
25859 wx_cv_x11_xpm_h
=yes
25861 echo "$as_me: failed program was:" >&5
25862 sed 's/^/| /' conftest.
$ac_ext >&5
25867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25869 CFLAGS
=$save_CFLAGS
25873 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25874 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25876 if test $wx_cv_x11_xpm_h = "yes"; then
25877 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
25878 cat >>confdefs.h
<<\_ACEOF
25879 #define wxHAVE_LIB_XPM 1
25883 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25884 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25890 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25891 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25892 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25895 ac_check_lib_save_LIBS
=$LIBS
25896 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25897 cat >conftest.
$ac_ext <<_ACEOF
25900 cat confdefs.h
>>conftest.
$ac_ext
25901 cat >>conftest.
$ac_ext <<_ACEOF
25902 /* end confdefs.h. */
25904 /* Override any gcc2 internal prototype to avoid an error. */
25908 /* We use char because int might match the return type of a gcc2
25909 builtin and then its argument prototype would still apply. */
25910 char XShapeQueryExtension ();
25914 XShapeQueryExtension ();
25919 rm -f conftest.
$ac_objext conftest
$ac_exeext
25920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25921 (eval $ac_link) 2>conftest.er1
25923 grep -v '^ *+' conftest.er1
>conftest.err
25925 cat conftest.err
>&5
25926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25927 (exit $ac_status); } &&
25928 { ac_try
='test -z "$ac_c_werror_flag"
25929 || test ! -s conftest.err'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; } &&
25935 { ac_try
='test -s conftest$ac_exeext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25941 ac_cv_lib_Xext_XShapeQueryExtension
=yes
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.
$ac_ext >&5
25946 ac_cv_lib_Xext_XShapeQueryExtension
=no
25948 rm -f conftest.err conftest.
$ac_objext \
25949 conftest
$ac_exeext conftest.
$ac_ext
25950 LIBS
=$ac_check_lib_save_LIBS
25952 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
25953 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
25954 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
25956 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
25962 if test "$wxHAVE_XEXT_LIB" = 1; then
25963 save_CFLAGS
="$CFLAGS"
25964 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25966 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25967 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25968 cat >conftest.
$ac_ext <<_ACEOF
25971 cat confdefs.h
>>conftest.
$ac_ext
25972 cat >>conftest.
$ac_ext <<_ACEOF
25973 /* end confdefs.h. */
25975 #include <X11/Xlib.h>
25976 #include <X11/extensions/shape.h>
25982 int dummy1, dummy2;
25983 XShapeQueryExtension((Display*)NULL,
25984 (int*)NULL, (int*)NULL);
25990 rm -f conftest.
$ac_objext
25991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25992 (eval $ac_compile) 2>conftest.er1
25994 grep -v '^ *+' conftest.er1
>conftest.err
25996 cat conftest.err
>&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } &&
25999 { ac_try
='test -z "$ac_c_werror_flag"
26000 || test ! -s conftest.err'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; } &&
26006 { ac_try
='test -s conftest.$ac_objext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26013 cat >>confdefs.h
<<\_ACEOF
26014 #define HAVE_XSHAPE 1
26017 echo "$as_me:$LINENO: result: found" >&5
26018 echo "${ECHO_T}found" >&6
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.
$ac_ext >&5
26025 echo "$as_me:$LINENO: result: not found" >&5
26026 echo "${ECHO_T}not found" >&6
26029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26030 CFLAGS
="$save_CFLAGS"
26035 if test "$wxUSE_MAC" = 1; then
26036 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26037 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26038 if test "$GCC" = yes; then
26039 echo "$as_me:$LINENO: result: gcc" >&5
26040 echo "${ECHO_T}gcc" >&6
26041 CPPFLAGS_PASCAL
="-fpascal-strings"
26042 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26043 echo "$as_me:$LINENO: result: xlc" >&5
26044 echo "${ECHO_T}xlc" >&6
26045 CPPFLAGS_PASCAL
="-qmacpstr"
26047 echo "$as_me:$LINENO: result: none" >&5
26048 echo "${ECHO_T}none" >&6
26051 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26053 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26056 WXBASEPORT
="_carbon"
26059 if test "$wxUSE_COCOA" = 1; then
26060 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26065 if test "$wxUSE_PM" = 1; then
26070 if test "$TOOLKIT" = "PM" ; then
26073 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26076 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26078 if test "$wxUSE_UNIVERSAL" = "yes"; then
26079 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26081 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26082 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26084 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26085 if test "$wxUSE_X11" = 1; then
26086 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26088 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26090 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26093 ALL_OBJECTS
="\$(GUIOBJS)"
26094 ALL_SOURCES
="\$(ALL_SOURCES)"
26095 ALL_HEADERS
="\$(ALL_HEADERS)"
26098 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26100 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26101 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26104 if test "$wxUSE_HTML" = "yes"; then
26105 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26108 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26109 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26111 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26112 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26114 if test "$wxUSE_LIBPNG" = "builtin" ; then
26115 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26118 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26119 DISTDIR
="wx\$(TOOLKIT)"
26125 if test "$USE_WIN32" = 1 ; then
26126 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26127 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26131 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26132 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26135 ALL_SOURCES
="\$(ALL_SOURCES)"
26136 ALL_HEADERS
="\$(ALL_HEADERS)"
26138 PORT_FILES
="\${top_srcdir}/src/files.lst"
26140 GUIDIST
="BASE_DIST"
26150 if test "$TOOLKIT" != "MSW" ; then
26152 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26154 if test "${ac_cv_header_sql_h+set}" = set; then
26155 echo "$as_me:$LINENO: checking for sql.h" >&5
26156 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26157 if test "${ac_cv_header_sql_h+set}" = set; then
26158 echo $ECHO_N "(cached) $ECHO_C" >&6
26160 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26161 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26163 # Is the header compilable?
26164 echo "$as_me:$LINENO: checking sql.h usability" >&5
26165 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26166 cat >conftest.
$ac_ext <<_ACEOF
26169 cat confdefs.h
>>conftest.
$ac_ext
26170 cat >>conftest.
$ac_ext <<_ACEOF
26171 /* end confdefs.h. */
26172 $ac_includes_default
26175 rm -f conftest.
$ac_objext
26176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26177 (eval $ac_compile) 2>conftest.er1
26179 grep -v '^ *+' conftest.er1
>conftest.err
26181 cat conftest.err
>&5
26182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26183 (exit $ac_status); } &&
26184 { ac_try
='test -z "$ac_c_werror_flag"
26185 || test ! -s conftest.err'
26186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26187 (eval $ac_try) 2>&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); }; } &&
26191 { ac_try
='test -s conftest.$ac_objext'
26192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26193 (eval $ac_try) 2>&5
26195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26196 (exit $ac_status); }; }; then
26197 ac_header_compiler
=yes
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.
$ac_ext >&5
26202 ac_header_compiler
=no
26204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26206 echo "${ECHO_T}$ac_header_compiler" >&6
26208 # Is the header present?
26209 echo "$as_me:$LINENO: checking sql.h presence" >&5
26210 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26211 cat >conftest.
$ac_ext <<_ACEOF
26214 cat confdefs.h
>>conftest.
$ac_ext
26215 cat >>conftest.
$ac_ext <<_ACEOF
26216 /* end confdefs.h. */
26219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26222 grep -v '^ *+' conftest.er1
>conftest.err
26224 cat conftest.err
>&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } >/dev
/null
; then
26227 if test -s conftest.err
; then
26228 ac_cpp_err
=$ac_c_preproc_warn_flag
26229 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26236 if test -z "$ac_cpp_err"; then
26237 ac_header_preproc
=yes
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.
$ac_ext >&5
26242 ac_header_preproc
=no
26244 rm -f conftest.err conftest.
$ac_ext
26245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26246 echo "${ECHO_T}$ac_header_preproc" >&6
26248 # So? What about this header?
26249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26251 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26252 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26253 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26254 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26255 ac_header_preproc
=yes
26258 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26259 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26260 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26261 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26262 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26263 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26264 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26265 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26266 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26267 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26268 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26269 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26272 ## ----------------------------------------- ##
26273 ## Report this to wx-dev@lists.wxwindows.org ##
26274 ## ----------------------------------------- ##
26277 sed "s/^/$as_me: WARNING: /" >&2
26280 echo "$as_me:$LINENO: checking for sql.h" >&5
26281 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26282 if test "${ac_cv_header_sql_h+set}" = set; then
26283 echo $ECHO_N "(cached) $ECHO_C" >&6
26285 ac_cv_header_sql_h
=$ac_header_preproc
26287 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26288 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26291 if test $ac_cv_header_sql_h = yes; then
26296 if test "x$found_sql_h" = "x1" ; then
26297 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26298 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26299 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 ac_check_lib_save_LIBS
=$LIBS
26303 LIBS
="-liodbc $LIBS"
26304 cat >conftest.
$ac_ext <<_ACEOF
26307 cat confdefs.h
>>conftest.
$ac_ext
26308 cat >>conftest.
$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26311 /* Override any gcc2 internal prototype to avoid an error. */
26315 /* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26317 char SQLAllocEnv ();
26326 rm -f conftest.
$ac_objext conftest
$ac_exeext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26328 (eval $ac_link) 2>conftest.er1
26330 grep -v '^ *+' conftest.er1
>conftest.err
26332 cat conftest.err
>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try
='test -z "$ac_c_werror_flag"
26336 || test ! -s conftest.err'
26337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26338 (eval $ac_try) 2>&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); }; } &&
26342 { ac_try
='test -s conftest$ac_exeext'
26343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26344 (eval $ac_try) 2>&5
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); }; }; then
26348 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26350 echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.
$ac_ext >&5
26353 ac_cv_lib_iodbc_SQLAllocEnv
=no
26355 rm -f conftest.err conftest.
$ac_objext \
26356 conftest
$ac_exeext conftest.
$ac_ext
26357 LIBS
=$ac_check_lib_save_LIBS
26359 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26360 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26361 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26362 ODBC_LINK
=" -liodbc"
26365 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26366 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26367 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 ac_check_lib_save_LIBS
=$LIBS
26371 LIBS
="-lunixodbc $LIBS"
26372 cat >conftest.
$ac_ext <<_ACEOF
26375 cat confdefs.h
>>conftest.
$ac_ext
26376 cat >>conftest.
$ac_ext <<_ACEOF
26377 /* end confdefs.h. */
26379 /* Override any gcc2 internal prototype to avoid an error. */
26383 /* We use char because int might match the return type of a gcc2
26384 builtin and then its argument prototype would still apply. */
26385 char SQLAllocEnv ();
26394 rm -f conftest.
$ac_objext conftest
$ac_exeext
26395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26396 (eval $ac_link) 2>conftest.er1
26398 grep -v '^ *+' conftest.er1
>conftest.err
26400 cat conftest.err
>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); } &&
26403 { ac_try
='test -z "$ac_c_werror_flag"
26404 || test ! -s conftest.err'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; } &&
26410 { ac_try
='test -s conftest$ac_exeext'
26411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26412 (eval $ac_try) 2>&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); }; }; then
26416 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26418 echo "$as_me: failed program was:" >&5
26419 sed 's/^/| /' conftest.
$ac_ext >&5
26421 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26423 rm -f conftest.err conftest.
$ac_objext \
26424 conftest
$ac_exeext conftest.
$ac_ext
26425 LIBS
=$ac_check_lib_save_LIBS
26427 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26428 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26429 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26430 ODBC_LINK
=" -lunixodbc"
26433 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26434 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26435 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26438 ac_check_lib_save_LIBS
=$LIBS
26439 LIBS
="-lodbc $LIBS"
26440 cat >conftest.
$ac_ext <<_ACEOF
26443 cat confdefs.h
>>conftest.
$ac_ext
26444 cat >>conftest.
$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26447 /* Override any gcc2 internal prototype to avoid an error. */
26451 /* We use char because int might match the return type of a gcc2
26452 builtin and then its argument prototype would still apply. */
26453 char SQLAllocEnv ();
26462 rm -f conftest.
$ac_objext conftest
$ac_exeext
26463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26464 (eval $ac_link) 2>conftest.er1
26466 grep -v '^ *+' conftest.er1
>conftest.err
26468 cat conftest.err
>&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); } &&
26471 { ac_try
='test -z "$ac_c_werror_flag"
26472 || test ! -s conftest.err'
26473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26474 (eval $ac_try) 2>&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); }; } &&
26478 { ac_try
='test -s conftest$ac_exeext'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; }; then
26484 ac_cv_lib_odbc_SQLAllocEnv
=yes
26486 echo "$as_me: failed program was:" >&5
26487 sed 's/^/| /' conftest.
$ac_ext >&5
26489 ac_cv_lib_odbc_SQLAllocEnv
=no
26491 rm -f conftest.err conftest.
$ac_objext \
26492 conftest
$ac_exeext conftest.
$ac_ext
26493 LIBS
=$ac_check_lib_save_LIBS
26495 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26496 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26497 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26498 ODBC_LINK
=" -lodbc"
26508 if test "x$ODBC_LINK" = "x" ; then
26509 if test "$wxUSE_ODBC" = "sys" ; then
26510 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26511 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26512 { (exit 1); exit 1; }; }
26514 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26515 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26522 if test "$wxUSE_ODBC" != "no" ; then
26523 cat >>confdefs.h
<<\_ACEOF
26524 #define wxUSE_ODBC 1
26527 if test "$wxUSE_ODBC" = "builtin" ; then
26528 cat >>confdefs.h
<<\_ACEOF
26529 #define wxUSE_BUILTIN_IODBC 1
26533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26535 WXODBCFLAG
="-D_IODBC_"
26539 if test "$wxUSE_REGEX" = "builtin" ; then
26540 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
26542 if test "$wxUSE_ZLIB" = "builtin" ; then
26543 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
26548 if test "$wxUSE_OPENGL" = "yes"; then
26549 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26550 OPENGL_LIBS
="-framework OpenGL -framework AGL"
26551 elif test "$wxUSE_MSW" = 1; then
26552 OPENGL_LIBS
="-lopengl32 -lglu32"
26557 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26559 if test -f "$ac_dir/GL/gl.h"; then
26560 ac_find_includes
=$ac_dir
26565 if test "$ac_find_includes" != "" ; then
26566 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26567 echo "${ECHO_T}found in $ac_find_includes" >&6
26569 if test "x$ac_find_includes" = "x/usr/include"; then
26570 ac_path_to_include
=""
26572 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
26574 if test $result = 0; then
26575 ac_path_to_include
=""
26577 ac_path_to_include
=" -I$ac_find_includes"
26581 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
26584 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26585 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26586 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26587 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26588 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26591 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26593 # Is the header compilable?
26594 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26595 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26596 cat >conftest.
$ac_ext <<_ACEOF
26599 cat confdefs.h
>>conftest.
$ac_ext
26600 cat >>conftest.
$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602 $ac_includes_default
26605 rm -f conftest.
$ac_objext
26606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26607 (eval $ac_compile) 2>conftest.er1
26609 grep -v '^ *+' conftest.er1
>conftest.err
26611 cat conftest.err
>&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); } &&
26614 { ac_try
='test -z "$ac_c_werror_flag"
26615 || test ! -s conftest.err'
26616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617 (eval $ac_try) 2>&5
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); }; } &&
26621 { ac_try
='test -s conftest.$ac_objext'
26622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26623 (eval $ac_try) 2>&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); }; }; then
26627 ac_header_compiler
=yes
26629 echo "$as_me: failed program was:" >&5
26630 sed 's/^/| /' conftest.
$ac_ext >&5
26632 ac_header_compiler
=no
26634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26636 echo "${ECHO_T}$ac_header_compiler" >&6
26638 # Is the header present?
26639 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26640 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26641 cat >conftest.
$ac_ext <<_ACEOF
26644 cat confdefs.h
>>conftest.
$ac_ext
26645 cat >>conftest.
$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26650 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26652 grep -v '^ *+' conftest.er1
>conftest.err
26654 cat conftest.err
>&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } >/dev
/null
; then
26657 if test -s conftest.err
; then
26658 ac_cpp_err
=$ac_c_preproc_warn_flag
26659 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26666 if test -z "$ac_cpp_err"; then
26667 ac_header_preproc
=yes
26669 echo "$as_me: failed program was:" >&5
26670 sed 's/^/| /' conftest.
$ac_ext >&5
26672 ac_header_preproc
=no
26674 rm -f conftest.err conftest.
$ac_ext
26675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26676 echo "${ECHO_T}$ac_header_preproc" >&6
26678 # So? What about this header?
26679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26681 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26682 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26683 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
26684 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
26685 ac_header_preproc
=yes
26688 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26689 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26690 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26691 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26692 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
26693 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
26694 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
26695 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26696 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26697 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26698 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
26699 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
26702 ## ----------------------------------------- ##
26703 ## Report this to wx-dev@lists.wxwindows.org ##
26704 ## ----------------------------------------- ##
26707 sed "s/^/$as_me: WARNING: /" >&2
26710 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26711 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26712 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 ac_cv_header_GL_gl_h
=$ac_header_preproc
26717 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26718 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26721 if test $ac_cv_header_GL_gl_h = yes; then
26725 echo "$as_me:$LINENO: checking for -lGL" >&5
26726 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
26729 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26731 for ac_extension
in a so sl dylib
; do
26732 if test -f "$ac_dir/libGL.$ac_extension"; then
26733 ac_find_libraries
=$ac_dir
26739 if test "$ac_find_libraries" != "" ; then
26741 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26743 if test $result = 0; then
26746 ac_path_to_link
=" -L$ac_find_libraries"
26749 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26750 LDFLAGS_GL
="$ac_path_to_link"
26755 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26757 for ac_extension
in a so sl dylib
; do
26758 if test -f "$ac_dir/libGLU.$ac_extension"; then
26759 ac_find_libraries
=$ac_dir
26765 if test "$ac_find_libraries" != "" ; then
26767 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26769 if test $result = 0; then
26772 ac_path_to_link
=" -L$ac_find_libraries"
26775 if test "$ac_path_to_link" != " -L/usr/lib" -a \
26776 "$ac_path_to_link" != "$LDFLAGS_GL"; then
26777 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
26781 OPENGL_LIBS
="-lGL -lGLU"
26782 echo "$as_me:$LINENO: result: yes" >&5
26783 echo "${ECHO_T}yes" >&6
26787 if test "$found_gl" != 1; then
26788 echo "$as_me:$LINENO: result: no" >&5
26789 echo "${ECHO_T}no" >&6
26790 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
26791 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
26794 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26796 for ac_extension
in a so sl dylib
; do
26797 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
26798 ac_find_libraries
=$ac_dir
26804 if test "$ac_find_libraries" != "" ; then
26806 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26808 if test $result = 0; then
26811 ac_path_to_link
=" -L$ac_find_libraries"
26814 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
26815 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
26816 echo "$as_me:$LINENO: result: yes" >&5
26817 echo "${ECHO_T}yes" >&6
26819 echo "$as_me:$LINENO: result: no" >&5
26820 echo "${ECHO_T}no" >&6
26828 if test "x$OPENGL_LIBS" = "x"; then
26829 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
26830 echo "$as_me: error: OpenGL libraries not available" >&2;}
26831 { (exit 1); exit 1; }; }
26835 if test "$wxUSE_OPENGL" = "yes"; then
26837 cat >>confdefs.h
<<\_ACEOF
26838 #define wxUSE_OPENGL 1
26841 cat >>confdefs.h
<<\_ACEOF
26842 #define wxUSE_GLCANVAS 1
26845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
26849 if test -z "$TOOLKIT_VPATH" ; then
26850 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
26853 if test -n "$TOOLKIT" ; then
26854 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
26858 lib_unicode_suffix
=
26859 if test "$wxUSE_UNICODE" = "yes"; then
26860 lib_unicode_suffix
=u
26866 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
26872 if test "$wxUSE_DEBUG_INFO" = "yes"; then
26876 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
26878 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
26879 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
26881 if test "$cross_compiling" = "yes"; then
26882 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
26883 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
26884 HOST_SUFFIX
="-${host_alias}"
26887 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
26888 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
26889 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
26890 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26892 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26893 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26895 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26896 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26897 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26898 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26901 *-*-cygwin* | *-*-mingw32* )
26902 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26903 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26908 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26909 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26911 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26912 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26913 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26914 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26916 if test "$wxUSE_MAC" = 1; then
26917 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26918 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26923 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
26924 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
26926 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
26927 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
26929 if test "$wxUSE_OPENGL" = "yes"; then
26930 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26931 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26936 if test "$wxUSE_SHARED" = "yes"; then
26938 *-pc-os2_emx | *-pc-os2-emx | \
26941 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26942 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26948 if test "$wxUSE_SHARED" = "yes"; then
26952 found_versioning
=no
26955 if test $found_versioning = no
; then
26956 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
26957 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
26958 if test "${wx_cv_version_script+set}" = set; then
26959 echo $ECHO_N "(cached) $ECHO_C" >&6
26962 echo "VER_1 { *; };" >conftest.sym
26963 echo "int main() { return 0; }" >conftest.cpp
26966 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
26967 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
26968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26969 (eval $ac_try) 2>&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); }; } ; then
26973 if test -s conftest.stderr
; then
26974 wx_cv_version_script
=no
26976 wx_cv_version_script
=yes
26979 wx_cv_version_script
=no
26981 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
26984 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
26985 echo "${ECHO_T}$wx_cv_version_script" >&6
26986 if test $wx_cv_version_script = yes ; then
26987 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
26993 *-*-linux* | *-*-gnu* )
26994 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
26998 if test "$GCC" = yes ; then
26999 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27001 saveLdflags
="$LDFLAGS"
27002 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27003 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27004 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27005 cat >conftest.
$ac_ext <<_ACEOF
27008 cat confdefs.h
>>conftest.
$ac_ext
27009 cat >>conftest.
$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27020 rm -f conftest.
$ac_objext conftest
$ac_exeext
27021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27022 (eval $ac_link) 2>conftest.er1
27024 grep -v '^ *+' conftest.er1
>conftest.err
27026 cat conftest.err
>&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } &&
27029 { ac_try
='test -z "$ac_c_werror_flag"
27030 || test ! -s conftest.err'
27031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27032 (eval $ac_try) 2>&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); }; } &&
27036 { ac_try
='test -s conftest$ac_exeext'
27037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27038 (eval $ac_try) 2>&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); }; }; then
27043 echo "$as_me:$LINENO: result: yes" >&5
27044 echo "${ECHO_T}yes" >&6
27045 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27048 echo "$as_me: failed program was:" >&5
27049 sed 's/^/| /' conftest.
$ac_ext >&5
27052 echo "$as_me:$LINENO: result: no" >&5
27053 echo "${ECHO_T}no" >&6
27054 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27055 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27056 LDFLAGS
="$saveLdflags -Wl,-R,/"
27057 cat >conftest.
$ac_ext <<_ACEOF
27060 cat confdefs.h
>>conftest.
$ac_ext
27061 cat >>conftest.
$ac_ext <<_ACEOF
27062 /* end confdefs.h. */
27072 rm -f conftest.
$ac_objext conftest
$ac_exeext
27073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27074 (eval $ac_link) 2>conftest.er1
27076 grep -v '^ *+' conftest.er1
>conftest.err
27078 cat conftest.err
>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } &&
27081 { ac_try
='test -z "$ac_c_werror_flag"
27082 || test ! -s conftest.err'
27083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27084 (eval $ac_try) 2>&5
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); }; } &&
27088 { ac_try
='test -s conftest$ac_exeext'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; }; then
27095 echo "$as_me:$LINENO: result: yes" >&5
27096 echo "${ECHO_T}yes" >&6
27097 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27099 echo "$as_me: failed program was:" >&5
27100 sed 's/^/| /' conftest.
$ac_ext >&5
27103 echo "$as_me:$LINENO: result: no" >&5
27104 echo "${ECHO_T}no" >&6
27107 rm -f conftest.err conftest.
$ac_objext \
27108 conftest
$ac_exeext conftest.
$ac_ext
27111 rm -f conftest.err conftest.
$ac_objext \
27112 conftest
$ac_exeext conftest.
$ac_ext
27113 LDFLAGS
="$saveLdflags"
27115 SHARED_LD
="${CXX} -G -o"
27117 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27121 powerpc
-*-darwin* )
27122 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27123 cat <<EOF >change-install-names
27125 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27126 inst_cmd="install_name_tool "
27127 for i in \${libnames} ; do
27128 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27132 chmod +x change
-install-names
27137 if test "x$WX_TARGET_LIBRARY" = "x"; then
27138 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27139 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27142 WX_TARGET_LIBRARY_TYPE
="so"
27143 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27146 if test "$wxUSE_SHARED" = "no"; then
27148 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27149 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27152 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27153 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27156 if test "$wxUSE_OPENGL" = "yes"; then
27157 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27158 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27160 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27163 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27164 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27166 WX_TARGET_LIBRARY_TYPE
="a"
27167 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27177 if test "$wxUSE_MAC" = 1; then
27178 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27179 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27180 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27181 # Extract the first word of "Rez", so it can be a program name with args.
27182 set dummy Rez
; ac_word
=$2
27183 echo "$as_me:$LINENO: checking for $ac_word" >&5
27184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27185 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27186 echo $ECHO_N "(cached) $ECHO_C" >&6
27188 if test -n "$RESCOMP"; then
27189 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27192 for as_dir
in $PATH
27195 test -z "$as_dir" && as_dir
=.
27196 for ac_exec_ext
in '' $ac_executable_extensions; do
27197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27198 ac_cv_prog_RESCOMP
="Rez"
27199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27205 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27208 RESCOMP
=$ac_cv_prog_RESCOMP
27209 if test -n "$RESCOMP"; then
27210 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27211 echo "${ECHO_T}$RESCOMP" >&6
27213 echo "$as_me:$LINENO: result: no" >&5
27214 echo "${ECHO_T}no" >&6
27217 # Extract the first word of "DeRez", so it can be a program name with args.
27218 set dummy DeRez
; ac_word
=$2
27219 echo "$as_me:$LINENO: checking for $ac_word" >&5
27220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27221 if test "${ac_cv_prog_DEREZ+set}" = set; then
27222 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 if test -n "$DEREZ"; then
27225 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27228 for as_dir
in $PATH
27231 test -z "$as_dir" && as_dir
=.
27232 for ac_exec_ext
in '' $ac_executable_extensions; do
27233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27234 ac_cv_prog_DEREZ
="DeRez"
27235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27241 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27244 DEREZ
=$ac_cv_prog_DEREZ
27245 if test -n "$DEREZ"; then
27246 echo "$as_me:$LINENO: result: $DEREZ" >&5
27247 echo "${ECHO_T}$DEREZ" >&6
27249 echo "$as_me:$LINENO: result: no" >&5
27250 echo "${ECHO_T}no" >&6
27253 # Extract the first word of "SetFile", so it can be a program name with args.
27254 set dummy SetFile
; ac_word
=$2
27255 echo "$as_me:$LINENO: checking for $ac_word" >&5
27256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27257 if test "${ac_cv_prog_SETFILE+set}" = set; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27260 if test -n "$SETFILE"; then
27261 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27264 for as_dir
in $PATH
27267 test -z "$as_dir" && as_dir
=.
27268 for ac_exec_ext
in '' $ac_executable_extensions; do
27269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27270 ac_cv_prog_SETFILE
="SetFile"
27271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27277 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27280 SETFILE
=$ac_cv_prog_SETFILE
27281 if test -n "$SETFILE"; then
27282 echo "$as_me:$LINENO: result: $SETFILE" >&5
27283 echo "${ECHO_T}$SETFILE" >&6
27285 echo "$as_me:$LINENO: result: no" >&5
27286 echo "${ECHO_T}no" >&6
27289 MACOSX_BUNDLE
="bundle"
27290 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27291 MACSETFILE
="\$(SETFILE)"
27292 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27293 elif test "$wxUSE_COCOA" = 1; then
27294 # Extract the first word of "Rez", so it can be a program name with args.
27295 set dummy Rez
; ac_word
=$2
27296 echo "$as_me:$LINENO: checking for $ac_word" >&5
27297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27298 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27299 echo $ECHO_N "(cached) $ECHO_C" >&6
27301 if test -n "$RESCOMP"; then
27302 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27305 for as_dir
in $PATH
27308 test -z "$as_dir" && as_dir
=.
27309 for ac_exec_ext
in '' $ac_executable_extensions; do
27310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27311 ac_cv_prog_RESCOMP
="Rez"
27312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27318 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27321 RESCOMP
=$ac_cv_prog_RESCOMP
27322 if test -n "$RESCOMP"; then
27323 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27324 echo "${ECHO_T}$RESCOMP" >&6
27326 echo "$as_me:$LINENO: result: no" >&5
27327 echo "${ECHO_T}no" >&6
27330 # Extract the first word of "DeRez", so it can be a program name with args.
27331 set dummy DeRez
; ac_word
=$2
27332 echo "$as_me:$LINENO: checking for $ac_word" >&5
27333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27334 if test "${ac_cv_prog_DEREZ+set}" = set; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 if test -n "$DEREZ"; then
27338 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27341 for as_dir
in $PATH
27344 test -z "$as_dir" && as_dir
=.
27345 for ac_exec_ext
in '' $ac_executable_extensions; do
27346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27347 ac_cv_prog_DEREZ
="DeRez"
27348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27354 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27357 DEREZ
=$ac_cv_prog_DEREZ
27358 if test -n "$DEREZ"; then
27359 echo "$as_me:$LINENO: result: $DEREZ" >&5
27360 echo "${ECHO_T}$DEREZ" >&6
27362 echo "$as_me:$LINENO: result: no" >&5
27363 echo "${ECHO_T}no" >&6
27366 # Extract the first word of "SetFile", so it can be a program name with args.
27367 set dummy SetFile
; ac_word
=$2
27368 echo "$as_me:$LINENO: checking for $ac_word" >&5
27369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27370 if test "${ac_cv_prog_SETFILE+set}" = set; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27373 if test -n "$SETFILE"; then
27374 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27377 for as_dir
in $PATH
27380 test -z "$as_dir" && as_dir
=.
27381 for ac_exec_ext
in '' $ac_executable_extensions; do
27382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27383 ac_cv_prog_SETFILE
="SetFile"
27384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27390 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27393 SETFILE
=$ac_cv_prog_SETFILE
27394 if test -n "$SETFILE"; then
27395 echo "$as_me:$LINENO: result: $SETFILE" >&5
27396 echo "${ECHO_T}$SETFILE" >&6
27398 echo "$as_me:$LINENO: result: no" >&5
27399 echo "${ECHO_T}no" >&6
27402 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27403 MACSETFILE
="\$(SETFILE)"
27404 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27406 if test "$wxUSE_PM" = 1; then
27407 MACRESCOMP
="emxbind -ep"
27412 echo "$as_me:$LINENO: checking for mode_t" >&5
27413 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27414 if test "${ac_cv_type_mode_t+set}" = set; then
27415 echo $ECHO_N "(cached) $ECHO_C" >&6
27417 cat >conftest.
$ac_ext <<_ACEOF
27420 cat confdefs.h
>>conftest.
$ac_ext
27421 cat >>conftest.
$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27423 $ac_includes_default
27429 if (sizeof (mode_t))
27435 rm -f conftest.
$ac_objext
27436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27437 (eval $ac_compile) 2>conftest.er1
27439 grep -v '^ *+' conftest.er1
>conftest.err
27441 cat conftest.err
>&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); } &&
27444 { ac_try
='test -z "$ac_c_werror_flag"
27445 || test ! -s conftest.err'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; } &&
27451 { ac_try
='test -s conftest.$ac_objext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27457 ac_cv_type_mode_t
=yes
27459 echo "$as_me: failed program was:" >&5
27460 sed 's/^/| /' conftest.
$ac_ext >&5
27462 ac_cv_type_mode_t
=no
27464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27466 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27467 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27468 if test $ac_cv_type_mode_t = yes; then
27472 cat >>confdefs.h
<<_ACEOF
27478 echo "$as_me:$LINENO: checking for off_t" >&5
27479 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27480 if test "${ac_cv_type_off_t+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27483 cat >conftest.
$ac_ext <<_ACEOF
27486 cat confdefs.h
>>conftest.
$ac_ext
27487 cat >>conftest.
$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489 $ac_includes_default
27495 if (sizeof (off_t))
27501 rm -f conftest.
$ac_objext
27502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27503 (eval $ac_compile) 2>conftest.er1
27505 grep -v '^ *+' conftest.er1
>conftest.err
27507 cat conftest.err
>&5
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); } &&
27510 { ac_try
='test -z "$ac_c_werror_flag"
27511 || test ! -s conftest.err'
27512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513 (eval $ac_try) 2>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); }; } &&
27517 { ac_try
='test -s conftest.$ac_objext'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; }; then
27523 ac_cv_type_off_t
=yes
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.
$ac_ext >&5
27528 ac_cv_type_off_t
=no
27530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27532 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27533 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27534 if test $ac_cv_type_off_t = yes; then
27538 cat >>confdefs.h
<<_ACEOF
27544 echo "$as_me:$LINENO: checking for pid_t" >&5
27545 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27546 if test "${ac_cv_type_pid_t+set}" = set; then
27547 echo $ECHO_N "(cached) $ECHO_C" >&6
27549 cat >conftest.
$ac_ext <<_ACEOF
27552 cat confdefs.h
>>conftest.
$ac_ext
27553 cat >>conftest.
$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27555 $ac_includes_default
27561 if (sizeof (pid_t))
27567 rm -f conftest.
$ac_objext
27568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27569 (eval $ac_compile) 2>conftest.er1
27571 grep -v '^ *+' conftest.er1
>conftest.err
27573 cat conftest.err
>&5
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); } &&
27576 { ac_try
='test -z "$ac_c_werror_flag"
27577 || test ! -s conftest.err'
27578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27579 (eval $ac_try) 2>&5
27581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582 (exit $ac_status); }; } &&
27583 { ac_try
='test -s conftest.$ac_objext'
27584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27585 (eval $ac_try) 2>&5
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); }; }; then
27589 ac_cv_type_pid_t
=yes
27591 echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.
$ac_ext >&5
27594 ac_cv_type_pid_t
=no
27596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27598 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27599 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27600 if test $ac_cv_type_pid_t = yes; then
27604 cat >>confdefs.h
<<_ACEOF
27610 echo "$as_me:$LINENO: checking for size_t" >&5
27611 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27612 if test "${ac_cv_type_size_t+set}" = set; then
27613 echo $ECHO_N "(cached) $ECHO_C" >&6
27615 cat >conftest.
$ac_ext <<_ACEOF
27618 cat confdefs.h
>>conftest.
$ac_ext
27619 cat >>conftest.
$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27621 $ac_includes_default
27627 if (sizeof (size_t))
27633 rm -f conftest.
$ac_objext
27634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27635 (eval $ac_compile) 2>conftest.er1
27637 grep -v '^ *+' conftest.er1
>conftest.err
27639 cat conftest.err
>&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } &&
27642 { ac_try
='test -z "$ac_c_werror_flag"
27643 || test ! -s conftest.err'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; } &&
27649 { ac_try
='test -s conftest.$ac_objext'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; }; then
27655 ac_cv_type_size_t
=yes
27657 echo "$as_me: failed program was:" >&5
27658 sed 's/^/| /' conftest.
$ac_ext >&5
27660 ac_cv_type_size_t
=no
27662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27664 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27665 echo "${ECHO_T}$ac_cv_type_size_t" >&6
27666 if test $ac_cv_type_size_t = yes; then
27670 cat >>confdefs.h
<<_ACEOF
27671 #define size_t unsigned
27676 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
27677 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
27678 if test "${ac_cv_type_uid_t+set}" = set; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 cat >conftest.
$ac_ext <<_ACEOF
27684 cat confdefs.h
>>conftest.
$ac_ext
27685 cat >>conftest.
$ac_ext <<_ACEOF
27686 /* end confdefs.h. */
27687 #include <sys/types.h>
27690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27691 $EGREP "uid_t" >/dev
/null
2>&1; then
27692 ac_cv_type_uid_t
=yes
27694 ac_cv_type_uid_t
=no
27699 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
27700 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
27701 if test $ac_cv_type_uid_t = no
; then
27703 cat >>confdefs.h
<<\_ACEOF
27708 cat >>confdefs.h
<<\_ACEOF
27718 ac_cpp
='$CXXCPP $CPPFLAGS'
27719 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27720 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27721 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27723 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
27724 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
27725 if test "${wx_cv_size_t_is_uint+set}" = set; then
27726 echo $ECHO_N "(cached) $ECHO_C" >&6
27729 cat >conftest.
$ac_ext <<_ACEOF
27732 cat confdefs.h
>>conftest.
$ac_ext
27733 cat >>conftest.
$ac_ext <<_ACEOF
27734 /* end confdefs.h. */
27735 #include <stddef.h>
27742 struct Foo { void foo(size_t); void foo(unsigned int); };
27750 rm -f conftest.
$ac_objext
27751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27752 (eval $ac_compile) 2>conftest.er1
27754 grep -v '^ *+' conftest.er1
>conftest.err
27756 cat conftest.err
>&5
27757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758 (exit $ac_status); } &&
27759 { ac_try
='test -z "$ac_cxx_werror_flag"
27760 || test ! -s conftest.err'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; } &&
27766 { ac_try
='test -s conftest.$ac_objext'
27767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27768 (eval $ac_try) 2>&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); }; }; then
27772 wx_cv_size_t_is_uint
=no
27774 echo "$as_me: failed program was:" >&5
27775 sed 's/^/| /' conftest.
$ac_ext >&5
27777 wx_cv_size_t_is_uint
=yes
27780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27784 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
27785 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
27787 if test "$wx_cv_size_t_is_uint" = "yes"; then
27788 cat >>confdefs.h
<<\_ACEOF
27789 #define wxSIZE_T_IS_UINT 1
27793 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
27794 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
27795 if test "${wx_cv_size_t_is_ulong+set}" = set; then
27796 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 cat >conftest.
$ac_ext <<_ACEOF
27801 cat confdefs.h
>>conftest.
$ac_ext
27802 cat >>conftest.
$ac_ext <<_ACEOF
27803 /* end confdefs.h. */
27804 #include <stddef.h>
27811 struct Foo { void foo(size_t); void foo(unsigned long); };
27819 rm -f conftest.
$ac_objext
27820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27821 (eval $ac_compile) 2>conftest.er1
27823 grep -v '^ *+' conftest.er1
>conftest.err
27825 cat conftest.err
>&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } &&
27828 { ac_try
='test -z "$ac_cxx_werror_flag"
27829 || test ! -s conftest.err'
27830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27831 (eval $ac_try) 2>&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); }; } &&
27835 { ac_try
='test -s conftest.$ac_objext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 wx_cv_size_t_is_ulong
=no
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.
$ac_ext >&5
27846 wx_cv_size_t_is_ulong
=yes
27849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27852 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
27853 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
27855 if test "$wx_cv_size_t_is_ulong" = "yes"; then
27856 cat >>confdefs.h
<<\_ACEOF
27857 #define wxSIZE_T_IS_ULONG 1
27864 ac_cpp
='$CPP $CPPFLAGS'
27865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27871 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
27872 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
27873 if test "${wx_cv_struct_pw_gecos+set}" = set; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27877 cat >conftest.
$ac_ext <<_ACEOF
27880 cat confdefs.h
>>conftest.
$ac_ext
27881 cat >>conftest.
$ac_ext <<_ACEOF
27882 /* end confdefs.h. */
27896 rm -f conftest.
$ac_objext
27897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27898 (eval $ac_compile) 2>conftest.er1
27900 grep -v '^ *+' conftest.er1
>conftest.err
27902 cat conftest.err
>&5
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); } &&
27905 { ac_try
='test -z "$ac_c_werror_flag"
27906 || test ! -s conftest.err'
27907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27908 (eval $ac_try) 2>&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); }; } &&
27912 { ac_try
='test -s conftest.$ac_objext'
27913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27914 (eval $ac_try) 2>&5
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); }; }; then
27919 wx_cv_struct_pw_gecos
=yes
27922 echo "$as_me: failed program was:" >&5
27923 sed 's/^/| /' conftest.
$ac_ext >&5
27926 wx_cv_struct_pw_gecos
=no
27930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27934 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
27935 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
27937 if test "$wx_cv_struct_pw_gecos" = "yes"; then
27938 cat >>confdefs.h
<<\_ACEOF
27939 #define HAVE_PW_GECOS 1
27945 if test "$wx_cv_sizeof_wchar_t" != "0"; then
27946 cat >>confdefs.h
<<\_ACEOF
27947 #define wxUSE_WCHAR_T 1
27954 for ac_func
in wcslen
27956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27957 echo "$as_me:$LINENO: checking for $ac_func" >&5
27958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27959 if eval "test \"\${$as_ac_var+set}\" = set"; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27962 cat >conftest.
$ac_ext <<_ACEOF
27965 cat confdefs.h
>>conftest.
$ac_ext
27966 cat >>conftest.
$ac_ext <<_ACEOF
27967 /* end confdefs.h. */
27968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27970 #define $ac_func innocuous_$ac_func
27972 /* System header to define __stub macros and hopefully few prototypes,
27973 which can conflict with char $ac_func (); below.
27974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27975 <limits.h> exists even on freestanding compilers. */
27978 # include <limits.h>
27980 # include <assert.h>
27985 /* Override any gcc2 internal prototype to avoid an error. */
27990 /* We use char because int might match the return type of a gcc2
27991 builtin and then its argument prototype would still apply. */
27993 /* The GNU C library defines this for functions which it implements
27994 to always fail with ENOSYS. Some functions are actually named
27995 something starting with __ and the normal name is an alias. */
27996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27999 char (*f) () = $ac_func;
28008 return f != $ac_func;
28013 rm -f conftest.
$ac_objext conftest
$ac_exeext
28014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28015 (eval $ac_link) 2>conftest.er1
28017 grep -v '^ *+' conftest.er1
>conftest.err
28019 cat conftest.err
>&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } &&
28022 { ac_try
='test -z "$ac_c_werror_flag"
28023 || test ! -s conftest.err'
28024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28025 (eval $ac_try) 2>&5
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); }; } &&
28029 { ac_try
='test -s conftest$ac_exeext'
28030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031 (eval $ac_try) 2>&5
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); }; }; then
28035 eval "$as_ac_var=yes"
28037 echo "$as_me: failed program was:" >&5
28038 sed 's/^/| /' conftest.
$ac_ext >&5
28040 eval "$as_ac_var=no"
28042 rm -f conftest.err conftest.
$ac_objext \
28043 conftest
$ac_exeext conftest.
$ac_ext
28045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28047 if test `eval echo '${'$as_ac_var'}'` = yes; then
28048 cat >>confdefs.h
<<_ACEOF
28049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28056 if test "$WCSLEN_FOUND" = 0; then
28057 if test "$TOOLKIT" = "MSW"; then
28058 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28059 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28060 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28061 echo $ECHO_N "(cached) $ECHO_C" >&6
28063 ac_check_lib_save_LIBS
=$LIBS
28064 LIBS
="-lmsvcrt $LIBS"
28065 cat >conftest.
$ac_ext <<_ACEOF
28068 cat confdefs.h
>>conftest.
$ac_ext
28069 cat >>conftest.
$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28072 /* Override any gcc2 internal prototype to avoid an error. */
28076 /* We use char because int might match the return type of a gcc2
28077 builtin and then its argument prototype would still apply. */
28087 rm -f conftest.
$ac_objext conftest
$ac_exeext
28088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28089 (eval $ac_link) 2>conftest.er1
28091 grep -v '^ *+' conftest.er1
>conftest.err
28093 cat conftest.err
>&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); } &&
28096 { ac_try
='test -z "$ac_c_werror_flag"
28097 || test ! -s conftest.err'
28098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28099 (eval $ac_try) 2>&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); }; } &&
28103 { ac_try
='test -s conftest$ac_exeext'
28104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28105 (eval $ac_try) 2>&5
28107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108 (exit $ac_status); }; }; then
28109 ac_cv_lib_msvcrt_wcslen
=yes
28111 echo "$as_me: failed program was:" >&5
28112 sed 's/^/| /' conftest.
$ac_ext >&5
28114 ac_cv_lib_msvcrt_wcslen
=no
28116 rm -f conftest.err conftest.
$ac_objext \
28117 conftest
$ac_exeext conftest.
$ac_ext
28118 LIBS
=$ac_check_lib_save_LIBS
28120 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28121 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28122 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28127 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28128 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28129 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28130 echo $ECHO_N "(cached) $ECHO_C" >&6
28132 ac_check_lib_save_LIBS
=$LIBS
28134 cat >conftest.
$ac_ext <<_ACEOF
28137 cat confdefs.h
>>conftest.
$ac_ext
28138 cat >>conftest.
$ac_ext <<_ACEOF
28139 /* end confdefs.h. */
28141 /* Override any gcc2 internal prototype to avoid an error. */
28145 /* We use char because int might match the return type of a gcc2
28146 builtin and then its argument prototype would still apply. */
28156 rm -f conftest.
$ac_objext conftest
$ac_exeext
28157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28158 (eval $ac_link) 2>conftest.er1
28160 grep -v '^ *+' conftest.er1
>conftest.err
28162 cat conftest.err
>&5
28163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164 (exit $ac_status); } &&
28165 { ac_try
='test -z "$ac_c_werror_flag"
28166 || test ! -s conftest.err'
28167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28168 (eval $ac_try) 2>&5
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); }; } &&
28172 { ac_try
='test -s conftest$ac_exeext'
28173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28174 (eval $ac_try) 2>&5
28176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 (exit $ac_status); }; }; then
28178 ac_cv_lib_w_wcslen
=yes
28180 echo "$as_me: failed program was:" >&5
28181 sed 's/^/| /' conftest.
$ac_ext >&5
28183 ac_cv_lib_w_wcslen
=no
28185 rm -f conftest.err conftest.
$ac_objext \
28186 conftest
$ac_exeext conftest.
$ac_ext
28187 LIBS
=$ac_check_lib_save_LIBS
28189 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28190 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28191 if test $ac_cv_lib_w_wcslen = yes; then
28201 if test "$WCSLEN_FOUND" = 1; then
28202 cat >>confdefs.h
<<\_ACEOF
28203 #define HAVE_WCSLEN 1
28209 for ac_func
in wcsrtombs
28211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28212 echo "$as_me:$LINENO: checking for $ac_func" >&5
28213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28214 if eval "test \"\${$as_ac_var+set}\" = set"; then
28215 echo $ECHO_N "(cached) $ECHO_C" >&6
28217 cat >conftest.
$ac_ext <<_ACEOF
28220 cat confdefs.h
>>conftest.
$ac_ext
28221 cat >>conftest.
$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28225 #define $ac_func innocuous_$ac_func
28227 /* System header to define __stub macros and hopefully few prototypes,
28228 which can conflict with char $ac_func (); below.
28229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28230 <limits.h> exists even on freestanding compilers. */
28233 # include <limits.h>
28235 # include <assert.h>
28240 /* Override any gcc2 internal prototype to avoid an error. */
28245 /* We use char because int might match the return type of a gcc2
28246 builtin and then its argument prototype would still apply. */
28248 /* The GNU C library defines this for functions which it implements
28249 to always fail with ENOSYS. Some functions are actually named
28250 something starting with __ and the normal name is an alias. */
28251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28254 char (*f) () = $ac_func;
28263 return f != $ac_func;
28268 rm -f conftest.
$ac_objext conftest
$ac_exeext
28269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28270 (eval $ac_link) 2>conftest.er1
28272 grep -v '^ *+' conftest.er1
>conftest.err
28274 cat conftest.err
>&5
28275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28276 (exit $ac_status); } &&
28277 { ac_try
='test -z "$ac_c_werror_flag"
28278 || test ! -s conftest.err'
28279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28280 (eval $ac_try) 2>&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); }; } &&
28284 { ac_try
='test -s conftest$ac_exeext'
28285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28286 (eval $ac_try) 2>&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); }; }; then
28290 eval "$as_ac_var=yes"
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.
$ac_ext >&5
28295 eval "$as_ac_var=no"
28297 rm -f conftest.err conftest.
$ac_objext \
28298 conftest
$ac_exeext conftest.
$ac_ext
28300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28302 if test `eval echo '${'$as_ac_var'}'` = yes; then
28303 cat >>confdefs.h
<<_ACEOF
28304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28311 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28312 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28318 ac_cpp
='$CXXCPP $CPPFLAGS'
28319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28325 for ac_func
in vsnprintf
28327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28328 echo "$as_me:$LINENO: checking for $ac_func" >&5
28329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28330 if eval "test \"\${$as_ac_var+set}\" = set"; then
28331 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 cat >conftest.
$ac_ext <<_ACEOF
28336 cat confdefs.h
>>conftest.
$ac_ext
28337 cat >>conftest.
$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28341 #define $ac_func innocuous_$ac_func
28343 /* System header to define __stub macros and hopefully few prototypes,
28344 which can conflict with char $ac_func (); below.
28345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28346 <limits.h> exists even on freestanding compilers. */
28349 # include <limits.h>
28351 # include <assert.h>
28356 /* Override any gcc2 internal prototype to avoid an error. */
28361 /* We use char because int might match the return type of a gcc2
28362 builtin and then its argument prototype would still apply. */
28364 /* The GNU C library defines this for functions which it implements
28365 to always fail with ENOSYS. Some functions are actually named
28366 something starting with __ and the normal name is an alias. */
28367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28370 char (*f) () = $ac_func;
28379 return f != $ac_func;
28384 rm -f conftest.
$ac_objext conftest
$ac_exeext
28385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28386 (eval $ac_link) 2>conftest.er1
28388 grep -v '^ *+' conftest.er1
>conftest.err
28390 cat conftest.err
>&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } &&
28393 { ac_try
='test -z "$ac_cxx_werror_flag"
28394 || test ! -s conftest.err'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; } &&
28400 { ac_try
='test -s conftest$ac_exeext'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; }; then
28406 eval "$as_ac_var=yes"
28408 echo "$as_me: failed program was:" >&5
28409 sed 's/^/| /' conftest.
$ac_ext >&5
28411 eval "$as_ac_var=no"
28413 rm -f conftest.err conftest.
$ac_objext \
28414 conftest
$ac_exeext conftest.
$ac_ext
28416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28418 if test `eval echo '${'$as_ac_var'}'` = yes; then
28419 cat >>confdefs.h
<<_ACEOF
28420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28427 if test "$ac_cv_func_vsnprintf" = "yes"; then
28428 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28429 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28430 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28431 echo $ECHO_N "(cached) $ECHO_C" >&6
28434 cat >conftest.
$ac_ext <<_ACEOF
28437 cat confdefs.h
>>conftest.
$ac_ext
28438 cat >>conftest.
$ac_ext <<_ACEOF
28439 /* end confdefs.h. */
28442 #include <stdarg.h>
28450 vsnprintf(buf, 10u, "%s", ap);
28456 rm -f conftest.
$ac_objext
28457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28458 (eval $ac_compile) 2>conftest.er1
28460 grep -v '^ *+' conftest.er1
>conftest.err
28462 cat conftest.err
>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } &&
28465 { ac_try
='test -z "$ac_cxx_werror_flag"
28466 || test ! -s conftest.err'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; } &&
28472 { ac_try
='test -s conftest.$ac_objext'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; }; then
28478 wx_cv_func_vsnprintf_decl
=yes
28480 echo "$as_me: failed program was:" >&5
28481 sed 's/^/| /' conftest.
$ac_ext >&5
28483 wx_cv_func_vsnprintf_decl
=no
28486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28490 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28491 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28493 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28494 cat >>confdefs.h
<<\_ACEOF
28495 #define HAVE_VSNPRINTF_DECL 1
28501 if test "$wxUSE_UNICODE" = yes; then
28505 for ac_func
in fputwc wprintf vswprintf
28507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28508 echo "$as_me:$LINENO: checking for $ac_func" >&5
28509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28510 if eval "test \"\${$as_ac_var+set}\" = set"; then
28511 echo $ECHO_N "(cached) $ECHO_C" >&6
28513 cat >conftest.
$ac_ext <<_ACEOF
28516 cat confdefs.h
>>conftest.
$ac_ext
28517 cat >>conftest.
$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28521 #define $ac_func innocuous_$ac_func
28523 /* System header to define __stub macros and hopefully few prototypes,
28524 which can conflict with char $ac_func (); below.
28525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28526 <limits.h> exists even on freestanding compilers. */
28529 # include <limits.h>
28531 # include <assert.h>
28536 /* Override any gcc2 internal prototype to avoid an error. */
28541 /* We use char because int might match the return type of a gcc2
28542 builtin and then its argument prototype would still apply. */
28544 /* The GNU C library defines this for functions which it implements
28545 to always fail with ENOSYS. Some functions are actually named
28546 something starting with __ and the normal name is an alias. */
28547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28550 char (*f) () = $ac_func;
28559 return f != $ac_func;
28564 rm -f conftest.
$ac_objext conftest
$ac_exeext
28565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28566 (eval $ac_link) 2>conftest.er1
28568 grep -v '^ *+' conftest.er1
>conftest.err
28570 cat conftest.err
>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } &&
28573 { ac_try
='test -z "$ac_cxx_werror_flag"
28574 || test ! -s conftest.err'
28575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28576 (eval $ac_try) 2>&5
28578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28579 (exit $ac_status); }; } &&
28580 { ac_try
='test -s conftest$ac_exeext'
28581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28582 (eval $ac_try) 2>&5
28584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28585 (exit $ac_status); }; }; then
28586 eval "$as_ac_var=yes"
28588 echo "$as_me: failed program was:" >&5
28589 sed 's/^/| /' conftest.
$ac_ext >&5
28591 eval "$as_ac_var=no"
28593 rm -f conftest.err conftest.
$ac_objext \
28594 conftest
$ac_exeext conftest.
$ac_ext
28596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28598 if test `eval echo '${'$as_ac_var'}'` = yes; then
28599 cat >>confdefs.h
<<_ACEOF
28600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28607 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28608 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28609 cat >conftest.
$ac_ext <<_ACEOF
28612 cat confdefs.h
>>conftest.
$ac_ext
28613 cat >>conftest.
$ac_ext <<_ACEOF
28614 /* end confdefs.h. */
28624 rm -f conftest.
$ac_objext
28625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28626 (eval $ac_compile) 2>conftest.er1
28628 grep -v '^ *+' conftest.er1
>conftest.err
28630 cat conftest.err
>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); } &&
28633 { ac_try
='test -z "$ac_cxx_werror_flag"
28634 || test ! -s conftest.err'
28635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28636 (eval $ac_try) 2>&5
28638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28639 (exit $ac_status); }; } &&
28640 { ac_try
='test -s conftest.$ac_objext'
28641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28642 (eval $ac_try) 2>&5
28644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645 (exit $ac_status); }; }; then
28646 echo "$as_me:$LINENO: result: yes" >&5
28647 echo "${ECHO_T}yes" >&6
28648 cat >>confdefs.h
<<\_ACEOF
28649 #define HAVE__VSNWPRINTF 1
28653 echo "$as_me: failed program was:" >&5
28654 sed 's/^/| /' conftest.
$ac_ext >&5
28656 echo "$as_me:$LINENO: result: no" >&5
28657 echo "${ECHO_T}no" >&6
28659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
28663 ac_cpp
='$CPP $CPPFLAGS'
28664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28671 if test "$TOOLKIT" != "MSW"; then
28677 ac_cpp
='$CXXCPP $CPPFLAGS'
28678 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28679 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28680 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28685 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28686 if test "${with_libiconv_prefix+set}" = set; then
28687 withval
="$with_libiconv_prefix"
28689 for dir
in `echo "$withval" | tr : ' '`; do
28690 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
28691 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
28696 echo "$as_me:$LINENO: checking for iconv" >&5
28697 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28698 if test "${am_cv_func_iconv+set}" = set; then
28699 echo $ECHO_N "(cached) $ECHO_C" >&6
28702 am_cv_func_iconv
="no, consider installing GNU libiconv"
28704 cat >conftest.
$ac_ext <<_ACEOF
28707 cat confdefs.h
>>conftest.
$ac_ext
28708 cat >>conftest.
$ac_ext <<_ACEOF
28709 /* end confdefs.h. */
28710 #include <stdlib.h>
28715 iconv_t cd = iconv_open("","");
28716 iconv(cd,NULL,NULL,NULL,NULL);
28722 rm -f conftest.
$ac_objext conftest
$ac_exeext
28723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28724 (eval $ac_link) 2>conftest.er1
28726 grep -v '^ *+' conftest.er1
>conftest.err
28728 cat conftest.err
>&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); } &&
28731 { ac_try
='test -z "$ac_cxx_werror_flag"
28732 || test ! -s conftest.err'
28733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28734 (eval $ac_try) 2>&5
28736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737 (exit $ac_status); }; } &&
28738 { ac_try
='test -s conftest$ac_exeext'
28739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28740 (eval $ac_try) 2>&5
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); }; }; then
28744 am_cv_func_iconv
=yes
28746 echo "$as_me: failed program was:" >&5
28747 sed 's/^/| /' conftest.
$ac_ext >&5
28750 rm -f conftest.err conftest.
$ac_objext \
28751 conftest
$ac_exeext conftest.
$ac_ext
28752 if test "$am_cv_func_iconv" != yes; then
28753 am_save_LIBS
="$LIBS"
28754 LIBS
="$LIBS -liconv"
28755 cat >conftest.
$ac_ext <<_ACEOF
28758 cat confdefs.h
>>conftest.
$ac_ext
28759 cat >>conftest.
$ac_ext <<_ACEOF
28760 /* end confdefs.h. */
28761 #include <stdlib.h>
28766 iconv_t cd = iconv_open("","");
28767 iconv(cd,NULL,NULL,NULL,NULL);
28773 rm -f conftest.
$ac_objext conftest
$ac_exeext
28774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28775 (eval $ac_link) 2>conftest.er1
28777 grep -v '^ *+' conftest.er1
>conftest.err
28779 cat conftest.err
>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } &&
28782 { ac_try
='test -z "$ac_cxx_werror_flag"
28783 || test ! -s conftest.err'
28784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28785 (eval $ac_try) 2>&5
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); }; } &&
28789 { ac_try
='test -s conftest$ac_exeext'
28790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28791 (eval $ac_try) 2>&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); }; }; then
28795 am_cv_lib_iconv
=yes
28796 am_cv_func_iconv
=yes
28798 echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.
$ac_ext >&5
28802 rm -f conftest.err conftest.
$ac_objext \
28803 conftest
$ac_exeext conftest.
$ac_ext
28804 LIBS
="$am_save_LIBS"
28808 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28809 echo "${ECHO_T}$am_cv_func_iconv" >&6
28810 if test "$am_cv_func_iconv" = yes; then
28812 cat >>confdefs.h
<<\_ACEOF
28813 #define HAVE_ICONV 1
28816 echo "$as_me:$LINENO: checking if iconv needs const" >&5
28817 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
28818 if test "${wx_cv_func_iconv_const+set}" = set; then
28819 echo $ECHO_N "(cached) $ECHO_C" >&6
28821 cat >conftest.
$ac_ext <<_ACEOF
28824 cat confdefs.h
>>conftest.
$ac_ext
28825 cat >>conftest.
$ac_ext <<_ACEOF
28826 /* end confdefs.h. */
28828 #include <stdlib.h>
28834 #if defined(__STDC__) || defined(__cplusplus)
28835 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28848 rm -f conftest.
$ac_objext
28849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28850 (eval $ac_compile) 2>conftest.er1
28852 grep -v '^ *+' conftest.er1
>conftest.err
28854 cat conftest.err
>&5
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); } &&
28857 { ac_try
='test -z "$ac_cxx_werror_flag"
28858 || test ! -s conftest.err'
28859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28860 (eval $ac_try) 2>&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); }; } &&
28864 { ac_try
='test -s conftest.$ac_objext'
28865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28866 (eval $ac_try) 2>&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); }; }; then
28870 wx_cv_func_iconv_const
="no"
28872 echo "$as_me: failed program was:" >&5
28873 sed 's/^/| /' conftest.
$ac_ext >&5
28875 wx_cv_func_iconv_const
="yes"
28878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28881 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
28882 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
28885 if test "x$wx_cv_func_iconv_const" = "xyes"; then
28886 iconv_const
="const"
28890 cat >>confdefs.h
<<_ACEOF
28891 #define ICONV_CONST $iconv_const
28896 if test "$am_cv_lib_iconv" = yes; then
28901 LIBS
="$LIBICONV $LIBS"
28903 ac_cpp
='$CPP $CPPFLAGS'
28904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28909 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
28911 for ac_func
in sigaction
28913 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28914 echo "$as_me:$LINENO: checking for $ac_func" >&5
28915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28916 if eval "test \"\${$as_ac_var+set}\" = set"; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28919 cat >conftest.
$ac_ext <<_ACEOF
28922 cat confdefs.h
>>conftest.
$ac_ext
28923 cat >>conftest.
$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28927 #define $ac_func innocuous_$ac_func
28929 /* System header to define __stub macros and hopefully few prototypes,
28930 which can conflict with char $ac_func (); below.
28931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28932 <limits.h> exists even on freestanding compilers. */
28935 # include <limits.h>
28937 # include <assert.h>
28942 /* Override any gcc2 internal prototype to avoid an error. */
28947 /* We use char because int might match the return type of a gcc2
28948 builtin and then its argument prototype would still apply. */
28950 /* The GNU C library defines this for functions which it implements
28951 to always fail with ENOSYS. Some functions are actually named
28952 something starting with __ and the normal name is an alias. */
28953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28956 char (*f) () = $ac_func;
28965 return f != $ac_func;
28970 rm -f conftest.
$ac_objext conftest
$ac_exeext
28971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28972 (eval $ac_link) 2>conftest.er1
28974 grep -v '^ *+' conftest.er1
>conftest.err
28976 cat conftest.err
>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); } &&
28979 { ac_try
='test -z "$ac_c_werror_flag"
28980 || test ! -s conftest.err'
28981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28982 (eval $ac_try) 2>&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); }; } &&
28986 { ac_try
='test -s conftest$ac_exeext'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; }; then
28992 eval "$as_ac_var=yes"
28994 echo "$as_me: failed program was:" >&5
28995 sed 's/^/| /' conftest.
$ac_ext >&5
28997 eval "$as_ac_var=no"
28999 rm -f conftest.err conftest.
$ac_objext \
29000 conftest
$ac_exeext conftest.
$ac_ext
29002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29004 if test `eval echo '${'$as_ac_var'}'` = yes; then
29005 cat >>confdefs.h
<<_ACEOF
29006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29013 if test "$ac_cv_func_sigaction" = "no"; then
29014 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29015 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29016 wxUSE_ON_FATAL_EXCEPTION
=no
29019 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29023 ac_cpp
='$CXXCPP $CPPFLAGS'
29024 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29029 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29030 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29031 if test "${wx_cv_type_sa_handler+set}" = set; then
29032 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 cat >conftest.
$ac_ext <<_ACEOF
29038 cat confdefs.h
>>conftest.
$ac_ext
29039 cat >>conftest.
$ac_ext <<_ACEOF
29040 /* end confdefs.h. */
29041 #include <signal.h>
29046 extern void testSigHandler(int);
29048 struct sigaction sa;
29049 sa.sa_handler = testSigHandler;
29055 rm -f conftest.
$ac_objext
29056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29057 (eval $ac_compile) 2>conftest.er1
29059 grep -v '^ *+' conftest.er1
>conftest.err
29061 cat conftest.err
>&5
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); } &&
29064 { ac_try
='test -z "$ac_cxx_werror_flag"
29065 || test ! -s conftest.err'
29066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29067 (eval $ac_try) 2>&5
29069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070 (exit $ac_status); }; } &&
29071 { ac_try
='test -s conftest.$ac_objext'
29072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29073 (eval $ac_try) 2>&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); }; }; then
29078 wx_cv_type_sa_handler
=int
29081 echo "$as_me: failed program was:" >&5
29082 sed 's/^/| /' conftest.
$ac_ext >&5
29085 wx_cv_type_sa_handler
=void
29088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29091 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29092 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29095 ac_cpp
='$CPP $CPPFLAGS'
29096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29101 cat >>confdefs.h
<<_ACEOF
29102 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29110 for ac_func
in mkstemp mktemp
29112 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29113 echo "$as_me:$LINENO: checking for $ac_func" >&5
29114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29115 if eval "test \"\${$as_ac_var+set}\" = set"; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 cat >conftest.
$ac_ext <<_ACEOF
29121 cat confdefs.h
>>conftest.
$ac_ext
29122 cat >>conftest.
$ac_ext <<_ACEOF
29123 /* end confdefs.h. */
29124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29126 #define $ac_func innocuous_$ac_func
29128 /* System header to define __stub macros and hopefully few prototypes,
29129 which can conflict with char $ac_func (); below.
29130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29131 <limits.h> exists even on freestanding compilers. */
29134 # include <limits.h>
29136 # include <assert.h>
29141 /* Override any gcc2 internal prototype to avoid an error. */
29146 /* We use char because int might match the return type of a gcc2
29147 builtin and then its argument prototype would still apply. */
29149 /* The GNU C library defines this for functions which it implements
29150 to always fail with ENOSYS. Some functions are actually named
29151 something starting with __ and the normal name is an alias. */
29152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29155 char (*f) () = $ac_func;
29164 return f != $ac_func;
29169 rm -f conftest.
$ac_objext conftest
$ac_exeext
29170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29171 (eval $ac_link) 2>conftest.er1
29173 grep -v '^ *+' conftest.er1
>conftest.err
29175 cat conftest.err
>&5
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); } &&
29178 { ac_try
='test -z "$ac_c_werror_flag"
29179 || test ! -s conftest.err'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; } &&
29185 { ac_try
='test -s conftest$ac_exeext'
29186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29187 (eval $ac_try) 2>&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); }; }; then
29191 eval "$as_ac_var=yes"
29193 echo "$as_me: failed program was:" >&5
29194 sed 's/^/| /' conftest.
$ac_ext >&5
29196 eval "$as_ac_var=no"
29198 rm -f conftest.err conftest.
$ac_objext \
29199 conftest
$ac_exeext conftest.
$ac_ext
29201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29203 if test `eval echo '${'$as_ac_var'}'` = yes; then
29204 cat >>confdefs.h
<<_ACEOF
29205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29212 echo "$as_me:$LINENO: checking for statfs" >&5
29213 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29214 if test "${wx_cv_func_statfs+set}" = set; then
29215 echo $ECHO_N "(cached) $ECHO_C" >&6
29217 cat >conftest.
$ac_ext <<_ACEOF
29220 cat confdefs.h
>>conftest.
$ac_ext
29221 cat >>conftest.
$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29224 #if defined(__BSD__)
29225 #include <sys/param.h>
29226 #include <sys/mount.h>
29228 #include <sys/vfs.h>
29246 rm -f conftest.
$ac_objext
29247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29248 (eval $ac_compile) 2>conftest.er1
29250 grep -v '^ *+' conftest.er1
>conftest.err
29252 cat conftest.err
>&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); } &&
29255 { ac_try
='test -z "$ac_c_werror_flag"
29256 || test ! -s conftest.err'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; } &&
29262 { ac_try
='test -s conftest.$ac_objext'
29263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264 (eval $ac_try) 2>&5
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); }; }; then
29269 wx_cv_func_statfs
=yes
29272 echo "$as_me: failed program was:" >&5
29273 sed 's/^/| /' conftest.
$ac_ext >&5
29276 wx_cv_func_statfs
=no
29280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29283 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29284 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29286 if test "$wx_cv_func_statfs" = "yes"; then
29287 wx_cv_type_statvfs_t
="struct statfs"
29288 cat >>confdefs.h
<<\_ACEOF
29289 #define HAVE_STATFS 1
29293 echo "$as_me:$LINENO: checking for statvfs" >&5
29294 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29295 if test "${wx_cv_func_statvfs+set}" = set; then
29296 echo $ECHO_N "(cached) $ECHO_C" >&6
29298 cat >conftest.
$ac_ext <<_ACEOF
29301 cat confdefs.h
>>conftest.
$ac_ext
29302 cat >>conftest.
$ac_ext <<_ACEOF
29303 /* end confdefs.h. */
29305 #include <stddef.h>
29306 #include <sys/statvfs.h>
29312 statvfs("/", NULL);
29318 rm -f conftest.
$ac_objext
29319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29320 (eval $ac_compile) 2>conftest.er1
29322 grep -v '^ *+' conftest.er1
>conftest.err
29324 cat conftest.err
>&5
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } &&
29327 { ac_try
='test -z "$ac_c_werror_flag"
29328 || test ! -s conftest.err'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; } &&
29334 { ac_try
='test -s conftest.$ac_objext'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; }; then
29340 wx_cv_func_statvfs
=yes
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.
$ac_ext >&5
29345 wx_cv_func_statvfs
=no
29348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29351 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29352 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29354 if test "$wx_cv_func_statvfs" = "yes"; then
29358 ac_cpp
='$CXXCPP $CPPFLAGS'
29359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29364 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29365 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29366 if test "${wx_cv_type_statvfs_t+set}" = set; then
29367 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 cat >conftest.
$ac_ext <<_ACEOF
29372 cat confdefs.h
>>conftest.
$ac_ext
29373 cat >>conftest.
$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29376 #include <sys/statvfs.h>
29393 rm -f conftest.
$ac_objext
29394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29395 (eval $ac_compile) 2>conftest.er1
29397 grep -v '^ *+' conftest.er1
>conftest.err
29399 cat conftest.err
>&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); } &&
29402 { ac_try
='test -z "$ac_cxx_werror_flag"
29403 || test ! -s conftest.err'
29404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29405 (eval $ac_try) 2>&5
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); }; } &&
29409 { ac_try
='test -s conftest.$ac_objext'
29410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29411 (eval $ac_try) 2>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); }; }; then
29415 wx_cv_type_statvfs_t
=statvfs_t
29417 echo "$as_me: failed program was:" >&5
29418 sed 's/^/| /' conftest.
$ac_ext >&5
29421 cat >conftest.
$ac_ext <<_ACEOF
29424 cat confdefs.h
>>conftest.
$ac_ext
29425 cat >>conftest.
$ac_ext <<_ACEOF
29426 /* end confdefs.h. */
29428 #include <sys/statvfs.h>
29445 rm -f conftest.
$ac_objext
29446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29447 (eval $ac_compile) 2>conftest.er1
29449 grep -v '^ *+' conftest.er1
>conftest.err
29451 cat conftest.err
>&5
29452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29453 (exit $ac_status); } &&
29454 { ac_try
='test -z "$ac_cxx_werror_flag"
29455 || test ! -s conftest.err'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; } &&
29461 { ac_try
='test -s conftest.$ac_objext'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; }; then
29467 wx_cv_type_statvfs_t
="struct statvfs"
29469 echo "$as_me: failed program was:" >&5
29470 sed 's/^/| /' conftest.
$ac_ext >&5
29472 wx_cv_type_statvfs_t
="unknown"
29475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29482 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29483 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29486 ac_cpp
='$CPP $CPPFLAGS'
29487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29492 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29493 cat >>confdefs.h
<<\_ACEOF
29494 #define HAVE_STATVFS 1
29499 wx_cv_type_statvfs_t
="unknown"
29503 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29504 cat >>confdefs.h
<<_ACEOF
29505 #define WX_STATFS_T $wx_cv_type_statvfs_t
29509 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29510 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29513 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29516 for ac_func
in fcntl flock
29518 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29519 echo "$as_me:$LINENO: checking for $ac_func" >&5
29520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29521 if eval "test \"\${$as_ac_var+set}\" = set"; then
29522 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 cat >conftest.
$ac_ext <<_ACEOF
29527 cat confdefs.h
>>conftest.
$ac_ext
29528 cat >>conftest.
$ac_ext <<_ACEOF
29529 /* end confdefs.h. */
29530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29532 #define $ac_func innocuous_$ac_func
29534 /* System header to define __stub macros and hopefully few prototypes,
29535 which can conflict with char $ac_func (); below.
29536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29537 <limits.h> exists even on freestanding compilers. */
29540 # include <limits.h>
29542 # include <assert.h>
29547 /* Override any gcc2 internal prototype to avoid an error. */
29552 /* We use char because int might match the return type of a gcc2
29553 builtin and then its argument prototype would still apply. */
29555 /* The GNU C library defines this for functions which it implements
29556 to always fail with ENOSYS. Some functions are actually named
29557 something starting with __ and the normal name is an alias. */
29558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29561 char (*f) () = $ac_func;
29570 return f != $ac_func;
29575 rm -f conftest.
$ac_objext conftest
$ac_exeext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29577 (eval $ac_link) 2>conftest.er1
29579 grep -v '^ *+' conftest.er1
>conftest.err
29581 cat conftest.err
>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try
='test -z "$ac_c_werror_flag"
29585 || test ! -s conftest.err'
29586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29587 (eval $ac_try) 2>&5
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); }; } &&
29591 { ac_try
='test -s conftest$ac_exeext'
29592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593 (eval $ac_try) 2>&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); }; }; then
29597 eval "$as_ac_var=yes"
29599 echo "$as_me: failed program was:" >&5
29600 sed 's/^/| /' conftest.
$ac_ext >&5
29602 eval "$as_ac_var=no"
29604 rm -f conftest.err conftest.
$ac_objext \
29605 conftest
$ac_exeext conftest.
$ac_ext
29607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29609 if test `eval echo '${'$as_ac_var'}'` = yes; then
29610 cat >>confdefs.h
<<_ACEOF
29611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29618 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29619 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29620 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29621 wxUSE_SNGLINST_CHECKER
=no
29626 for ac_func
in timegm
29628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29629 echo "$as_me:$LINENO: checking for $ac_func" >&5
29630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29631 if eval "test \"\${$as_ac_var+set}\" = set"; then
29632 echo $ECHO_N "(cached) $ECHO_C" >&6
29634 cat >conftest.
$ac_ext <<_ACEOF
29637 cat confdefs.h
>>conftest.
$ac_ext
29638 cat >>conftest.
$ac_ext <<_ACEOF
29639 /* end confdefs.h. */
29640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29642 #define $ac_func innocuous_$ac_func
29644 /* System header to define __stub macros and hopefully few prototypes,
29645 which can conflict with char $ac_func (); below.
29646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29647 <limits.h> exists even on freestanding compilers. */
29650 # include <limits.h>
29652 # include <assert.h>
29657 /* Override any gcc2 internal prototype to avoid an error. */
29662 /* We use char because int might match the return type of a gcc2
29663 builtin and then its argument prototype would still apply. */
29665 /* The GNU C library defines this for functions which it implements
29666 to always fail with ENOSYS. Some functions are actually named
29667 something starting with __ and the normal name is an alias. */
29668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29671 char (*f) () = $ac_func;
29680 return f != $ac_func;
29685 rm -f conftest.
$ac_objext conftest
$ac_exeext
29686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29687 (eval $ac_link) 2>conftest.er1
29689 grep -v '^ *+' conftest.er1
>conftest.err
29691 cat conftest.err
>&5
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); } &&
29694 { ac_try
='test -z "$ac_c_werror_flag"
29695 || test ! -s conftest.err'
29696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29697 (eval $ac_try) 2>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; } &&
29701 { ac_try
='test -s conftest$ac_exeext'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; }; then
29707 eval "$as_ac_var=yes"
29709 echo "$as_me: failed program was:" >&5
29710 sed 's/^/| /' conftest.
$ac_ext >&5
29712 eval "$as_ac_var=no"
29714 rm -f conftest.err conftest.
$ac_objext \
29715 conftest
$ac_exeext conftest.
$ac_ext
29717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29719 if test `eval echo '${'$as_ac_var'}'` = yes; then
29720 cat >>confdefs.h
<<_ACEOF
29721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29730 for ac_func
in putenv setenv
29732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29733 echo "$as_me:$LINENO: checking for $ac_func" >&5
29734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29735 if eval "test \"\${$as_ac_var+set}\" = set"; then
29736 echo $ECHO_N "(cached) $ECHO_C" >&6
29738 cat >conftest.
$ac_ext <<_ACEOF
29741 cat confdefs.h
>>conftest.
$ac_ext
29742 cat >>conftest.
$ac_ext <<_ACEOF
29743 /* end confdefs.h. */
29744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29746 #define $ac_func innocuous_$ac_func
29748 /* System header to define __stub macros and hopefully few prototypes,
29749 which can conflict with char $ac_func (); below.
29750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29751 <limits.h> exists even on freestanding compilers. */
29754 # include <limits.h>
29756 # include <assert.h>
29761 /* Override any gcc2 internal prototype to avoid an error. */
29766 /* We use char because int might match the return type of a gcc2
29767 builtin and then its argument prototype would still apply. */
29769 /* The GNU C library defines this for functions which it implements
29770 to always fail with ENOSYS. Some functions are actually named
29771 something starting with __ and the normal name is an alias. */
29772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29775 char (*f) () = $ac_func;
29784 return f != $ac_func;
29789 rm -f conftest.
$ac_objext conftest
$ac_exeext
29790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29791 (eval $ac_link) 2>conftest.er1
29793 grep -v '^ *+' conftest.er1
>conftest.err
29795 cat conftest.err
>&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } &&
29798 { ac_try
='test -z "$ac_c_werror_flag"
29799 || test ! -s conftest.err'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; } &&
29805 { ac_try
='test -s conftest$ac_exeext'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 eval "$as_ac_var=yes"
29813 echo "$as_me: failed program was:" >&5
29814 sed 's/^/| /' conftest.
$ac_ext >&5
29816 eval "$as_ac_var=no"
29818 rm -f conftest.err conftest.
$ac_objext \
29819 conftest
$ac_exeext conftest.
$ac_ext
29821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29823 if test `eval echo '${'$as_ac_var'}'` = yes; then
29824 cat >>confdefs.h
<<_ACEOF
29825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29832 HAVE_SOME_SLEEP_FUNC
=0
29833 if test "$USE_BEOS" = 1; then
29834 cat >>confdefs.h
<<\_ACEOF
29835 #define HAVE_SLEEP 1
29838 HAVE_SOME_SLEEP_FUNC
=1
29841 if test "$USE_DARWIN" = 1; then
29842 cat >>confdefs.h
<<\_ACEOF
29843 #define HAVE_USLEEP 1
29846 HAVE_SOME_SLEEP_FUNC
=1
29849 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
29852 for ac_func
in nanosleep
29854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29855 echo "$as_me:$LINENO: checking for $ac_func" >&5
29856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29857 if eval "test \"\${$as_ac_var+set}\" = set"; then
29858 echo $ECHO_N "(cached) $ECHO_C" >&6
29860 cat >conftest.
$ac_ext <<_ACEOF
29863 cat confdefs.h
>>conftest.
$ac_ext
29864 cat >>conftest.
$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29868 #define $ac_func innocuous_$ac_func
29870 /* System header to define __stub macros and hopefully few prototypes,
29871 which can conflict with char $ac_func (); below.
29872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29873 <limits.h> exists even on freestanding compilers. */
29876 # include <limits.h>
29878 # include <assert.h>
29883 /* Override any gcc2 internal prototype to avoid an error. */
29888 /* We use char because int might match the return type of a gcc2
29889 builtin and then its argument prototype would still apply. */
29891 /* The GNU C library defines this for functions which it implements
29892 to always fail with ENOSYS. Some functions are actually named
29893 something starting with __ and the normal name is an alias. */
29894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29897 char (*f) () = $ac_func;
29906 return f != $ac_func;
29911 rm -f conftest.
$ac_objext conftest
$ac_exeext
29912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29913 (eval $ac_link) 2>conftest.er1
29915 grep -v '^ *+' conftest.er1
>conftest.err
29917 cat conftest.err
>&5
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); } &&
29920 { ac_try
='test -z "$ac_c_werror_flag"
29921 || test ! -s conftest.err'
29922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29923 (eval $ac_try) 2>&5
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); }; } &&
29927 { ac_try
='test -s conftest$ac_exeext'
29928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29929 (eval $ac_try) 2>&5
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); }; }; then
29933 eval "$as_ac_var=yes"
29935 echo "$as_me: failed program was:" >&5
29936 sed 's/^/| /' conftest.
$ac_ext >&5
29938 eval "$as_ac_var=no"
29940 rm -f conftest.err conftest.
$ac_objext \
29941 conftest
$ac_exeext conftest.
$ac_ext
29943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29945 if test `eval echo '${'$as_ac_var'}'` = yes; then
29946 cat >>confdefs.h
<<_ACEOF
29947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29949 cat >>confdefs.h
<<\_ACEOF
29950 #define HAVE_NANOSLEEP 1
29955 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
29956 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
29957 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
29958 echo $ECHO_N "(cached) $ECHO_C" >&6
29960 ac_check_lib_save_LIBS
=$LIBS
29961 LIBS
="-lposix4 $LIBS"
29962 cat >conftest.
$ac_ext <<_ACEOF
29965 cat confdefs.h
>>conftest.
$ac_ext
29966 cat >>conftest.
$ac_ext <<_ACEOF
29967 /* end confdefs.h. */
29969 /* Override any gcc2 internal prototype to avoid an error. */
29973 /* We use char because int might match the return type of a gcc2
29974 builtin and then its argument prototype would still apply. */
29984 rm -f conftest.
$ac_objext conftest
$ac_exeext
29985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29986 (eval $ac_link) 2>conftest.er1
29988 grep -v '^ *+' conftest.er1
>conftest.err
29990 cat conftest.err
>&5
29991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992 (exit $ac_status); } &&
29993 { ac_try
='test -z "$ac_c_werror_flag"
29994 || test ! -s conftest.err'
29995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29996 (eval $ac_try) 2>&5
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); }; } &&
30000 { ac_try
='test -s conftest$ac_exeext'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; }; then
30006 ac_cv_lib_posix4_nanosleep
=yes
30008 echo "$as_me: failed program was:" >&5
30009 sed 's/^/| /' conftest.
$ac_ext >&5
30011 ac_cv_lib_posix4_nanosleep
=no
30013 rm -f conftest.err conftest.
$ac_objext \
30014 conftest
$ac_exeext conftest.
$ac_ext
30015 LIBS
=$ac_check_lib_save_LIBS
30017 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30018 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30019 if test $ac_cv_lib_posix4_nanosleep = yes; then
30021 cat >>confdefs.h
<<\_ACEOF
30022 #define HAVE_NANOSLEEP 1
30025 POSIX4_LINK
=" -lposix4"
30030 for ac_func
in usleep
30032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30033 echo "$as_me:$LINENO: checking for $ac_func" >&5
30034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30035 if eval "test \"\${$as_ac_var+set}\" = set"; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 cat >conftest.
$ac_ext <<_ACEOF
30041 cat confdefs.h
>>conftest.
$ac_ext
30042 cat >>conftest.
$ac_ext <<_ACEOF
30043 /* end confdefs.h. */
30044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30046 #define $ac_func innocuous_$ac_func
30048 /* System header to define __stub macros and hopefully few prototypes,
30049 which can conflict with char $ac_func (); below.
30050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30051 <limits.h> exists even on freestanding compilers. */
30054 # include <limits.h>
30056 # include <assert.h>
30061 /* Override any gcc2 internal prototype to avoid an error. */
30066 /* We use char because int might match the return type of a gcc2
30067 builtin and then its argument prototype would still apply. */
30069 /* The GNU C library defines this for functions which it implements
30070 to always fail with ENOSYS. Some functions are actually named
30071 something starting with __ and the normal name is an alias. */
30072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30075 char (*f) () = $ac_func;
30084 return f != $ac_func;
30089 rm -f conftest.
$ac_objext conftest
$ac_exeext
30090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30091 (eval $ac_link) 2>conftest.er1
30093 grep -v '^ *+' conftest.er1
>conftest.err
30095 cat conftest.err
>&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); } &&
30098 { ac_try
='test -z "$ac_c_werror_flag"
30099 || test ! -s conftest.err'
30100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30101 (eval $ac_try) 2>&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); }; } &&
30105 { ac_try
='test -s conftest$ac_exeext'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30111 eval "$as_ac_var=yes"
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.
$ac_ext >&5
30116 eval "$as_ac_var=no"
30118 rm -f conftest.err conftest.
$ac_objext \
30119 conftest
$ac_exeext conftest.
$ac_ext
30121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30123 if test `eval echo '${'$as_ac_var'}'` = yes; then
30124 cat >>confdefs.h
<<_ACEOF
30125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30127 cat >>confdefs.h
<<\_ACEOF
30128 #define HAVE_USLEEP 1
30132 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30133 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30151 for ac_func
in uname gethostname
30153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30154 echo "$as_me:$LINENO: checking for $ac_func" >&5
30155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30156 if eval "test \"\${$as_ac_var+set}\" = set"; then
30157 echo $ECHO_N "(cached) $ECHO_C" >&6
30159 cat >conftest.
$ac_ext <<_ACEOF
30162 cat confdefs.h
>>conftest.
$ac_ext
30163 cat >>conftest.
$ac_ext <<_ACEOF
30164 /* end confdefs.h. */
30165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30167 #define $ac_func innocuous_$ac_func
30169 /* System header to define __stub macros and hopefully few prototypes,
30170 which can conflict with char $ac_func (); below.
30171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30172 <limits.h> exists even on freestanding compilers. */
30175 # include <limits.h>
30177 # include <assert.h>
30182 /* Override any gcc2 internal prototype to avoid an error. */
30187 /* We use char because int might match the return type of a gcc2
30188 builtin and then its argument prototype would still apply. */
30190 /* The GNU C library defines this for functions which it implements
30191 to always fail with ENOSYS. Some functions are actually named
30192 something starting with __ and the normal name is an alias. */
30193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30196 char (*f) () = $ac_func;
30205 return f != $ac_func;
30210 rm -f conftest.
$ac_objext conftest
$ac_exeext
30211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30212 (eval $ac_link) 2>conftest.er1
30214 grep -v '^ *+' conftest.er1
>conftest.err
30216 cat conftest.err
>&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); } &&
30219 { ac_try
='test -z "$ac_c_werror_flag"
30220 || test ! -s conftest.err'
30221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30222 (eval $ac_try) 2>&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; } &&
30226 { ac_try
='test -s conftest$ac_exeext'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; }; then
30232 eval "$as_ac_var=yes"
30234 echo "$as_me: failed program was:" >&5
30235 sed 's/^/| /' conftest.
$ac_ext >&5
30237 eval "$as_ac_var=no"
30239 rm -f conftest.err conftest.
$ac_objext \
30240 conftest
$ac_exeext conftest.
$ac_ext
30242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30244 if test `eval echo '${'$as_ac_var'}'` = yes; then
30245 cat >>confdefs.h
<<_ACEOF
30246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30256 ac_cpp
='$CXXCPP $CPPFLAGS'
30257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30263 for ac_func
in strtok_r
30265 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30266 echo "$as_me:$LINENO: checking for $ac_func" >&5
30267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30268 if eval "test \"\${$as_ac_var+set}\" = set"; then
30269 echo $ECHO_N "(cached) $ECHO_C" >&6
30271 cat >conftest.
$ac_ext <<_ACEOF
30274 cat confdefs.h
>>conftest.
$ac_ext
30275 cat >>conftest.
$ac_ext <<_ACEOF
30276 /* end confdefs.h. */
30277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30279 #define $ac_func innocuous_$ac_func
30281 /* System header to define __stub macros and hopefully few prototypes,
30282 which can conflict with char $ac_func (); below.
30283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30284 <limits.h> exists even on freestanding compilers. */
30287 # include <limits.h>
30289 # include <assert.h>
30294 /* Override any gcc2 internal prototype to avoid an error. */
30299 /* We use char because int might match the return type of a gcc2
30300 builtin and then its argument prototype would still apply. */
30302 /* The GNU C library defines this for functions which it implements
30303 to always fail with ENOSYS. Some functions are actually named
30304 something starting with __ and the normal name is an alias. */
30305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30308 char (*f) () = $ac_func;
30317 return f != $ac_func;
30322 rm -f conftest.
$ac_objext conftest
$ac_exeext
30323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30324 (eval $ac_link) 2>conftest.er1
30326 grep -v '^ *+' conftest.er1
>conftest.err
30328 cat conftest.err
>&5
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); } &&
30331 { ac_try
='test -z "$ac_cxx_werror_flag"
30332 || test ! -s conftest.err'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; } &&
30338 { ac_try
='test -s conftest$ac_exeext'
30339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30340 (eval $ac_try) 2>&5
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); }; }; then
30344 eval "$as_ac_var=yes"
30346 echo "$as_me: failed program was:" >&5
30347 sed 's/^/| /' conftest.
$ac_ext >&5
30349 eval "$as_ac_var=no"
30351 rm -f conftest.err conftest.
$ac_objext \
30352 conftest
$ac_exeext conftest.
$ac_ext
30354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30356 if test `eval echo '${'$as_ac_var'}'` = yes; then
30357 cat >>confdefs.h
<<_ACEOF
30358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30366 ac_cpp
='$CPP $CPPFLAGS'
30367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30374 for ac_func
in inet_addr
30376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30377 echo "$as_me:$LINENO: checking for $ac_func" >&5
30378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30379 if eval "test \"\${$as_ac_var+set}\" = set"; then
30380 echo $ECHO_N "(cached) $ECHO_C" >&6
30382 cat >conftest.
$ac_ext <<_ACEOF
30385 cat confdefs.h
>>conftest.
$ac_ext
30386 cat >>conftest.
$ac_ext <<_ACEOF
30387 /* end confdefs.h. */
30388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30390 #define $ac_func innocuous_$ac_func
30392 /* System header to define __stub macros and hopefully few prototypes,
30393 which can conflict with char $ac_func (); below.
30394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30395 <limits.h> exists even on freestanding compilers. */
30398 # include <limits.h>
30400 # include <assert.h>
30405 /* Override any gcc2 internal prototype to avoid an error. */
30410 /* We use char because int might match the return type of a gcc2
30411 builtin and then its argument prototype would still apply. */
30413 /* The GNU C library defines this for functions which it implements
30414 to always fail with ENOSYS. Some functions are actually named
30415 something starting with __ and the normal name is an alias. */
30416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30419 char (*f) () = $ac_func;
30428 return f != $ac_func;
30433 rm -f conftest.
$ac_objext conftest
$ac_exeext
30434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30435 (eval $ac_link) 2>conftest.er1
30437 grep -v '^ *+' conftest.er1
>conftest.err
30439 cat conftest.err
>&5
30440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30441 (exit $ac_status); } &&
30442 { ac_try
='test -z "$ac_c_werror_flag"
30443 || test ! -s conftest.err'
30444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30445 (eval $ac_try) 2>&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; } &&
30449 { ac_try
='test -s conftest$ac_exeext'
30450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30451 (eval $ac_try) 2>&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); }; }; then
30455 eval "$as_ac_var=yes"
30457 echo "$as_me: failed program was:" >&5
30458 sed 's/^/| /' conftest.
$ac_ext >&5
30460 eval "$as_ac_var=no"
30462 rm -f conftest.err conftest.
$ac_objext \
30463 conftest
$ac_exeext conftest.
$ac_ext
30465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30467 if test `eval echo '${'$as_ac_var'}'` = yes; then
30468 cat >>confdefs.h
<<_ACEOF
30469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30471 cat >>confdefs.h
<<\_ACEOF
30472 #define HAVE_INET_ADDR 1
30477 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30478 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30479 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30482 ac_check_lib_save_LIBS
=$LIBS
30484 cat >conftest.
$ac_ext <<_ACEOF
30487 cat confdefs.h
>>conftest.
$ac_ext
30488 cat >>conftest.
$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30491 /* Override any gcc2 internal prototype to avoid an error. */
30495 /* We use char because int might match the return type of a gcc2
30496 builtin and then its argument prototype would still apply. */
30506 rm -f conftest.
$ac_objext conftest
$ac_exeext
30507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30508 (eval $ac_link) 2>conftest.er1
30510 grep -v '^ *+' conftest.er1
>conftest.err
30512 cat conftest.err
>&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); } &&
30515 { ac_try
='test -z "$ac_c_werror_flag"
30516 || test ! -s conftest.err'
30517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30518 (eval $ac_try) 2>&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); }; } &&
30522 { ac_try
='test -s conftest$ac_exeext'
30523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30524 (eval $ac_try) 2>&5
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); }; }; then
30528 ac_cv_lib_nsl_inet_addr
=yes
30530 echo "$as_me: failed program was:" >&5
30531 sed 's/^/| /' conftest.
$ac_ext >&5
30533 ac_cv_lib_nsl_inet_addr
=no
30535 rm -f conftest.err conftest.
$ac_objext \
30536 conftest
$ac_exeext conftest.
$ac_ext
30537 LIBS
=$ac_check_lib_save_LIBS
30539 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30540 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30541 if test $ac_cv_lib_nsl_inet_addr = yes; then
30545 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30546 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30547 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30548 echo $ECHO_N "(cached) $ECHO_C" >&6
30550 ac_check_lib_save_LIBS
=$LIBS
30551 LIBS
="-lresolv $LIBS"
30552 cat >conftest.
$ac_ext <<_ACEOF
30555 cat confdefs.h
>>conftest.
$ac_ext
30556 cat >>conftest.
$ac_ext <<_ACEOF
30557 /* end confdefs.h. */
30559 /* Override any gcc2 internal prototype to avoid an error. */
30563 /* We use char because int might match the return type of a gcc2
30564 builtin and then its argument prototype would still apply. */
30574 rm -f conftest.
$ac_objext conftest
$ac_exeext
30575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30576 (eval $ac_link) 2>conftest.er1
30578 grep -v '^ *+' conftest.er1
>conftest.err
30580 cat conftest.err
>&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); } &&
30583 { ac_try
='test -z "$ac_c_werror_flag"
30584 || test ! -s conftest.err'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; } &&
30590 { ac_try
='test -s conftest$ac_exeext'
30591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30592 (eval $ac_try) 2>&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); }; }; then
30596 ac_cv_lib_resolv_inet_addr
=yes
30598 echo "$as_me: failed program was:" >&5
30599 sed 's/^/| /' conftest.
$ac_ext >&5
30601 ac_cv_lib_resolv_inet_addr
=no
30603 rm -f conftest.err conftest.
$ac_objext \
30604 conftest
$ac_exeext conftest.
$ac_ext
30605 LIBS
=$ac_check_lib_save_LIBS
30607 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30608 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30609 if test $ac_cv_lib_resolv_inet_addr = yes; then
30613 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30614 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30615 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30616 echo $ECHO_N "(cached) $ECHO_C" >&6
30618 ac_check_lib_save_LIBS
=$LIBS
30619 LIBS
="-lsocket $LIBS"
30620 cat >conftest.
$ac_ext <<_ACEOF
30623 cat confdefs.h
>>conftest.
$ac_ext
30624 cat >>conftest.
$ac_ext <<_ACEOF
30625 /* end confdefs.h. */
30627 /* Override any gcc2 internal prototype to avoid an error. */
30631 /* We use char because int might match the return type of a gcc2
30632 builtin and then its argument prototype would still apply. */
30642 rm -f conftest.
$ac_objext conftest
$ac_exeext
30643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30644 (eval $ac_link) 2>conftest.er1
30646 grep -v '^ *+' conftest.er1
>conftest.err
30648 cat conftest.err
>&5
30649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30650 (exit $ac_status); } &&
30651 { ac_try
='test -z "$ac_c_werror_flag"
30652 || test ! -s conftest.err'
30653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30654 (eval $ac_try) 2>&5
30656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30657 (exit $ac_status); }; } &&
30658 { ac_try
='test -s conftest$ac_exeext'
30659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30660 (eval $ac_try) 2>&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); }; }; then
30664 ac_cv_lib_socket_inet_addr
=yes
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.
$ac_ext >&5
30669 ac_cv_lib_socket_inet_addr
=no
30671 rm -f conftest.err conftest.
$ac_objext \
30672 conftest
$ac_exeext conftest.
$ac_ext
30673 LIBS
=$ac_check_lib_save_LIBS
30675 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
30676 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
30677 if test $ac_cv_lib_socket_inet_addr = yes; then
30697 for ac_func
in inet_aton
30699 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30700 echo "$as_me:$LINENO: checking for $ac_func" >&5
30701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30702 if eval "test \"\${$as_ac_var+set}\" = set"; then
30703 echo $ECHO_N "(cached) $ECHO_C" >&6
30705 cat >conftest.
$ac_ext <<_ACEOF
30708 cat confdefs.h
>>conftest.
$ac_ext
30709 cat >>conftest.
$ac_ext <<_ACEOF
30710 /* end confdefs.h. */
30711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30713 #define $ac_func innocuous_$ac_func
30715 /* System header to define __stub macros and hopefully few prototypes,
30716 which can conflict with char $ac_func (); below.
30717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30718 <limits.h> exists even on freestanding compilers. */
30721 # include <limits.h>
30723 # include <assert.h>
30728 /* Override any gcc2 internal prototype to avoid an error. */
30733 /* We use char because int might match the return type of a gcc2
30734 builtin and then its argument prototype would still apply. */
30736 /* The GNU C library defines this for functions which it implements
30737 to always fail with ENOSYS. Some functions are actually named
30738 something starting with __ and the normal name is an alias. */
30739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30742 char (*f) () = $ac_func;
30751 return f != $ac_func;
30756 rm -f conftest.
$ac_objext conftest
$ac_exeext
30757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30758 (eval $ac_link) 2>conftest.er1
30760 grep -v '^ *+' conftest.er1
>conftest.err
30762 cat conftest.err
>&5
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); } &&
30765 { ac_try
='test -z "$ac_c_werror_flag"
30766 || test ! -s conftest.err'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; } &&
30772 { ac_try
='test -s conftest$ac_exeext'
30773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774 (eval $ac_try) 2>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; }; then
30778 eval "$as_ac_var=yes"
30780 echo "$as_me: failed program was:" >&5
30781 sed 's/^/| /' conftest.
$ac_ext >&5
30783 eval "$as_ac_var=no"
30785 rm -f conftest.err conftest.
$ac_objext \
30786 conftest
$ac_exeext conftest.
$ac_ext
30788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30790 if test `eval echo '${'$as_ac_var'}'` = yes; then
30791 cat >>confdefs.h
<<_ACEOF
30792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30794 cat >>confdefs.h
<<\_ACEOF
30795 #define HAVE_INET_ATON 1
30800 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
30801 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
30802 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
30803 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
30804 echo $ECHO_N "(cached) $ECHO_C" >&6
30806 ac_check_lib_save_LIBS
=$LIBS
30807 LIBS
="-l$INET_LINK $LIBS"
30808 cat >conftest.
$ac_ext <<_ACEOF
30811 cat confdefs.h
>>conftest.
$ac_ext
30812 cat >>conftest.
$ac_ext <<_ACEOF
30813 /* end confdefs.h. */
30815 /* Override any gcc2 internal prototype to avoid an error. */
30819 /* We use char because int might match the return type of a gcc2
30820 builtin and then its argument prototype would still apply. */
30830 rm -f conftest.
$ac_objext conftest
$ac_exeext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30832 (eval $ac_link) 2>conftest.er1
30834 grep -v '^ *+' conftest.er1
>conftest.err
30836 cat conftest.err
>&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); } &&
30839 { ac_try
='test -z "$ac_c_werror_flag"
30840 || test ! -s conftest.err'
30841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30842 (eval $ac_try) 2>&5
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); }; } &&
30846 { ac_try
='test -s conftest$ac_exeext'
30847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30848 (eval $ac_try) 2>&5
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; }; then
30852 eval "$as_ac_Lib=yes"
30854 echo "$as_me: failed program was:" >&5
30855 sed 's/^/| /' conftest.
$ac_ext >&5
30857 eval "$as_ac_Lib=no"
30859 rm -f conftest.err conftest.
$ac_objext \
30860 conftest
$ac_exeext conftest.
$ac_ext
30861 LIBS
=$ac_check_lib_save_LIBS
30863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
30864 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
30865 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
30866 cat >>confdefs.h
<<\_ACEOF
30867 #define HAVE_INET_ATON 1
30877 if test "x$INET_LINK" != "x"; then
30878 cat >>confdefs.h
<<\_ACEOF
30879 #define HAVE_INET_ADDR 1
30882 INET_LINK
=" -l$INET_LINK"
30890 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
30891 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
30892 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
30893 echo $ECHO_N "(cached) $ECHO_C" >&6
30895 ac_check_lib_save_LIBS
=$LIBS
30897 cat >conftest.
$ac_ext <<_ACEOF
30900 cat confdefs.h
>>conftest.
$ac_ext
30901 cat >>conftest.
$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30904 /* Override any gcc2 internal prototype to avoid an error. */
30908 /* We use char because int might match the return type of a gcc2
30909 builtin and then its argument prototype would still apply. */
30919 rm -f conftest.
$ac_objext conftest
$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921 (eval $ac_link) 2>conftest.er1
30923 grep -v '^ *+' conftest.er1
>conftest.err
30925 cat conftest.err
>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try
='test -z "$ac_c_werror_flag"
30929 || test ! -s conftest.err'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; } &&
30935 { ac_try
='test -s conftest$ac_exeext'
30936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937 (eval $ac_try) 2>&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); }; }; then
30941 ac_cv_lib_esd_esd_close
=yes
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.
$ac_ext >&5
30946 ac_cv_lib_esd_esd_close
=no
30948 rm -f conftest.err conftest.
$ac_objext \
30949 conftest
$ac_exeext conftest.
$ac_ext
30950 LIBS
=$ac_check_lib_save_LIBS
30952 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
30953 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
30954 if test $ac_cv_lib_esd_esd_close = yes; then
30957 for ac_header
in esd.h
30959 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30961 echo "$as_me:$LINENO: checking for $ac_header" >&5
30962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30964 echo $ECHO_N "(cached) $ECHO_C" >&6
30966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30969 # Is the header compilable?
30970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30972 cat >conftest.
$ac_ext <<_ACEOF
30975 cat confdefs.h
>>conftest.
$ac_ext
30976 cat >>conftest.
$ac_ext <<_ACEOF
30977 /* end confdefs.h. */
30978 $ac_includes_default
30979 #include <$ac_header>
30981 rm -f conftest.
$ac_objext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30983 (eval $ac_compile) 2>conftest.er1
30985 grep -v '^ *+' conftest.er1
>conftest.err
30987 cat conftest.err
>&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } &&
30990 { ac_try
='test -z "$ac_c_werror_flag"
30991 || test ! -s conftest.err'
30992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30993 (eval $ac_try) 2>&5
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); }; } &&
30997 { ac_try
='test -s conftest.$ac_objext'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; }; then
31003 ac_header_compiler
=yes
31005 echo "$as_me: failed program was:" >&5
31006 sed 's/^/| /' conftest.
$ac_ext >&5
31008 ac_header_compiler
=no
31010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31012 echo "${ECHO_T}$ac_header_compiler" >&6
31014 # Is the header present?
31015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31017 cat >conftest.
$ac_ext <<_ACEOF
31020 cat confdefs.h
>>conftest.
$ac_ext
31021 cat >>conftest.
$ac_ext <<_ACEOF
31022 /* end confdefs.h. */
31023 #include <$ac_header>
31025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31028 grep -v '^ *+' conftest.er1
>conftest.err
31030 cat conftest.err
>&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } >/dev
/null
; then
31033 if test -s conftest.err
; then
31034 ac_cpp_err
=$ac_c_preproc_warn_flag
31035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31042 if test -z "$ac_cpp_err"; then
31043 ac_header_preproc
=yes
31045 echo "$as_me: failed program was:" >&5
31046 sed 's/^/| /' conftest.
$ac_ext >&5
31048 ac_header_preproc
=no
31050 rm -f conftest.err conftest.
$ac_ext
31051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31052 echo "${ECHO_T}$ac_header_preproc" >&6
31054 # So? What about this header?
31055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31057 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31061 ac_header_preproc
=yes
31064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31068 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31070 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31071 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31074 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31078 ## ----------------------------------------- ##
31079 ## Report this to wx-dev@lists.wxwindows.org ##
31080 ## ----------------------------------------- ##
31083 sed "s/^/$as_me: WARNING: /" >&2
31086 echo "$as_me:$LINENO: checking for $ac_header" >&5
31087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31089 echo $ECHO_N "(cached) $ECHO_C" >&6
31091 eval "$as_ac_Header=\$ac_header_preproc"
31093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31098 cat >>confdefs.h
<<_ACEOF
31099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31102 EXTRALIBS_ESD
="-lesd"
31113 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31114 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31115 cat >conftest.
$ac_ext <<_ACEOF
31118 cat confdefs.h
>>conftest.
$ac_ext
31119 cat >>conftest.
$ac_ext <<_ACEOF
31120 /* end confdefs.h. */
31122 #include <linux/cdrom.h>
31125 #include <sys/cdio.h>
31131 struct cdrom_tocentry entry, old_entry;
31136 rm -f conftest.
$ac_objext
31137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31138 (eval $ac_compile) 2>conftest.er1
31140 grep -v '^ *+' conftest.er1
>conftest.err
31142 cat conftest.err
>&5
31143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144 (exit $ac_status); } &&
31145 { ac_try
='test -z "$ac_c_werror_flag"
31146 || test ! -s conftest.err'
31147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31148 (eval $ac_try) 2>&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; } &&
31152 { ac_try
='test -s conftest.$ac_objext'
31153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154 (eval $ac_try) 2>&5
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); }; }; then
31158 echo "$as_me:$LINENO: result: yes" >&5
31159 echo "${ECHO_T}yes" >&6
31160 cat >>confdefs.h
<<\_ACEOF
31161 #define HAVE_KNOWN_CDROM_INTERFACE 1
31165 echo "$as_me: failed program was:" >&5
31166 sed 's/^/| /' conftest.
$ac_ext >&5
31168 echo "$as_me:$LINENO: result: no" >&5
31169 echo "${ECHO_T}no" >&6
31171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31174 cat >confcache
<<\_ACEOF
31175 # This file is a shell script that caches the results of configure
31176 # tests run on this system so they can be shared between configure
31177 # scripts and configure runs, see configure's option --config-cache.
31178 # It is not useful on other systems. If it contains results you don't
31179 # want to keep, you may remove or edit it.
31181 # config.status only pays attention to the cache file if you give it
31182 # the --recheck option to rerun configure.
31184 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31185 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31186 # following values.
31190 # The following way of writing the cache mishandles newlines in values,
31191 # but we know of no workaround that is simple, portable, and efficient.
31192 # So, don't put newlines in cache variables' values.
31193 # Ultrix sh set writes to stderr and can't be redirected directly,
31194 # and sets the high bit in the cache file unless we assign to the vars.
31197 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31199 # `set' does not quote correctly, so add quotes (double-quote
31200 # substitution turns \\\\ into \\, and sed turns \\ into \).
31203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31206 # `set' quotes correctly as required by POSIX, so do not add quotes.
31208 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31215 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31217 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31219 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31220 if test -w $cache_file; then
31221 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31222 cat confcache
>$cache_file
31224 echo "not updating unwritable cache $cache_file"
31231 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31237 if test "$wxUSE_THREADS" = "yes" ; then
31238 if test "$USE_BEOS" = 1; then
31239 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31240 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31245 if test "$wxUSE_THREADS" = "yes" ; then
31248 THREAD_OPTS
="-pthread"
31250 *-*-solaris2* | *-*-sunos4* )
31251 if test "x$GCC" = "xyes"; then
31252 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31254 THREAD_OPTS
="-mt $THREAD_OPTS"
31258 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31260 *-*-darwin* | *-*-cygwin* )
31264 THREAD_OPTS
="pthreads"
31267 if test "x$GCC" != "xyes"; then
31273 if test "x$GCC" = "xyes"; then
31279 if test "x$GCC" != "xyes"; then
31280 THREAD_OPTS
="-Ethread"
31285 THREAD_OPTS
="$THREAD_OPTS pthread none"
31288 for flag
in $THREAD_OPTS; do
31291 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31292 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31296 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31297 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31298 THREADS_CFLAGS
="$flag"
31302 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31303 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31304 THREADS_LINK
="-l$flag"
31309 save_CFLAGS
="$CFLAGS"
31310 LIBS
="$THREADS_LINK $LIBS"
31311 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31313 cat >conftest.
$ac_ext <<_ACEOF
31316 cat confdefs.h
>>conftest.
$ac_ext
31317 cat >>conftest.
$ac_ext <<_ACEOF
31318 /* end confdefs.h. */
31319 #include <pthread.h>
31323 pthread_create(0,0,0,0);
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
31352 echo "$as_me: failed program was:" >&5
31353 sed 's/^/| /' conftest.
$ac_ext >&5
31356 rm -f conftest.err conftest.
$ac_objext \
31357 conftest
$ac_exeext conftest.
$ac_ext
31360 CFLAGS
="$save_CFLAGS"
31362 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31363 echo "${ECHO_T}$THREADS_OK" >&6
31364 if test "x$THREADS_OK" = "xyes"; then
31372 if test "x$THREADS_OK" != "xyes"; then
31374 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31375 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31377 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31378 LIBS
="$THREADS_LINK $LIBS"
31380 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31381 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31385 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31386 flag
="-D_THREAD_SAFE"
31389 flag
="-D_THREAD_SAFE"
31392 flag
="-D_REENTRANT"
31393 if test "x$GCC" != "xyes"; then
31394 flag
="$flag -D_RWSTD_MULTI_THREAD"
31397 *solaris
* | alpha
*-osf*)
31398 flag
="-D_REENTRANT"
31401 echo "$as_me:$LINENO: result: ${flag}" >&5
31402 echo "${ECHO_T}${flag}" >&6
31403 if test "x$flag" != xno
; then
31404 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31407 if test "x$THREADS_CFLAGS" != "x"; then
31408 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31409 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31414 if test "$wxUSE_THREADS" = "yes" ; then
31416 for ac_func
in thr_setconcurrency
31418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31419 echo "$as_me:$LINENO: checking for $ac_func" >&5
31420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31421 if eval "test \"\${$as_ac_var+set}\" = set"; then
31422 echo $ECHO_N "(cached) $ECHO_C" >&6
31424 cat >conftest.
$ac_ext <<_ACEOF
31427 cat confdefs.h
>>conftest.
$ac_ext
31428 cat >>conftest.
$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31432 #define $ac_func innocuous_$ac_func
31434 /* System header to define __stub macros and hopefully few prototypes,
31435 which can conflict with char $ac_func (); below.
31436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31437 <limits.h> exists even on freestanding compilers. */
31440 # include <limits.h>
31442 # include <assert.h>
31447 /* Override any gcc2 internal prototype to avoid an error. */
31452 /* We use char because int might match the return type of a gcc2
31453 builtin and then its argument prototype would still apply. */
31455 /* The GNU C library defines this for functions which it implements
31456 to always fail with ENOSYS. Some functions are actually named
31457 something starting with __ and the normal name is an alias. */
31458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31461 char (*f) () = $ac_func;
31470 return f != $ac_func;
31475 rm -f conftest.
$ac_objext conftest
$ac_exeext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31477 (eval $ac_link) 2>conftest.er1
31479 grep -v '^ *+' conftest.er1
>conftest.err
31481 cat conftest.err
>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); } &&
31484 { ac_try
='test -z "$ac_c_werror_flag"
31485 || test ! -s conftest.err'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; } &&
31491 { ac_try
='test -s conftest$ac_exeext'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; }; then
31497 eval "$as_ac_var=yes"
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.
$ac_ext >&5
31502 eval "$as_ac_var=no"
31504 rm -f conftest.err conftest.
$ac_objext \
31505 conftest
$ac_exeext conftest.
$ac_ext
31507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31509 if test `eval echo '${'$as_ac_var'}'` = yes; then
31510 cat >>confdefs.h
<<_ACEOF
31511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31519 for ac_header
in sched.h
31521 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31523 echo "$as_me:$LINENO: checking for $ac_header" >&5
31524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31531 # Is the header compilable?
31532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31534 cat >conftest.
$ac_ext <<_ACEOF
31537 cat confdefs.h
>>conftest.
$ac_ext
31538 cat >>conftest.
$ac_ext <<_ACEOF
31539 /* end confdefs.h. */
31540 $ac_includes_default
31541 #include <$ac_header>
31543 rm -f conftest.
$ac_objext
31544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31545 (eval $ac_compile) 2>conftest.er1
31547 grep -v '^ *+' conftest.er1
>conftest.err
31549 cat conftest.err
>&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); } &&
31552 { ac_try
='test -z "$ac_c_werror_flag"
31553 || test ! -s conftest.err'
31554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31555 (eval $ac_try) 2>&5
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); }; } &&
31559 { ac_try
='test -s conftest.$ac_objext'
31560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31561 (eval $ac_try) 2>&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; }; then
31565 ac_header_compiler
=yes
31567 echo "$as_me: failed program was:" >&5
31568 sed 's/^/| /' conftest.
$ac_ext >&5
31570 ac_header_compiler
=no
31572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31574 echo "${ECHO_T}$ac_header_compiler" >&6
31576 # Is the header present?
31577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31579 cat >conftest.
$ac_ext <<_ACEOF
31582 cat confdefs.h
>>conftest.
$ac_ext
31583 cat >>conftest.
$ac_ext <<_ACEOF
31584 /* end confdefs.h. */
31585 #include <$ac_header>
31587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31590 grep -v '^ *+' conftest.er1
>conftest.err
31592 cat conftest.err
>&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); } >/dev
/null
; then
31595 if test -s conftest.err
; then
31596 ac_cpp_err
=$ac_c_preproc_warn_flag
31597 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31604 if test -z "$ac_cpp_err"; then
31605 ac_header_preproc
=yes
31607 echo "$as_me: failed program was:" >&5
31608 sed 's/^/| /' conftest.
$ac_ext >&5
31610 ac_header_preproc
=no
31612 rm -f conftest.err conftest.
$ac_ext
31613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31614 echo "${ECHO_T}$ac_header_preproc" >&6
31616 # So? What about this header?
31617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31622 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31623 ac_header_preproc
=yes
31626 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31628 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31630 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31631 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31632 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31633 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31636 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31637 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31640 ## ----------------------------------------- ##
31641 ## Report this to wx-dev@lists.wxwindows.org ##
31642 ## ----------------------------------------- ##
31645 sed "s/^/$as_me: WARNING: /" >&2
31648 echo "$as_me:$LINENO: checking for $ac_header" >&5
31649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 eval "$as_ac_Header=\$ac_header_preproc"
31655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31660 cat >>confdefs.h
<<_ACEOF
31661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31668 if test "$ac_cv_header_sched_h" = "yes"; then
31669 echo "$as_me:$LINENO: checking for sched_yield" >&5
31670 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
31671 if test "${ac_cv_func_sched_yield+set}" = set; then
31672 echo $ECHO_N "(cached) $ECHO_C" >&6
31674 cat >conftest.
$ac_ext <<_ACEOF
31677 cat confdefs.h
>>conftest.
$ac_ext
31678 cat >>conftest.
$ac_ext <<_ACEOF
31679 /* end confdefs.h. */
31680 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
31681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31682 #define sched_yield innocuous_sched_yield
31684 /* System header to define __stub macros and hopefully few prototypes,
31685 which can conflict with char sched_yield (); below.
31686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31687 <limits.h> exists even on freestanding compilers. */
31690 # include <limits.h>
31692 # include <assert.h>
31697 /* Override any gcc2 internal prototype to avoid an error. */
31702 /* We use char because int might match the return type of a gcc2
31703 builtin and then its argument prototype would still apply. */
31704 char sched_yield ();
31705 /* The GNU C library defines this for functions which it implements
31706 to always fail with ENOSYS. Some functions are actually named
31707 something starting with __ and the normal name is an alias. */
31708 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
31711 char (*f) () = sched_yield;
31720 return f != sched_yield;
31725 rm -f conftest.
$ac_objext conftest
$ac_exeext
31726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31727 (eval $ac_link) 2>conftest.er1
31729 grep -v '^ *+' conftest.er1
>conftest.err
31731 cat conftest.err
>&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } &&
31734 { ac_try
='test -z "$ac_c_werror_flag"
31735 || test ! -s conftest.err'
31736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31737 (eval $ac_try) 2>&5
31739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740 (exit $ac_status); }; } &&
31741 { ac_try
='test -s conftest$ac_exeext'
31742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31743 (eval $ac_try) 2>&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); }; }; then
31747 ac_cv_func_sched_yield
=yes
31749 echo "$as_me: failed program was:" >&5
31750 sed 's/^/| /' conftest.
$ac_ext >&5
31752 ac_cv_func_sched_yield
=no
31754 rm -f conftest.err conftest.
$ac_objext \
31755 conftest
$ac_exeext conftest.
$ac_ext
31757 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
31758 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
31759 if test $ac_cv_func_sched_yield = yes; then
31760 cat >>confdefs.h
<<\_ACEOF
31761 #define HAVE_SCHED_YIELD 1
31766 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
31767 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
31768 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
31769 echo $ECHO_N "(cached) $ECHO_C" >&6
31771 ac_check_lib_save_LIBS
=$LIBS
31772 LIBS
="-lposix4 $LIBS"
31773 cat >conftest.
$ac_ext <<_ACEOF
31776 cat confdefs.h
>>conftest.
$ac_ext
31777 cat >>conftest.
$ac_ext <<_ACEOF
31778 /* end confdefs.h. */
31780 /* Override any gcc2 internal prototype to avoid an error. */
31784 /* We use char because int might match the return type of a gcc2
31785 builtin and then its argument prototype would still apply. */
31786 char sched_yield ();
31795 rm -f conftest.
$ac_objext conftest
$ac_exeext
31796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31797 (eval $ac_link) 2>conftest.er1
31799 grep -v '^ *+' conftest.er1
>conftest.err
31801 cat conftest.err
>&5
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); } &&
31804 { ac_try
='test -z "$ac_c_werror_flag"
31805 || test ! -s conftest.err'
31806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31807 (eval $ac_try) 2>&5
31809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810 (exit $ac_status); }; } &&
31811 { ac_try
='test -s conftest$ac_exeext'
31812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31813 (eval $ac_try) 2>&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); }; }; then
31817 ac_cv_lib_posix4_sched_yield
=yes
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.
$ac_ext >&5
31822 ac_cv_lib_posix4_sched_yield
=no
31824 rm -f conftest.err conftest.
$ac_objext \
31825 conftest
$ac_exeext conftest.
$ac_ext
31826 LIBS
=$ac_check_lib_save_LIBS
31828 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
31829 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
31830 if test $ac_cv_lib_posix4_sched_yield = yes; then
31831 cat >>confdefs.h
<<\_ACEOF
31832 #define HAVE_SCHED_YIELD 1
31834 POSIX4_LINK
=" -lposix4"
31836 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
31837 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31848 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
31849 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
31850 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
31851 echo $ECHO_N "(cached) $ECHO_C" >&6
31853 cat >conftest.
$ac_ext <<_ACEOF
31856 cat confdefs.h
>>conftest.
$ac_ext
31857 cat >>conftest.
$ac_ext <<_ACEOF
31858 /* end confdefs.h. */
31859 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
31860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31861 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
31863 /* System header to define __stub macros and hopefully few prototypes,
31864 which can conflict with char pthread_attr_getschedpolicy (); below.
31865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31866 <limits.h> exists even on freestanding compilers. */
31869 # include <limits.h>
31871 # include <assert.h>
31874 #undef pthread_attr_getschedpolicy
31876 /* Override any gcc2 internal prototype to avoid an error. */
31881 /* We use char because int might match the return type of a gcc2
31882 builtin and then its argument prototype would still apply. */
31883 char pthread_attr_getschedpolicy ();
31884 /* The GNU C library defines this for functions which it implements
31885 to always fail with ENOSYS. Some functions are actually named
31886 something starting with __ and the normal name is an alias. */
31887 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
31890 char (*f) () = pthread_attr_getschedpolicy;
31899 return f != pthread_attr_getschedpolicy;
31904 rm -f conftest.
$ac_objext conftest
$ac_exeext
31905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31906 (eval $ac_link) 2>conftest.er1
31908 grep -v '^ *+' conftest.er1
>conftest.err
31910 cat conftest.err
>&5
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); } &&
31913 { ac_try
='test -z "$ac_c_werror_flag"
31914 || test ! -s conftest.err'
31915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31916 (eval $ac_try) 2>&5
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); }; } &&
31920 { ac_try
='test -s conftest$ac_exeext'
31921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31922 (eval $ac_try) 2>&5
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); }; }; then
31926 ac_cv_func_pthread_attr_getschedpolicy
=yes
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.
$ac_ext >&5
31931 ac_cv_func_pthread_attr_getschedpolicy
=no
31933 rm -f conftest.err conftest.
$ac_objext \
31934 conftest
$ac_exeext conftest.
$ac_ext
31936 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
31937 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
31938 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
31939 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
31940 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
31941 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
31942 echo $ECHO_N "(cached) $ECHO_C" >&6
31944 cat >conftest.
$ac_ext <<_ACEOF
31947 cat confdefs.h
>>conftest.
$ac_ext
31948 cat >>conftest.
$ac_ext <<_ACEOF
31949 /* end confdefs.h. */
31950 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
31951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31952 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
31954 /* System header to define __stub macros and hopefully few prototypes,
31955 which can conflict with char pthread_attr_setschedparam (); below.
31956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31957 <limits.h> exists even on freestanding compilers. */
31960 # include <limits.h>
31962 # include <assert.h>
31965 #undef pthread_attr_setschedparam
31967 /* Override any gcc2 internal prototype to avoid an error. */
31972 /* We use char because int might match the return type of a gcc2
31973 builtin and then its argument prototype would still apply. */
31974 char pthread_attr_setschedparam ();
31975 /* The GNU C library defines this for functions which it implements
31976 to always fail with ENOSYS. Some functions are actually named
31977 something starting with __ and the normal name is an alias. */
31978 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
31981 char (*f) () = pthread_attr_setschedparam;
31990 return f != pthread_attr_setschedparam;
31995 rm -f conftest.
$ac_objext conftest
$ac_exeext
31996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31997 (eval $ac_link) 2>conftest.er1
31999 grep -v '^ *+' conftest.er1
>conftest.err
32001 cat conftest.err
>&5
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); } &&
32004 { ac_try
='test -z "$ac_c_werror_flag"
32005 || test ! -s conftest.err'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; } &&
32011 { ac_try
='test -s conftest$ac_exeext'
32012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013 (eval $ac_try) 2>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); }; }; then
32017 ac_cv_func_pthread_attr_setschedparam
=yes
32019 echo "$as_me: failed program was:" >&5
32020 sed 's/^/| /' conftest.
$ac_ext >&5
32022 ac_cv_func_pthread_attr_setschedparam
=no
32024 rm -f conftest.err conftest.
$ac_objext \
32025 conftest
$ac_exeext conftest.
$ac_ext
32027 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32028 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32029 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32030 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32031 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32032 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32033 echo $ECHO_N "(cached) $ECHO_C" >&6
32035 cat >conftest.
$ac_ext <<_ACEOF
32038 cat confdefs.h
>>conftest.
$ac_ext
32039 cat >>conftest.
$ac_ext <<_ACEOF
32040 /* end confdefs.h. */
32041 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32043 #define sched_get_priority_max innocuous_sched_get_priority_max
32045 /* System header to define __stub macros and hopefully few prototypes,
32046 which can conflict with char sched_get_priority_max (); below.
32047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32048 <limits.h> exists even on freestanding compilers. */
32051 # include <limits.h>
32053 # include <assert.h>
32056 #undef sched_get_priority_max
32058 /* Override any gcc2 internal prototype to avoid an error. */
32063 /* We use char because int might match the return type of a gcc2
32064 builtin and then its argument prototype would still apply. */
32065 char sched_get_priority_max ();
32066 /* The GNU C library defines this for functions which it implements
32067 to always fail with ENOSYS. Some functions are actually named
32068 something starting with __ and the normal name is an alias. */
32069 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32072 char (*f) () = sched_get_priority_max;
32081 return f != sched_get_priority_max;
32086 rm -f conftest.
$ac_objext conftest
$ac_exeext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32088 (eval $ac_link) 2>conftest.er1
32090 grep -v '^ *+' conftest.er1
>conftest.err
32092 cat conftest.err
>&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try
='test -z "$ac_c_werror_flag"
32096 || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try
='test -s conftest$ac_exeext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108 ac_cv_func_sched_get_priority_max
=yes
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.
$ac_ext >&5
32113 ac_cv_func_sched_get_priority_max
=no
32115 rm -f conftest.err conftest.
$ac_objext \
32116 conftest
$ac_exeext conftest.
$ac_ext
32118 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32119 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32120 if test $ac_cv_func_sched_get_priority_max = yes; then
32123 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32124 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32125 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32126 echo $ECHO_N "(cached) $ECHO_C" >&6
32128 ac_check_lib_save_LIBS
=$LIBS
32129 LIBS
="-lposix4 $LIBS"
32130 cat >conftest.
$ac_ext <<_ACEOF
32133 cat confdefs.h
>>conftest.
$ac_ext
32134 cat >>conftest.
$ac_ext <<_ACEOF
32135 /* end confdefs.h. */
32137 /* Override any gcc2 internal prototype to avoid an error. */
32141 /* We use char because int might match the return type of a gcc2
32142 builtin and then its argument prototype would still apply. */
32143 char sched_get_priority_max ();
32147 sched_get_priority_max ();
32152 rm -f conftest.
$ac_objext conftest
$ac_exeext
32153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32154 (eval $ac_link) 2>conftest.er1
32156 grep -v '^ *+' conftest.er1
>conftest.err
32158 cat conftest.err
>&5
32159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32160 (exit $ac_status); } &&
32161 { ac_try
='test -z "$ac_c_werror_flag"
32162 || test ! -s conftest.err'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; } &&
32168 { ac_try
='test -s conftest$ac_exeext'
32169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32170 (eval $ac_try) 2>&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); }; }; then
32174 ac_cv_lib_posix4_sched_get_priority_max
=yes
32176 echo "$as_me: failed program was:" >&5
32177 sed 's/^/| /' conftest.
$ac_ext >&5
32179 ac_cv_lib_posix4_sched_get_priority_max
=no
32181 rm -f conftest.err conftest.
$ac_objext \
32182 conftest
$ac_exeext conftest.
$ac_ext
32183 LIBS
=$ac_check_lib_save_LIBS
32185 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32186 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32187 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32190 POSIX4_LINK
=" -lposix4"
32204 if test "$HAVE_PRIOR_FUNCS" = 1; then
32205 cat >>confdefs.h
<<\_ACEOF
32206 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32210 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32211 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32214 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32215 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32216 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32217 echo $ECHO_N "(cached) $ECHO_C" >&6
32219 cat >conftest.
$ac_ext <<_ACEOF
32222 cat confdefs.h
>>conftest.
$ac_ext
32223 cat >>conftest.
$ac_ext <<_ACEOF
32224 /* end confdefs.h. */
32225 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32227 #define pthread_cancel innocuous_pthread_cancel
32229 /* System header to define __stub macros and hopefully few prototypes,
32230 which can conflict with char pthread_cancel (); below.
32231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32232 <limits.h> exists even on freestanding compilers. */
32235 # include <limits.h>
32237 # include <assert.h>
32240 #undef pthread_cancel
32242 /* Override any gcc2 internal prototype to avoid an error. */
32247 /* We use char because int might match the return type of a gcc2
32248 builtin and then its argument prototype would still apply. */
32249 char pthread_cancel ();
32250 /* The GNU C library defines this for functions which it implements
32251 to always fail with ENOSYS. Some functions are actually named
32252 something starting with __ and the normal name is an alias. */
32253 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32256 char (*f) () = pthread_cancel;
32265 return f != pthread_cancel;
32270 rm -f conftest.
$ac_objext conftest
$ac_exeext
32271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32272 (eval $ac_link) 2>conftest.er1
32274 grep -v '^ *+' conftest.er1
>conftest.err
32276 cat conftest.err
>&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); } &&
32279 { ac_try
='test -z "$ac_c_werror_flag"
32280 || test ! -s conftest.err'
32281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32282 (eval $ac_try) 2>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); }; } &&
32286 { ac_try
='test -s conftest$ac_exeext'
32287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32288 (eval $ac_try) 2>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; }; then
32292 ac_cv_func_pthread_cancel
=yes
32294 echo "$as_me: failed program was:" >&5
32295 sed 's/^/| /' conftest.
$ac_ext >&5
32297 ac_cv_func_pthread_cancel
=no
32299 rm -f conftest.err conftest.
$ac_objext \
32300 conftest
$ac_exeext conftest.
$ac_ext
32302 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32303 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32304 if test $ac_cv_func_pthread_cancel = yes; then
32305 cat >>confdefs.h
<<\_ACEOF
32306 #define HAVE_PTHREAD_CANCEL 1
32310 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32311 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32317 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32318 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32319 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32323 cat >conftest.
$ac_ext <<_ACEOF
32326 cat confdefs.h
>>conftest.
$ac_ext
32327 cat >>conftest.
$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32329 #include <pthread.h>
32334 pthread_mutexattr_t attr;
32335 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32341 rm -f conftest.
$ac_objext
32342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32343 (eval $ac_compile) 2>conftest.er1
32345 grep -v '^ *+' conftest.er1
>conftest.err
32347 cat conftest.err
>&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } &&
32350 { ac_try
='test -z "$ac_c_werror_flag"
32351 || test ! -s conftest.err'
32352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32353 (eval $ac_try) 2>&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); }; } &&
32357 { ac_try
='test -s conftest.$ac_objext'
32358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32359 (eval $ac_try) 2>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; }; then
32364 wx_cv_type_pthread_mutexattr_t
=yes
32367 echo "$as_me: failed program was:" >&5
32368 sed 's/^/| /' conftest.
$ac_ext >&5
32371 wx_cv_type_pthread_mutexattr_t
=no
32375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32378 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32379 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32381 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32382 cat >>confdefs.h
<<\_ACEOF
32383 #define HAVE_PTHREAD_MUTEXATTR_T 1
32387 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32388 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32389 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 cat >conftest.
$ac_ext <<_ACEOF
32396 cat confdefs.h
>>conftest.
$ac_ext
32397 cat >>conftest.
$ac_ext <<_ACEOF
32398 /* end confdefs.h. */
32399 #include <pthread.h>
32404 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32410 rm -f conftest.
$ac_objext
32411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32412 (eval $ac_compile) 2>conftest.er1
32414 grep -v '^ *+' conftest.er1
>conftest.err
32416 cat conftest.err
>&5
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); } &&
32419 { ac_try
='test -z "$ac_c_werror_flag"
32420 || test ! -s conftest.err'
32421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32422 (eval $ac_try) 2>&5
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); }; } &&
32426 { ac_try
='test -s conftest.$ac_objext'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; }; then
32433 wx_cv_type_pthread_rec_mutex_init
=yes
32436 echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.
$ac_ext >&5
32440 wx_cv_type_pthread_rec_mutex_init
=no
32444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32447 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32448 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32449 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32450 cat >>confdefs.h
<<\_ACEOF
32451 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32455 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32456 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32462 if test "$wxUSE_THREADS" = "yes" ; then
32465 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32466 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32467 if test "${wx_cv_cflags_mthread+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 CFLAGS_OLD
="$CFLAGS"
32472 CFLAGS
="$CFLAGS -mthreads"
32473 cat >conftest.
$ac_ext <<_ACEOF
32476 cat confdefs.h
>>conftest.
$ac_ext
32477 cat >>conftest.
$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32488 rm -f conftest.
$ac_objext
32489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32490 (eval $ac_compile) 2>conftest.er1
32492 grep -v '^ *+' conftest.er1
>conftest.err
32494 cat conftest.err
>&5
32495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496 (exit $ac_status); } &&
32497 { ac_try
='test -z "$ac_c_werror_flag"
32498 || test ! -s conftest.err'
32499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32500 (eval $ac_try) 2>&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); }; } &&
32504 { ac_try
='test -s conftest.$ac_objext'
32505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32506 (eval $ac_try) 2>&5
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); }; }; then
32510 wx_cv_cflags_mthread
=yes
32512 echo "$as_me: failed program was:" >&5
32513 sed 's/^/| /' conftest.
$ac_ext >&5
32515 wx_cv_cflags_mthread
=no
32518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32522 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32523 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32525 if test "$wx_cv_cflags_mthread" = "yes"; then
32526 CXXFLAGS
="$CXXFLAGS -mthreads"
32527 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
32528 LDFLAGS
="$LDFLAGS -mthreads"
32530 CFLAGS
="$CFLAGS_OLD"
32534 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32535 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32536 LDFLAGS
="$LDFLAGS -Zmt"
32542 if test "$wxUSE_THREADS" = "yes"; then
32543 cat >>confdefs.h
<<\_ACEOF
32544 #define wxUSE_THREADS 1
32548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32550 if test "$ac_cv_func_strtok_r" = "yes"; then
32551 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32552 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32553 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32554 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
32555 echo "$as_me:$LINENO: result: yes" >&5
32556 echo "${ECHO_T}yes" >&6
32558 echo "$as_me:$LINENO: result: no" >&5
32559 echo "${ECHO_T}no" >&6
32564 if test "$WXGTK20" = 1 ; then
32565 cat >>confdefs.h
<<_ACEOF
32566 #define __WXGTK20__ $WXGTK20
32572 if test "$WXGTK12" = 1 ; then
32573 cat >>confdefs.h
<<_ACEOF
32574 #define __WXGTK12__ $WXGTK12
32579 if test "$WXGTK127" = 1 ; then
32580 cat >>confdefs.h
<<_ACEOF
32581 #define __WXGTK127__ $WXGTK127
32588 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32593 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32594 wxUSE_DEBUG_INFO
=yes
32598 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32599 cat >>confdefs.h
<<\_ACEOF
32603 WXDEBUG_DEFINE
="-D__WXDEBUG__"
32605 if test "$wxUSE_GTK" = 1 ; then
32606 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
32610 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32611 cat >>confdefs.h
<<\_ACEOF
32612 #define wxUSE_MEMORY_TRACING 1
32615 cat >>confdefs.h
<<\_ACEOF
32616 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32619 cat >>confdefs.h
<<\_ACEOF
32620 #define wxUSE_DEBUG_NEW_ALWAYS 1
32623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32626 if test "$wxUSE_DMALLOC" = "yes" ; then
32627 DMALLOC_LIBS
="-ldmalloc"
32631 if test "$wxUSE_PROFILE" = "yes" ; then
32636 CODE_GEN_FLAGS_CXX
=
32637 if test "$GCC" = "yes" ; then
32638 if test "$wxUSE_NO_RTTI" = "yes" ; then
32639 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
32641 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32642 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
32644 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32645 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
32650 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
32653 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
32659 if test "$wxUSE_OPTIMISE" = "no" ; then
32660 if test "$GCC" = yes ; then
32664 if test "$GCC" = yes ; then
32668 i586
-*-*|i686
-*-* )
32669 OPTIMISE
="${OPTIMISE} "
32678 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
32679 cat >>confdefs.h
<<\_ACEOF
32680 #define WXWIN_COMPATIBILITY_2_2 1
32684 WXWIN_COMPATIBILITY_2_4
="yes"
32687 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
32688 cat >>confdefs.h
<<\_ACEOF
32689 #define WXWIN_COMPATIBILITY_2_4 1
32695 if test "$wxUSE_GUI" = "yes"; then
32696 cat >>confdefs.h
<<\_ACEOF
32697 #define wxUSE_GUI 1
32702 cat >>confdefs.h
<<\_ACEOF
32703 #define wxUSE_NOGUI 1
32709 if test "$wxUSE_UNIX" = "yes"; then
32710 cat >>confdefs.h
<<\_ACEOF
32711 #define wxUSE_UNIX 1
32717 if test "$wxUSE_STL" = "yes"; then
32718 cat >>confdefs.h
<<\_ACEOF
32719 #define wxUSE_STL 1
32724 if test "$wxUSE_APPLE_IEEE" = "yes"; then
32725 cat >>confdefs.h
<<\_ACEOF
32726 #define wxUSE_APPLE_IEEE 1
32731 if test "$wxUSE_TIMER" = "yes"; then
32732 cat >>confdefs.h
<<\_ACEOF
32733 #define wxUSE_TIMER 1
32738 if test "$wxUSE_WAVE" = "yes"; then
32739 cat >>confdefs.h
<<\_ACEOF
32740 #define wxUSE_WAVE 1
32745 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32746 cat >>confdefs.h
<<\_ACEOF
32747 #define wxUSE_CMDLINE_PARSER 1
32752 if test "$wxUSE_STOPWATCH" = "yes"; then
32753 cat >>confdefs.h
<<\_ACEOF
32754 #define wxUSE_STOPWATCH 1
32759 if test "$wxUSE_DATETIME" = "yes"; then
32760 cat >>confdefs.h
<<\_ACEOF
32761 #define wxUSE_DATETIME 1
32766 if test "$wxUSE_FILE" = "yes"; then
32767 cat >>confdefs.h
<<\_ACEOF
32768 #define wxUSE_FILE 1
32773 if test "$wxUSE_FFILE" = "yes"; then
32774 cat >>confdefs.h
<<\_ACEOF
32775 #define wxUSE_FFILE 1
32780 if test "$wxUSE_FILESYSTEM" = "yes"; then
32781 cat >>confdefs.h
<<\_ACEOF
32782 #define wxUSE_FILESYSTEM 1
32787 if test "$wxUSE_FS_ZIP" = "yes"; then
32788 cat >>confdefs.h
<<\_ACEOF
32789 #define wxUSE_FS_ZIP 1
32794 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32795 cat >>confdefs.h
<<\_ACEOF
32796 #define wxUSE_ZIPSTREAM 1
32801 if test "$wxUSE_GZSTREAM" = "yes"; then
32802 cat >>confdefs.h
<<\_ACEOF
32803 #define wxUSE_GZSTREAM 1
32808 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32809 cat >>confdefs.h
<<\_ACEOF
32810 #define wxUSE_ON_FATAL_EXCEPTION 1
32815 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32816 cat >>confdefs.h
<<\_ACEOF
32817 #define wxUSE_SNGLINST_CHECKER 1
32822 if test "$wxUSE_BUSYINFO" = "yes"; then
32823 cat >>confdefs.h
<<\_ACEOF
32824 #define wxUSE_BUSYINFO 1
32829 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32830 cat >>confdefs.h
<<\_ACEOF
32831 #define wxUSE_STD_IOSTREAM 1
32836 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32837 cat >>confdefs.h
<<\_ACEOF
32838 #define wxUSE_TEXTBUFFER 1
32843 if test "$wxUSE_TEXTFILE" = "yes"; then
32844 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32845 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32846 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32848 cat >>confdefs.h
<<\_ACEOF
32849 #define wxUSE_TEXTFILE 1
32855 if test "$wxUSE_CONFIG" = "yes" ; then
32856 if test "$wxUSE_TEXTFILE" != "yes"; then
32857 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32858 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32860 cat >>confdefs.h
<<\_ACEOF
32861 #define wxUSE_CONFIG 1
32864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
32868 if test "$wxUSE_INTL" = "yes" ; then
32869 if test "$wxUSE_FILE" != "yes"; then
32870 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32871 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32873 cat >>confdefs.h
<<\_ACEOF
32874 #define wxUSE_INTL 1
32877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
32878 GUIDIST
="$GUIDIST INTL_DIST"
32882 if test "$wxUSE_LOG" = "yes"; then
32883 cat >>confdefs.h
<<\_ACEOF
32884 #define wxUSE_LOG 1
32888 if test "$wxUSE_LOGGUI" = "yes"; then
32889 cat >>confdefs.h
<<\_ACEOF
32890 #define wxUSE_LOGGUI 1
32895 if test "$wxUSE_LOGWINDOW" = "yes"; then
32896 cat >>confdefs.h
<<\_ACEOF
32897 #define wxUSE_LOGWINDOW 1
32902 if test "$wxUSE_LOGDIALOG" = "yes"; then
32903 cat >>confdefs.h
<<\_ACEOF
32904 #define wxUSE_LOG_DIALOG 1
32910 if test "$wxUSE_LONGLONG" = "yes"; then
32911 cat >>confdefs.h
<<\_ACEOF
32912 #define wxUSE_LONGLONG 1
32917 if test "$wxUSE_GEOMETRY" = "yes"; then
32918 cat >>confdefs.h
<<\_ACEOF
32919 #define wxUSE_GEOMETRY 1
32924 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32925 cat >>confdefs.h
<<\_ACEOF
32926 #define wxUSE_DIALUP_MANAGER 1
32929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
32932 if test "$wxUSE_STREAMS" = "yes" ; then
32933 cat >>confdefs.h
<<\_ACEOF
32934 #define wxUSE_STREAMS 1
32940 if test "$wxUSE_DATETIME" = "yes"; then
32942 for ac_func
in strptime
32944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32945 echo "$as_me:$LINENO: checking for $ac_func" >&5
32946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32947 if eval "test \"\${$as_ac_var+set}\" = set"; then
32948 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 cat >conftest.
$ac_ext <<_ACEOF
32953 cat confdefs.h
>>conftest.
$ac_ext
32954 cat >>conftest.
$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32958 #define $ac_func innocuous_$ac_func
32960 /* System header to define __stub macros and hopefully few prototypes,
32961 which can conflict with char $ac_func (); below.
32962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32963 <limits.h> exists even on freestanding compilers. */
32966 # include <limits.h>
32968 # include <assert.h>
32973 /* Override any gcc2 internal prototype to avoid an error. */
32978 /* We use char because int might match the return type of a gcc2
32979 builtin and then its argument prototype would still apply. */
32981 /* The GNU C library defines this for functions which it implements
32982 to always fail with ENOSYS. Some functions are actually named
32983 something starting with __ and the normal name is an alias. */
32984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32987 char (*f) () = $ac_func;
32996 return f != $ac_func;
33001 rm -f conftest.
$ac_objext conftest
$ac_exeext
33002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33003 (eval $ac_link) 2>conftest.er1
33005 grep -v '^ *+' conftest.er1
>conftest.err
33007 cat conftest.err
>&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); } &&
33010 { ac_try
='test -z "$ac_c_werror_flag"
33011 || test ! -s conftest.err'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; } &&
33017 { ac_try
='test -s conftest$ac_exeext'
33018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33019 (eval $ac_try) 2>&5
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); }; }; then
33023 eval "$as_ac_var=yes"
33025 echo "$as_me: failed program was:" >&5
33026 sed 's/^/| /' conftest.
$ac_ext >&5
33028 eval "$as_ac_var=no"
33030 rm -f conftest.err conftest.
$ac_objext \
33031 conftest
$ac_exeext conftest.
$ac_ext
33033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33035 if test `eval echo '${'$as_ac_var'}'` = yes; then
33036 cat >>confdefs.h
<<_ACEOF
33037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33044 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
33045 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
33046 if test "${wx_cv_var_timezone+set}" = set; then
33047 echo $ECHO_N "(cached) $ECHO_C" >&6
33050 cat >conftest.
$ac_ext <<_ACEOF
33053 cat confdefs.h
>>conftest.
$ac_ext
33054 cat >>conftest.
$ac_ext <<_ACEOF
33055 /* end confdefs.h. */
33070 rm -f conftest.
$ac_objext
33071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33072 (eval $ac_compile) 2>conftest.er1
33074 grep -v '^ *+' conftest.er1
>conftest.err
33076 cat conftest.err
>&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); } &&
33079 { ac_try
='test -z "$ac_c_werror_flag"
33080 || test ! -s conftest.err'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; } &&
33086 { ac_try
='test -s conftest.$ac_objext'
33087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33088 (eval $ac_try) 2>&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); }; }; then
33093 wx_cv_var_timezone
=timezone
33096 echo "$as_me: failed program was:" >&5
33097 sed 's/^/| /' conftest.
$ac_ext >&5
33100 cat >conftest.
$ac_ext <<_ACEOF
33103 cat confdefs.h
>>conftest.
$ac_ext
33104 cat >>conftest.
$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33120 rm -f conftest.
$ac_objext
33121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33122 (eval $ac_compile) 2>conftest.er1
33124 grep -v '^ *+' conftest.er1
>conftest.err
33126 cat conftest.err
>&5
33127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33128 (exit $ac_status); } &&
33129 { ac_try
='test -z "$ac_c_werror_flag"
33130 || test ! -s conftest.err'
33131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132 (eval $ac_try) 2>&5
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); }; } &&
33136 { ac_try
='test -s conftest.$ac_objext'
33137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33138 (eval $ac_try) 2>&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); }; }; then
33143 wx_cv_var_timezone
=_timezone
33146 echo "$as_me: failed program was:" >&5
33147 sed 's/^/| /' conftest.
$ac_ext >&5
33150 cat >conftest.
$ac_ext <<_ACEOF
33153 cat confdefs.h
>>conftest.
$ac_ext
33154 cat >>conftest.
$ac_ext <<_ACEOF
33155 /* end confdefs.h. */
33170 rm -f conftest.
$ac_objext
33171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33172 (eval $ac_compile) 2>conftest.er1
33174 grep -v '^ *+' conftest.er1
>conftest.err
33176 cat conftest.err
>&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); } &&
33179 { ac_try
='test -z "$ac_c_werror_flag"
33180 || test ! -s conftest.err'
33181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33182 (eval $ac_try) 2>&5
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); }; } &&
33186 { ac_try
='test -s conftest.$ac_objext'
33187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33188 (eval $ac_try) 2>&5
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); }; }; then
33193 wx_cv_var_timezone
=__timezone
33196 echo "$as_me: failed program was:" >&5
33197 sed 's/^/| /' conftest.
$ac_ext >&5
33200 if test "$USE_DOS" = 0 ; then
33201 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
33202 echo "$as_me: WARNING: no timezone variable" >&2;}
33207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33219 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
33220 echo "${ECHO_T}$wx_cv_var_timezone" >&6
33222 if test "x$wx_cv_var_timezone" != x
; then
33223 cat >>confdefs.h
<<_ACEOF
33224 #define WX_TIMEZONE $wx_cv_var_timezone
33230 for ac_func
in localtime
33232 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33233 echo "$as_me:$LINENO: checking for $ac_func" >&5
33234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33235 if eval "test \"\${$as_ac_var+set}\" = set"; then
33236 echo $ECHO_N "(cached) $ECHO_C" >&6
33238 cat >conftest.
$ac_ext <<_ACEOF
33241 cat confdefs.h
>>conftest.
$ac_ext
33242 cat >>conftest.
$ac_ext <<_ACEOF
33243 /* end confdefs.h. */
33244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33246 #define $ac_func innocuous_$ac_func
33248 /* System header to define __stub macros and hopefully few prototypes,
33249 which can conflict with char $ac_func (); below.
33250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33251 <limits.h> exists even on freestanding compilers. */
33254 # include <limits.h>
33256 # include <assert.h>
33261 /* Override any gcc2 internal prototype to avoid an error. */
33266 /* We use char because int might match the return type of a gcc2
33267 builtin and then its argument prototype would still apply. */
33269 /* The GNU C library defines this for functions which it implements
33270 to always fail with ENOSYS. Some functions are actually named
33271 something starting with __ and the normal name is an alias. */
33272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33275 char (*f) () = $ac_func;
33284 return f != $ac_func;
33289 rm -f conftest.
$ac_objext conftest
$ac_exeext
33290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33291 (eval $ac_link) 2>conftest.er1
33293 grep -v '^ *+' conftest.er1
>conftest.err
33295 cat conftest.err
>&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } &&
33298 { ac_try
='test -z "$ac_c_werror_flag"
33299 || test ! -s conftest.err'
33300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33301 (eval $ac_try) 2>&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); }; } &&
33305 { ac_try
='test -s conftest$ac_exeext'
33306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307 (eval $ac_try) 2>&5
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); }; }; then
33311 eval "$as_ac_var=yes"
33313 echo "$as_me: failed program was:" >&5
33314 sed 's/^/| /' conftest.
$ac_ext >&5
33316 eval "$as_ac_var=no"
33318 rm -f conftest.err conftest.
$ac_objext \
33319 conftest
$ac_exeext conftest.
$ac_ext
33321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33323 if test `eval echo '${'$as_ac_var'}'` = yes; then
33324 cat >>confdefs.h
<<_ACEOF
33325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33332 if test "$ac_cv_func_localtime" = "yes"; then
33333 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
33334 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
33335 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
33336 echo $ECHO_N "(cached) $ECHO_C" >&6
33339 cat >conftest.
$ac_ext <<_ACEOF
33342 cat confdefs.h
>>conftest.
$ac_ext
33343 cat >>conftest.
$ac_ext <<_ACEOF
33344 /* end confdefs.h. */
33359 rm -f conftest.
$ac_objext
33360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33361 (eval $ac_compile) 2>conftest.er1
33363 grep -v '^ *+' conftest.er1
>conftest.err
33365 cat conftest.err
>&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); } &&
33368 { ac_try
='test -z "$ac_c_werror_flag"
33369 || test ! -s conftest.err'
33370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371 (eval $ac_try) 2>&5
33373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374 (exit $ac_status); }; } &&
33375 { ac_try
='test -s conftest.$ac_objext'
33376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33377 (eval $ac_try) 2>&5
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); }; }; then
33382 wx_cv_struct_tm_has_gmtoff
=yes
33385 echo "$as_me: failed program was:" >&5
33386 sed 's/^/| /' conftest.
$ac_ext >&5
33388 wx_cv_struct_tm_has_gmtoff
=no
33391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33394 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
33395 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
33398 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
33399 cat >>confdefs.h
<<\_ACEOF
33400 #define WX_GMTOFF_IN_TM 1
33407 for ac_func
in gettimeofday ftime
33409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33410 echo "$as_me:$LINENO: checking for $ac_func" >&5
33411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33412 if eval "test \"\${$as_ac_var+set}\" = set"; then
33413 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 cat >conftest.
$ac_ext <<_ACEOF
33418 cat confdefs.h
>>conftest.
$ac_ext
33419 cat >>conftest.
$ac_ext <<_ACEOF
33420 /* end confdefs.h. */
33421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33423 #define $ac_func innocuous_$ac_func
33425 /* System header to define __stub macros and hopefully few prototypes,
33426 which can conflict with char $ac_func (); below.
33427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33428 <limits.h> exists even on freestanding compilers. */
33431 # include <limits.h>
33433 # include <assert.h>
33438 /* Override any gcc2 internal prototype to avoid an error. */
33443 /* We use char because int might match the return type of a gcc2
33444 builtin and then its argument prototype would still apply. */
33446 /* The GNU C library defines this for functions which it implements
33447 to always fail with ENOSYS. Some functions are actually named
33448 something starting with __ and the normal name is an alias. */
33449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33452 char (*f) () = $ac_func;
33461 return f != $ac_func;
33466 rm -f conftest.
$ac_objext conftest
$ac_exeext
33467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33468 (eval $ac_link) 2>conftest.er1
33470 grep -v '^ *+' conftest.er1
>conftest.err
33472 cat conftest.err
>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); } &&
33475 { ac_try
='test -z "$ac_c_werror_flag"
33476 || test ! -s conftest.err'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; } &&
33482 { ac_try
='test -s conftest$ac_exeext'
33483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33484 (eval $ac_try) 2>&5
33486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33487 (exit $ac_status); }; }; then
33488 eval "$as_ac_var=yes"
33490 echo "$as_me: failed program was:" >&5
33491 sed 's/^/| /' conftest.
$ac_ext >&5
33493 eval "$as_ac_var=no"
33495 rm -f conftest.err conftest.
$ac_objext \
33496 conftest
$ac_exeext conftest.
$ac_ext
33498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33500 if test `eval echo '${'$as_ac_var'}'` = yes; then
33501 cat >>confdefs.h
<<_ACEOF
33502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33509 if test "$ac_cv_func_gettimeofday" = "yes"; then
33510 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
33511 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
33512 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
33513 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 ac_cpp
='$CXXCPP $CPPFLAGS'
33520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33525 cat >conftest.
$ac_ext <<_ACEOF
33528 cat confdefs.h
>>conftest.
$ac_ext
33529 cat >>conftest.
$ac_ext <<_ACEOF
33530 /* end confdefs.h. */
33532 #include <sys/time.h>
33533 #include <unistd.h>
33540 gettimeofday(&tv, NULL);
33546 rm -f conftest.
$ac_objext
33547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33548 (eval $ac_compile) 2>conftest.er1
33550 grep -v '^ *+' conftest.er1
>conftest.err
33552 cat conftest.err
>&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); } &&
33555 { ac_try
='test -z "$ac_cxx_werror_flag"
33556 || test ! -s conftest.err'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; } &&
33562 { ac_try
='test -s conftest.$ac_objext'
33563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33564 (eval $ac_try) 2>&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); }; }; then
33568 wx_cv_func_gettimeofday_has_2_args
=yes
33570 echo "$as_me: failed program was:" >&5
33571 sed 's/^/| /' conftest.
$ac_ext >&5
33573 cat >conftest.
$ac_ext <<_ACEOF
33576 cat confdefs.h
>>conftest.
$ac_ext
33577 cat >>conftest.
$ac_ext <<_ACEOF
33578 /* end confdefs.h. */
33580 #include <sys/time.h>
33581 #include <unistd.h>
33594 rm -f conftest.
$ac_objext
33595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33596 (eval $ac_compile) 2>conftest.er1
33598 grep -v '^ *+' conftest.er1
>conftest.err
33600 cat conftest.err
>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); } &&
33603 { ac_try
='test -z "$ac_cxx_werror_flag"
33604 || test ! -s conftest.err'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; } &&
33610 { ac_try
='test -s conftest.$ac_objext'
33611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612 (eval $ac_try) 2>&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); }; }; then
33616 wx_cv_func_gettimeofday_has_2_args
=no
33618 echo "$as_me: failed program was:" >&5
33619 sed 's/^/| /' conftest.
$ac_ext >&5
33622 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
33623 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
33624 wx_cv_func_gettimeofday_has_2_args
=unknown
33628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33633 ac_cpp
='$CPP $CPPFLAGS'
33634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33640 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
33641 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
33643 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
33644 cat >>confdefs.h
<<\_ACEOF
33645 #define WX_GETTIMEOFDAY_NO_TZ 1
33651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
33655 if test "$wxUSE_SOCKETS" = "yes"; then
33656 if test "$wxUSE_MGL" = "1"; then
33657 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
33658 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
33661 if test "$wxUSE_COCOA" = "1"; then
33662 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
33663 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
33668 if test "$wxUSE_SOCKETS" = "yes"; then
33669 if test "$TOOLKIT" != "MSW"; then
33670 echo "$as_me:$LINENO: checking for socket" >&5
33671 echo $ECHO_N "checking for socket... $ECHO_C" >&6
33672 if test "${ac_cv_func_socket+set}" = set; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33675 cat >conftest.
$ac_ext <<_ACEOF
33678 cat confdefs.h
>>conftest.
$ac_ext
33679 cat >>conftest.
$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33681 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
33682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33683 #define socket innocuous_socket
33685 /* System header to define __stub macros and hopefully few prototypes,
33686 which can conflict with char socket (); below.
33687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33688 <limits.h> exists even on freestanding compilers. */
33691 # include <limits.h>
33693 # include <assert.h>
33698 /* Override any gcc2 internal prototype to avoid an error. */
33703 /* We use char because int might match the return type of a gcc2
33704 builtin and then its argument prototype would still apply. */
33706 /* The GNU C library defines this for functions which it implements
33707 to always fail with ENOSYS. Some functions are actually named
33708 something starting with __ and the normal name is an alias. */
33709 #if defined (__stub_socket) || defined (__stub___socket)
33712 char (*f) () = socket;
33721 return f != socket;
33726 rm -f conftest.
$ac_objext conftest
$ac_exeext
33727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33728 (eval $ac_link) 2>conftest.er1
33730 grep -v '^ *+' conftest.er1
>conftest.err
33732 cat conftest.err
>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); } &&
33735 { ac_try
='test -z "$ac_c_werror_flag"
33736 || test ! -s conftest.err'
33737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33738 (eval $ac_try) 2>&5
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); }; } &&
33742 { ac_try
='test -s conftest$ac_exeext'
33743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33744 (eval $ac_try) 2>&5
33746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33747 (exit $ac_status); }; }; then
33748 ac_cv_func_socket
=yes
33750 echo "$as_me: failed program was:" >&5
33751 sed 's/^/| /' conftest.
$ac_ext >&5
33753 ac_cv_func_socket
=no
33755 rm -f conftest.err conftest.
$ac_objext \
33756 conftest
$ac_exeext conftest.
$ac_ext
33758 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
33759 echo "${ECHO_T}$ac_cv_func_socket" >&6
33760 if test $ac_cv_func_socket = yes; then
33764 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
33765 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
33766 if test "${ac_cv_lib_socket_socket+set}" = set; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33769 ac_check_lib_save_LIBS
=$LIBS
33770 LIBS
="-lsocket $LIBS"
33771 cat >conftest.
$ac_ext <<_ACEOF
33774 cat confdefs.h
>>conftest.
$ac_ext
33775 cat >>conftest.
$ac_ext <<_ACEOF
33776 /* end confdefs.h. */
33778 /* Override any gcc2 internal prototype to avoid an error. */
33782 /* We use char because int might match the return type of a gcc2
33783 builtin and then its argument prototype would still apply. */
33793 rm -f conftest.
$ac_objext conftest
$ac_exeext
33794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33795 (eval $ac_link) 2>conftest.er1
33797 grep -v '^ *+' conftest.er1
>conftest.err
33799 cat conftest.err
>&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); } &&
33802 { ac_try
='test -z "$ac_c_werror_flag"
33803 || test ! -s conftest.err'
33804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33805 (eval $ac_try) 2>&5
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); }; } &&
33809 { ac_try
='test -s conftest$ac_exeext'
33810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33811 (eval $ac_try) 2>&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); }; }; then
33815 ac_cv_lib_socket_socket
=yes
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.
$ac_ext >&5
33820 ac_cv_lib_socket_socket
=no
33822 rm -f conftest.err conftest.
$ac_objext \
33823 conftest
$ac_exeext conftest.
$ac_ext
33824 LIBS
=$ac_check_lib_save_LIBS
33826 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
33827 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
33828 if test $ac_cv_lib_socket_socket = yes; then
33829 if test "$INET_LINK" != " -lsocket"; then
33830 INET_LINK
="$INET_LINK -lsocket"
33834 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
33835 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
33848 if test "$wxUSE_SOCKETS" = "yes" ; then
33849 if test "$TOOLKIT" != "MSW"; then
33850 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
33851 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
33852 if test "${wx_cv_type_getsockname3+set}" = set; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33856 cat >conftest.
$ac_ext <<_ACEOF
33859 cat confdefs.h
>>conftest.
$ac_ext
33860 cat >>conftest.
$ac_ext <<_ACEOF
33861 /* end confdefs.h. */
33863 #include <sys/types.h>
33864 #include <sys/socket.h>
33871 getsockname(0, 0, &len);
33877 rm -f conftest.
$ac_objext
33878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33879 (eval $ac_compile) 2>conftest.er1
33881 grep -v '^ *+' conftest.er1
>conftest.err
33883 cat conftest.err
>&5
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); } &&
33886 { ac_try
='test -z "$ac_c_werror_flag"
33887 || test ! -s conftest.err'
33888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33889 (eval $ac_try) 2>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); }; } &&
33893 { ac_try
='test -s conftest.$ac_objext'
33894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895 (eval $ac_try) 2>&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); }; }; then
33899 wx_cv_type_getsockname3
=socklen_t
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.
$ac_ext >&5
33905 CFLAGS_OLD
="$CFLAGS"
33906 if test "$GCC" = yes ; then
33907 CFLAGS
="$CFLAGS -Werror"
33910 cat >conftest.
$ac_ext <<_ACEOF
33913 cat confdefs.h
>>conftest.
$ac_ext
33914 cat >>conftest.
$ac_ext <<_ACEOF
33915 /* end confdefs.h. */
33917 #include <sys/types.h>
33918 #include <sys/socket.h>
33925 getsockname(0, 0, &len);
33931 rm -f conftest.
$ac_objext
33932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33933 (eval $ac_compile) 2>conftest.er1
33935 grep -v '^ *+' conftest.er1
>conftest.err
33937 cat conftest.err
>&5
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); } &&
33940 { ac_try
='test -z "$ac_c_werror_flag"
33941 || test ! -s conftest.err'
33942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33943 (eval $ac_try) 2>&5
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); }; } &&
33947 { ac_try
='test -s conftest.$ac_objext'
33948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949 (eval $ac_try) 2>&5
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); }; }; then
33953 wx_cv_type_getsockname3
=size_t
33955 echo "$as_me: failed program was:" >&5
33956 sed 's/^/| /' conftest.
$ac_ext >&5
33958 cat >conftest.
$ac_ext <<_ACEOF
33961 cat confdefs.h
>>conftest.
$ac_ext
33962 cat >>conftest.
$ac_ext <<_ACEOF
33963 /* end confdefs.h. */
33965 #include <sys/types.h>
33966 #include <sys/socket.h>
33973 getsockname(0, 0, &len);
33979 rm -f conftest.
$ac_objext
33980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33981 (eval $ac_compile) 2>conftest.er1
33983 grep -v '^ *+' conftest.er1
>conftest.err
33985 cat conftest.err
>&5
33986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33987 (exit $ac_status); } &&
33988 { ac_try
='test -z "$ac_c_werror_flag"
33989 || test ! -s conftest.err'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; } &&
33995 { ac_try
='test -s conftest.$ac_objext'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; }; then
34001 wx_cv_type_getsockname3
=int
34003 echo "$as_me: failed program was:" >&5
34004 sed 's/^/| /' conftest.
$ac_ext >&5
34006 wx_cv_type_getsockname3
=unknown
34009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34014 CFLAGS
="$CFLAGS_OLD"
34018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34021 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
34022 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
34024 if test "$wx_cv_type_getsockname3" = "unknown"; then
34026 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
34027 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34029 cat >>confdefs.h
<<_ACEOF
34030 #define SOCKLEN_T $wx_cv_type_getsockname3
34037 if test "$wxUSE_SOCKETS" = "yes" ; then
34038 cat >>confdefs.h
<<\_ACEOF
34039 #define wxUSE_SOCKETS 1
34042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
34045 if test "$wxUSE_PROTOCOL" = "yes"; then
34046 if test "$wxUSE_SOCKETS" != "yes"; then
34047 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
34048 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
34053 if test "$wxUSE_PROTOCOL" = "yes"; then
34054 cat >>confdefs.h
<<\_ACEOF
34055 #define wxUSE_PROTOCOL 1
34059 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
34060 cat >>confdefs.h
<<\_ACEOF
34061 #define wxUSE_PROTOCOL_HTTP 1
34065 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
34066 cat >>confdefs.h
<<\_ACEOF
34067 #define wxUSE_PROTOCOL_FTP 1
34071 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
34072 cat >>confdefs.h
<<\_ACEOF
34073 #define wxUSE_PROTOCOL_FILE 1
34078 if test "$wxUSE_FS_INET" = "yes"; then
34079 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
34080 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
34085 if test "$wxUSE_URL" = "yes"; then
34086 if test "$wxUSE_PROTOCOL" != "yes"; then
34087 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
34088 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
34091 if test "$wxUSE_URL" = "yes"; then
34092 cat >>confdefs.h
<<\_ACEOF
34093 #define wxUSE_URL 1
34099 if test "$wxUSE_FS_INET" = "yes"; then
34100 cat >>confdefs.h
<<\_ACEOF
34101 #define wxUSE_FS_INET 1
34107 if test "$wxUSE_GUI" = "yes"; then
34109 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
34110 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
34111 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
34115 if test "$TOOLKIT" != "MSW"; then
34116 if test "$wxUSE_JOYSTICK" = "yes"; then
34118 for ac_header
in linux
/joystick.h
34120 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34122 echo "$as_me:$LINENO: checking for $ac_header" >&5
34123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34125 echo $ECHO_N "(cached) $ECHO_C" >&6
34127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34130 # Is the header compilable?
34131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34133 cat >conftest.
$ac_ext <<_ACEOF
34136 cat confdefs.h
>>conftest.
$ac_ext
34137 cat >>conftest.
$ac_ext <<_ACEOF
34138 /* end confdefs.h. */
34139 $ac_includes_default
34140 #include <$ac_header>
34142 rm -f conftest.
$ac_objext
34143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34144 (eval $ac_compile) 2>conftest.er1
34146 grep -v '^ *+' conftest.er1
>conftest.err
34148 cat conftest.err
>&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); } &&
34151 { ac_try
='test -z "$ac_c_werror_flag"
34152 || test ! -s conftest.err'
34153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34154 (eval $ac_try) 2>&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); }; } &&
34158 { ac_try
='test -s conftest.$ac_objext'
34159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34160 (eval $ac_try) 2>&5
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); }; }; then
34164 ac_header_compiler
=yes
34166 echo "$as_me: failed program was:" >&5
34167 sed 's/^/| /' conftest.
$ac_ext >&5
34169 ac_header_compiler
=no
34171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34173 echo "${ECHO_T}$ac_header_compiler" >&6
34175 # Is the header present?
34176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34178 cat >conftest.
$ac_ext <<_ACEOF
34181 cat confdefs.h
>>conftest.
$ac_ext
34182 cat >>conftest.
$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 #include <$ac_header>
34186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34189 grep -v '^ *+' conftest.er1
>conftest.err
34191 cat conftest.err
>&5
34192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34193 (exit $ac_status); } >/dev
/null
; then
34194 if test -s conftest.err
; then
34195 ac_cpp_err
=$ac_c_preproc_warn_flag
34196 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34203 if test -z "$ac_cpp_err"; then
34204 ac_header_preproc
=yes
34206 echo "$as_me: failed program was:" >&5
34207 sed 's/^/| /' conftest.
$ac_ext >&5
34209 ac_header_preproc
=no
34211 rm -f conftest.err conftest.
$ac_ext
34212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34213 echo "${ECHO_T}$ac_header_preproc" >&6
34215 # So? What about this header?
34216 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34222 ac_header_preproc
=yes
34225 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34227 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34228 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34229 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34231 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34232 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34235 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34239 ## ----------------------------------------- ##
34240 ## Report this to wx-dev@lists.wxwindows.org ##
34241 ## ----------------------------------------- ##
34244 sed "s/^/$as_me: WARNING: /" >&2
34247 echo "$as_me:$LINENO: checking for $ac_header" >&5
34248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34250 echo $ECHO_N "(cached) $ECHO_C" >&6
34252 eval "$as_ac_Header=\$ac_header_preproc"
34254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34259 cat >>confdefs.h
<<_ACEOF
34260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34267 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
34269 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
34270 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
34275 if test "$wxUSE_JOYSTICK" = "yes"; then
34276 cat >>confdefs.h
<<\_ACEOF
34277 #define wxUSE_JOYSTICK 1
34280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
34285 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34289 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34290 if test "$USE_DARWIN" = 1; then
34294 for ac_func
in dlopen
34296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34297 echo "$as_me:$LINENO: checking for $ac_func" >&5
34298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34299 if eval "test \"\${$as_ac_var+set}\" = set"; then
34300 echo $ECHO_N "(cached) $ECHO_C" >&6
34302 cat >conftest.
$ac_ext <<_ACEOF
34305 cat confdefs.h
>>conftest.
$ac_ext
34306 cat >>conftest.
$ac_ext <<_ACEOF
34307 /* end confdefs.h. */
34308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34310 #define $ac_func innocuous_$ac_func
34312 /* System header to define __stub macros and hopefully few prototypes,
34313 which can conflict with char $ac_func (); below.
34314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34315 <limits.h> exists even on freestanding compilers. */
34318 # include <limits.h>
34320 # include <assert.h>
34325 /* Override any gcc2 internal prototype to avoid an error. */
34330 /* We use char because int might match the return type of a gcc2
34331 builtin and then its argument prototype would still apply. */
34333 /* The GNU C library defines this for functions which it implements
34334 to always fail with ENOSYS. Some functions are actually named
34335 something starting with __ and the normal name is an alias. */
34336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34339 char (*f) () = $ac_func;
34348 return f != $ac_func;
34353 rm -f conftest.
$ac_objext conftest
$ac_exeext
34354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34355 (eval $ac_link) 2>conftest.er1
34357 grep -v '^ *+' conftest.er1
>conftest.err
34359 cat conftest.err
>&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } &&
34362 { ac_try
='test -z "$ac_c_werror_flag"
34363 || test ! -s conftest.err'
34364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365 (eval $ac_try) 2>&5
34367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368 (exit $ac_status); }; } &&
34369 { ac_try
='test -s conftest$ac_exeext'
34370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34371 (eval $ac_try) 2>&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); }; }; then
34375 eval "$as_ac_var=yes"
34377 echo "$as_me: failed program was:" >&5
34378 sed 's/^/| /' conftest.
$ac_ext >&5
34380 eval "$as_ac_var=no"
34382 rm -f conftest.err conftest.
$ac_objext \
34383 conftest
$ac_exeext conftest.
$ac_ext
34385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34387 if test `eval echo '${'$as_ac_var'}'` = yes; then
34388 cat >>confdefs.h
<<_ACEOF
34389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34392 cat >>confdefs.h
<<\_ACEOF
34393 #define HAVE_DLOPEN 1
34400 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34401 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34402 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34403 echo $ECHO_N "(cached) $ECHO_C" >&6
34405 ac_check_lib_save_LIBS
=$LIBS
34407 cat >conftest.
$ac_ext <<_ACEOF
34410 cat confdefs.h
>>conftest.
$ac_ext
34411 cat >>conftest.
$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34414 /* Override any gcc2 internal prototype to avoid an error. */
34418 /* We use char because int might match the return type of a gcc2
34419 builtin and then its argument prototype would still apply. */
34429 rm -f conftest.
$ac_objext conftest
$ac_exeext
34430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34431 (eval $ac_link) 2>conftest.er1
34433 grep -v '^ *+' conftest.er1
>conftest.err
34435 cat conftest.err
>&5
34436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437 (exit $ac_status); } &&
34438 { ac_try
='test -z "$ac_c_werror_flag"
34439 || test ! -s conftest.err'
34440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34441 (eval $ac_try) 2>&5
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); }; } &&
34445 { ac_try
='test -s conftest$ac_exeext'
34446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34447 (eval $ac_try) 2>&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); }; }; then
34451 ac_cv_lib_dl_dlopen
=yes
34453 echo "$as_me: failed program was:" >&5
34454 sed 's/^/| /' conftest.
$ac_ext >&5
34456 ac_cv_lib_dl_dlopen
=no
34458 rm -f conftest.err conftest.
$ac_objext \
34459 conftest
$ac_exeext conftest.
$ac_ext
34460 LIBS
=$ac_check_lib_save_LIBS
34462 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34463 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34464 if test $ac_cv_lib_dl_dlopen = yes; then
34466 cat >>confdefs.h
<<\_ACEOF
34467 #define HAVE_DLOPEN 1
34471 DL_LINK
=" -ldl$DL_LINK"
34476 for ac_func
in shl_load
34478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34479 echo "$as_me:$LINENO: checking for $ac_func" >&5
34480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34481 if eval "test \"\${$as_ac_var+set}\" = set"; then
34482 echo $ECHO_N "(cached) $ECHO_C" >&6
34484 cat >conftest.
$ac_ext <<_ACEOF
34487 cat confdefs.h
>>conftest.
$ac_ext
34488 cat >>conftest.
$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34492 #define $ac_func innocuous_$ac_func
34494 /* System header to define __stub macros and hopefully few prototypes,
34495 which can conflict with char $ac_func (); below.
34496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34497 <limits.h> exists even on freestanding compilers. */
34500 # include <limits.h>
34502 # include <assert.h>
34507 /* Override any gcc2 internal prototype to avoid an error. */
34512 /* We use char because int might match the return type of a gcc2
34513 builtin and then its argument prototype would still apply. */
34515 /* The GNU C library defines this for functions which it implements
34516 to always fail with ENOSYS. Some functions are actually named
34517 something starting with __ and the normal name is an alias. */
34518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34521 char (*f) () = $ac_func;
34530 return f != $ac_func;
34535 rm -f conftest.
$ac_objext conftest
$ac_exeext
34536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34537 (eval $ac_link) 2>conftest.er1
34539 grep -v '^ *+' conftest.er1
>conftest.err
34541 cat conftest.err
>&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); } &&
34544 { ac_try
='test -z "$ac_c_werror_flag"
34545 || test ! -s conftest.err'
34546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34547 (eval $ac_try) 2>&5
34549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34550 (exit $ac_status); }; } &&
34551 { ac_try
='test -s conftest$ac_exeext'
34552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34553 (eval $ac_try) 2>&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); }; }; then
34557 eval "$as_ac_var=yes"
34559 echo "$as_me: failed program was:" >&5
34560 sed 's/^/| /' conftest.
$ac_ext >&5
34562 eval "$as_ac_var=no"
34564 rm -f conftest.err conftest.
$ac_objext \
34565 conftest
$ac_exeext conftest.
$ac_ext
34567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34569 if test `eval echo '${'$as_ac_var'}'` = yes; then
34570 cat >>confdefs.h
<<_ACEOF
34571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34574 cat >>confdefs.h
<<\_ACEOF
34575 #define HAVE_SHL_LOAD 1
34582 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34583 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34584 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34585 echo $ECHO_N "(cached) $ECHO_C" >&6
34587 ac_check_lib_save_LIBS
=$LIBS
34588 LIBS
="-lshl_load $LIBS"
34589 cat >conftest.
$ac_ext <<_ACEOF
34592 cat confdefs.h
>>conftest.
$ac_ext
34593 cat >>conftest.
$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34596 /* Override any gcc2 internal prototype to avoid an error. */
34600 /* We use char because int might match the return type of a gcc2
34601 builtin and then its argument prototype would still apply. */
34611 rm -f conftest.
$ac_objext conftest
$ac_exeext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34613 (eval $ac_link) 2>conftest.er1
34615 grep -v '^ *+' conftest.er1
>conftest.err
34617 cat conftest.err
>&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); } &&
34620 { ac_try
='test -z "$ac_c_werror_flag"
34621 || test ! -s conftest.err'
34622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34623 (eval $ac_try) 2>&5
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); }; } &&
34627 { ac_try
='test -s conftest$ac_exeext'
34628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629 (eval $ac_try) 2>&5
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); }; }; then
34633 ac_cv_lib_shl_load_dld
=yes
34635 echo "$as_me: failed program was:" >&5
34636 sed 's/^/| /' conftest.
$ac_ext >&5
34638 ac_cv_lib_shl_load_dld
=no
34640 rm -f conftest.err conftest.
$ac_objext \
34641 conftest
$ac_exeext conftest.
$ac_ext
34642 LIBS
=$ac_check_lib_save_LIBS
34644 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34645 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34646 if test $ac_cv_lib_shl_load_dld = yes; then
34649 DL_LINK
=" -ldld$DL_LINK"
34665 if test "$HAVE_DL_FUNCS" = 1; then
34667 for ac_func
in dlerror
34669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34670 echo "$as_me:$LINENO: checking for $ac_func" >&5
34671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34672 if eval "test \"\${$as_ac_var+set}\" = set"; then
34673 echo $ECHO_N "(cached) $ECHO_C" >&6
34675 cat >conftest.
$ac_ext <<_ACEOF
34678 cat confdefs.h
>>conftest.
$ac_ext
34679 cat >>conftest.
$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34683 #define $ac_func innocuous_$ac_func
34685 /* System header to define __stub macros and hopefully few prototypes,
34686 which can conflict with char $ac_func (); below.
34687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34688 <limits.h> exists even on freestanding compilers. */
34691 # include <limits.h>
34693 # include <assert.h>
34698 /* Override any gcc2 internal prototype to avoid an error. */
34703 /* We use char because int might match the return type of a gcc2
34704 builtin and then its argument prototype would still apply. */
34706 /* The GNU C library defines this for functions which it implements
34707 to always fail with ENOSYS. Some functions are actually named
34708 something starting with __ and the normal name is an alias. */
34709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34712 char (*f) () = $ac_func;
34721 return f != $ac_func;
34726 rm -f conftest.
$ac_objext conftest
$ac_exeext
34727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34728 (eval $ac_link) 2>conftest.er1
34730 grep -v '^ *+' conftest.er1
>conftest.err
34732 cat conftest.err
>&5
34733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34734 (exit $ac_status); } &&
34735 { ac_try
='test -z "$ac_c_werror_flag"
34736 || test ! -s conftest.err'
34737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34738 (eval $ac_try) 2>&5
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); }; } &&
34742 { ac_try
='test -s conftest$ac_exeext'
34743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744 (eval $ac_try) 2>&5
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); }; }; then
34748 eval "$as_ac_var=yes"
34750 echo "$as_me: failed program was:" >&5
34751 sed 's/^/| /' conftest.
$ac_ext >&5
34753 eval "$as_ac_var=no"
34755 rm -f conftest.err conftest.
$ac_objext \
34756 conftest
$ac_exeext conftest.
$ac_ext
34758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34760 if test `eval echo '${'$as_ac_var'}'` = yes; then
34761 cat >>confdefs.h
<<_ACEOF
34762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34764 cat >>confdefs.h
<<\_ACEOF
34765 #define HAVE_DLERROR 1
34770 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34771 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34772 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34773 echo $ECHO_N "(cached) $ECHO_C" >&6
34775 ac_check_lib_save_LIBS
=$LIBS
34777 cat >conftest.
$ac_ext <<_ACEOF
34780 cat confdefs.h
>>conftest.
$ac_ext
34781 cat >>conftest.
$ac_ext <<_ACEOF
34782 /* end confdefs.h. */
34784 /* Override any gcc2 internal prototype to avoid an error. */
34788 /* We use char because int might match the return type of a gcc2
34789 builtin and then its argument prototype would still apply. */
34799 rm -f conftest.
$ac_objext conftest
$ac_exeext
34800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34801 (eval $ac_link) 2>conftest.er1
34803 grep -v '^ *+' conftest.er1
>conftest.err
34805 cat conftest.err
>&5
34806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807 (exit $ac_status); } &&
34808 { ac_try
='test -z "$ac_c_werror_flag"
34809 || test ! -s conftest.err'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; } &&
34815 { ac_try
='test -s conftest$ac_exeext'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; }; then
34821 ac_cv_lib_dl_dlerror
=yes
34823 echo "$as_me: failed program was:" >&5
34824 sed 's/^/| /' conftest.
$ac_ext >&5
34826 ac_cv_lib_dl_dlerror
=no
34828 rm -f conftest.err conftest.
$ac_objext \
34829 conftest
$ac_exeext conftest.
$ac_ext
34830 LIBS
=$ac_check_lib_save_LIBS
34832 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34833 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34834 if test $ac_cv_lib_dl_dlerror = yes; then
34835 cat >>confdefs.h
<<\_ACEOF
34836 #define HAVE_DLERROR 1
34849 if test "$HAVE_DL_FUNCS" = 0; then
34850 if test "$HAVE_SHL_FUNCS" = 0; then
34851 if test "$USE_UNIX" = 1; then
34852 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34853 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34854 wxUSE_DYNAMIC_LOADER
=no
34855 wxUSE_DYNLIB_CLASS
=no
34857 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34858 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34865 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34866 cat >>confdefs.h
<<\_ACEOF
34867 #define wxUSE_DYNAMIC_LOADER 1
34871 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34872 cat >>confdefs.h
<<\_ACEOF
34873 #define wxUSE_DYNLIB_CLASS 1
34879 if test "$wxUSE_FONTMAP" = "yes" ; then
34880 cat >>confdefs.h
<<\_ACEOF
34881 #define wxUSE_FONTMAP 1
34886 if test "$wxUSE_UNICODE" = "yes" ; then
34887 cat >>confdefs.h
<<\_ACEOF
34888 #define wxUSE_UNICODE 1
34892 if test "$USE_WIN32" != 1; then
34893 wxUSE_UNICODE_MSLU
=no
34896 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
34897 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
34898 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
34899 if test "${ac_cv_lib_unicows_main+set}" = set; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 ac_check_lib_save_LIBS
=$LIBS
34903 LIBS
="-lunicows $LIBS"
34904 cat >conftest.
$ac_ext <<_ACEOF
34907 cat confdefs.h
>>conftest.
$ac_ext
34908 cat >>conftest.
$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34920 rm -f conftest.
$ac_objext conftest
$ac_exeext
34921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34922 (eval $ac_link) 2>conftest.er1
34924 grep -v '^ *+' conftest.er1
>conftest.err
34926 cat conftest.err
>&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } &&
34929 { ac_try
='test -z "$ac_c_werror_flag"
34930 || test ! -s conftest.err'
34931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34932 (eval $ac_try) 2>&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); }; } &&
34936 { ac_try
='test -s conftest$ac_exeext'
34937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34938 (eval $ac_try) 2>&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); }; }; then
34942 ac_cv_lib_unicows_main
=yes
34944 echo "$as_me: failed program was:" >&5
34945 sed 's/^/| /' conftest.
$ac_ext >&5
34947 ac_cv_lib_unicows_main
=no
34949 rm -f conftest.err conftest.
$ac_objext \
34950 conftest
$ac_exeext conftest.
$ac_ext
34951 LIBS
=$ac_check_lib_save_LIBS
34953 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
34954 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
34955 if test $ac_cv_lib_unicows_main = yes; then
34957 cat >>confdefs.h
<<\_ACEOF
34958 #define wxUSE_UNICODE_MSLU 1
34964 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
34965 Applications will only run on Windows NT/2000/XP!" >&5
34966 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
34967 Applications will only run on Windows NT/2000/XP!" >&2;}
34968 wxUSE_UNICODE_MSLU
=no
34975 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
34976 cat >>confdefs.h
<<\_ACEOF
34977 #define wxUSE_EXPERIMENTAL_PRINTF 1
34983 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
34984 cat >>confdefs.h
<<\_ACEOF
34985 #define wxUSE_POSTSCRIPT 1
34990 cat >>confdefs.h
<<\_ACEOF
34991 #define wxUSE_AFM_FOR_POSTSCRIPT 1
34995 cat >>confdefs.h
<<\_ACEOF
34996 #define wxUSE_NORMALIZED_PS_FONTS 1
35001 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35002 cat >>confdefs.h
<<\_ACEOF
35003 #define wxUSE_CONSTRAINTS 1
35006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35009 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35010 cat >>confdefs.h
<<\_ACEOF
35011 #define wxUSE_MDI_ARCHITECTURE 1
35014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35017 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35018 cat >>confdefs.h
<<\_ACEOF
35019 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35023 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
35028 if test "$wxUSE_HELP" = "yes"; then
35029 cat >>confdefs.h
<<\_ACEOF
35030 #define wxUSE_HELP 1
35033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35035 if test "$wxUSE_MSW" = 1; then
35036 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35037 cat >>confdefs.h
<<\_ACEOF
35038 #define wxUSE_MS_HTML_HELP 1
35044 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35045 if test "$wxUSE_HTML" = "yes"; then
35046 cat >>confdefs.h
<<\_ACEOF
35047 #define wxUSE_WXHTML_HELP 1
35051 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35052 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35053 wxUSE_WXHTML_HELP
=no
35058 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35059 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35060 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35061 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35063 cat >>confdefs.h
<<\_ACEOF
35064 #define wxUSE_PRINTING_ARCHITECTURE 1
35068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35071 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35072 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35073 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35074 { (exit 1); exit 1; }; }
35078 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35079 -o "$wxUSE_CLIPBOARD" = "yes" \
35080 -o "$wxUSE_OLE" = "yes" \
35081 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35083 for ac_header
in ole2.h
35085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35087 echo "$as_me:$LINENO: checking for $ac_header" >&5
35088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35090 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35095 # Is the header compilable?
35096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35098 cat >conftest.
$ac_ext <<_ACEOF
35101 cat confdefs.h
>>conftest.
$ac_ext
35102 cat >>conftest.
$ac_ext <<_ACEOF
35103 /* end confdefs.h. */
35104 $ac_includes_default
35105 #include <$ac_header>
35107 rm -f conftest.
$ac_objext
35108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35109 (eval $ac_compile) 2>conftest.er1
35111 grep -v '^ *+' conftest.er1
>conftest.err
35113 cat conftest.err
>&5
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); } &&
35116 { ac_try
='test -z "$ac_c_werror_flag"
35117 || test ! -s conftest.err'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; } &&
35123 { ac_try
='test -s conftest.$ac_objext'
35124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35125 (eval $ac_try) 2>&5
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); }; }; then
35129 ac_header_compiler
=yes
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.
$ac_ext >&5
35134 ac_header_compiler
=no
35136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35138 echo "${ECHO_T}$ac_header_compiler" >&6
35140 # Is the header present?
35141 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35143 cat >conftest.
$ac_ext <<_ACEOF
35146 cat confdefs.h
>>conftest.
$ac_ext
35147 cat >>conftest.
$ac_ext <<_ACEOF
35148 /* end confdefs.h. */
35149 #include <$ac_header>
35151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35154 grep -v '^ *+' conftest.er1
>conftest.err
35156 cat conftest.err
>&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } >/dev
/null
; then
35159 if test -s conftest.err
; then
35160 ac_cpp_err
=$ac_c_preproc_warn_flag
35161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35168 if test -z "$ac_cpp_err"; then
35169 ac_header_preproc
=yes
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.
$ac_ext >&5
35174 ac_header_preproc
=no
35176 rm -f conftest.err conftest.
$ac_ext
35177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35178 echo "${ECHO_T}$ac_header_preproc" >&6
35180 # So? What about this header?
35181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35187 ac_header_preproc
=yes
35190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35204 ## ----------------------------------------- ##
35205 ## Report this to wx-dev@lists.wxwindows.org ##
35206 ## ----------------------------------------- ##
35209 sed "s/^/$as_me: WARNING: /" >&2
35212 echo "$as_me:$LINENO: checking for $ac_header" >&5
35213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35215 echo $ECHO_N "(cached) $ECHO_C" >&6
35217 eval "$as_ac_Header=\$ac_header_preproc"
35219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35224 cat >>confdefs.h
<<_ACEOF
35225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35233 if test "$ac_cv_header_ole2_h" = "yes" ; then
35234 if test "$GCC" = yes ; then
35238 ac_cpp
='$CXXCPP $CPPFLAGS'
35239 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35244 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
35245 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
35246 cat >conftest.
$ac_ext <<_ACEOF
35249 cat confdefs.h
>>conftest.
$ac_ext
35250 cat >>conftest.
$ac_ext <<_ACEOF
35251 /* end confdefs.h. */
35252 #include <windows.h>
35262 rm -f conftest.
$ac_objext
35263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35264 (eval $ac_compile) 2>conftest.er1
35266 grep -v '^ *+' conftest.er1
>conftest.err
35268 cat conftest.err
>&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); } &&
35271 { ac_try
='test -z "$ac_cxx_werror_flag"
35272 || test ! -s conftest.err'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; } &&
35278 { ac_try
='test -s conftest.$ac_objext'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; }; then
35284 echo "$as_me:$LINENO: result: no" >&5
35285 echo "${ECHO_T}no" >&6
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.
$ac_ext >&5
35290 echo "$as_me:$LINENO: result: yes" >&5
35291 echo "${ECHO_T}yes" >&6
35292 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
35294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35296 ac_cpp
='$CPP $CPPFLAGS'
35297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35301 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
35302 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35303 cat >>confdefs.h
<<\_ACEOF
35304 #define wxUSE_OLE 1
35310 cat >>confdefs.h
<<\_ACEOF
35311 #define wxUSE_DATAOBJ 1
35315 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
35316 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35319 wxUSE_DRAG_AND_DROP
=no
35324 if test "$wxUSE_METAFILE" = "yes"; then
35325 cat >>confdefs.h
<<\_ACEOF
35326 #define wxUSE_METAFILE 1
35330 cat >>confdefs.h
<<\_ACEOF
35331 #define wxUSE_ENH_METAFILE 1
35337 if test "$wxUSE_IPC" = "yes"; then
35338 if test "$wxUSE_SOCKETS" != "yes"; then
35339 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
35340 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
35343 cat >>confdefs.h
<<\_ACEOF
35344 #define wxUSE_IPC 1
35349 if test "$wxUSE_CLIPBOARD" = "yes"; then
35350 if test "$wxUSE_MGL" = 1; then
35351 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
35352 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
35356 if test "$wxUSE_CLIPBOARD" = "yes"; then
35357 cat >>confdefs.h
<<\_ACEOF
35358 #define wxUSE_CLIPBOARD 1
35362 cat >>confdefs.h
<<\_ACEOF
35363 #define wxUSE_DATAOBJ 1
35369 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35370 if test "$wxUSE_GTK" = 1; then
35371 if test "$WXGTK12" != 1; then
35372 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
35373 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
35374 wxUSE_DRAG_AND_DROP
=no
35378 if test "$wxUSE_MOTIF" = 1; then
35379 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
35380 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
35381 wxUSE_DRAG_AND_DROP
=no
35384 if test "$wxUSE_X11" = 1; then
35385 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
35386 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
35387 wxUSE_DRAG_AND_DROP
=no
35390 if test "$wxUSE_MGL" = 1; then
35391 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
35392 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
35393 wxUSE_DRAG_AND_DROP
=no
35396 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35397 cat >>confdefs.h
<<\_ACEOF
35398 #define wxUSE_DRAG_AND_DROP 1
35401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35406 if test "$wxUSE_SPLINES" = "yes" ; then
35407 cat >>confdefs.h
<<\_ACEOF
35408 #define wxUSE_SPLINES 1
35415 if test "$wxUSE_CONTROLS" = "yes"; then
35419 if test "$wxUSE_ACCEL" = "yes"; then
35420 cat >>confdefs.h
<<\_ACEOF
35421 #define wxUSE_ACCEL 1
35427 if test "$wxUSE_BUTTON" = "yes"; then
35428 cat >>confdefs.h
<<\_ACEOF
35429 #define wxUSE_BUTTON 1
35435 if test "$wxUSE_BMPBUTTON" = "yes"; then
35436 cat >>confdefs.h
<<\_ACEOF
35437 #define wxUSE_BMPBUTTON 1
35443 if test "$wxUSE_CALCTRL" = "yes"; then
35444 cat >>confdefs.h
<<\_ACEOF
35445 #define wxUSE_CALENDARCTRL 1
35449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35452 if test "$wxUSE_CARET" = "yes"; then
35453 cat >>confdefs.h
<<\_ACEOF
35454 #define wxUSE_CARET 1
35458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35461 if test "$wxUSE_COMBOBOX" = "yes"; then
35462 cat >>confdefs.h
<<\_ACEOF
35463 #define wxUSE_COMBOBOX 1
35469 if test "$wxUSE_CHOICE" = "yes"; then
35470 cat >>confdefs.h
<<\_ACEOF
35471 #define wxUSE_CHOICE 1
35477 if test "$wxUSE_CHECKBOX" = "yes"; then
35478 cat >>confdefs.h
<<\_ACEOF
35479 #define wxUSE_CHECKBOX 1
35485 if test "$wxUSE_CHECKLST" = "yes"; then
35486 cat >>confdefs.h
<<\_ACEOF
35487 #define wxUSE_CHECKLISTBOX 1
35491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
35494 if test "$wxUSE_DISPLAY" = "yes"; then
35495 cat >>confdefs.h
<<\_ACEOF
35496 #define wxUSE_DISPLAY 1
35499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35502 if test "$wxUSE_GAUGE" = "yes"; then
35503 cat >>confdefs.h
<<\_ACEOF
35504 #define wxUSE_GAUGE 1
35510 if test "$wxUSE_GRID" = "yes"; then
35511 cat >>confdefs.h
<<\_ACEOF
35512 #define wxUSE_GRID 1
35516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35519 if test "$wxUSE_IMAGLIST" = "yes"; then
35520 cat >>confdefs.h
<<\_ACEOF
35521 #define wxUSE_IMAGLIST 1
35526 if test "$wxUSE_LISTBOOK" = "yes"; then
35527 cat >>confdefs.h
<<\_ACEOF
35528 #define wxUSE_LISTBOOK 1
35534 if test "$wxUSE_LISTBOX" = "yes"; then
35535 cat >>confdefs.h
<<\_ACEOF
35536 #define wxUSE_LISTBOX 1
35542 if test "$wxUSE_LISTCTRL" = "yes"; then
35543 if test "$wxUSE_IMAGLIST" = "yes"; then
35544 cat >>confdefs.h
<<\_ACEOF
35545 #define wxUSE_LISTCTRL 1
35549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
35551 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35552 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35556 if test "$wxUSE_NOTEBOOK" = "yes"; then
35557 cat >>confdefs.h
<<\_ACEOF
35558 #define wxUSE_NOTEBOOK 1
35562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
35566 if test "$wxUSE_RADIOBOX" = "yes"; then
35567 cat >>confdefs.h
<<\_ACEOF
35568 #define wxUSE_RADIOBOX 1
35574 if test "$wxUSE_RADIOBTN" = "yes"; then
35575 cat >>confdefs.h
<<\_ACEOF
35576 #define wxUSE_RADIOBTN 1
35582 if test "$wxUSE_SASH" = "yes"; then
35583 cat >>confdefs.h
<<\_ACEOF
35584 #define wxUSE_SASH 1
35587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
35590 if test "$wxUSE_SCROLLBAR" = "yes"; then
35591 cat >>confdefs.h
<<\_ACEOF
35592 #define wxUSE_SCROLLBAR 1
35596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
35599 if test "$wxUSE_SLIDER" = "yes"; then
35600 cat >>confdefs.h
<<\_ACEOF
35601 #define wxUSE_SLIDER 1
35607 if test "$wxUSE_SPINBTN" = "yes"; then
35608 cat >>confdefs.h
<<\_ACEOF
35609 #define wxUSE_SPINBTN 1
35615 if test "$wxUSE_SPINCTRL" = "yes"; then
35616 cat >>confdefs.h
<<\_ACEOF
35617 #define wxUSE_SPINCTRL 1
35623 if test "$wxUSE_SPLITTER" = "yes"; then
35624 cat >>confdefs.h
<<\_ACEOF
35625 #define wxUSE_SPLITTER 1
35628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
35631 if test "$wxUSE_STATBMP" = "yes"; then
35632 cat >>confdefs.h
<<\_ACEOF
35633 #define wxUSE_STATBMP 1
35639 if test "$wxUSE_STATBOX" = "yes"; then
35640 cat >>confdefs.h
<<\_ACEOF
35641 #define wxUSE_STATBOX 1
35647 if test "$wxUSE_STATTEXT" = "yes"; then
35648 cat >>confdefs.h
<<\_ACEOF
35649 #define wxUSE_STATTEXT 1
35655 if test "$wxUSE_STATLINE" = "yes"; then
35656 cat >>confdefs.h
<<\_ACEOF
35657 #define wxUSE_STATLINE 1
35663 if test "$wxUSE_STATUSBAR" = "yes"; then
35664 cat >>confdefs.h
<<\_ACEOF
35665 #define wxUSE_STATUSBAR 1
35670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
35673 if test "$wxUSE_TABDIALOG" = "yes"; then
35674 cat >>confdefs.h
<<\_ACEOF
35675 #define wxUSE_TAB_DIALOG 1
35678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
35681 if test "$wxUSE_TEXTCTRL" = "yes"; then
35682 cat >>confdefs.h
<<\_ACEOF
35683 #define wxUSE_TEXTCTRL 1
35687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
35690 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35691 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
35692 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35693 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35696 if test "$wxUSE_UNIVERSAL" = "yes"; then
35697 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
35698 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
35702 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35703 cat >>confdefs.h
<<\_ACEOF
35704 #define wxUSE_TOGGLEBTN 1
35711 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
35712 cat >>confdefs.h
<<\_ACEOF
35713 #define wxUSE_TOOLBAR_SIMPLE 1
35716 wxUSE_TOOLBAR
="yes"
35720 if test "$wxUSE_TOOLBAR" = "yes"; then
35721 cat >>confdefs.h
<<\_ACEOF
35722 #define wxUSE_TOOLBAR 1
35727 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
35728 wxUSE_TOOLBAR_NATIVE
="yes"
35731 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
35732 cat >>confdefs.h
<<\_ACEOF
35733 #define wxUSE_TOOLBAR_NATIVE 1
35739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
35742 if test "$wxUSE_TOOLTIPS" = "yes"; then
35743 if test "$wxUSE_MOTIF" = 1; then
35744 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35745 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35747 if test "$wxUSE_UNIVERSAL" = "yes"; then
35748 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35749 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35751 cat >>confdefs.h
<<\_ACEOF
35752 #define wxUSE_TOOLTIPS 1
35759 if test "$wxUSE_TREECTRL" = "yes"; then
35760 if test "$wxUSE_IMAGLIST" = "yes"; then
35761 cat >>confdefs.h
<<\_ACEOF
35762 #define wxUSE_TREECTRL 1
35766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
35768 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35769 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35773 if test "$wxUSE_POPUPWIN" = "yes"; then
35774 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
35775 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35776 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35778 if test "$wxUSE_PM" = 1; then
35779 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35780 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35782 cat >>confdefs.h
<<\_ACEOF
35783 #define wxUSE_POPUPWIN 1
35792 if test "$wxUSE_TIPWINDOW" = "yes"; then
35793 if test "$wxUSE_PM" = 1; then
35794 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35795 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35797 cat >>confdefs.h
<<\_ACEOF
35798 #define wxUSE_TIPWINDOW 1
35804 if test "$USES_CONTROLS" = 1; then
35805 cat >>confdefs.h
<<\_ACEOF
35806 #define wxUSE_CONTROLS 1
35812 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35813 cat >>confdefs.h
<<\_ACEOF
35814 #define wxUSE_ACCESSIBILITY 1
35817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
35820 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35821 cat >>confdefs.h
<<\_ACEOF
35822 #define wxUSE_DRAGIMAGE 1
35825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
35828 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35829 cat >>confdefs.h
<<\_ACEOF
35830 #define wxUSE_EXCEPTIONS 1
35836 if test "$wxUSE_HTML" = "yes"; then
35837 cat >>confdefs.h
<<\_ACEOF
35838 #define wxUSE_HTML 1
35842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35845 if test "$wxUSE_MENUS" = "yes"; then
35846 cat >>confdefs.h
<<\_ACEOF
35847 #define wxUSE_MENUS 1
35850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
35853 if test "$wxUSE_METAFILE" = "yes"; then
35854 cat >>confdefs.h
<<\_ACEOF
35855 #define wxUSE_METAFILE 1
35860 if test "$wxUSE_MIMETYPE" = "yes"; then
35861 cat >>confdefs.h
<<\_ACEOF
35862 #define wxUSE_MIMETYPE 1
35867 if test "$wxUSE_MINIFRAME" = "yes"; then
35868 cat >>confdefs.h
<<\_ACEOF
35869 #define wxUSE_MINIFRAME 1
35872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
35875 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
35876 cat >>confdefs.h
<<\_ACEOF
35877 #define wxUSE_SYSTEM_OPTIONS 1
35880 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
35881 "$TOOLKIT" = "MOTIF"; then
35882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
35887 if test "$wxUSE_VALIDATORS" = "yes"; then
35888 cat >>confdefs.h
<<\_ACEOF
35889 #define wxUSE_VALIDATORS 1
35892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
35895 if test "$wxUSE_PALETTE" = "yes" ; then
35896 cat >>confdefs.h
<<\_ACEOF
35897 #define wxUSE_PALETTE 1
35902 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
35903 LIBS
=" -lunicows $LIBS"
35907 if test "$wxUSE_IMAGE" = "yes" ; then
35908 cat >>confdefs.h
<<\_ACEOF
35909 #define wxUSE_IMAGE 1
35913 if test "$wxUSE_GIF" = "yes" ; then
35914 cat >>confdefs.h
<<\_ACEOF
35915 #define wxUSE_GIF 1
35920 if test "$wxUSE_PCX" = "yes" ; then
35921 cat >>confdefs.h
<<\_ACEOF
35922 #define wxUSE_PCX 1
35927 if test "$wxUSE_IFF" = "yes" ; then
35928 cat >>confdefs.h
<<\_ACEOF
35929 #define wxUSE_IFF 1
35934 if test "$wxUSE_PNM" = "yes" ; then
35935 cat >>confdefs.h
<<\_ACEOF
35936 #define wxUSE_PNM 1
35941 if test "$wxUSE_XPM" = "yes" ; then
35942 cat >>confdefs.h
<<\_ACEOF
35943 #define wxUSE_XPM 1
35948 if test "$wxUSE_ICO_CUR" = "yes" ; then
35949 cat >>confdefs.h
<<\_ACEOF
35950 #define wxUSE_ICO_CUR 1
35957 if test "$wxUSE_CHOICEDLG" = "yes"; then
35958 cat >>confdefs.h
<<\_ACEOF
35959 #define wxUSE_CHOICEDLG 1
35964 if test "$wxUSE_COLOURDLG" = "yes"; then
35965 cat >>confdefs.h
<<\_ACEOF
35966 #define wxUSE_COLOURDLG 1
35971 if test "$wxUSE_FILEDLG" = "yes"; then
35972 cat >>confdefs.h
<<\_ACEOF
35973 #define wxUSE_FILEDLG 1
35978 if test "$wxUSE_FINDREPLDLG" = "yes"; then
35979 cat >>confdefs.h
<<\_ACEOF
35980 #define wxUSE_FINDREPLDLG 1
35985 if test "$wxUSE_FONTDLG" = "yes"; then
35986 cat >>confdefs.h
<<\_ACEOF
35987 #define wxUSE_FONTDLG 1
35992 if test "$wxUSE_DIRDLG" = "yes"; then
35993 if test "$wxUSE_TREECTRL" != "yes"; then
35994 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
35995 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
35997 cat >>confdefs.h
<<\_ACEOF
35998 #define wxUSE_DIRDLG 1
36004 if test "$wxUSE_MSGDLG" = "yes"; then
36005 cat >>confdefs.h
<<\_ACEOF
36006 #define wxUSE_MSGDLG 1
36011 if test "$wxUSE_NUMBERDLG" = "yes"; then
36012 cat >>confdefs.h
<<\_ACEOF
36013 #define wxUSE_NUMBERDLG 1
36018 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36019 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36020 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36021 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36023 cat >>confdefs.h
<<\_ACEOF
36024 #define wxUSE_PROGRESSDLG 1
36030 if test "$wxUSE_SPLASH" = "yes"; then
36031 cat >>confdefs.h
<<\_ACEOF
36032 #define wxUSE_SPLASH 1
36037 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36038 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36039 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36040 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36042 cat >>confdefs.h
<<\_ACEOF
36043 #define wxUSE_STARTUP_TIPS 1
36049 if test "$wxUSE_TEXTDLG" = "yes"; then
36050 cat >>confdefs.h
<<\_ACEOF
36051 #define wxUSE_TEXTDLG 1
36056 if test "$wxUSE_WIZARDDLG" = "yes"; then
36057 cat >>confdefs.h
<<\_ACEOF
36058 #define wxUSE_WIZARDDLG 1
36061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36065 if test "$cross_compiling" = "yes"; then
36068 OSINFO
=`uname -s -r -m`
36069 OSINFO
="\"$OSINFO\""
36072 cat >>confdefs.h
<<_ACEOF
36073 #define WXWIN_OS_DESCRIPTION $OSINFO
36078 if test "x$prefix" != "xNONE"; then
36081 wxPREFIX
=$ac_default_prefix
36084 cat >>confdefs.h
<<_ACEOF
36085 #define wxINSTALL_PREFIX "$wxPREFIX"
36089 top_builddir_wxconfig
=`pwd`
36093 CORE_BASE_LIBS
="net base"
36094 CORE_GUI_LIBS
="adv core"
36096 if test "$wxUSE_XML" = "yes" ; then
36097 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
36099 if test "$wxUSE_ODBC" != "no" ; then
36100 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
36101 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
36103 if test "$wxUSE_HTML" = "yes" ; then
36104 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
36107 if test "$wxUSE_GUI" != "yes"; then
36118 if test "$wxUSE_MAC" = 1 ; then
36119 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
36121 if test "$wxUSE_COCOA" = 1 ; then
36122 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
36126 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
36133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36134 echo "$as_me:$LINENO: checking for $ac_func" >&5
36135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36136 if eval "test \"\${$as_ac_var+set}\" = set"; then
36137 echo $ECHO_N "(cached) $ECHO_C" >&6
36139 cat >conftest.
$ac_ext <<_ACEOF
36142 cat confdefs.h
>>conftest.
$ac_ext
36143 cat >>conftest.
$ac_ext <<_ACEOF
36144 /* end confdefs.h. */
36145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36147 #define $ac_func innocuous_$ac_func
36149 /* System header to define __stub macros and hopefully few prototypes,
36150 which can conflict with char $ac_func (); below.
36151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36152 <limits.h> exists even on freestanding compilers. */
36155 # include <limits.h>
36157 # include <assert.h>
36162 /* Override any gcc2 internal prototype to avoid an error. */
36167 /* We use char because int might match the return type of a gcc2
36168 builtin and then its argument prototype would still apply. */
36170 /* The GNU C library defines this for functions which it implements
36171 to always fail with ENOSYS. Some functions are actually named
36172 something starting with __ and the normal name is an alias. */
36173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36176 char (*f) () = $ac_func;
36185 return f != $ac_func;
36190 rm -f conftest.
$ac_objext conftest
$ac_exeext
36191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36192 (eval $ac_link) 2>conftest.er1
36194 grep -v '^ *+' conftest.er1
>conftest.err
36196 cat conftest.err
>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } &&
36199 { ac_try
='test -z "$ac_c_werror_flag"
36200 || test ! -s conftest.err'
36201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36202 (eval $ac_try) 2>&5
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); }; } &&
36206 { ac_try
='test -s conftest$ac_exeext'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; }; then
36212 eval "$as_ac_var=yes"
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.
$ac_ext >&5
36217 eval "$as_ac_var=no"
36219 rm -f conftest.err conftest.
$ac_objext \
36220 conftest
$ac_exeext conftest.
$ac_ext
36222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36224 if test `eval echo '${'$as_ac_var'}'` = yes; then
36225 cat >>confdefs.h
<<_ACEOF
36226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36233 for ac_func
in floor
36235 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36236 echo "$as_me:$LINENO: checking for $ac_func" >&5
36237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36238 if eval "test \"\${$as_ac_var+set}\" = set"; then
36239 echo $ECHO_N "(cached) $ECHO_C" >&6
36241 cat >conftest.
$ac_ext <<_ACEOF
36244 cat confdefs.h
>>conftest.
$ac_ext
36245 cat >>conftest.
$ac_ext <<_ACEOF
36246 /* end confdefs.h. */
36247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36249 #define $ac_func innocuous_$ac_func
36251 /* System header to define __stub macros and hopefully few prototypes,
36252 which can conflict with char $ac_func (); below.
36253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36254 <limits.h> exists even on freestanding compilers. */
36257 # include <limits.h>
36259 # include <assert.h>
36264 /* Override any gcc2 internal prototype to avoid an error. */
36269 /* We use char because int might match the return type of a gcc2
36270 builtin and then its argument prototype would still apply. */
36272 /* The GNU C library defines this for functions which it implements
36273 to always fail with ENOSYS. Some functions are actually named
36274 something starting with __ and the normal name is an alias. */
36275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36278 char (*f) () = $ac_func;
36287 return f != $ac_func;
36292 rm -f conftest.
$ac_objext conftest
$ac_exeext
36293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36294 (eval $ac_link) 2>conftest.er1
36296 grep -v '^ *+' conftest.er1
>conftest.err
36298 cat conftest.err
>&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); } &&
36301 { ac_try
='test -z "$ac_c_werror_flag"
36302 || test ! -s conftest.err'
36303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36304 (eval $ac_try) 2>&5
36306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36307 (exit $ac_status); }; } &&
36308 { ac_try
='test -s conftest$ac_exeext'
36309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36310 (eval $ac_try) 2>&5
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); }; }; then
36314 eval "$as_ac_var=yes"
36316 echo "$as_me: failed program was:" >&5
36317 sed 's/^/| /' conftest.
$ac_ext >&5
36319 eval "$as_ac_var=no"
36321 rm -f conftest.err conftest.
$ac_objext \
36322 conftest
$ac_exeext conftest.
$ac_ext
36324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36326 if test `eval echo '${'$as_ac_var'}'` = yes; then
36327 cat >>confdefs.h
<<_ACEOF
36328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36334 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
36335 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
36336 if test "$have_cos" = 1 -a "$have_floor" = 1; then
36337 echo "$as_me:$LINENO: result: yes" >&5
36338 echo "${ECHO_T}yes" >&6
36340 echo "$as_me:$LINENO: result: no" >&5
36341 echo "${ECHO_T}no" >&6
36343 # use different functions to avoid configure caching
36349 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36350 echo "$as_me:$LINENO: checking for $ac_func" >&5
36351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36352 if eval "test \"\${$as_ac_var+set}\" = set"; then
36353 echo $ECHO_N "(cached) $ECHO_C" >&6
36355 cat >conftest.
$ac_ext <<_ACEOF
36358 cat confdefs.h
>>conftest.
$ac_ext
36359 cat >>conftest.
$ac_ext <<_ACEOF
36360 /* end confdefs.h. */
36361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36363 #define $ac_func innocuous_$ac_func
36365 /* System header to define __stub macros and hopefully few prototypes,
36366 which can conflict with char $ac_func (); below.
36367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36368 <limits.h> exists even on freestanding compilers. */
36371 # include <limits.h>
36373 # include <assert.h>
36378 /* Override any gcc2 internal prototype to avoid an error. */
36383 /* We use char because int might match the return type of a gcc2
36384 builtin and then its argument prototype would still apply. */
36386 /* The GNU C library defines this for functions which it implements
36387 to always fail with ENOSYS. Some functions are actually named
36388 something starting with __ and the normal name is an alias. */
36389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36392 char (*f) () = $ac_func;
36401 return f != $ac_func;
36406 rm -f conftest.
$ac_objext conftest
$ac_exeext
36407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36408 (eval $ac_link) 2>conftest.er1
36410 grep -v '^ *+' conftest.er1
>conftest.err
36412 cat conftest.err
>&5
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); } &&
36415 { ac_try
='test -z "$ac_c_werror_flag"
36416 || test ! -s conftest.err'
36417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36418 (eval $ac_try) 2>&5
36420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36421 (exit $ac_status); }; } &&
36422 { ac_try
='test -s conftest$ac_exeext'
36423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36424 (eval $ac_try) 2>&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); }; }; then
36428 eval "$as_ac_var=yes"
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.
$ac_ext >&5
36433 eval "$as_ac_var=no"
36435 rm -f conftest.err conftest.
$ac_objext \
36436 conftest
$ac_exeext conftest.
$ac_ext
36438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36440 if test `eval echo '${'$as_ac_var'}'` = yes; then
36441 cat >>confdefs.h
<<_ACEOF
36442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36449 for ac_func
in ceil
36451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36452 echo "$as_me:$LINENO: checking for $ac_func" >&5
36453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36454 if eval "test \"\${$as_ac_var+set}\" = set"; then
36455 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 cat >conftest.
$ac_ext <<_ACEOF
36460 cat confdefs.h
>>conftest.
$ac_ext
36461 cat >>conftest.
$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36465 #define $ac_func innocuous_$ac_func
36467 /* System header to define __stub macros and hopefully few prototypes,
36468 which can conflict with char $ac_func (); below.
36469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36470 <limits.h> exists even on freestanding compilers. */
36473 # include <limits.h>
36475 # include <assert.h>
36480 /* Override any gcc2 internal prototype to avoid an error. */
36485 /* We use char because int might match the return type of a gcc2
36486 builtin and then its argument prototype would still apply. */
36488 /* The GNU C library defines this for functions which it implements
36489 to always fail with ENOSYS. Some functions are actually named
36490 something starting with __ and the normal name is an alias. */
36491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36494 char (*f) () = $ac_func;
36503 return f != $ac_func;
36508 rm -f conftest.
$ac_objext conftest
$ac_exeext
36509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36510 (eval $ac_link) 2>conftest.er1
36512 grep -v '^ *+' conftest.er1
>conftest.err
36514 cat conftest.err
>&5
36515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516 (exit $ac_status); } &&
36517 { ac_try
='test -z "$ac_c_werror_flag"
36518 || test ! -s conftest.err'
36519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36520 (eval $ac_try) 2>&5
36522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36523 (exit $ac_status); }; } &&
36524 { ac_try
='test -s conftest$ac_exeext'
36525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36526 (eval $ac_try) 2>&5
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); }; }; then
36530 eval "$as_ac_var=yes"
36532 echo "$as_me: failed program was:" >&5
36533 sed 's/^/| /' conftest.
$ac_ext >&5
36535 eval "$as_ac_var=no"
36537 rm -f conftest.err conftest.
$ac_objext \
36538 conftest
$ac_exeext conftest.
$ac_ext
36540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36542 if test `eval echo '${'$as_ac_var'}'` = yes; then
36543 cat >>confdefs.h
<<_ACEOF
36544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36550 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
36551 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
36552 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
36553 echo "$as_me:$LINENO: result: yes" >&5
36554 echo "${ECHO_T}yes" >&6
36556 echo "$as_me:$LINENO: result: no" >&5
36557 echo "${ECHO_T}no" >&6
36558 # not sure we should warn the user, crash, etc.
36562 if test "$wxUSE_GUI" = "yes"; then
36565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
36566 drawing dynamic erase event exec font image \
36567 minimal propsize rotate shaped widgets render"
36569 if test "$wxUSE_MONOLITHIC" != "yes"; then
36570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
36573 SAMPLES_SUBDIRS
="console"
36577 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
36578 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
36580 if test "$GXX" = yes ; then
36581 CXXWARNINGS
="-Wall"
36584 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
36586 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
36587 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
36588 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
36591 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
36592 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
36593 EXTRALIBS_XML
="$EXPAT_LINK"
36594 EXTRALIBS_HTML
="$MSPACK_LINK"
36595 EXTRALIBS_ODBC
="$ODBC_LINK"
36596 if test "$wxUSE_GUI" = "yes"; then
36597 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
36599 if test "$wxUSE_OPENGL" = "yes"; then
36600 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
36603 LDFLAGS
="$LDFLAGS $PROFILE"
36605 if test "$wxUSE_GTK" = 1; then
36608 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
36611 WXCONFIG_EXTRALIBS
="$LIBS"
36613 if test "$wxUSE_REGEX" = "builtin" ; then
36614 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
36616 if test "$wxUSE_EXPAT" = "builtin" ; then
36617 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
36619 if test "$wxUSE_ODBC" = "builtin" ; then
36620 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
36622 if test "$wxUSE_LIBTIFF" = "builtin" ; then
36623 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
36625 if test "$wxUSE_LIBJPEG" = "builtin" ; then
36626 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
36628 if test "$wxUSE_LIBPNG" = "builtin" ; then
36629 wxconfig_3rdparty
="$wxconfig_3rdparty png"
36631 if test "$wxUSE_ZLIB" = "builtin" ; then
36632 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
36634 if test "$wxUSE_ODBC" = "builtin" ; then
36635 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
36638 for i
in $wxconfig_3rdparty ; do
36639 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
36643 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
36657 if test $wxUSE_MONOLITHIC = "yes" ; then
36663 if test $wxUSE_ODBC != "no" ; then
36669 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
36692 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
36700 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
36702 if test -n "$ac_tool_prefix"; then
36703 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
36704 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
36705 echo "$as_me:$LINENO: checking for $ac_word" >&5
36706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36707 if test "${ac_cv_prog_RANLIB+set}" = set; then
36708 echo $ECHO_N "(cached) $ECHO_C" >&6
36710 if test -n "$RANLIB"; then
36711 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
36713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36714 for as_dir
in $PATH
36717 test -z "$as_dir" && as_dir
=.
36718 for ac_exec_ext
in '' $ac_executable_extensions; do
36719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36720 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
36721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36729 RANLIB
=$ac_cv_prog_RANLIB
36730 if test -n "$RANLIB"; then
36731 echo "$as_me:$LINENO: result: $RANLIB" >&5
36732 echo "${ECHO_T}$RANLIB" >&6
36734 echo "$as_me:$LINENO: result: no" >&5
36735 echo "${ECHO_T}no" >&6
36739 if test -z "$ac_cv_prog_RANLIB"; then
36740 ac_ct_RANLIB
=$RANLIB
36741 # Extract the first word of "ranlib", so it can be a program name with args.
36742 set dummy ranlib
; ac_word
=$2
36743 echo "$as_me:$LINENO: checking for $ac_word" >&5
36744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36745 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
36746 echo $ECHO_N "(cached) $ECHO_C" >&6
36748 if test -n "$ac_ct_RANLIB"; then
36749 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
36751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36752 for as_dir
in $PATH
36755 test -z "$as_dir" && as_dir
=.
36756 for ac_exec_ext
in '' $ac_executable_extensions; do
36757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36758 ac_cv_prog_ac_ct_RANLIB
="ranlib"
36759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36765 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
36768 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
36769 if test -n "$ac_ct_RANLIB"; then
36770 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
36771 echo "${ECHO_T}$ac_ct_RANLIB" >&6
36773 echo "$as_me:$LINENO: result: no" >&5
36774 echo "${ECHO_T}no" >&6
36777 RANLIB
=$ac_ct_RANLIB
36779 RANLIB
="$ac_cv_prog_RANLIB"
36782 # Find a good install program. We prefer a C program (faster),
36783 # so one script is as good as another. But avoid the broken or
36784 # incompatible versions:
36785 # SysV /etc/install, /usr/sbin/install
36786 # SunOS /usr/etc/install
36787 # IRIX /sbin/install
36789 # AmigaOS /C/install, which installs bootblocks on floppy discs
36790 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
36791 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
36792 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
36793 # OS/2's system install, which has a completely different semantic
36794 # ./install, which can be erroneously created by make from ./install.sh.
36795 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
36796 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
36797 if test -z "$INSTALL"; then
36798 if test "${ac_cv_path_install+set}" = set; then
36799 echo $ECHO_N "(cached) $ECHO_C" >&6
36801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36802 for as_dir
in $PATH
36805 test -z "$as_dir" && as_dir
=.
36806 # Account for people who put trailing slashes in PATH elements.
36808 .
/ | .
// | /cC
/* | \
36809 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
36810 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
36813 # OSF1 and SCO ODT 3.0 have their own names for install.
36814 # Don't use installbsd from OSF since it installs stuff as root
36816 for ac_prog
in ginstall scoinst
install; do
36817 for ac_exec_ext
in '' $ac_executable_extensions; do
36818 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
36819 if test $ac_prog = install &&
36820 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
36821 # AIX install. It has an incompatible calling convention.
36823 elif test $ac_prog = install &&
36824 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
36825 # program-specific install script used by HP pwplus--don't use.
36828 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
36840 if test "${ac_cv_path_install+set}" = set; then
36841 INSTALL
=$ac_cv_path_install
36843 # As a last resort, use the slow shell script. We don't cache a
36844 # path for INSTALL within a source directory, because that will
36845 # break other packages using the cache if that directory is
36846 # removed, or if the path is relative.
36847 INSTALL
=$ac_install_sh
36850 echo "$as_me:$LINENO: result: $INSTALL" >&5
36851 echo "${ECHO_T}$INSTALL" >&6
36853 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
36854 # It thinks the first close brace ends the variable substitution.
36855 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
36857 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
36859 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
36861 echo "$as_me:$LINENO: checking whether ln -s works" >&5
36862 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
36864 if test "$LN_S" = "ln -s"; then
36865 echo "$as_me:$LINENO: result: yes" >&5
36866 echo "${ECHO_T}yes" >&6
36868 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
36869 echo "${ECHO_T}no, using $LN_S" >&6
36873 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36874 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36875 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
36876 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36877 echo $ECHO_N "(cached) $ECHO_C" >&6
36879 cat >conftest.
make <<\_ACEOF
36881 @
echo 'ac_maketemp="$(MAKE)"'
36883 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36884 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36885 if test -n "$ac_maketemp"; then
36886 eval ac_cv_prog_make_
${ac_make}_set
=yes
36888 eval ac_cv_prog_make_
${ac_make}_set
=no
36890 rm -f conftest.
make
36892 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36893 echo "$as_me:$LINENO: result: yes" >&5
36894 echo "${ECHO_T}yes" >&6
36897 echo "$as_me:$LINENO: result: no" >&5
36898 echo "${ECHO_T}no" >&6
36899 SET_MAKE
="MAKE=${MAKE-make}"
36904 if test -n "$ac_tool_prefix"; then
36905 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
36906 set dummy
${ac_tool_prefix}ar; ac_word
=$2
36907 echo "$as_me:$LINENO: checking for $ac_word" >&5
36908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36909 if test "${ac_cv_prog_AR+set}" = set; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 if test -n "$AR"; then
36913 ac_cv_prog_AR
="$AR" # Let the user override the test.
36915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36916 for as_dir
in $PATH
36919 test -z "$as_dir" && as_dir
=.
36920 for ac_exec_ext
in '' $ac_executable_extensions; do
36921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36922 ac_cv_prog_AR
="${ac_tool_prefix}ar"
36923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36932 if test -n "$AR"; then
36933 echo "$as_me:$LINENO: result: $AR" >&5
36934 echo "${ECHO_T}$AR" >&6
36936 echo "$as_me:$LINENO: result: no" >&5
36937 echo "${ECHO_T}no" >&6
36941 if test -z "$ac_cv_prog_AR"; then
36943 # Extract the first word of "ar", so it can be a program name with args.
36944 set dummy
ar; ac_word
=$2
36945 echo "$as_me:$LINENO: checking for $ac_word" >&5
36946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36947 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
36948 echo $ECHO_N "(cached) $ECHO_C" >&6
36950 if test -n "$ac_ct_AR"; then
36951 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
36953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36954 for as_dir
in $PATH
36957 test -z "$as_dir" && as_dir
=.
36958 for ac_exec_ext
in '' $ac_executable_extensions; do
36959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36960 ac_cv_prog_ac_ct_AR
="ar"
36961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36967 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
36970 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
36971 if test -n "$ac_ct_AR"; then
36972 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
36973 echo "${ECHO_T}$ac_ct_AR" >&6
36975 echo "$as_me:$LINENO: result: no" >&5
36976 echo "${ECHO_T}no" >&6
36981 AR
="$ac_cv_prog_AR"
36984 if test -n "$ac_tool_prefix"; then
36985 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
36986 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
36987 echo "$as_me:$LINENO: checking for $ac_word" >&5
36988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36989 if test "${ac_cv_prog_STRIP+set}" = set; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 if test -n "$STRIP"; then
36993 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
36995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36996 for as_dir
in $PATH
36999 test -z "$as_dir" && as_dir
=.
37000 for ac_exec_ext
in '' $ac_executable_extensions; do
37001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37002 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37011 STRIP
=$ac_cv_prog_STRIP
37012 if test -n "$STRIP"; then
37013 echo "$as_me:$LINENO: result: $STRIP" >&5
37014 echo "${ECHO_T}$STRIP" >&6
37016 echo "$as_me:$LINENO: result: no" >&5
37017 echo "${ECHO_T}no" >&6
37021 if test -z "$ac_cv_prog_STRIP"; then
37023 # Extract the first word of "strip", so it can be a program name with args.
37024 set dummy strip
; ac_word
=$2
37025 echo "$as_me:$LINENO: checking for $ac_word" >&5
37026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37027 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 if test -n "$ac_ct_STRIP"; then
37031 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
37033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37034 for as_dir
in $PATH
37037 test -z "$as_dir" && as_dir
=.
37038 for ac_exec_ext
in '' $ac_executable_extensions; do
37039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37040 ac_cv_prog_ac_ct_STRIP
="strip"
37041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37047 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
37050 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
37051 if test -n "$ac_ct_STRIP"; then
37052 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
37053 echo "${ECHO_T}$ac_ct_STRIP" >&6
37055 echo "$as_me:$LINENO: result: no" >&5
37056 echo "${ECHO_T}no" >&6
37061 STRIP
="$ac_cv_prog_STRIP"
37064 if test -n "$ac_tool_prefix"; then
37065 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37066 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
37067 echo "$as_me:$LINENO: checking for $ac_word" >&5
37068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37069 if test "${ac_cv_prog_NM+set}" = set; then
37070 echo $ECHO_N "(cached) $ECHO_C" >&6
37072 if test -n "$NM"; then
37073 ac_cv_prog_NM
="$NM" # Let the user override the test.
37075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37076 for as_dir
in $PATH
37079 test -z "$as_dir" && as_dir
=.
37080 for ac_exec_ext
in '' $ac_executable_extensions; do
37081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37082 ac_cv_prog_NM
="${ac_tool_prefix}nm"
37083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37092 if test -n "$NM"; then
37093 echo "$as_me:$LINENO: result: $NM" >&5
37094 echo "${ECHO_T}$NM" >&6
37096 echo "$as_me:$LINENO: result: no" >&5
37097 echo "${ECHO_T}no" >&6
37101 if test -z "$ac_cv_prog_NM"; then
37103 # Extract the first word of "nm", so it can be a program name with args.
37104 set dummy nm
; ac_word
=$2
37105 echo "$as_me:$LINENO: checking for $ac_word" >&5
37106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37107 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
37108 echo $ECHO_N "(cached) $ECHO_C" >&6
37110 if test -n "$ac_ct_NM"; then
37111 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
37113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37114 for as_dir
in $PATH
37117 test -z "$as_dir" && as_dir
=.
37118 for ac_exec_ext
in '' $ac_executable_extensions; do
37119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37120 ac_cv_prog_ac_ct_NM
="nm"
37121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37127 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
37130 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
37131 if test -n "$ac_ct_NM"; then
37132 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
37133 echo "${ECHO_T}$ac_ct_NM" >&6
37135 echo "$as_me:$LINENO: result: no" >&5
37136 echo "${ECHO_T}no" >&6
37141 NM
="$ac_cv_prog_NM"
37147 INSTALL_DIR
="mkdir"
37149 *) INSTALL_DIR
="$INSTALL -d"
37156 *-*-cygwin* | *-*-mingw32* )
37157 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
37163 echo "$as_me:$LINENO: checking if make is GNU make" >&5
37164 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
37165 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
37166 echo $ECHO_N "(cached) $ECHO_C" >&6
37169 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
37170 egrep -s GNU
> /dev
/null
); then
37171 bakefile_cv_prog_makeisgnu
="yes"
37173 bakefile_cv_prog_makeisgnu
="no"
37177 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
37178 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
37180 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37196 *-*-cygwin* | *-*-mingw32* )
37202 *-pc-os2_emx | *-pc-os2-emx )
37205 powerpc
-*-darwin* )
37223 SO_SUFFIX_MODULE
="so"
37232 SO_SUFFIX_MODULE
="sl"
37236 SO_SUFFIX_MODULE
="a"
37238 *-*-cygwin* | *-*-mingw32* )
37240 SO_SUFFIX_MODULE
="dll"
37248 *-pc-os2_emx | *-pc-os2-emx )
37253 powerpc
-*-darwin* )
37255 SO_SUFFIX_MODULE
="bundle"
37267 SHARED_LD_CC
="\$(CC) -shared -o"
37268 SHARED_LD_CXX
="\$(CXX) -shared -o"
37270 if test "x$GCC" = "xyes"; then
37276 if test "x$GCC" = "xyes"; then
37277 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
37278 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
37280 LDFLAGS
="$LDFLAGS -L/usr/lib"
37282 SHARED_LD_CC
="${CC} -b -o"
37283 SHARED_LD_CXX
="${CXX} -b -o"
37289 if test "x$GCC" != "xyes"; then
37290 echo "$as_me:$LINENO: checking for Intel compiler" >&5
37291 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
37292 if test "${bakefile_cv_prog_icc+set}" = set; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37296 cat >conftest.
$ac_ext <<_ACEOF
37299 cat confdefs.h
>>conftest.
$ac_ext
37300 cat >>conftest.
$ac_ext <<_ACEOF
37301 /* end confdefs.h. */
37307 #ifndef __INTEL_COMPILER
37315 rm -f conftest.
$ac_objext
37316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37317 (eval $ac_compile) 2>conftest.er1
37319 grep -v '^ *+' conftest.er1
>conftest.err
37321 cat conftest.err
>&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); } &&
37324 { ac_try
='test -z "$ac_c_werror_flag"
37325 || test ! -s conftest.err'
37326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327 (eval $ac_try) 2>&5
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); }; } &&
37331 { ac_try
='test -s conftest.$ac_objext'
37332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37333 (eval $ac_try) 2>&5
37335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37336 (exit $ac_status); }; }; then
37337 bakefile_cv_prog_icc
=yes
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.
$ac_ext >&5
37342 bakefile_cv_prog_icc
=no
37345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37348 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
37349 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
37350 if test "$bakefile_cv_prog_icc" = "yes"; then
37357 if test "x$GCC" != xyes
; then
37358 SHARED_LD_CC
="${CC} -G -o"
37359 SHARED_LD_CXX
="${CXX} -G -o"
37365 CFLAGS
="$CFLAGS -fno-common"
37366 CXXFLAGS
="$CXXFLAGS -fno-common"
37369 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
37370 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
37371 if test "${wx_cv_gcc31+set}" = set; then
37372 echo $ECHO_N "(cached) $ECHO_C" >&6
37375 cat >conftest.
$ac_ext <<_ACEOF
37378 cat confdefs.h
>>conftest.
$ac_ext
37379 cat >>conftest.
$ac_ext <<_ACEOF
37380 /* end confdefs.h. */
37386 #if (__GNUC__ < 3) || \
37387 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
37395 rm -f conftest.
$ac_objext
37396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37397 (eval $ac_compile) 2>conftest.er1
37399 grep -v '^ *+' conftest.er1
>conftest.err
37401 cat conftest.err
>&5
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); } &&
37404 { ac_try
='test -z "$ac_c_werror_flag"
37405 || test ! -s conftest.err'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; } &&
37411 { ac_try
='test -s conftest.$ac_objext'
37412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37413 (eval $ac_try) 2>&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); }; }; then
37421 echo "$as_me: failed program was:" >&5
37422 sed 's/^/| /' conftest.
$ac_ext >&5
37429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37432 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
37433 echo "${ECHO_T}$wx_cv_gcc31" >&6
37434 if test "$wx_cv_gcc31" = "no"; then
37435 cat <<EOF >shared-ld-sh
37437 #-----------------------------------------------------------------------------
37438 #-- Name: distrib/mac/shared-ld-sh
37439 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
37440 #-- Author: Gilles Depeyrot
37441 #-- Copyright: (c) 2002 Gilles Depeyrot
37442 #-- Licence: any use permitted
37443 #-----------------------------------------------------------------------------
37448 linking_flag="-dynamiclib"
37450 while test \${#} -gt 0; do
37457 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
37458 # collect these options and values
37459 args="\${args} \${1} \${2}"
37463 -l*|-L*|-flat_namespace)
37464 # collect these options
37465 args="\${args} \${1}"
37468 -dynamiclib|-bundle)
37469 linking_flag="\${1}"
37473 echo "shared-ld: unhandled option '\${1}'"
37477 *.o | *.a | *.dylib)
37478 # collect object files
37479 objects="\${objects} \${1}"
37483 echo "shared-ld: unhandled argument '\${1}'"
37492 # Link one module containing all the others
37494 if test \${verbose} = 1; then
37495 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
37497 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
37499 if test \${status} != 0; then
37504 # Link the shared library from the single module created
37506 if test \${verbose} = 1; then
37507 echo "cc \${linking_flag} master.\$\$.o \${args}"
37509 c++ \${linking_flag} master.\$\$.o \${args}
37511 if test \${status} != 0; then
37516 # Remove intermediate module
37518 rm -f master.\$\$.o
37522 chmod +x shared
-ld-sh
37524 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
37525 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
37526 SHARED_LD_CXX
="$SHARED_LD_CC"
37527 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
37529 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
37530 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
37531 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
37532 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
37535 PIC_FLAG
="-dynamic -fPIC"
37539 if test "x$GCC" != "xyes"; then
37540 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
37541 set dummy makeC
++SharedLib
; ac_word
=$2
37542 echo "$as_me:$LINENO: checking for $ac_word" >&5
37543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37544 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
37545 echo $ECHO_N "(cached) $ECHO_C" >&6
37547 if test -n "$AIX_CXX_LD"; then
37548 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
37550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37551 for as_dir
in $PATH
37554 test -z "$as_dir" && as_dir
=.
37555 for ac_exec_ext
in '' $ac_executable_extensions; do
37556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37557 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
37558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37564 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
37567 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
37568 if test -n "$AIX_CXX_LD"; then
37569 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
37570 echo "${ECHO_T}$AIX_CXX_LD" >&6
37572 echo "$as_me:$LINENO: result: no" >&5
37573 echo "${ECHO_T}no" >&6
37576 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
37577 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
37582 SHARED_LD_CC
="${LD} -shared -o"
37583 SHARED_LD_CXX
="${LD} -shared -o"
37587 if test "x$GCC" != "xyes"; then
37592 *-*-cygwin* | *-*-mingw32* )
37596 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
37600 *-pc-os2_emx | *-pc-os2-emx | \
37605 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
37606 echo "$as_me: error: unknown system type $host." >&2;}
37607 { (exit 1); exit 1; }; }
37610 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
37611 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
37613 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
37614 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
37633 SONAME_FLAG
="-Wl,-soname,"
37661 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
37662 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
37665 if test "x$GCC" = "xyes"; then
37669 powerpc
-*-darwin* )
37670 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
37673 DEPSFLAG_GCC
="-MMD"
37676 echo "$as_me:$LINENO: result: gcc" >&5
37677 echo "${ECHO_T}gcc" >&6
37679 echo "$as_me:$LINENO: result: none" >&5
37680 echo "${ECHO_T}none" >&6
37683 if test $DEPS_TRACKING = 1 ; then
37687 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37688 # script. It is used to track C/C++ files dependencies in portable way.
37690 # Permission is given to use this file in any way.
37694 DEPSFLAG_GCC="$DEPSFLAG_GCC"
37698 if test \$DEPSMODE = gcc ; then
37699 \${*} \${DEPSFLAG_GCC}
37701 if test \${status} != 0 ; then
37704 # move created file to the location we want it in:
37705 while test \${#} -gt 0; do
37719 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
37720 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
37721 if test -f \$depfile ; then
37722 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
37725 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
37726 if test -f \$depfile ; then
37727 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
37747 *-*-cygwin* | *-*-mingw32* )
37748 if test "$build" != "$host" ; then
37749 RESCOMP
=$host_alias-windres
37751 # Extract the first word of "windres", so it can be a program name with args.
37752 set dummy windres
; ac_word
=$2
37753 echo "$as_me:$LINENO: checking for $ac_word" >&5
37754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37755 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37756 echo $ECHO_N "(cached) $ECHO_C" >&6
37758 if test -n "$RESCOMP"; then
37759 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
37761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37762 for as_dir
in $PATH
37765 test -z "$as_dir" && as_dir
=.
37766 for ac_exec_ext
in '' $ac_executable_extensions; do
37767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37768 ac_cv_prog_RESCOMP
="windres"
37769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37775 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
37778 RESCOMP
=$ac_cv_prog_RESCOMP
37779 if test -n "$RESCOMP"; then
37780 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37781 echo "${ECHO_T}$RESCOMP" >&6
37783 echo "$as_me:$LINENO: result: no" >&5
37784 echo "${ECHO_T}no" >&6
37791 # Extract the first word of "Rez", so it can be a program name with args.
37792 set dummy Rez
; ac_word
=$2
37793 echo "$as_me:$LINENO: checking for $ac_word" >&5
37794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37795 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37798 if test -n "$RESCOMP"; then
37799 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
37801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37802 for as_dir
in $PATH
37805 test -z "$as_dir" && as_dir
=.
37806 for ac_exec_ext
in '' $ac_executable_extensions; do
37807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37808 ac_cv_prog_RESCOMP
="Rez"
37809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37815 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
37818 RESCOMP
=$ac_cv_prog_RESCOMP
37819 if test -n "$RESCOMP"; then
37820 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37821 echo "${ECHO_T}$RESCOMP" >&6
37823 echo "$as_me:$LINENO: result: no" >&5
37824 echo "${ECHO_T}no" >&6
37827 # Extract the first word of "SetFile", so it can be a program name with args.
37828 set dummy SetFile
; ac_word
=$2
37829 echo "$as_me:$LINENO: checking for $ac_word" >&5
37830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37831 if test "${ac_cv_prog_SETFILE+set}" = set; then
37832 echo $ECHO_N "(cached) $ECHO_C" >&6
37834 if test -n "$SETFILE"; then
37835 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
37837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37838 for as_dir
in $PATH
37841 test -z "$as_dir" && as_dir
=.
37842 for ac_exec_ext
in '' $ac_executable_extensions; do
37843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37844 ac_cv_prog_SETFILE
="SetFile"
37845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37851 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
37854 SETFILE
=$ac_cv_prog_SETFILE
37855 if test -n "$SETFILE"; then
37856 echo "$as_me:$LINENO: result: $SETFILE" >&5
37857 echo "${ECHO_T}$SETFILE" >&6
37859 echo "$as_me:$LINENO: result: no" >&5
37860 echo "${ECHO_T}no" >&6
37873 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
37874 if test "${enable_precomp_headers+set}" = set; then
37875 enableval
="$enable_precomp_headers"
37876 bk_use_pch
="$enableval"
37881 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
37882 if test "x$GCC" = "xyes"; then
37883 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
37884 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
37885 cat >conftest.
$ac_ext <<_ACEOF
37888 cat confdefs.h
>>conftest.
$ac_ext
37889 cat >>conftest.
$ac_ext <<_ACEOF
37890 /* end confdefs.h. */
37896 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
37897 #error "no pch support"
37900 #error "no pch support"
37902 #if (__GNUC__ == 3) && \
37903 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
37904 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
37905 #error "no pch support"
37912 rm -f conftest.
$ac_objext
37913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37914 (eval $ac_compile) 2>conftest.er1
37916 grep -v '^ *+' conftest.er1
>conftest.err
37918 cat conftest.err
>&5
37919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37920 (exit $ac_status); } &&
37921 { ac_try
='test -z "$ac_c_werror_flag"
37922 || test ! -s conftest.err'
37923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37924 (eval $ac_try) 2>&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); }; } &&
37928 { ac_try
='test -s conftest.$ac_objext'
37929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930 (eval $ac_try) 2>&5
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); }; }; then
37935 echo "$as_me:$LINENO: result: yes" >&5
37936 echo "${ECHO_T}yes" >&6
37937 CPPFLAGS
="-fpch-deps $CPPFLAGS"
37941 echo "$as_me: failed program was:" >&5
37942 sed 's/^/| /' conftest.
$ac_ext >&5
37945 echo "$as_me:$LINENO: result: no" >&5
37946 echo "${ECHO_T}no" >&6
37949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37950 if test $GCC_PCH = 1 ; then
37951 cat <<EOF >bk-make-pch
37954 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37955 # script. It is used to generated precompiled headers.
37957 # Permission is given to use this file in any way.
37966 while test \${#} -gt 0; do
37969 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
37970 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
37971 headerfile="\${incdir}/\${header}"
37975 compiler="\${compiler} \${1}"
37979 if test "x\${headerfile}" = "x" ; then
37980 echo "error: can't find header \${header} in include paths" >2
37982 if test -f \${outfile} ; then
37985 mkdir -p \`dirname \${outfile}\`
37987 depsfile=".deps/\`basename \${outfile}\`.d"
37989 # can do this because gcc is >= 3.4:
37990 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
37994 chmod +x bk
-make-pch
38003 COND_BUILD_DEBUG
="#"
38004 if test "x$BUILD" = "xdebug" ; then
38005 COND_BUILD_DEBUG
=""
38008 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
38009 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
38010 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
38013 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
38014 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
38015 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
38018 COND_BUILD_RELEASE
="#"
38019 if test "x$BUILD" = "xrelease" ; then
38020 COND_BUILD_RELEASE
=""
38023 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
38024 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
38025 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
38028 COND_DEBUG_FLAG_1
="#"
38029 if test "x$DEBUG_FLAG" = "x1" ; then
38030 COND_DEBUG_FLAG_1
=""
38033 COND_DEBUG_INFO_0
="#"
38034 if test "x$DEBUG_INFO" = "x0" ; then
38035 COND_DEBUG_INFO_0
=""
38038 COND_DEBUG_INFO_1
="#"
38039 if test "x$DEBUG_INFO" = "x1" ; then
38040 COND_DEBUG_INFO_1
=""
38043 COND_DEPS_TRACKING_0
="#"
38044 if test "x$DEPS_TRACKING" = "x0" ; then
38045 COND_DEPS_TRACKING_0
=""
38048 COND_DEPS_TRACKING_1
="#"
38049 if test "x$DEPS_TRACKING" = "x1" ; then
38050 COND_DEPS_TRACKING_1
=""
38054 if test "x$GCC_PCH" = "x1" ; then
38058 COND_MONOLITHIC_0
="#"
38059 if test "x$MONOLITHIC" = "x0" ; then
38060 COND_MONOLITHIC_0
=""
38063 COND_MONOLITHIC_0_SHARED_0
="#"
38064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
38065 COND_MONOLITHIC_0_SHARED_0
=""
38068 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
38069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
38070 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
38073 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
38074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38075 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
38078 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
38079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
38080 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
38083 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
38084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
38085 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
38088 COND_MONOLITHIC_0_SHARED_1
="#"
38089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
38090 COND_MONOLITHIC_0_SHARED_1
=""
38093 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
38094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
38095 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
38098 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
38099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
38103 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
38104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
38105 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
38108 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
38109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
38110 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
38113 COND_MONOLITHIC_1
="#"
38114 if test "x$MONOLITHIC" = "x1" ; then
38115 COND_MONOLITHIC_1
=""
38118 COND_MONOLITHIC_1_SHARED_0
="#"
38119 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
38120 COND_MONOLITHIC_1_SHARED_0
=""
38123 COND_MONOLITHIC_1_SHARED_1
="#"
38124 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
38125 COND_MONOLITHIC_1_SHARED_1
=""
38128 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
38129 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38130 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
38133 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
38134 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38135 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
38138 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
38139 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38140 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
38143 COND_PLATFORM_MACOSX_1
="#"
38144 if test "x$PLATFORM_MACOSX" = "x1" ; then
38145 COND_PLATFORM_MACOSX_1
=""
38148 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
38149 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38150 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
38153 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
38154 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38155 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
38158 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
38159 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38160 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
38163 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
38164 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38165 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
38168 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
38169 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38170 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
38173 COND_PLATFORM_MAC_1
="#"
38174 if test "x$PLATFORM_MAC" = "x1" ; then
38175 COND_PLATFORM_MAC_1
=""
38178 COND_PLATFORM_OS2_1
="#"
38179 if test "x$PLATFORM_OS2" = "x1" ; then
38180 COND_PLATFORM_OS2_1
=""
38183 COND_PLATFORM_UNIX_0
="#"
38184 if test "x$PLATFORM_UNIX" = "x0" ; then
38185 COND_PLATFORM_UNIX_0
=""
38188 COND_PLATFORM_UNIX_1
="#"
38189 if test "x$PLATFORM_UNIX" = "x1" ; then
38190 COND_PLATFORM_UNIX_1
=""
38193 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
38194 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38195 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
38198 COND_PLATFORM_WIN32_0
="#"
38199 if test "x$PLATFORM_WIN32" = "x0" ; then
38200 COND_PLATFORM_WIN32_0
=""
38203 COND_PLATFORM_WIN32_1
="#"
38204 if test "x$PLATFORM_WIN32" = "x1" ; then
38205 COND_PLATFORM_WIN32_1
=""
38209 if test "x$SHARED" = "x0" ; then
38213 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
38214 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38215 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
38218 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
38219 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38220 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
38223 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
38224 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38225 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
38228 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
38229 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38230 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
38233 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
38234 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38235 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
38238 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
38239 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38240 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
38243 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
38244 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38245 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
38248 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
38249 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38250 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
38254 if test "x$SHARED" = "x1" ; then
38258 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
38259 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38260 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
38263 COND_TOOLKIT_COCOA
="#"
38264 if test "x$TOOLKIT" = "xCOCOA" ; then
38265 COND_TOOLKIT_COCOA
=""
38268 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
38269 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38270 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
38273 COND_TOOLKIT_GTK
="#"
38274 if test "x$TOOLKIT" = "xGTK" ; then
38275 COND_TOOLKIT_GTK
=""
38278 COND_TOOLKIT_GTK_USE_GUI_1
="#"
38279 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38280 COND_TOOLKIT_GTK_USE_GUI_1
=""
38283 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
38284 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38285 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
38288 COND_TOOLKIT_MAC
="#"
38289 if test "x$TOOLKIT" = "xMAC" ; then
38290 COND_TOOLKIT_MAC
=""
38293 COND_TOOLKIT_MAC_USE_GUI_1
="#"
38294 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38295 COND_TOOLKIT_MAC_USE_GUI_1
=""
38298 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
38299 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38300 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
38303 COND_TOOLKIT_MGL
="#"
38304 if test "x$TOOLKIT" = "xMGL" ; then
38305 COND_TOOLKIT_MGL
=""
38308 COND_TOOLKIT_MGL_USE_GUI_1
="#"
38309 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38310 COND_TOOLKIT_MGL_USE_GUI_1
=""
38313 COND_TOOLKIT_MOTIF
="#"
38314 if test "x$TOOLKIT" = "xMOTIF" ; then
38315 COND_TOOLKIT_MOTIF
=""
38318 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
38319 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
38320 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
38323 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
38324 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38325 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
38328 COND_TOOLKIT_MSW
="#"
38329 if test "x$TOOLKIT" = "xMSW" ; then
38330 COND_TOOLKIT_MSW
=""
38333 COND_TOOLKIT_MSW_USE_GUI_1
="#"
38334 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
38335 COND_TOOLKIT_MSW_USE_GUI_1
=""
38338 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
38339 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38340 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
38343 COND_TOOLKIT_PM
="#"
38344 if test "x$TOOLKIT" = "xPM" ; then
38348 COND_TOOLKIT_PM_USE_GUI_1
="#"
38349 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
38350 COND_TOOLKIT_PM_USE_GUI_1
=""
38353 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
38354 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38355 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
38358 COND_TOOLKIT_X11
="#"
38359 if test "x$TOOLKIT" = "xX11" ; then
38360 COND_TOOLKIT_X11
=""
38363 COND_TOOLKIT_X11_USE_GUI_1
="#"
38364 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
38365 COND_TOOLKIT_X11_USE_GUI_1
=""
38369 if test "x$UNICODE" = "x1" ; then
38373 COND_USE_EXCEPTIONS_0
="#"
38374 if test "x$USE_EXCEPTIONS" = "x0" ; then
38375 COND_USE_EXCEPTIONS_0
=""
38378 COND_USE_EXCEPTIONS_1
="#"
38379 if test "x$USE_EXCEPTIONS" = "x1" ; then
38380 COND_USE_EXCEPTIONS_1
=""
38384 if test "x$USE_GUI" = "x0" ; then
38389 if test "x$USE_GUI" = "x1" ; then
38393 COND_USE_GUI_1_WXUNIV_0
="#"
38394 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38395 COND_USE_GUI_1_WXUNIV_0
=""
38398 COND_USE_GUI_1_WXUNIV_1
="#"
38399 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
38400 COND_USE_GUI_1_WXUNIV_1
=""
38403 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
38404 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38405 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
38408 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
38409 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38410 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
38413 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
38414 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38415 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
38418 COND_USE_ODBC_1
="#"
38419 if test "x$USE_ODBC" = "x1" ; then
38423 COND_USE_SOSYMLINKS_1
="#"
38424 if test "x$USE_SOSYMLINKS" = "x1" ; then
38425 COND_USE_SOSYMLINKS_1
=""
38428 COND_USE_SOVERLINUX_1
="#"
38429 if test "x$USE_SOVERLINUX" = "x1" ; then
38430 COND_USE_SOVERLINUX_1
=""
38433 COND_USE_SOVERSION_0
="#"
38434 if test "x$USE_SOVERSION" = "x0" ; then
38435 COND_USE_SOVERSION_0
=""
38438 COND_USE_SOVERSOLARIS_1
="#"
38439 if test "x$USE_SOVERSOLARIS" = "x1" ; then
38440 COND_USE_SOVERSOLARIS_1
=""
38444 if test "x$WXUNIV" = "x1" ; then
38448 COND_WXUSE_EXPAT_BUILTIN
="#"
38449 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
38450 COND_WXUSE_EXPAT_BUILTIN
=""
38453 COND_WXUSE_LIBJPEG_BUILTIN
="#"
38454 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38455 COND_WXUSE_LIBJPEG_BUILTIN
=""
38458 COND_WXUSE_LIBPNG_BUILTIN
="#"
38459 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38460 COND_WXUSE_LIBPNG_BUILTIN
=""
38463 COND_WXUSE_LIBTIFF_BUILTIN
="#"
38464 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38465 COND_WXUSE_LIBTIFF_BUILTIN
=""
38468 COND_WXUSE_ODBC_BUILTIN
="#"
38469 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
38470 COND_WXUSE_ODBC_BUILTIN
=""
38473 COND_WXUSE_REGEX_BUILTIN
="#"
38474 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
38475 COND_WXUSE_REGEX_BUILTIN
=""
38478 COND_WXUSE_ZLIB_BUILTIN
="#"
38479 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
38480 COND_WXUSE_ZLIB_BUILTIN
=""
38487 if test $GCC_PCH = 1 ; then
38488 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38489 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
38492 powerpc
-*-darwin* )
38493 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38494 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
38500 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
38601 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38602 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38603 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38604 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38605 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 cat >conftest.
make <<\_ACEOF
38609 @
echo 'ac_maketemp="$(MAKE)"'
38611 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38612 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38613 if test -n "$ac_maketemp"; then
38614 eval ac_cv_prog_make_
${ac_make}_set
=yes
38616 eval ac_cv_prog_make_
${ac_make}_set
=no
38618 rm -f conftest.
make
38620 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38621 echo "$as_me:$LINENO: result: yes" >&5
38622 echo "${ECHO_T}yes" >&6
38625 echo "$as_me:$LINENO: result: no" >&5
38626 echo "${ECHO_T}no" >&6
38627 SET_MAKE
="MAKE=${MAKE-make}"
38631 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
38632 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
38635 ac_config_headers
="$ac_config_headers setup.h"
38638 ac_config_files
="$ac_config_files wx-config version-script Makefile"
38641 ac_config_commands
="$ac_config_commands default"
38645 if test "$wxUSE_GUI" = "yes"; then
38646 SUBDIRS
="samples demos utils contrib"
38647 else SUBDIRS
="samples utils"
38650 for subdir
in `echo $SUBDIRS`; do
38651 if test -d ${srcdir}/${subdir} ; then
38652 if test "$wxUSE_GUI" = "yes"; then
38653 if test ${subdir} = "samples"; then
38654 makefiles
="samples/Makefile.in $makefiles"
38655 for sample
in `echo $SAMPLES_SUBDIRS`; do
38656 if test -d $srcdir/samples
/$sample; then
38657 makefiles
="samples/$sample/Makefile.in $makefiles"
38660 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
38662 else if test ${subdir} = "samples"; then
38663 makefiles
="samples/Makefile.in samples/console/Makefile.in"
38664 else makefiles
="utils/HelpGen/Makefile.in \
38665 utils/HelpGen/src/Makefile.in \
38666 utils/tex2rtf/Makefile.in \
38667 utils/tex2rtf/src/Makefile.in"
38671 for mkin
in $makefiles ; do
38672 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
38673 ac_config_files
="$ac_config_files $mk"
38680 cat >confcache
<<\_ACEOF
38681 # This file is a shell script that caches the results of configure
38682 # tests run on this system so they can be shared between configure
38683 # scripts and configure runs, see configure's option --config-cache.
38684 # It is not useful on other systems. If it contains results you don't
38685 # want to keep, you may remove or edit it.
38687 # config.status only pays attention to the cache file if you give it
38688 # the --recheck option to rerun configure.
38690 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38691 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38692 # following values.
38696 # The following way of writing the cache mishandles newlines in values,
38697 # but we know of no workaround that is simple, portable, and efficient.
38698 # So, don't put newlines in cache variables' values.
38699 # Ultrix sh set writes to stderr and can't be redirected directly,
38700 # and sets the high bit in the cache file unless we assign to the vars.
38703 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38705 # `set' does not quote correctly, so add quotes (double-quote
38706 # substitution turns \\\\ into \\, and sed turns \\ into \).
38709 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38712 # `set' quotes correctly as required by POSIX, so do not add quotes.
38714 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38723 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38725 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38726 if test -w $cache_file; then
38727 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38728 cat confcache
>$cache_file
38730 echo "not updating unwritable cache $cache_file"
38735 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
38736 # Let make expand exec_prefix.
38737 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
38739 # VPATH may cause trouble with some makes, so we remove $(srcdir),
38740 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38741 # trailing colons and then remove the whole line if VPATH becomes empty
38742 # (actually we leave an empty line to preserve line numbers).
38743 if test "x$srcdir" = x.
; then
38744 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
38745 s/:*\$(srcdir):*/:/;
38746 s/:*\${srcdir}:*/:/;
38748 s/^\([^=]*=[ ]*\):*/\1/;
38754 DEFS
=-DHAVE_CONFIG_H
38758 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
38759 # 1. Remove the extension, and $U if already installed.
38760 ac_i
=`echo "$ac_i" |
38761 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
38763 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
38764 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
38766 LIBOBJS
=$ac_libobjs
38768 LTLIBOBJS
=$ac_ltlibobjs
38772 : ${CONFIG_STATUS=./config.status}
38773 ac_clean_files_save
=$ac_clean_files
38774 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
38775 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
38776 echo "$as_me: creating $CONFIG_STATUS" >&6;}
38777 cat >$CONFIG_STATUS <<_ACEOF
38779 # Generated by $as_me.
38780 # Run this file to recreate the current configuration.
38781 # Compiler output produced by configure, useful for debugging
38782 # configure, is in config.log if it exists.
38785 ac_cs_recheck=false
38787 SHELL=\${CONFIG_SHELL-$SHELL}
38790 cat >>$CONFIG_STATUS <<\_ACEOF
38791 ## --------------------- ##
38792 ## M4sh Initialization. ##
38793 ## --------------------- ##
38795 # Be Bourne compatible
38796 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
38799 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
38800 # is contrary to our usage. Disable this feature.
38801 alias -g '${1+"$@"}'='"$@"'
38802 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
38805 DUALCASE
=1; export DUALCASE
# for MKS sh
38807 # Support unset when possible.
38808 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
38815 # Work around bugs in pre-3.0 UWIN ksh.
38816 $as_unset ENV MAIL MAILPATH
38823 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
38824 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
38825 LC_TELEPHONE LC_TIME
38827 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
38828 eval $as_var=C
; export $as_var
38834 # Required to use basename.
38835 if expr a
: '\(a\)' >/dev
/null
2>&1; then
38841 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
38842 as_basename
=basename
38848 # Name of the executable.
38849 as_me
=`$as_basename "$0" ||
38850 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
38851 X"$0" : 'X\(//\)$' \| \
38852 X"$0" : 'X\(/\)$' \| \
38853 . : '\(.\)' 2>/dev/null ||
38855 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
38856 /^X\/\(\/\/\)$/{ s//\1/; q; }
38857 /^X\/\(\/\).*/{ s//\1/; q; }
38861 # PATH needs CR, and LINENO needs CR and PATH.
38862 # Avoid depending upon Character Ranges.
38863 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38864 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38865 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
38866 as_cr_digits
='0123456789'
38867 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38869 # The user is always right.
38870 if test "${PATH_SEPARATOR+set}" != set; then
38871 echo "#! /bin/sh" >conf$$.sh
38872 echo "exit 0" >>conf$$.sh
38874 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
38883 as_lineno_1
=$LINENO
38884 as_lineno_2
=$LINENO
38885 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
38886 test "x$as_lineno_1" != "x$as_lineno_2" &&
38887 test "x$as_lineno_3" = "x$as_lineno_2" || {
38888 # Find who we are. Look in the path if we contain no path at all
38891 *[\\/]* ) as_myself
=$0 ;;
38892 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38893 for as_dir
in $PATH
38896 test -z "$as_dir" && as_dir
=.
38897 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
38902 # We did not find ourselves, most probably we were run as `sh COMMAND'
38903 # in which case we are not to be found in the path.
38904 if test "x$as_myself" = x
; then
38907 if test ! -f "$as_myself"; then
38908 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
38909 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
38910 { (exit 1); exit 1; }; }
38912 case $CONFIG_SHELL in
38914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38915 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
38918 test -z "$as_dir" && as_dir
=.
38919 for as_base
in sh bash ksh sh5
; do
38922 if ("$as_dir/$as_base" -c '
38923 as_lineno_1=$LINENO
38924 as_lineno_2=$LINENO
38925 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
38926 test "x$as_lineno_1" != "x$as_lineno_2" &&
38927 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
38928 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
38929 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
38930 CONFIG_SHELL
=$as_dir/$as_base
38931 export CONFIG_SHELL
38932 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
38940 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
38941 # uniformly replaced by the line number. The first 'sed' inserts a
38942 # line-number line before each line; the second 'sed' does the real
38943 # work. The second script uses 'N' to pair each line-number line
38944 # with the numbered line, and appends trailing '-' during
38945 # substitution so that $LINENO is not a special case at line end.
38946 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
38947 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
38948 sed '=' <$as_myself |
38953 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
38956 s,^['$as_cr_digits']*\n,,
38957 ' >$as_me.lineno
&&
38958 chmod +x
$as_me.lineno
||
38959 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
38960 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
38961 { (exit 1); exit 1; }; }
38963 # Don't try to exec as it changes $[0], causing all sort of problems
38964 # (the dirname of $[0] is not the place where we might find the
38965 # original and so on. Autoconf is especially sensible to this).
38967 # Exit status is that of the last command.
38972 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
38973 *c
*,-n*) ECHO_N
= ECHO_C
='
38975 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
38976 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
38979 if expr a
: '\(a\)' >/dev
/null
2>&1; then
38985 rm -f conf$$ conf$$.exe conf$$.
file
38987 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
38988 # We could just check for DJGPP; but this test a) works b) is more generic
38989 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
38990 if test -f conf$$.exe
; then
38991 # Don't use ln at all; we don't have any links
38996 elif ln conf$$.
file conf$$
2>/dev
/null
; then
39001 rm -f conf$$ conf$$.exe conf$$.
file
39003 if mkdir -p .
2>/dev
/null
; then
39006 test -d .
/-p && rmdir .
/-p
39010 as_executable_p
="test -f"
39012 # Sed expression to map a string onto a valid CPP name.
39013 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39015 # Sed expression to map a string onto a valid variable name.
39016 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39020 # We need space, tab and new line, in precisely that order.
39030 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39031 # report actual input values of CONFIG_FILES etc. instead of their
39032 # values after options handling. Logging --version etc. is OK.
39036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39037 ## Running $as_me. ##
39042 This file was extended by wxWindows $as_me 2.5.1, which was
39043 generated by GNU Autoconf 2.58. Invocation command line was
39045 CONFIG_FILES = $CONFIG_FILES
39046 CONFIG_HEADERS = $CONFIG_HEADERS
39047 CONFIG_LINKS = $CONFIG_LINKS
39048 CONFIG_COMMANDS = $CONFIG_COMMANDS
39052 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39056 # Files that config.status was made for.
39057 if test -n "$ac_config_files"; then
39058 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39061 if test -n "$ac_config_headers"; then
39062 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39065 if test -n "$ac_config_links"; then
39066 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39069 if test -n "$ac_config_commands"; then
39070 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39073 cat >>$CONFIG_STATUS <<\_ACEOF
39076 \`$as_me' instantiates files from templates according to the
39077 current configuration.
39079 Usage: $0 [OPTIONS] [FILE]...
39081 -h, --help print this help, then exit
39082 -V, --version print version number, then exit
39083 -q, --quiet do not print progress messages
39084 -d, --debug don't remove temporary files
39085 --recheck update $as_me by reconfiguring in the same conditions
39086 --file=FILE[:TEMPLATE]
39087 instantiate the configuration file FILE
39088 --header=FILE[:TEMPLATE]
39089 instantiate the configuration header FILE
39091 Configuration files:
39094 Configuration headers:
39097 Configuration commands:
39100 Report bugs to <bug-autoconf@gnu.org>."
39103 cat >>$CONFIG_STATUS <<_ACEOF
39105 wxWindows config.status 2.5.1
39106 configured by $0, generated by GNU Autoconf 2.58,
39107 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39109 Copyright (C) 2003 Free Software Foundation, Inc.
39110 This config.status script is free software; the Free Software Foundation
39111 gives unlimited permission to copy, distribute and modify it."
39116 cat >>$CONFIG_STATUS <<\_ACEOF
39117 # If no file are specified by the user, then we need to provide default
39118 # value. By we need to know if files were specified by the user.
39124 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
39125 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
39133 *) # This is not an option, so the user has probably given explicit
39136 ac_need_defaults
=false
;;
39140 # Handling of the options.
39142 cat >>$CONFIG_STATUS <<\_ACEOF
39143 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39145 --version | --vers* | -V )
39146 echo "$ac_cs_version"; exit 0 ;;
39148 # Conflict between --help and --header
39149 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39150 Try \`$0 --help' for more information." >&5
39151 echo "$as_me: error: ambiguous option: $1
39152 Try \`$0 --help' for more information." >&2;}
39153 { (exit 1); exit 1; }; };;
39154 --help | --hel | -h )
39155 echo "$ac_cs_usage"; exit 0 ;;
39156 --debug | --d* | -d )
39158 --file | --fil | --fi | --f )
39160 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
39161 ac_need_defaults
=false
;;
39162 --header | --heade | --head | --hea )
39164 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
39165 ac_need_defaults
=false
;;
39166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39167 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39170 # This is an error.
39171 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39172 Try \`$0 --help' for more information." >&5
39173 echo "$as_me: error: unrecognized option: $1
39174 Try \`$0 --help' for more information." >&2;}
39175 { (exit 1); exit 1; }; } ;;
39177 *) ac_config_targets
="$ac_config_targets $1" ;;
39183 ac_configure_extra_args
=
39185 if $ac_cs_silent; then
39187 ac_configure_extra_args
="$ac_configure_extra_args --silent"
39191 cat >>$CONFIG_STATUS <<_ACEOF
39192 if \$ac_cs_recheck; then
39193 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39194 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39199 cat >>$CONFIG_STATUS <<_ACEOF
39201 # INIT-COMMANDS section.
39205 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
39214 cat >>$CONFIG_STATUS <<\_ACEOF
39215 for ac_config_target
in $ac_config_targets
39217 case "$ac_config_target" in
39218 # Handling of arguments.
39219 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
39220 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
39221 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
39222 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
39223 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
39224 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
39225 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39226 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39227 { (exit 1); exit 1; }; };;
39231 # If the user did not use the arguments to specify the items to instantiate,
39232 # then the envvar interface is used. Set only those that are not.
39233 # We use the long form for the default assignment because of an extremely
39234 # bizarre bug on SunOS 4.1.3.
39235 if $ac_need_defaults; then
39236 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
39237 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
39238 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
39241 # Have a temporary directory for convenience. Make it in the build tree
39242 # simply because there is no reason to put it here, and in addition,
39243 # creating and moving files from /tmp can sometimes cause problems.
39244 # Create a temporary directory, and hook for its removal unless debugging.
39247 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39248 trap '{ (exit 1); exit 1; }' 1 2 13 15
39251 # Create a (secure) tmp directory for tmp files.
39254 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39255 test -n "$tmp" && test -d "$tmp"
39258 tmp
=.
/confstat$$
-$RANDOM
39259 (umask 077 && mkdir $tmp)
39262 echo "$me: cannot create a temporary directory in ." >&2
39263 { (exit 1); exit 1; }
39268 cat >>$CONFIG_STATUS <<_ACEOF
39271 # CONFIG_FILES section.
39274 # No need to generate the scripts if there are no CONFIG_FILES.
39275 # This happens for instance when ./config.status config.h
39276 if test -n "\$CONFIG_FILES"; then
39277 # Protect against being on the right side of a sed subst in config.status.
39278 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39279 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39280 s,@SHELL@,$SHELL,;t t
39281 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39282 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39283 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39284 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39285 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39286 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39287 s,@exec_prefix@,$exec_prefix,;t t
39288 s,@prefix@,$prefix,;t t
39289 s,@program_transform_name@,$program_transform_name,;t t
39290 s,@bindir@,$bindir,;t t
39291 s,@sbindir@,$sbindir,;t t
39292 s,@libexecdir@,$libexecdir,;t t
39293 s,@datadir@,$datadir,;t t
39294 s,@sysconfdir@,$sysconfdir,;t t
39295 s,@sharedstatedir@,$sharedstatedir,;t t
39296 s,@localstatedir@,$localstatedir,;t t
39297 s,@libdir@,$libdir,;t t
39298 s,@includedir@,$includedir,;t t
39299 s,@oldincludedir@,$oldincludedir,;t t
39300 s,@infodir@,$infodir,;t t
39301 s,@mandir@,$mandir,;t t
39302 s,@build_alias@,$build_alias,;t t
39303 s,@host_alias@,$host_alias,;t t
39304 s,@target_alias@,$target_alias,;t t
39305 s,@DEFS@,$DEFS,;t t
39306 s,@ECHO_C@,$ECHO_C,;t t
39307 s,@ECHO_N@,$ECHO_N,;t t
39308 s,@ECHO_T@,$ECHO_T,;t t
39309 s,@LIBS@,$LIBS,;t t
39310 s,@build@,$build,;t t
39311 s,@build_cpu@,$build_cpu,;t t
39312 s,@build_vendor@,$build_vendor,;t t
39313 s,@build_os@,$build_os,;t t
39314 s,@host@,$host,;t t
39315 s,@host_cpu@,$host_cpu,;t t
39316 s,@host_vendor@,$host_vendor,;t t
39317 s,@host_os@,$host_os,;t t
39318 s,@target@,$target,;t t
39319 s,@target_cpu@,$target_cpu,;t t
39320 s,@target_vendor@,$target_vendor,;t t
39321 s,@target_os@,$target_os,;t t
39323 s,@CFLAGS@,$CFLAGS,;t t
39324 s,@LDFLAGS@,$LDFLAGS,;t t
39325 s,@CPPFLAGS@,$CPPFLAGS,;t t
39326 s,@ac_ct_CC@,$ac_ct_CC,;t t
39327 s,@EXEEXT@,$EXEEXT,;t t
39328 s,@OBJEXT@,$OBJEXT,;t t
39330 s,@EGREP@,$EGREP,;t t
39332 s,@CXXFLAGS@,$CXXFLAGS,;t t
39333 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
39334 s,@RANLIB@,$RANLIB,;t t
39335 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
39337 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
39338 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
39339 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
39340 s,@STRIP@,$STRIP,;t t
39341 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
39342 s,@LN_S@,$LN_S,;t t
39343 s,@CXXCPP@,$CXXCPP,;t t
39344 s,@subdirs@,$subdirs,;t t
39345 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
39346 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
39347 s,@GTK_LIBS@,$GTK_LIBS,;t t
39348 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
39349 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
39350 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
39351 s,@X_CFLAGS@,$X_CFLAGS,;t t
39352 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
39353 s,@X_LIBS@,$X_LIBS,;t t
39354 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
39355 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
39356 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
39357 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
39358 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
39359 s,@RESCOMP@,$RESCOMP,;t t
39360 s,@DEREZ@,$DEREZ,;t t
39361 s,@SETFILE@,$SETFILE,;t t
39362 s,@LIBICONV@,$LIBICONV,;t t
39363 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
39364 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
39365 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
39366 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
39367 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
39368 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
39369 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
39370 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
39371 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
39372 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
39373 s,@VENDOR@,$VENDOR,;t t
39374 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
39375 s,@WXUNIV@,$WXUNIV,;t t
39376 s,@MONOLITHIC@,$MONOLITHIC,;t t
39377 s,@EXTRALIBS@,$EXTRALIBS,;t t
39378 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
39379 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
39380 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
39381 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
39382 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
39383 s,@UNICODE@,$UNICODE,;t t
39384 s,@BUILD@,$BUILD,;t t
39385 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
39386 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
39387 s,@SHARED@,$SHARED,;t t
39388 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
39389 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
39390 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
39391 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
39392 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
39393 s,@SET_MAKE@,$SET_MAKE,;t t
39394 s,@MAKE_SET@,$MAKE_SET,;t t
39395 s,@ac_ct_AR@,$ac_ct_AR,;t t
39396 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
39398 s,@ac_ct_NM@,$ac_ct_NM,;t t
39399 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
39400 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
39401 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
39402 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
39403 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
39404 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
39405 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
39406 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
39407 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
39408 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
39409 s,@LIBPREFIX@,$LIBPREFIX,;t t
39410 s,@DLLPREFIX@,$DLLPREFIX,;t t
39411 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
39412 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
39413 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
39414 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
39415 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
39416 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
39417 s,@PIC_FLAG@,$PIC_FLAG,;t t
39418 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
39419 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
39420 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
39421 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
39422 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
39423 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
39424 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
39425 s,@GCC_PCH@,$GCC_PCH,;t t
39426 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
39427 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
39428 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
39429 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
39430 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
39431 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
39432 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
39433 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
39434 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
39435 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
39436 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
39437 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
39438 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
39439 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
39440 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
39441 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
39442 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
39443 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
39444 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
39445 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
39446 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
39447 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
39448 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
39449 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
39450 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
39451 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
39452 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
39453 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
39454 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
39455 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
39456 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
39457 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
39458 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
39459 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
39460 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
39461 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
39462 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
39463 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
39464 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
39465 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
39466 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
39467 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
39468 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
39469 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
39470 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
39471 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
39472 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
39473 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
39474 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
39475 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
39476 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
39477 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
39478 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
39479 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
39480 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
39481 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
39482 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
39483 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
39484 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
39485 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
39486 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
39487 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
39488 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
39489 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
39490 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
39491 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
39492 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
39493 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
39494 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
39495 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
39496 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
39497 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
39498 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
39499 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
39500 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
39501 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
39502 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
39503 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
39504 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
39505 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
39506 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
39507 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
39508 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
39509 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
39510 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
39511 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
39512 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
39513 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
39514 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
39515 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
39516 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
39517 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
39518 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
39519 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
39520 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
39521 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
39522 s,@PATH_IFS@,$PATH_IFS,;t t
39523 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
39524 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
39525 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
39526 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
39527 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
39528 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
39529 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
39530 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
39531 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
39532 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
39533 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
39534 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
39535 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
39536 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
39537 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
39538 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
39539 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
39540 s,@WX_ALL@,$WX_ALL,;t t
39541 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
39542 s,@SHARED_LD@,$SHARED_LD,;t t
39543 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
39544 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
39545 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
39546 s,@USE_GUI@,$USE_GUI,;t t
39547 s,@AFMINSTALL@,$AFMINSTALL,;t t
39548 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
39549 s,@TOOLKIT@,$TOOLKIT,;t t
39550 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
39551 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
39552 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
39553 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
39554 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
39555 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
39556 s,@cross_compiling@,$cross_compiling,;t t
39557 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
39558 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
39559 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
39560 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
39561 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
39562 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
39563 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
39564 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
39565 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
39566 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
39567 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
39568 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
39569 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
39570 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
39571 s,@GUIDIST@,$GUIDIST,;t t
39572 s,@PORT_FILES@,$PORT_FILES,;t t
39573 s,@DISTDIR@,$DISTDIR,;t t
39574 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
39575 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
39576 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
39577 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
39578 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
39579 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
39580 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
39581 s,@RESFLAGS@,$RESFLAGS,;t t
39582 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
39583 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
39584 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
39585 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
39586 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
39587 s,@MACRESCOMP@,$MACRESCOMP,;t t
39588 s,@MACSETFILE@,$MACSETFILE,;t t
39589 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
39591 s,@DLLTOOL@,$DLLTOOL,;t t
39594 s,@MAKEINFO@,$MAKEINFO,;t t
39595 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
39596 s,@LIBOBJS@,$LIBOBJS,;t t
39597 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
39602 cat >>$CONFIG_STATUS <<\_ACEOF
39603 # Split the substitutions into bite-sized pieces for seds with
39604 # small command number limits, like on Digital OSF/1 and HP-UX.
39605 ac_max_sed_lines
=48
39606 ac_sed_frag
=1 # Number of current file.
39607 ac_beg
=1 # First line for current file.
39608 ac_end
=$ac_max_sed_lines # Line after last line for current file.
39611 while $ac_more_lines; do
39612 if test $ac_beg -gt 1; then
39613 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
39615 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
39617 if test ! -s $tmp/subs.frag
; then
39618 ac_more_lines
=false
39620 # The purpose of the label and of the branching condition is to
39621 # speed up the sed processing (if there are no `@' at all, there
39622 # is no need to browse any of the substitutions).
39623 # These are the two extra sed commands mentioned above.
39625 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
39626 if test -z "$ac_sed_cmds"; then
39627 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
39629 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
39631 ac_sed_frag
=`expr $ac_sed_frag + 1`
39633 ac_end
=`expr $ac_end + $ac_max_sed_lines`
39636 if test -z "$ac_sed_cmds"; then
39639 fi # test -n "$CONFIG_FILES"
39642 cat >>$CONFIG_STATUS <<\_ACEOF
39643 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
39644 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39646 - | *:- | *:-:* ) # input from stdin
39648 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39649 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39650 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39651 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39652 * ) ac_file_in
=$ac_file.
in ;;
39655 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
39656 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
39657 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39658 X"$ac_file" : 'X\(//\)[^/]' \| \
39659 X"$ac_file" : 'X\(//\)$' \| \
39660 X"$ac_file" : 'X\(/\)' \| \
39661 . : '\(.\)' 2>/dev/null ||
39663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39665 /^X\(\/\/\)$/{ s//\1/; q; }
39666 /^X\(\/\).*/{ s//\1/; q; }
39668 { if $as_mkdir_p; then
39673 while test ! -d "$as_dir"; do
39674 as_dirs
="$as_dir $as_dirs"
39675 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
39676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39677 X"$as_dir" : 'X\(//\)[^/]' \| \
39678 X"$as_dir" : 'X\(//\)$' \| \
39679 X"$as_dir" : 'X\(/\)' \| \
39680 . : '\(.\)' 2>/dev/null ||
39682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39683 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39684 /^X\(\/\/\)$/{ s//\1/; q; }
39685 /^X\(\/\).*/{ s//\1/; q; }
39688 test ! -n "$as_dirs" || mkdir $as_dirs
39689 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
39690 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
39691 { (exit 1); exit 1; }; }; }
39695 if test "$ac_dir" != .
; then
39696 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
39697 # A "../" for each directory in $ac_dir_suffix.
39698 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
39700 ac_dir_suffix
= ac_top_builddir
=
39704 .
) # No --srcdir option. We are building in place.
39706 if test -z "$ac_top_builddir"; then
39709 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
39711 [\\/]* | ?
:[\\/]* ) # Absolute path.
39712 ac_srcdir
=$srcdir$ac_dir_suffix;
39713 ac_top_srcdir
=$srcdir ;;
39714 *) # Relative path.
39715 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
39716 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
39719 .
) ac_abs_builddir
=$ac_builddir;;
39721 case $ac_builddir in
39722 .
) ac_abs_builddir
="$ac_dir";;
39723 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
=$ac_builddir;;
39724 *) ac_abs_builddir
="$ac_dir"/$ac_builddir;;
39728 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
39730 case ${ac_top_builddir}.
in
39731 .
) ac_abs_top_builddir
="$ac_dir";;
39732 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
39733 *) ac_abs_top_builddir
="$ac_dir"/${ac_top_builddir}.
;;
39737 .
) ac_abs_srcdir
=$ac_srcdir;;
39740 .
) ac_abs_srcdir
="$ac_dir";;
39741 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
39742 *) ac_abs_srcdir
="$ac_dir"/$ac_srcdir;;
39746 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
39748 case $ac_top_srcdir in
39749 .
) ac_abs_top_srcdir
="$ac_dir";;
39750 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
39751 *) ac_abs_top_srcdir
="$ac_dir"/$ac_top_srcdir;;
39757 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
39758 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
39761 if test x
"$ac_file" != x
-; then
39762 { echo "$as_me:$LINENO: creating $ac_file" >&5
39763 echo "$as_me: creating $ac_file" >&6;}
39766 # Let's still pretend it is `configure' which instantiates (i.e., don't
39767 # use $as_me), people would be surprised to read:
39768 # /* config.h. Generated by config.status. */
39769 if test x
"$ac_file" = x
-; then
39772 configure_input
="$ac_file. "
39774 configure_input
=$configure_input"Generated from `echo $ac_file_in |
39775 sed 's,.*/,,'` by configure."
39777 # First look for the input files in the build tree, otherwise in the
39779 ac_file_inputs
=`IFS=:
39780 for f in $ac_file_in; do
39782 -) echo $tmp/stdin ;;
39784 # Absolute (can't be DOS-style, as IFS=:)
39785 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39786 echo "$as_me: error: cannot find input file: $f" >&2;}
39787 { (exit 1); exit 1; }; }
39790 if test -f "$f"; then
39793 elif test -f "$srcdir/$f"; then
39798 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39799 echo "$as_me: error: cannot find input file: $f" >&2;}
39800 { (exit 1); exit 1; }; }
39803 done` || { (exit 1); exit 1; }
39805 cat >>$CONFIG_STATUS <<_ACEOF
39809 cat >>$CONFIG_STATUS <<\_ACEOF
39811 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
39812 s
,@configure_input@
,$configure_input,;t t
39813 s
,@srcdir@
,$ac_srcdir,;t t
39814 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
39815 s
,@top_srcdir@
,$ac_top_srcdir,;t t
39816 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
39817 s
,@builddir@
,$ac_builddir,;t t
39818 s
,@abs_builddir@
,$ac_abs_builddir,;t t
39819 s
,@top_builddir@
,$ac_top_builddir,;t t
39820 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
39821 s
,@INSTALL@
,$ac_INSTALL,;t t
39822 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
39824 if test x"$ac_file" != x-; then
39825 mv $tmp/out $ac_file
39833 cat >>$CONFIG_STATUS <<\_ACEOF
39836 # CONFIG_HEADER section.
39839 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
39840 # NAME is the cpp macro being defined and VALUE is the value it is being given.
39842 # ac_d sets the value in "#define NAME VALUE" lines.
39843 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
39844 ac_dB
='[ ].*$,\1#\2'
39847 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
39848 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
39849 ac_uB
='$,\1#\2define\3'
39853 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
39854 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39856 - | *:- | *:-:* ) # input from stdin
39858 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39859 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39860 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39861 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39862 * ) ac_file_in
=$ac_file.
in ;;
39865 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
39866 echo "$as_me: creating $ac_file" >&6;}
39868 # First look for the input files in the build tree, otherwise in the
39870 ac_file_inputs
=`IFS=:
39871 for f in $ac_file_in; do
39873 -) echo $tmp/stdin ;;
39875 # Absolute (can't be DOS-style, as IFS=:)
39876 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39877 echo "$as_me: error: cannot find input file: $f" >&2;}
39878 { (exit 1); exit 1; }; }
39879 # Do quote $f, to prevent DOS paths from being IFS'd.
39882 if test -f "$f"; then
39885 elif test -f "$srcdir/$f"; then
39890 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39891 echo "$as_me: error: cannot find input file: $f" >&2;}
39892 { (exit 1); exit 1; }; }
39895 done` || { (exit 1); exit 1; }
39896 # Remove the trailing spaces.
39897 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
39901 # Transform confdefs.h into two sed scripts, `conftest.defines' and
39902 # `conftest.undefs', that substitutes the proper values into
39903 # config.h.in to produce config.h. The first handles `#define'
39904 # templates, and the second `#undef' templates.
39905 # And first: Protect against being on the right side of a sed subst in
39906 # config.status. Protect against being in an unquoted here document
39907 # in config.status.
39908 rm -f conftest.defines conftest.undefs
39909 # Using a here document instead of a string reduces the quoting nightmare.
39910 # Putting comments in sed scripts is not portable.
39912 # `end' is used to avoid that the second main sed command (meant for
39913 # 0-ary CPP macros) applies to n-ary macro definitions.
39914 # See the Autoconf documentation for `clear'.
39915 cat >confdef2sed.
sed <<\_ACEOF
39920 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
39922 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
39925 # If some macros were called several times there might be several times
39926 # the same #defines, which is useless. Nevertheless, we may not want to
39927 # sort them, since we want the *last* AC-DEFINE to be honored.
39928 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
39929 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
39930 rm -f confdef2sed.sed
39932 # This sed command replaces #undef with comments. This is necessary, for
39933 # example, in the case of _POSIX_SOURCE, which is predefined and required
39934 # on some systems where configure will not decide to define it.
39935 cat >>conftest.undefs <<\_ACEOF
39936 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
39939 # Break up conftest.defines because some shells have a limit on the size
39940 # of here documents, and old seds have small limits too (100 cmds).
39941 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
39942 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
39943 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
39944 echo ' :' >>$CONFIG_STATUS
39945 rm -f conftest.tail
39946 while grep . conftest.defines >/dev/null
39948 # Write a limited-size here document to $tmp/defines.sed.
39949 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
39950 # Speed up: don't consider the non `#define' lines.
39951 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
39952 # Work around the forget-to-reset-the-flag bug.
39953 echo 't clr' >>$CONFIG_STATUS
39954 echo ': clr' >>$CONFIG_STATUS
39955 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
39957 sed -f $tmp/defines.sed $tmp/in >$tmp/out
39959 mv $tmp/out $tmp/in
39961 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
39962 rm -f conftest.defines
39963 mv conftest.
tail conftest.defines
39965 rm -f conftest.defines
39966 echo ' fi # grep' >>$CONFIG_STATUS
39967 echo >>$CONFIG_STATUS
39969 # Break up conftest.undefs because some shells have a limit on the size
39970 # of here documents, and old seds have small limits too (100 cmds).
39971 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
39972 rm -f conftest.
tail
39973 while grep . conftest.undefs
>/dev
/null
39975 # Write a limited-size here document to $tmp/undefs.sed.
39976 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
39977 # Speed up: don't consider the non
`#undef'
39978 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
39979 # Work around the forget-to-reset-the-flag bug.
39980 echo 't clr' >>$CONFIG_STATUS
39981 echo ': clr' >>$CONFIG_STATUS
39982 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
39984 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
39986 mv $tmp/out $tmp/in
39988 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
39989 rm -f conftest.undefs
39990 mv conftest.tail conftest.undefs
39992 rm -f conftest.undefs
39994 cat >>$CONFIG_STATUS <<\_ACEOF
39995 # Let's still pretend it is `configure
' which instantiates (i.e., don't
39996 # use $as_me), people would be surprised to read:
39997 # /* config.h. Generated by config.status. */
39998 if test x
"$ac_file" = x
-; then
39999 echo "/* Generated by configure. */" >$tmp/config.h
40001 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40003 cat $tmp/in >>$tmp/config.h
40005 if test x
"$ac_file" != x
-; then
40006 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
40007 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40008 echo "$as_me: $ac_file is unchanged" >&6;}
40010 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40011 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40012 X"$ac_file" : 'X\(//\)[^/]' \| \
40013 X"$ac_file" : 'X\(//\)$' \| \
40014 X"$ac_file" : 'X\(/\)' \| \
40015 . : '\(.\)' 2>/dev/null ||
40017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40019 /^X\(\/\/\)$/{ s//\1/; q; }
40020 /^X\(\/\).*/{ s//\1/; q; }
40022 { if $as_mkdir_p; then
40027 while test ! -d "$as_dir"; do
40028 as_dirs
="$as_dir $as_dirs"
40029 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40031 X"$as_dir" : 'X\(//\)[^/]' \| \
40032 X"$as_dir" : 'X\(//\)$' \| \
40033 X"$as_dir" : 'X\(/\)' \| \
40034 . : '\(.\)' 2>/dev/null ||
40036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40038 /^X\(\/\/\)$/{ s//\1/; q; }
40039 /^X\(\/\).*/{ s//\1/; q; }
40042 test ! -n "$as_dirs" || mkdir $as_dirs
40043 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40044 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40045 { (exit 1); exit 1; }; }; }
40048 mv $tmp/config.h
$ac_file
40052 rm -f $tmp/config.h
40056 cat >>$CONFIG_STATUS <<\_ACEOF
40059 # CONFIG_COMMANDS section.
40061 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
40062 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
40063 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40064 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
40065 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40066 X"$ac_dest" : 'X\(//\)[^/]' \| \
40067 X"$ac_dest" : 'X\(//\)$' \| \
40068 X"$ac_dest" : 'X\(/\)' \| \
40069 . : '\(.\)' 2>/dev/null ||
40071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40072 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40073 /^X\(\/\/\)$/{ s//\1/; q; }
40074 /^X\(\/\).*/{ s//\1/; q; }
40076 { if $as_mkdir_p; then
40081 while test ! -d "$as_dir"; do
40082 as_dirs
="$as_dir $as_dirs"
40083 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40084 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40085 X"$as_dir" : 'X\(//\)[^/]' \| \
40086 X"$as_dir" : 'X\(//\)$' \| \
40087 X"$as_dir" : 'X\(/\)' \| \
40088 . : '\(.\)' 2>/dev/null ||
40090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40091 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40092 /^X\(\/\/\)$/{ s//\1/; q; }
40093 /^X\(\/\).*/{ s//\1/; q; }
40096 test ! -n "$as_dirs" || mkdir $as_dirs
40097 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40098 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40099 { (exit 1); exit 1; }; }; }
40103 if test "$ac_dir" != .
; then
40104 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40105 # A "../" for each directory in $ac_dir_suffix.
40106 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40108 ac_dir_suffix
= ac_top_builddir
=
40112 .
) # No --srcdir option. We are building in place.
40114 if test -z "$ac_top_builddir"; then
40117 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40119 [\\/]* | ?
:[\\/]* ) # Absolute path.
40120 ac_srcdir
=$srcdir$ac_dir_suffix;
40121 ac_top_srcdir
=$srcdir ;;
40122 *) # Relative path.
40123 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40124 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40127 .
) ac_abs_builddir
=$ac_builddir;;
40129 case $ac_builddir in
40130 .
) ac_abs_builddir
="$ac_dir";;
40131 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
=$ac_builddir;;
40132 *) ac_abs_builddir
="$ac_dir"/$ac_builddir;;
40136 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40138 case ${ac_top_builddir}.
in
40139 .
) ac_abs_top_builddir
="$ac_dir";;
40140 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40141 *) ac_abs_top_builddir
="$ac_dir"/${ac_top_builddir}.
;;
40145 .
) ac_abs_srcdir
=$ac_srcdir;;
40148 .
) ac_abs_srcdir
="$ac_dir";;
40149 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
40150 *) ac_abs_srcdir
="$ac_dir"/$ac_srcdir;;
40154 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
40156 case $ac_top_srcdir in
40157 .
) ac_abs_top_srcdir
="$ac_dir";;
40158 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
40159 *) ac_abs_top_srcdir
="$ac_dir"/$ac_top_srcdir;;
40164 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40165 echo "$as_me: executing $ac_dest commands" >&6;}
40168 if test ! -h wx
-config; then
40170 mv wx
-config wx
${TOOLCHAIN_NAME}-config
40171 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
40174 if test ! -d lib
; then
40177 if test ! -d lib
/wx
; then
40180 if test ! -d lib
/wx
/include
; then
40181 mkdir lib
/wx
/include
40183 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
40184 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
40186 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
40187 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
40189 if test -f setup.h
; then
40190 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
40197 cat >>$CONFIG_STATUS <<\_ACEOF
40199 { (exit 0); exit 0; }
40201 chmod +x
$CONFIG_STATUS
40202 ac_clean_files
=$ac_clean_files_save
40205 # configure is writing to config.log, and then calls config.status.
40206 # config.status does its own redirection, appending to config.log.
40207 # Unfortunately, on DOS this fails, as config.log is still kept open
40208 # by configure, so config.status won't be able to write to it; its
40209 # output is simply discarded. So we exec the FD to /dev/null,
40210 # effectively closing config.log, so it can be properly (re)opened and
40211 # appended to by config.status. When coming back to configure, we
40212 # need to make the FD available again.
40213 if test "$no_create" != yes; then
40215 ac_config_status_args
=
40216 test "$silent" = yes &&
40217 ac_config_status_args
="$ac_config_status_args --quiet"
40219 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
40221 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40222 # would make configure fail if this is the last instruction.
40223 $ac_cs_success || { (exit 1); exit 1; }
40227 # CONFIG_SUBDIRS section.
40229 if test "$no_recursion" != yes; then
40231 # Remove --cache-file and --srcdir arguments so they do not pile up.
40232 ac_sub_configure_args
=
40234 for ac_arg
in $ac_configure_args; do
40235 if test -n "$ac_prev"; then
40240 -cache-file | --cache-file | --cache-fil | --cache-fi \
40241 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
40242 ac_prev
=cache_file
;;
40243 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40244 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
40247 --config-cache | -C)
40249 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
40251 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40253 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
40255 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40257 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
40261 # Always prepend --prefix to ensure using the same prefix
40262 # in subdir configurations.
40263 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
40266 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
40268 # Do not complain, so a configure script can configure whichever
40269 # parts of a large source tree are present.
40270 test -d $srcdir/$ac_dir || continue
40272 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
40273 echo "$as_me: configuring in $ac_dir" >&6;}
40274 { if $as_mkdir_p; then
40279 while test ! -d "$as_dir"; do
40280 as_dirs
="$as_dir $as_dirs"
40281 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40283 X"$as_dir" : 'X\(//\)[^/]' \| \
40284 X"$as_dir" : 'X\(//\)$' \| \
40285 X"$as_dir" : 'X\(/\)' \| \
40286 . : '\(.\)' 2>/dev/null ||
40288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40290 /^X\(\/\/\)$/{ s//\1/; q; }
40291 /^X\(\/\).*/{ s//\1/; q; }
40294 test ! -n "$as_dirs" || mkdir $as_dirs
40295 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40297 { (exit 1); exit 1; }; }; }
40301 if test "$ac_dir" != .
; then
40302 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40303 # A "../" for each directory in $ac_dir_suffix.
40304 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40306 ac_dir_suffix
= ac_top_builddir
=
40310 .
) # No --srcdir option. We are building in place.
40312 if test -z "$ac_top_builddir"; then
40315 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40317 [\\/]* | ?
:[\\/]* ) # Absolute path.
40318 ac_srcdir
=$srcdir$ac_dir_suffix;
40319 ac_top_srcdir
=$srcdir ;;
40320 *) # Relative path.
40321 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40322 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40325 .
) ac_abs_builddir
=$ac_builddir;;
40327 case $ac_builddir in
40328 .
) ac_abs_builddir
="$ac_dir";;
40329 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
=$ac_builddir;;
40330 *) ac_abs_builddir
="$ac_dir"/$ac_builddir;;
40334 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40336 case ${ac_top_builddir}.
in
40337 .
) ac_abs_top_builddir
="$ac_dir";;
40338 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40339 *) ac_abs_top_builddir
="$ac_dir"/${ac_top_builddir}.
;;
40343 .
) ac_abs_srcdir
=$ac_srcdir;;
40346 .
) ac_abs_srcdir
="$ac_dir";;
40347 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
40348 *) ac_abs_srcdir
="$ac_dir"/$ac_srcdir;;
40352 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
40354 case $ac_top_srcdir in
40355 .
) ac_abs_top_srcdir
="$ac_dir";;
40356 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
40357 *) ac_abs_top_srcdir
="$ac_dir"/$ac_top_srcdir;;
40364 # Check for guested configure; otherwise get Cygnus style configure.
40365 if test -f $ac_srcdir/configure.gnu
; then
40366 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
40367 elif test -f $ac_srcdir/configure
; then
40368 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
40369 elif test -f $ac_srcdir/configure.
in; then
40370 ac_sub_configure
=$ac_configure
40372 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
40373 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
40377 # The recursion is here.
40378 if test -n "$ac_sub_configure"; then
40379 # Make the cache file name correct relative to the subdirectory.
40380 case $cache_file in
40381 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
40382 *) # Relative path.
40383 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
40386 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
40387 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
40388 # The eval makes quoting arguments work.
40389 eval $ac_sub_configure $ac_sub_configure_args \
40390 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
40391 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
40392 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
40393 { (exit 1); exit 1; }; }
40402 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
40404 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
40405 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
40407 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
40408 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
40409 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
40411 echo " What level of wxWindows compatibility should be enabled?"
40412 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
40413 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
40415 echo " Which libraries should wxWindows use?"
40416 echo " jpeg ${wxUSE_LIBJPEG-none}"
40417 echo " png ${wxUSE_LIBPNG-none}"
40418 echo " regex ${wxUSE_REGEX}"
40419 echo " tiff ${wxUSE_LIBTIFF-none}"
40420 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
40421 echo " xpm ${wxUSE_LIBXPM-none}"
40423 echo " zlib ${wxUSE_ZLIB}"
40424 echo " odbc ${wxUSE_ODBC}"
40425 echo " expat ${wxUSE_EXPAT}"
40426 echo " libmspack ${wxUSE_LIBMSPACK}"