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_SCROLLBAR=no
6739 DEFAULT_wxUSE_TOOLTIPS=no
6740 DEFAULT_wxUSE_DRAGIMAGE=no
6745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6746 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6748 # Check whether --enable-accel or --disable-accel was given.
6749 if test "${enable_accel+set}" = set; then
6750 enableval="$enable_accel"
6752 if test "$enableval" = yes; then
6753 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6755 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6760 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6761 if test "x$LINE" != x ; then
6762 eval "DEFAULT_$LINE"
6767 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6771 eval "$ac_cv_use_accel"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6776 if test "$wxUSE_ACCEL" = yes; then
6777 echo "$as_me:$LINENO: result: yes" >&5
6778 echo "${ECHO_T}yes" >&6
6780 echo "$as_me:$LINENO: result: no" >&5
6781 echo "${ECHO_T}no" >&6
6786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6789 # Check whether --enable-button or --disable-button was given.
6790 if test "${enable_button+set}" = set; then
6791 enableval="$enable_button"
6793 if test "$enableval" = yes; then
6794 ac_cv_use_button='wxUSE_BUTTON
=yes'
6796 ac_cv_use_button='wxUSE_BUTTON
=no
'
6801 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6802 if test "x$LINE" != x ; then
6803 eval "DEFAULT_$LINE"
6808 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6812 eval "$ac_cv_use_button"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6817 if test "$wxUSE_BUTTON" = yes; then
6818 echo "$as_me:$LINENO: result: yes" >&5
6819 echo "${ECHO_T}yes" >&6
6821 echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6
6827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6828 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6830 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6831 if test "${enable_bmpbutton+set}" = set; then
6832 enableval="$enable_bmpbutton"
6834 if test "$enableval" = yes; then
6835 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6837 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6842 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6843 if test "x$LINE" != x ; then
6844 eval "DEFAULT_$LINE"
6849 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6853 eval "$ac_cv_use_bmpbutton"
6854 if test "$no_cache" != 1; then
6855 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6858 if test "$wxUSE_BMPBUTTON" = yes; then
6859 echo "$as_me:$LINENO: result: yes" >&5
6860 echo "${ECHO_T}yes" >&6
6862 echo "$as_me:$LINENO: result: no" >&5
6863 echo "${ECHO_T}no" >&6
6868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6871 # Check whether --enable-calendar or --disable-calendar was given.
6872 if test "${enable_calendar+set}" = set; then
6873 enableval="$enable_calendar"
6875 if test "$enableval" = yes; then
6876 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6878 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6883 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6884 if test "x$LINE" != x ; then
6885 eval "DEFAULT_$LINE"
6890 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6894 eval "$ac_cv_use_calendar"
6895 if test "$no_cache" != 1; then
6896 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6899 if test "$wxUSE_CALCTRL" = yes; then
6900 echo "$as_me:$LINENO: result: yes" >&5
6901 echo "${ECHO_T}yes" >&6
6903 echo "$as_me:$LINENO: result: no" >&5
6904 echo "${ECHO_T}no" >&6
6909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6912 # Check whether --enable-caret or --disable-caret was given.
6913 if test "${enable_caret+set}" = set; then
6914 enableval="$enable_caret"
6916 if test "$enableval" = yes; then
6917 ac_cv_use_caret='wxUSE_CARET
=yes'
6919 ac_cv_use_caret='wxUSE_CARET
=no
'
6924 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6925 if test "x$LINE" != x ; then
6926 eval "DEFAULT_$LINE"
6931 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6935 eval "$ac_cv_use_caret"
6936 if test "$no_cache" != 1; then
6937 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6940 if test "$wxUSE_CARET" = yes; then
6941 echo "$as_me:$LINENO: result: yes" >&5
6942 echo "${ECHO_T}yes" >&6
6944 echo "$as_me:$LINENO: result: no" >&5
6945 echo "${ECHO_T}no" >&6
6950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6953 # Check whether --enable-checkbox or --disable-checkbox was given.
6954 if test "${enable_checkbox+set}" = set; then
6955 enableval="$enable_checkbox"
6957 if test "$enableval" = yes; then
6958 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6960 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6965 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6966 if test "x$LINE" != x ; then
6967 eval "DEFAULT_$LINE"
6972 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6976 eval "$ac_cv_use_checkbox"
6977 if test "$no_cache" != 1; then
6978 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6981 if test "$wxUSE_CHECKBOX" = yes; then
6982 echo "$as_me:$LINENO: result: yes" >&5
6983 echo "${ECHO_T}yes" >&6
6985 echo "$as_me:$LINENO: result: no" >&5
6986 echo "${ECHO_T}no" >&6
6991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6994 # Check whether --enable-checklst or --disable-checklst was given.
6995 if test "${enable_checklst+set}" = set; then
6996 enableval="$enable_checklst"
6998 if test "$enableval" = yes; then
6999 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7001 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7006 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7007 if test "x$LINE" != x ; then
7008 eval "DEFAULT_$LINE"
7013 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7017 eval "$ac_cv_use_checklst"
7018 if test "$no_cache" != 1; then
7019 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7022 if test "$wxUSE_CHECKLST" = yes; then
7023 echo "$as_me:$LINENO: result: yes" >&5
7024 echo "${ECHO_T}yes" >&6
7026 echo "$as_me:$LINENO: result: no" >&5
7027 echo "${ECHO_T}no" >&6
7032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7035 # Check whether --enable-choice or --disable-choice was given.
7036 if test "${enable_choice+set}" = set; then
7037 enableval="$enable_choice"
7039 if test "$enableval" = yes; then
7040 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7042 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7047 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7048 if test "x$LINE" != x ; then
7049 eval "DEFAULT_$LINE"
7054 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7058 eval "$ac_cv_use_choice"
7059 if test "$no_cache" != 1; then
7060 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7063 if test "$wxUSE_CHOICE" = yes; then
7064 echo "$as_me:$LINENO: result: yes" >&5
7065 echo "${ECHO_T}yes" >&6
7067 echo "$as_me:$LINENO: result: no" >&5
7068 echo "${ECHO_T}no" >&6
7073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7074 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7076 # Check whether --enable-combobox or --disable-combobox was given.
7077 if test "${enable_combobox+set}" = set; then
7078 enableval="$enable_combobox"
7080 if test "$enableval" = yes; then
7081 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7083 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7088 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7089 if test "x$LINE" != x ; then
7090 eval "DEFAULT_$LINE"
7095 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7099 eval "$ac_cv_use_combobox"
7100 if test "$no_cache" != 1; then
7101 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7104 if test "$wxUSE_COMBOBOX" = yes; then
7105 echo "$as_me:$LINENO: result: yes" >&5
7106 echo "${ECHO_T}yes" >&6
7108 echo "$as_me:$LINENO: result: no" >&5
7109 echo "${ECHO_T}no" >&6
7114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7115 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7117 # Check whether --enable-display or --disable-display was given.
7118 if test "${enable_display+set}" = set; then
7119 enableval="$enable_display"
7121 if test "$enableval" = yes; then
7122 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7124 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7129 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7130 if test "x$LINE" != x ; then
7131 eval "DEFAULT_$LINE"
7136 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7140 eval "$ac_cv_use_display"
7141 if test "$no_cache" != 1; then
7142 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7145 if test "$wxUSE_DISPLAY" = yes; then
7146 echo "$as_me:$LINENO: result: yes" >&5
7147 echo "${ECHO_T}yes" >&6
7149 echo "$as_me:$LINENO: result: no" >&5
7150 echo "${ECHO_T}no" >&6
7155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7158 # Check whether --enable-gauge or --disable-gauge was given.
7159 if test "${enable_gauge+set}" = set; then
7160 enableval="$enable_gauge"
7162 if test "$enableval" = yes; then
7163 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7165 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7170 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7171 if test "x$LINE" != x ; then
7172 eval "DEFAULT_$LINE"
7177 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7181 eval "$ac_cv_use_gauge"
7182 if test "$no_cache" != 1; then
7183 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7186 if test "$wxUSE_GAUGE" = yes; then
7187 echo "$as_me:$LINENO: result: yes" >&5
7188 echo "${ECHO_T}yes" >&6
7190 echo "$as_me:$LINENO: result: no" >&5
7191 echo "${ECHO_T}no" >&6
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7199 # Check whether --enable-grid or --disable-grid was given.
7200 if test "${enable_grid+set}" = set; then
7201 enableval="$enable_grid"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_grid='wxUSE_GRID
=yes'
7206 ac_cv_use_grid='wxUSE_GRID
=no
'
7211 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7222 eval "$ac_cv_use_grid"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_GRID" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7240 # Check whether --enable-imaglist or --disable-imaglist was given.
7241 if test "${enable_imaglist+set}" = set; then
7242 enableval="$enable_imaglist"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7247 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7252 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7263 eval "$ac_cv_use_imaglist"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7268 if test "$wxUSE_IMAGLIST" = yes; then
7269 echo "$as_me:$LINENO: result: yes" >&5
7270 echo "${ECHO_T}yes" >&6
7272 echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6
7278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7279 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7281 # Check whether --enable-listbook or --disable-listbook was given.
7282 if test "${enable_listbook+set}" = set; then
7283 enableval="$enable_listbook"
7285 if test "$enableval" = yes; then
7286 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7288 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7293 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x ; then
7295 eval "DEFAULT_$LINE"
7300 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7304 eval "$ac_cv_use_listbook"
7305 if test "$no_cache" != 1; then
7306 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7309 if test "$wxUSE_LISTBOOK" = yes; then
7310 echo "$as_me:$LINENO: result: yes" >&5
7311 echo "${ECHO_T}yes" >&6
7313 echo "$as_me:$LINENO: result: no" >&5
7314 echo "${ECHO_T}no" >&6
7319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7320 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7322 # Check whether --enable-listbox or --disable-listbox was given.
7323 if test "${enable_listbox+set}" = set; then
7324 enableval="$enable_listbox"
7326 if test "$enableval" = yes; then
7327 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7329 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7334 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x ; then
7336 eval "DEFAULT_$LINE"
7341 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7345 eval "$ac_cv_use_listbox"
7346 if test "$no_cache" != 1; then
7347 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7350 if test "$wxUSE_LISTBOX" = yes; then
7351 echo "$as_me:$LINENO: result: yes" >&5
7352 echo "${ECHO_T}yes" >&6
7354 echo "$as_me:$LINENO: result: no" >&5
7355 echo "${ECHO_T}no" >&6
7360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7361 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7363 # Check whether --enable-listctrl or --disable-listctrl was given.
7364 if test "${enable_listctrl+set}" = set; then
7365 enableval="$enable_listctrl"
7367 if test "$enableval" = yes; then
7368 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7370 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7375 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x ; then
7377 eval "DEFAULT_$LINE"
7382 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7386 eval "$ac_cv_use_listctrl"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_LISTCTRL" = yes; then
7392 echo "$as_me:$LINENO: result: yes" >&5
7393 echo "${ECHO_T}yes" >&6
7395 echo "$as_me:$LINENO: result: no" >&5
7396 echo "${ECHO_T}no" >&6
7401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7404 # Check whether --enable-notebook or --disable-notebook was given.
7405 if test "${enable_notebook+set}" = set; then
7406 enableval="$enable_notebook"
7408 if test "$enableval" = yes; then
7409 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7411 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7416 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7417 if test "x$LINE" != x ; then
7418 eval "DEFAULT_$LINE"
7423 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7427 eval "$ac_cv_use_notebook"
7428 if test "$no_cache" != 1; then
7429 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7432 if test "$wxUSE_NOTEBOOK" = yes; then
7433 echo "$as_me:$LINENO: result: yes" >&5
7434 echo "${ECHO_T}yes" >&6
7436 echo "$as_me:$LINENO: result: no" >&5
7437 echo "${ECHO_T}no" >&6
7442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7445 # Check whether --enable-radiobox or --disable-radiobox was given.
7446 if test "${enable_radiobox+set}" = set; then
7447 enableval="$enable_radiobox"
7449 if test "$enableval" = yes; then
7450 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7452 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7457 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7458 if test "x$LINE" != x ; then
7459 eval "DEFAULT_$LINE"
7464 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7468 eval "$ac_cv_use_radiobox"
7469 if test "$no_cache" != 1; then
7470 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7473 if test "$wxUSE_RADIOBOX" = yes; then
7474 echo "$as_me:$LINENO: result: yes" >&5
7475 echo "${ECHO_T}yes" >&6
7477 echo "$as_me:$LINENO: result: no" >&5
7478 echo "${ECHO_T}no" >&6
7483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7486 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7487 if test "${enable_radiobtn+set}" = set; then
7488 enableval="$enable_radiobtn"
7490 if test "$enableval" = yes; then
7491 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7493 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7498 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x ; then
7500 eval "DEFAULT_$LINE"
7505 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7509 eval "$ac_cv_use_radiobtn"
7510 if test "$no_cache" != 1; then
7511 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7514 if test "$wxUSE_RADIOBTN" = yes; then
7515 echo "$as_me:$LINENO: result: yes" >&5
7516 echo "${ECHO_T}yes" >&6
7518 echo "$as_me:$LINENO: result: no" >&5
7519 echo "${ECHO_T}no" >&6
7524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7525 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7527 # Check whether --enable-sash or --disable-sash was given.
7528 if test "${enable_sash+set}" = set; then
7529 enableval="$enable_sash"
7531 if test "$enableval" = yes; then
7532 ac_cv_use_sash='wxUSE_SASH
=yes'
7534 ac_cv_use_sash='wxUSE_SASH
=no
'
7539 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7540 if test "x$LINE" != x ; then
7541 eval "DEFAULT_$LINE"
7546 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7550 eval "$ac_cv_use_sash"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7555 if test "$wxUSE_SASH" = yes; then
7556 echo "$as_me:$LINENO: result: yes" >&5
7557 echo "${ECHO_T}yes" >&6
7559 echo "$as_me:$LINENO: result: no" >&5
7560 echo "${ECHO_T}no" >&6
7565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7568 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7569 if test "${enable_scrollbar+set}" = set; then
7570 enableval="$enable_scrollbar"
7572 if test "$enableval" = yes; then
7573 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7575 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7580 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7581 if test "x$LINE" != x ; then
7582 eval "DEFAULT_$LINE"
7587 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7591 eval "$ac_cv_use_scrollbar"
7592 if test "$no_cache" != 1; then
7593 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7596 if test "$wxUSE_SCROLLBAR" = yes; then
7597 echo "$as_me:$LINENO: result: yes" >&5
7598 echo "${ECHO_T}yes" >&6
7600 echo "$as_me:$LINENO: result: no" >&5
7601 echo "${ECHO_T}no" >&6
7606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7607 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7609 # Check whether --enable-slider or --disable-slider was given.
7610 if test "${enable_slider+set}" = set; then
7611 enableval="$enable_slider"
7613 if test "$enableval" = yes; then
7614 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7616 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7621 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7622 if test "x$LINE" != x ; then
7623 eval "DEFAULT_$LINE"
7628 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7632 eval "$ac_cv_use_slider"
7633 if test "$no_cache" != 1; then
7634 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7637 if test "$wxUSE_SLIDER" = yes; then
7638 echo "$as_me:$LINENO: result: yes" >&5
7639 echo "${ECHO_T}yes" >&6
7641 echo "$as_me:$LINENO: result: no" >&5
7642 echo "${ECHO_T}no" >&6
7647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7648 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7650 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7651 if test "${enable_spinbtn+set}" = set; then
7652 enableval="$enable_spinbtn"
7654 if test "$enableval" = yes; then
7655 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7657 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7662 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x ; then
7664 eval "DEFAULT_$LINE"
7669 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7673 eval "$ac_cv_use_spinbtn"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7678 if test "$wxUSE_SPINBTN" = yes; then
7679 echo "$as_me:$LINENO: result: yes" >&5
7680 echo "${ECHO_T}yes" >&6
7682 echo "$as_me:$LINENO: result: no" >&5
7683 echo "${ECHO_T}no" >&6
7688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7691 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7692 if test "${enable_spinctrl+set}" = set; then
7693 enableval="$enable_spinctrl"
7695 if test "$enableval" = yes; then
7696 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7698 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7703 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x ; then
7705 eval "DEFAULT_$LINE"
7710 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7714 eval "$ac_cv_use_spinctrl"
7715 if test "$no_cache" != 1; then
7716 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7719 if test "$wxUSE_SPINCTRL" = yes; then
7720 echo "$as_me:$LINENO: result: yes" >&5
7721 echo "${ECHO_T}yes" >&6
7723 echo "$as_me:$LINENO: result: no" >&5
7724 echo "${ECHO_T}no" >&6
7729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7730 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7732 # Check whether --enable-splitter or --disable-splitter was given.
7733 if test "${enable_splitter+set}" = set; then
7734 enableval="$enable_splitter"
7736 if test "$enableval" = yes; then
7737 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7739 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7744 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x ; then
7746 eval "DEFAULT_$LINE"
7751 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7755 eval "$ac_cv_use_splitter"
7756 if test "$no_cache" != 1; then
7757 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7760 if test "$wxUSE_SPLITTER" = yes; then
7761 echo "$as_me:$LINENO: result: yes" >&5
7762 echo "${ECHO_T}yes" >&6
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7773 # Check whether --enable-statbmp or --disable-statbmp was given.
7774 if test "${enable_statbmp+set}" = set; then
7775 enableval="$enable_statbmp"
7777 if test "$enableval" = yes; then
7778 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7780 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7785 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x ; then
7787 eval "DEFAULT_$LINE"
7792 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7796 eval "$ac_cv_use_statbmp"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7801 if test "$wxUSE_STATBMP" = yes; then
7802 echo "$as_me:$LINENO: result: yes" >&5
7803 echo "${ECHO_T}yes" >&6
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7814 # Check whether --enable-statbox or --disable-statbox was given.
7815 if test "${enable_statbox+set}" = set; then
7816 enableval="$enable_statbox"
7818 if test "$enableval" = yes; then
7819 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7821 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7826 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x ; then
7828 eval "DEFAULT_$LINE"
7833 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7837 eval "$ac_cv_use_statbox"
7838 if test "$no_cache" != 1; then
7839 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7842 if test "$wxUSE_STATBOX" = yes; then
7843 echo "$as_me:$LINENO: result: yes" >&5
7844 echo "${ECHO_T}yes" >&6
7846 echo "$as_me:$LINENO: result: no" >&5
7847 echo "${ECHO_T}no" >&6
7852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7853 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7855 # Check whether --enable-statline or --disable-statline was given.
7856 if test "${enable_statline+set}" = set; then
7857 enableval="$enable_statline"
7859 if test "$enableval" = yes; then
7860 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7862 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7867 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x ; then
7869 eval "DEFAULT_$LINE"
7874 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7878 eval "$ac_cv_use_statline"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7883 if test "$wxUSE_STATLINE" = yes; then
7884 echo "$as_me:$LINENO: result: yes" >&5
7885 echo "${ECHO_T}yes" >&6
7887 echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6
7893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7894 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7896 # Check whether --enable-stattext or --disable-stattext was given.
7897 if test "${enable_stattext+set}" = set; then
7898 enableval="$enable_stattext"
7900 if test "$enableval" = yes; then
7901 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7903 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7908 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7909 if test "x$LINE" != x ; then
7910 eval "DEFAULT_$LINE"
7915 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7919 eval "$ac_cv_use_stattext"
7920 if test "$no_cache" != 1; then
7921 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7924 if test "$wxUSE_STATTEXT" = yes; then
7925 echo "$as_me:$LINENO: result: yes" >&5
7926 echo "${ECHO_T}yes" >&6
7928 echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6
7934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7935 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7937 # Check whether --enable-statusbar or --disable-statusbar was given.
7938 if test "${enable_statusbar+set}" = set; then
7939 enableval="$enable_statusbar"
7941 if test "$enableval" = yes; then
7942 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7944 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7949 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7950 if test "x$LINE" != x ; then
7951 eval "DEFAULT_$LINE"
7956 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7960 eval "$ac_cv_use_statusbar"
7961 if test "$no_cache" != 1; then
7962 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7965 if test "$wxUSE_STATUSBAR" = yes; then
7966 echo "$as_me:$LINENO: result: yes" >&5
7967 echo "${ECHO_T}yes" >&6
7969 echo "$as_me:$LINENO: result: no" >&5
7970 echo "${ECHO_T}no" >&6
7975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7978 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7979 if test "${enable_tabdialog+set}" = set; then
7980 enableval="$enable_tabdialog"
7982 if test "$enableval" = yes; then
7983 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7985 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7990 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7991 if test "x$LINE" != x ; then
7992 eval "DEFAULT_$LINE"
7997 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8001 eval "$ac_cv_use_tabdialog"
8002 if test "$no_cache" != 1; then
8003 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8006 if test "$wxUSE_TABDIALOG" = yes; then
8007 echo "$as_me:$LINENO: result: yes" >&5
8008 echo "${ECHO_T}yes" >&6
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8017 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8019 # Check whether --enable-textctrl or --disable-textctrl was given.
8020 if test "${enable_textctrl+set}" = set; then
8021 enableval="$enable_textctrl"
8023 if test "$enableval" = yes; then
8024 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8026 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8031 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x ; then
8033 eval "DEFAULT_$LINE"
8038 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8042 eval "$ac_cv_use_textctrl"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8047 if test "$wxUSE_TEXTCTRL" = yes; then
8048 echo "$as_me:$LINENO: result: yes" >&5
8049 echo "${ECHO_T}yes" >&6
8051 echo "$as_me:$LINENO: result: no" >&5
8052 echo "${ECHO_T}no" >&6
8057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8060 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8061 if test "${enable_togglebtn+set}" = set; then
8062 enableval="$enable_togglebtn"
8064 if test "$enableval" = yes; then
8065 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8067 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8072 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x ; then
8074 eval "DEFAULT_$LINE"
8079 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8083 eval "$ac_cv_use_togglebtn"
8084 if test "$no_cache" != 1; then
8085 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8088 if test "$wxUSE_TOGGLEBTN" = yes; then
8089 echo "$as_me:$LINENO: result: yes" >&5
8090 echo "${ECHO_T}yes" >&6
8092 echo "$as_me:$LINENO: result: no" >&5
8093 echo "${ECHO_T}no" >&6
8098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8101 # Check whether --enable-toolbar or --disable-toolbar was given.
8102 if test "${enable_toolbar+set}" = set; then
8103 enableval="$enable_toolbar"
8105 if test "$enableval" = yes; then
8106 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8108 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8113 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8114 if test "x$LINE" != x ; then
8115 eval "DEFAULT_$LINE"
8120 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8124 eval "$ac_cv_use_toolbar"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8129 if test "$wxUSE_TOOLBAR" = yes; then
8130 echo "$as_me:$LINENO: result: yes" >&5
8131 echo "${ECHO_T}yes" >&6
8133 echo "$as_me:$LINENO: result: no" >&5
8134 echo "${ECHO_T}no" >&6
8139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8142 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8143 if test "${enable_tbarnative+set}" = set; then
8144 enableval="$enable_tbarnative"
8146 if test "$enableval" = yes; then
8147 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8149 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8154 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8155 if test "x$LINE" != x ; then
8156 eval "DEFAULT_$LINE"
8161 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8165 eval "$ac_cv_use_tbarnative"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8170 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8171 echo "$as_me:$LINENO: result: yes" >&5
8172 echo "${ECHO_T}yes" >&6
8174 echo "$as_me:$LINENO: result: no" >&5
8175 echo "${ECHO_T}no" >&6
8180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8183 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8184 if test "${enable_tbarsmpl+set}" = set; then
8185 enableval="$enable_tbarsmpl"
8187 if test "$enableval" = yes; then
8188 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8190 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8195 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8196 if test "x$LINE" != x ; then
8197 eval "DEFAULT_$LINE"
8202 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8206 eval "$ac_cv_use_tbarsmpl"
8207 if test "$no_cache" != 1; then
8208 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8211 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8212 echo "$as_me:$LINENO: result: yes" >&5
8213 echo "${ECHO_T}yes" >&6
8215 echo "$as_me:$LINENO: result: no" >&5
8216 echo "${ECHO_T}no" >&6
8221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8222 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8224 # Check whether --enable-treectrl or --disable-treectrl was given.
8225 if test "${enable_treectrl+set}" = set; then
8226 enableval="$enable_treectrl"
8228 if test "$enableval" = yes; then
8229 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8231 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8236 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8237 if test "x$LINE" != x ; then
8238 eval "DEFAULT_$LINE"
8243 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8247 eval "$ac_cv_use_treectrl"
8248 if test "$no_cache" != 1; then
8249 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8252 if test "$wxUSE_TREECTRL" = yes; then
8253 echo "$as_me:$LINENO: result: yes" >&5
8254 echo "${ECHO_T}yes" >&6
8256 echo "$as_me:$LINENO: result: no" >&5
8257 echo "${ECHO_T}no" >&6
8262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8265 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8266 if test "${enable_tipwindow+set}" = set; then
8267 enableval="$enable_tipwindow"
8269 if test "$enableval" = yes; then
8270 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8272 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8277 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8278 if test "x$LINE" != x ; then
8279 eval "DEFAULT_$LINE"
8284 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8288 eval "$ac_cv_use_tipwindow"
8289 if test "$no_cache" != 1; then
8290 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8293 if test "$wxUSE_TIPWINDOW" = yes; then
8294 echo "$as_me:$LINENO: result: yes" >&5
8295 echo "${ECHO_T}yes" >&6
8297 echo "$as_me:$LINENO: result: no" >&5
8298 echo "${ECHO_T}no" >&6
8303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8306 # Check whether --enable-popupwin or --disable-popupwin was given.
8307 if test "${enable_popupwin+set}" = set; then
8308 enableval="$enable_popupwin"
8310 if test "$enableval" = yes; then
8311 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8313 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8318 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8319 if test "x$LINE" != x ; then
8320 eval "DEFAULT_$LINE"
8325 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8329 eval "$ac_cv_use_popupwin"
8330 if test "$no_cache" != 1; then
8331 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8334 if test "$wxUSE_POPUPWIN" = yes; then
8335 echo "$as_me:$LINENO: result: yes" >&5
8336 echo "${ECHO_T}yes" >&6
8338 echo "$as_me:$LINENO: result: no" >&5
8339 echo "${ECHO_T}no" >&6
8346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8349 # Check whether --enable-commondlg or --disable-commondlg was given.
8350 if test "${enable_commondlg+set}" = set; then
8351 enableval="$enable_commondlg"
8353 if test "$enableval" = yes; then
8354 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8356 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8361 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x ; then
8363 eval "DEFAULT_$LINE"
8368 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8372 eval "$ac_cv_use_commondlg"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8377 if test "$wxUSE_COMMONDLGS" = yes; then
8378 echo "$as_me:$LINENO: result: yes" >&5
8379 echo "${ECHO_T}yes" >&6
8381 echo "$as_me:$LINENO: result: no" >&5
8382 echo "${ECHO_T}no" >&6
8387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8388 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8390 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8391 if test "${enable_choicedlg+set}" = set; then
8392 enableval="$enable_choicedlg"
8394 if test "$enableval" = yes; then
8395 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8397 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8402 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x ; then
8404 eval "DEFAULT_$LINE"
8409 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8413 eval "$ac_cv_use_choicedlg"
8414 if test "$no_cache" != 1; then
8415 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8418 if test "$wxUSE_CHOICEDLG" = yes; then
8419 echo "$as_me:$LINENO: result: yes" >&5
8420 echo "${ECHO_T}yes" >&6
8422 echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6
8428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8431 # Check whether --enable-coldlg or --disable-coldlg was given.
8432 if test "${enable_coldlg+set}" = set; then
8433 enableval="$enable_coldlg"
8435 if test "$enableval" = yes; then
8436 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8438 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8443 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x ; then
8445 eval "DEFAULT_$LINE"
8450 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8454 eval "$ac_cv_use_coldlg"
8455 if test "$no_cache" != 1; then
8456 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8459 if test "$wxUSE_COLOURDLG" = yes; then
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8463 echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6
8469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8472 # Check whether --enable-filedlg or --disable-filedlg was given.
8473 if test "${enable_filedlg+set}" = set; then
8474 enableval="$enable_filedlg"
8476 if test "$enableval" = yes; then
8477 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8479 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8484 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8485 if test "x$LINE" != x ; then
8486 eval "DEFAULT_$LINE"
8491 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8495 eval "$ac_cv_use_filedlg"
8496 if test "$no_cache" != 1; then
8497 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8500 if test "$wxUSE_FILEDLG" = yes; then
8501 echo "$as_me:$LINENO: result: yes" >&5
8502 echo "${ECHO_T}yes" >&6
8504 echo "$as_me:$LINENO: result: no" >&5
8505 echo "${ECHO_T}no" >&6
8510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8513 # Check whether --enable-finddlg or --disable-finddlg was given.
8514 if test "${enable_finddlg+set}" = set; then
8515 enableval="$enable_finddlg"
8517 if test "$enableval" = yes; then
8518 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8520 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8525 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x ; then
8527 eval "DEFAULT_$LINE"
8532 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8536 eval "$ac_cv_use_finddlg"
8537 if test "$no_cache" != 1; then
8538 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8541 if test "$wxUSE_FINDREPLDLG" = yes; then
8542 echo "$as_me:$LINENO: result: yes" >&5
8543 echo "${ECHO_T}yes" >&6
8545 echo "$as_me:$LINENO: result: no" >&5
8546 echo "${ECHO_T}no" >&6
8551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8554 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8555 if test "${enable_fontdlg+set}" = set; then
8556 enableval="$enable_fontdlg"
8558 if test "$enableval" = yes; then
8559 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8561 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8566 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8573 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8577 eval "$ac_cv_use_fontdlg"
8578 if test "$no_cache" != 1; then
8579 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8582 if test "$wxUSE_FONTDLG" = yes; then
8583 echo "$as_me:$LINENO: result: yes" >&5
8584 echo "${ECHO_T}yes" >&6
8586 echo "$as_me:$LINENO: result: no" >&5
8587 echo "${ECHO_T}no" >&6
8592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8595 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8596 if test "${enable_dirdlg+set}" = set; then
8597 enableval="$enable_dirdlg"
8599 if test "$enableval" = yes; then
8600 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8602 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8607 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8614 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8618 eval "$ac_cv_use_dirdlg"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8623 if test "$wxUSE_DIRDLG" = yes; then
8624 echo "$as_me:$LINENO: result: yes" >&5
8625 echo "${ECHO_T}yes" >&6
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8636 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8637 if test "${enable_msgdlg+set}" = set; then
8638 enableval="$enable_msgdlg"
8640 if test "$enableval" = yes; then
8641 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8643 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8648 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8655 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8659 eval "$ac_cv_use_msgdlg"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8664 if test "$wxUSE_MSGDLG" = yes; then
8665 echo "$as_me:$LINENO: result: yes" >&5
8666 echo "${ECHO_T}yes" >&6
8668 echo "$as_me:$LINENO: result: no" >&5
8669 echo "${ECHO_T}no" >&6
8674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8675 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8677 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8678 if test "${enable_numberdlg+set}" = set; then
8679 enableval="$enable_numberdlg"
8681 if test "$enableval" = yes; then
8682 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8684 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8689 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8690 if test "x$LINE" != x ; then
8691 eval "DEFAULT_$LINE"
8696 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8700 eval "$ac_cv_use_numberdlg"
8701 if test "$no_cache" != 1; then
8702 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8705 if test "$wxUSE_NUMBERDLG" = yes; then
8706 echo "$as_me:$LINENO: result: yes" >&5
8707 echo "${ECHO_T}yes" >&6
8709 echo "$as_me:$LINENO: result: no" >&5
8710 echo "${ECHO_T}no" >&6
8715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8718 # Check whether --enable-splash or --disable-splash was given.
8719 if test "${enable_splash+set}" = set; then
8720 enableval="$enable_splash"
8722 if test "$enableval" = yes; then
8723 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8725 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8730 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x ; then
8732 eval "DEFAULT_$LINE"
8737 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8741 eval "$ac_cv_use_splash"
8742 if test "$no_cache" != 1; then
8743 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8746 if test "$wxUSE_SPLASH" = yes; then
8747 echo "$as_me:$LINENO: result: yes" >&5
8748 echo "${ECHO_T}yes" >&6
8750 echo "$as_me:$LINENO: result: no" >&5
8751 echo "${ECHO_T}no" >&6
8756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8757 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8759 # Check whether --enable-textdlg or --disable-textdlg was given.
8760 if test "${enable_textdlg+set}" = set; then
8761 enableval="$enable_textdlg"
8763 if test "$enableval" = yes; then
8764 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8766 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8771 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x ; then
8773 eval "DEFAULT_$LINE"
8778 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8782 eval "$ac_cv_use_textdlg"
8783 if test "$no_cache" != 1; then
8784 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8787 if test "$wxUSE_TEXTDLG" = yes; then
8788 echo "$as_me:$LINENO: result: yes" >&5
8789 echo "${ECHO_T}yes" >&6
8791 echo "$as_me:$LINENO: result: no" >&5
8792 echo "${ECHO_T}no" >&6
8797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8798 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8800 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8801 if test "${enable_tipdlg+set}" = set; then
8802 enableval="$enable_tipdlg"
8804 if test "$enableval" = yes; then
8805 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8807 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8812 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x ; then
8814 eval "DEFAULT_$LINE"
8819 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8823 eval "$ac_cv_use_tipdlg"
8824 if test "$no_cache" != 1; then
8825 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8828 if test "$wxUSE_STARTUP_TIPS" = yes; then
8829 echo "$as_me:$LINENO: result: yes" >&5
8830 echo "${ECHO_T}yes" >&6
8832 echo "$as_me:$LINENO: result: no" >&5
8833 echo "${ECHO_T}no" >&6
8838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8839 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8841 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8842 if test "${enable_progressdlg+set}" = set; then
8843 enableval="$enable_progressdlg"
8845 if test "$enableval" = yes; then
8846 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8848 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8853 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8854 if test "x$LINE" != x ; then
8855 eval "DEFAULT_$LINE"
8860 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8864 eval "$ac_cv_use_progressdlg"
8865 if test "$no_cache" != 1; then
8866 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8869 if test "$wxUSE_PROGRESSDLG" = yes; then
8870 echo "$as_me:$LINENO: result: yes" >&5
8871 echo "${ECHO_T}yes" >&6
8873 echo "$as_me:$LINENO: result: no" >&5
8874 echo "${ECHO_T}no" >&6
8879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8882 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8883 if test "${enable_wizarddlg+set}" = set; then
8884 enableval="$enable_wizarddlg"
8886 if test "$enableval" = yes; then
8887 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8889 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8894 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8901 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8905 eval "$ac_cv_use_wizarddlg"
8906 if test "$no_cache" != 1; then
8907 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8910 if test "$wxUSE_WIZARDDLG" = yes; then
8911 echo "$as_me:$LINENO: result: yes" >&5
8912 echo "${ECHO_T}yes" >&6
8914 echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6
8922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8925 # Check whether --enable-menus or --disable-menus was given.
8926 if test "${enable_menus+set}" = set; then
8927 enableval="$enable_menus"
8929 if test "$enableval" = yes; then
8930 ac_cv_use_menus='wxUSE_MENUS
=yes'
8932 ac_cv_use_menus='wxUSE_MENUS
=no
'
8937 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8944 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8948 eval "$ac_cv_use_menus"
8949 if test "$no_cache" != 1; then
8950 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8953 if test "$wxUSE_MENUS" = yes; then
8954 echo "$as_me:$LINENO: result: yes" >&5
8955 echo "${ECHO_T}yes" >&6
8957 echo "$as_me:$LINENO: result: no" >&5
8958 echo "${ECHO_T}no" >&6
8963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8964 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8966 # Check whether --enable-miniframe or --disable-miniframe was given.
8967 if test "${enable_miniframe+set}" = set; then
8968 enableval="$enable_miniframe"
8970 if test "$enableval" = yes; then
8971 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8973 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8978 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x ; then
8980 eval "DEFAULT_$LINE"
8985 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8989 eval "$ac_cv_use_miniframe"
8990 if test "$no_cache" != 1; then
8991 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8994 if test "$wxUSE_MINIFRAME" = yes; then
8995 echo "$as_me:$LINENO: result: yes" >&5
8996 echo "${ECHO_T}yes" >&6
8998 echo "$as_me:$LINENO: result: no" >&5
8999 echo "${ECHO_T}no" >&6
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9007 # Check whether --enable-tooltips or --disable-tooltips was given.
9008 if test "${enable_tooltips+set}" = set; then
9009 enableval="$enable_tooltips"
9011 if test "$enableval" = yes; then
9012 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9014 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9019 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9026 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9030 eval "$ac_cv_use_tooltips"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9035 if test "$wxUSE_TOOLTIPS" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9048 # Check whether --enable-splines or --disable-splines was given.
9049 if test "${enable_splines+set}" = set; then
9050 enableval="$enable_splines"
9052 if test "$enableval" = yes; then
9053 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9055 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9060 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9067 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9071 eval "$ac_cv_use_splines"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9076 if test "$wxUSE_SPLINES" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9089 # Check whether --enable-validators or --disable-validators was given.
9090 if test "${enable_validators+set}" = set; then
9091 enableval="$enable_validators"
9093 if test "$enableval" = yes; then
9094 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9096 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9101 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9108 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9112 eval "$ac_cv_use_validators"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9117 if test "$wxUSE_VALIDATORS" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9130 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9131 if test "${enable_busyinfo+set}" = set; then
9132 enableval="$enable_busyinfo"
9134 if test "$enableval" = yes; then
9135 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9137 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9142 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x ; then
9144 eval "DEFAULT_$LINE"
9149 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9153 eval "$ac_cv_use_busyinfo"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9158 if test "$wxUSE_BUSYINFO" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160 echo "${ECHO_T}yes" >&6
9162 echo "$as_me:$LINENO: result: no" >&5
9163 echo "${ECHO_T}no" >&6
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9171 # Check whether --enable-joystick or --disable-joystick was given.
9172 if test "${enable_joystick+set}" = set; then
9173 enableval="$enable_joystick"
9175 if test "$enableval" = yes; then
9176 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9178 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9183 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x ; then
9185 eval "DEFAULT_$LINE"
9190 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9194 eval "$ac_cv_use_joystick"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9199 if test "$wxUSE_JOYSTICK" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6
9203 echo "$as_me:$LINENO: result: no" >&5
9204 echo "${ECHO_T}no" >&6
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9212 # Check whether --enable-metafile or --disable-metafile was given.
9213 if test "${enable_metafile+set}" = set; then
9214 enableval="$enable_metafile"
9216 if test "$enableval" = yes; then
9217 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9219 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9224 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x ; then
9226 eval "DEFAULT_$LINE"
9231 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9235 eval "$ac_cv_use_metafile"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9240 if test "$wxUSE_METAFILE" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242 echo "${ECHO_T}yes" >&6
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9253 # Check whether --enable-dragimage or --disable-dragimage was given.
9254 if test "${enable_dragimage+set}" = set; then
9255 enableval="$enable_dragimage"
9257 if test "$enableval" = yes; then
9258 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9260 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9265 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x ; then
9267 eval "DEFAULT_$LINE"
9272 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9276 eval "$ac_cv_use_dragimage"
9277 if test "$no_cache" != 1; then
9278 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9281 if test "$wxUSE_DRAGIMAGE" = yes; then
9282 echo "$as_me:$LINENO: result: yes" >&5
9283 echo "${ECHO_T}yes" >&6
9285 echo "$as_me:$LINENO: result: no" >&5
9286 echo "${ECHO_T}no" >&6
9291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9294 # Check whether --enable-accessibility or --disable-accessibility was given.
9295 if test "${enable_accessibility+set}" = set; then
9296 enableval="$enable_accessibility"
9298 if test "$enableval" = yes; then
9299 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9301 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9306 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x ; then
9308 eval "DEFAULT_$LINE"
9313 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9317 eval "$ac_cv_use_accessibility"
9318 if test "$no_cache" != 1; then
9319 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9322 if test "$wxUSE_ACCESSIBILITY" = yes; then
9323 echo "$as_me:$LINENO: result: yes" >&5
9324 echo "${ECHO_T}yes" >&6
9326 echo "$as_me:$LINENO: result: no" >&5
9327 echo "${ECHO_T}no" >&6
9334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9337 # Check whether --enable-palette or --disable-palette was given.
9338 if test "${enable_palette+set}" = set; then
9339 enableval="$enable_palette"
9341 if test "$enableval" = yes; then
9342 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9344 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9349 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9350 if test "x$LINE" != x ; then
9351 eval "DEFAULT_$LINE"
9356 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9360 eval "$ac_cv_use_palette"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9365 if test "$wxUSE_PALETTE" = yes; then
9366 echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6
9369 echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6
9375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9378 # Check whether --enable-image or --disable-image was given.
9379 if test "${enable_image+set}" = set; then
9380 enableval="$enable_image"
9382 if test "$enableval" = yes; then
9383 ac_cv_use_image='wxUSE_IMAGE
=yes'
9385 ac_cv_use_image='wxUSE_IMAGE
=no
'
9390 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9391 if test "x$LINE" != x ; then
9392 eval "DEFAULT_$LINE"
9397 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9401 eval "$ac_cv_use_image"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9406 if test "$wxUSE_IMAGE" = yes; then
9407 echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6
9410 echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6
9416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9419 # Check whether --enable-gif or --disable-gif was given.
9420 if test "${enable_gif+set}" = set; then
9421 enableval="$enable_gif"
9423 if test "$enableval" = yes; then
9424 ac_cv_use_gif='wxUSE_GIF
=yes'
9426 ac_cv_use_gif='wxUSE_GIF
=no
'
9431 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9432 if test "x$LINE" != x ; then
9433 eval "DEFAULT_$LINE"
9438 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9442 eval "$ac_cv_use_gif"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9447 if test "$wxUSE_GIF" = yes; then
9448 echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6
9451 echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6
9457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9460 # Check whether --enable-pcx or --disable-pcx was given.
9461 if test "${enable_pcx+set}" = set; then
9462 enableval="$enable_pcx"
9464 if test "$enableval" = yes; then
9465 ac_cv_use_pcx='wxUSE_PCX
=yes'
9467 ac_cv_use_pcx='wxUSE_PCX
=no
'
9472 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9473 if test "x$LINE" != x ; then
9474 eval "DEFAULT_$LINE"
9479 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9483 eval "$ac_cv_use_pcx"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9488 if test "$wxUSE_PCX" = yes; then
9489 echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6
9492 echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6
9498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9501 # Check whether --enable-iff or --disable-iff was given.
9502 if test "${enable_iff+set}" = set; then
9503 enableval="$enable_iff"
9505 if test "$enableval" = yes; then
9506 ac_cv_use_iff='wxUSE_IFF
=yes'
9508 ac_cv_use_iff='wxUSE_IFF
=no
'
9513 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9514 if test "x$LINE" != x ; then
9515 eval "DEFAULT_$LINE"
9520 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9524 eval "$ac_cv_use_iff"
9525 if test "$no_cache" != 1; then
9526 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9529 if test "$wxUSE_IFF" = yes; then
9530 echo "$as_me:$LINENO: result: yes" >&5
9531 echo "${ECHO_T}yes" >&6
9533 echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6
9539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9542 # Check whether --enable-pnm or --disable-pnm was given.
9543 if test "${enable_pnm+set}" = set; then
9544 enableval="$enable_pnm"
9546 if test "$enableval" = yes; then
9547 ac_cv_use_pnm='wxUSE_PNM
=yes'
9549 ac_cv_use_pnm='wxUSE_PNM
=no
'
9554 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9555 if test "x$LINE" != x ; then
9556 eval "DEFAULT_$LINE"
9561 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9565 eval "$ac_cv_use_pnm"
9566 if test "$no_cache" != 1; then
9567 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9570 if test "$wxUSE_PNM" = yes; then
9571 echo "$as_me:$LINENO: result: yes" >&5
9572 echo "${ECHO_T}yes" >&6
9574 echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6
9580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9583 # Check whether --enable-xpm or --disable-xpm was given.
9584 if test "${enable_xpm+set}" = set; then
9585 enableval="$enable_xpm"
9587 if test "$enableval" = yes; then
9588 ac_cv_use_xpm='wxUSE_XPM
=yes'
9590 ac_cv_use_xpm='wxUSE_XPM
=no
'
9595 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9596 if test "x$LINE" != x ; then
9597 eval "DEFAULT_$LINE"
9602 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9606 eval "$ac_cv_use_xpm"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9611 if test "$wxUSE_XPM" = yes; then
9612 echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6
9615 echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6
9621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9624 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9625 if test "${enable_ico_cur+set}" = set; then
9626 enableval="$enable_ico_cur"
9628 if test "$enableval" = yes; then
9629 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9631 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9636 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9637 if test "x$LINE" != x ; then
9638 eval "DEFAULT_$LINE"
9643 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9647 eval "$ac_cv_use_ico_cur"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9652 if test "$wxUSE_ICO_CUR" = yes; then
9653 echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6
9656 echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6
9666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9667 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9669 # Check whether --enable-official_build or --disable-official_build was given.
9670 if test "${enable_official_build+set}" = set; then
9671 enableval="$enable_official_build"
9673 if test "$enableval" = yes; then
9674 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9676 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9681 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9682 if test "x$LINE" != x ; then
9683 eval "DEFAULT_$LINE"
9688 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9692 eval "$ac_cv_use_official_build"
9693 if test "$no_cache" != 1; then
9694 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9697 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9698 echo "$as_me:$LINENO: result: yes" >&5
9699 echo "${ECHO_T}yes" >&6
9701 echo "$as_me:$LINENO: result: no" >&5
9702 echo "${ECHO_T}no" >&6
9705 # Check whether --enable-vendor or --disable-vendor was given.
9706 if test "${enable_vendor+set}" = set; then
9707 enableval="$enable_vendor"
9710 if test "x$VENDOR" = "x"; then
9715 *-pc-os2_emx | *-pc-os2-emx )
9725 echo "saving argument cache $wx_arg_cache_file"
9726 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9730 echo "$as_me:$LINENO: checking for toolkit" >&5
9731 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9733 # In Wine, we need to default to MSW, not GTK or MOTIF
9734 if test "$wxUSE_WINE" = "yes"; then
9735 DEFAULT_DEFAULT_wxUSE_GTK=0
9736 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9737 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
9835 LDFLAGS_GUI="-mwindows"
9838 if test "$wants_win32" = 1 ; then
9841 cat >>confdefs.h <<\_ACEOF
9845 cat >>confdefs.h <<\_ACEOF
9849 cat >>confdefs.h <<\_ACEOF
9850 #define __WINDOWS__ 1
9853 cat >>confdefs.h <<\_ACEOF
9854 #define __GNUWIN32__ 1
9857 cat >>confdefs.h <<\_ACEOF
9861 cat >>confdefs.h <<\_ACEOF
9862 #define WINVER 0x0400
9866 if test "$doesnt_want_win32" = 1 ; then
9871 if test "$USE_UNIX" = 1 ; then
9873 cat >>confdefs.h <<\_ACEOF
9880 cat >confcache <<\_ACEOF
9881 # This file is a shell script that caches the results of configure
9882 # tests run on this system so they can be shared between configure
9883 # scripts and configure runs, see configure's option
--config-cache.
9884 # It is not useful on other systems. If it contains results you don't
9885 # want to keep, you may remove or edit it.
9887 # config.status only pays attention to the cache file if you give it
9888 # the --recheck option to rerun configure.
9890 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9891 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9896 # The following way of writing the cache mishandles newlines in values,
9897 # but we know of no workaround that is simple, portable, and efficient.
9898 # So, don't put newlines in cache variables' values.
9899 # Ultrix sh set writes to stderr and can't be redirected directly,
9900 # and sets the high bit in the cache file unless we assign to the vars.
9903 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9905 # `set' does not quote correctly, so add quotes (double-quote
9906 # substitution turns \\\\ into \\, and sed turns \\ into \).
9909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9912 # `set' quotes correctly as required by POSIX, so do not add quotes.
9914 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9923 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9925 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9926 if test -w $cache_file; then
9927 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9928 cat confcache
>$cache_file
9930 echo "not updating unwritable cache $cache_file"
9935 if test "$build" != "$host" ; then
9936 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9940 RANLIB
=$host_alias-ranlib
9941 DLLTOOL
=$host_alias-dlltool
9942 RESCOMP
=$host_alias-windres
9945 STRIP
=$host_alias-strip
9947 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9948 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9949 { (exit 1); exit 1; }; }
9955 ac_cpp
='$CPP $CPPFLAGS'
9956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9959 if test -n "$ac_tool_prefix"; then
9960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9961 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9962 echo "$as_me:$LINENO: checking for $ac_word" >&5
9963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9964 if test "${ac_cv_prog_CC+set}" = set; then
9965 echo $ECHO_N "(cached) $ECHO_C" >&6
9967 if test -n "$CC"; then
9968 ac_cv_prog_CC
="$CC" # Let the user override the test.
9970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9974 test -z "$as_dir" && as_dir
=.
9975 for ac_exec_ext
in '' $ac_executable_extensions; do
9976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9977 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9987 if test -n "$CC"; then
9988 echo "$as_me:$LINENO: result: $CC" >&5
9989 echo "${ECHO_T}$CC" >&6
9991 echo "$as_me:$LINENO: result: no" >&5
9992 echo "${ECHO_T}no" >&6
9996 if test -z "$ac_cv_prog_CC"; then
9998 # Extract the first word of "gcc", so it can be a program name with args.
9999 set dummy gcc
; ac_word
=$2
10000 echo "$as_me:$LINENO: checking for $ac_word" >&5
10001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 if test -n "$ac_ct_CC"; then
10006 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10009 for as_dir
in $PATH
10012 test -z "$as_dir" && as_dir
=.
10013 for ac_exec_ext
in '' $ac_executable_extensions; do
10014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10015 ac_cv_prog_ac_ct_CC
="gcc"
10016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10025 if test -n "$ac_ct_CC"; then
10026 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10027 echo "${ECHO_T}$ac_ct_CC" >&6
10029 echo "$as_me:$LINENO: result: no" >&5
10030 echo "${ECHO_T}no" >&6
10035 CC
="$ac_cv_prog_CC"
10038 if test -z "$CC"; then
10039 if test -n "$ac_tool_prefix"; then
10040 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10041 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10042 echo "$as_me:$LINENO: checking for $ac_word" >&5
10043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10044 if test "${ac_cv_prog_CC+set}" = set; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6
10047 if test -n "$CC"; then
10048 ac_cv_prog_CC
="$CC" # Let the user override the test.
10050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10051 for as_dir
in $PATH
10054 test -z "$as_dir" && as_dir
=.
10055 for ac_exec_ext
in '' $ac_executable_extensions; do
10056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10057 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10067 if test -n "$CC"; then
10068 echo "$as_me:$LINENO: result: $CC" >&5
10069 echo "${ECHO_T}$CC" >&6
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10076 if test -z "$ac_cv_prog_CC"; then
10078 # Extract the first word of "cc", so it can be a program name with args.
10079 set dummy cc
; ac_word
=$2
10080 echo "$as_me:$LINENO: checking for $ac_word" >&5
10081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10085 if test -n "$ac_ct_CC"; then
10086 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10089 for as_dir
in $PATH
10092 test -z "$as_dir" && as_dir
=.
10093 for ac_exec_ext
in '' $ac_executable_extensions; do
10094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10095 ac_cv_prog_ac_ct_CC
="cc"
10096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10104 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10105 if test -n "$ac_ct_CC"; then
10106 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10107 echo "${ECHO_T}$ac_ct_CC" >&6
10109 echo "$as_me:$LINENO: result: no" >&5
10110 echo "${ECHO_T}no" >&6
10115 CC
="$ac_cv_prog_CC"
10119 if test -z "$CC"; then
10120 # Extract the first word of "cc", so it can be a program name with args.
10121 set dummy cc
; ac_word
=$2
10122 echo "$as_me:$LINENO: checking for $ac_word" >&5
10123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10124 if test "${ac_cv_prog_CC+set}" = set; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10127 if test -n "$CC"; then
10128 ac_cv_prog_CC
="$CC" # Let the user override the test.
10130 ac_prog_rejected
=no
10131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10132 for as_dir
in $PATH
10135 test -z "$as_dir" && as_dir
=.
10136 for ac_exec_ext
in '' $ac_executable_extensions; do
10137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10138 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10139 ac_prog_rejected
=yes
10143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10149 if test $ac_prog_rejected = yes; then
10150 # We found a bogon in the path, so make sure we never use it.
10151 set dummy
$ac_cv_prog_CC
10153 if test $# != 0; then
10154 # We chose a different compiler from the bogus one.
10155 # However, it has the same basename, so the bogon will be chosen
10156 # first if we set CC to just the basename; use the full file name.
10158 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10164 if test -n "$CC"; then
10165 echo "$as_me:$LINENO: result: $CC" >&5
10166 echo "${ECHO_T}$CC" >&6
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10173 if test -z "$CC"; then
10174 if test -n "$ac_tool_prefix"; then
10177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10178 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10179 echo "$as_me:$LINENO: checking for $ac_word" >&5
10180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10181 if test "${ac_cv_prog_CC+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10184 if test -n "$CC"; then
10185 ac_cv_prog_CC
="$CC" # Let the user override the test.
10187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10188 for as_dir
in $PATH
10191 test -z "$as_dir" && as_dir
=.
10192 for ac_exec_ext
in '' $ac_executable_extensions; do
10193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10194 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 if test -n "$CC"; then
10205 echo "$as_me:$LINENO: result: $CC" >&5
10206 echo "${ECHO_T}$CC" >&6
10208 echo "$as_me:$LINENO: result: no" >&5
10209 echo "${ECHO_T}no" >&6
10212 test -n "$CC" && break
10215 if test -z "$CC"; then
10219 # Extract the first word of "$ac_prog", so it can be a program name with args.
10220 set dummy
$ac_prog; ac_word
=$2
10221 echo "$as_me:$LINENO: checking for $ac_word" >&5
10222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 if test -n "$ac_ct_CC"; then
10227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10230 for as_dir
in $PATH
10233 test -z "$as_dir" && as_dir
=.
10234 for ac_exec_ext
in '' $ac_executable_extensions; do
10235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10236 ac_cv_prog_ac_ct_CC
="$ac_prog"
10237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10246 if test -n "$ac_ct_CC"; then
10247 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10248 echo "${ECHO_T}$ac_ct_CC" >&6
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10254 test -n "$ac_ct_CC" && break
10263 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10264 See \`config.log' for more details." >&5
10265 echo "$as_me: error: no acceptable C compiler found in \$PATH
10266 See \`config.log' for more details." >&2;}
10267 { (exit 1); exit 1; }; }
10269 # Provide some information about the compiler.
10270 echo "$as_me:$LINENO:" \
10271 "checking for C compiler version" >&5
10272 ac_compiler
=`set X $ac_compile; echo $2`
10273 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10274 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }
10278 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10279 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); }
10283 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10284 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }
10289 cat >conftest.
$ac_ext <<_ACEOF
10292 cat confdefs.h
>>conftest.
$ac_ext
10293 cat >>conftest.
$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10304 ac_clean_files_save
=$ac_clean_files
10305 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10306 # Try to create an executable without -o first, disregard a.out.
10307 # It will help us diagnose broken compilers, and finding out an intuition
10309 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10310 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10311 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10312 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10313 (eval $ac_link_default) 2>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); }; then
10317 # Find the output, starting from the most likely. This scheme is
10318 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10321 # Be careful to initialize this variable, since it used to be cached.
10322 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10324 # b.out is created by i960 compilers.
10325 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10327 test -f "$ac_file" || continue
10329 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10332 # This is the source file.
10335 # We found the default executable, but exeext='' is most
10339 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10340 # FIXME: I believe we export ac_cv_exeext for Libtool,
10341 # but it would be cool to find out if it's true. Does anybody
10342 # maintain Libtool? --akim.
10343 export ac_cv_exeext
10350 echo "$as_me: failed program was:" >&5
10351 sed 's/^/| /' conftest.
$ac_ext >&5
10353 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10354 See \`config.log' for more details." >&5
10355 echo "$as_me: error: C compiler cannot create executables
10356 See \`config.log' for more details." >&2;}
10357 { (exit 77); exit 77; }; }
10360 ac_exeext
=$ac_cv_exeext
10361 echo "$as_me:$LINENO: result: $ac_file" >&5
10362 echo "${ECHO_T}$ac_file" >&6
10364 # Check the compiler produces executables we can run. If not, either
10365 # the compiler is broken, or we cross compile.
10366 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10367 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10368 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10369 # If not cross compiling, check that we can run a simple program.
10370 if test "$cross_compiling" != yes; then
10371 if { ac_try
='./$ac_file'
10372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10373 (eval $ac_try) 2>&5
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); }; }; then
10379 if test "$cross_compiling" = maybe
; then
10380 cross_compiling
=yes
10382 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10383 If you meant to cross compile, use \`--host'.
10384 See \`config.log' for more details." >&5
10385 echo "$as_me: error: cannot run C compiled programs.
10386 If you meant to cross compile, use \`--host'.
10387 See \`config.log' for more details." >&2;}
10388 { (exit 1); exit 1; }; }
10392 echo "$as_me:$LINENO: result: yes" >&5
10393 echo "${ECHO_T}yes" >&6
10395 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10396 ac_clean_files
=$ac_clean_files_save
10397 # Check the compiler produces executables we can run. If not, either
10398 # the compiler is broken, or we cross compile.
10399 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10400 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10401 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10402 echo "${ECHO_T}$cross_compiling" >&6
10404 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10405 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10407 (eval $ac_link) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; then
10411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10413 # work properly (i.e., refer to `conftest.exe'), while it won't with
10415 for ac_file
in conftest.exe conftest conftest.
*; do
10416 test -f "$ac_file" || continue
10418 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10419 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10420 export ac_cv_exeext
10426 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10427 See \`config.log' for more details." >&5
10428 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10429 See \`config.log' for more details." >&2;}
10430 { (exit 1); exit 1; }; }
10433 rm -f conftest
$ac_cv_exeext
10434 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10435 echo "${ECHO_T}$ac_cv_exeext" >&6
10437 rm -f conftest.
$ac_ext
10438 EXEEXT
=$ac_cv_exeext
10440 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10441 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10442 if test "${ac_cv_objext+set}" = set; then
10443 echo $ECHO_N "(cached) $ECHO_C" >&6
10445 cat >conftest.
$ac_ext <<_ACEOF
10448 cat confdefs.h
>>conftest.
$ac_ext
10449 cat >>conftest.
$ac_ext <<_ACEOF
10450 /* end confdefs.h. */
10460 rm -f conftest.o conftest.obj
10461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10462 (eval $ac_compile) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; then
10466 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10468 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10469 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10477 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10478 See \`config.log' for more details." >&5
10479 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10480 See \`config.log' for more details." >&2;}
10481 { (exit 1); exit 1; }; }
10484 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10486 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10487 echo "${ECHO_T}$ac_cv_objext" >&6
10488 OBJEXT
=$ac_cv_objext
10490 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10491 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10492 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10493 echo $ECHO_N "(cached) $ECHO_C" >&6
10495 cat >conftest.
$ac_ext <<_ACEOF
10498 cat confdefs.h
>>conftest.
$ac_ext
10499 cat >>conftest.
$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10513 rm -f conftest.
$ac_objext
10514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10515 (eval $ac_compile) 2>conftest.er1
10517 grep -v '^ *+' conftest.er1
>conftest.err
10519 cat conftest.err
>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } &&
10522 { ac_try
='test -z "$ac_c_werror_flag"
10523 || test ! -s conftest.err'
10524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); }; } &&
10529 { ac_try
='test -s conftest.$ac_objext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 ac_compiler_gnu
=yes
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.
$ac_ext >&5
10542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10543 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10546 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10547 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10548 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10549 ac_test_CFLAGS
=${CFLAGS+set}
10550 ac_save_CFLAGS
=$CFLAGS
10552 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10553 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10554 if test "${ac_cv_prog_cc_g+set}" = set; then
10555 echo $ECHO_N "(cached) $ECHO_C" >&6
10557 cat >conftest.
$ac_ext <<_ACEOF
10560 cat confdefs.h
>>conftest.
$ac_ext
10561 cat >>conftest.
$ac_ext <<_ACEOF
10562 /* end confdefs.h. */
10572 rm -f conftest.
$ac_objext
10573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10574 (eval $ac_compile) 2>conftest.er1
10576 grep -v '^ *+' conftest.er1
>conftest.err
10578 cat conftest.err
>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } &&
10581 { ac_try
='test -z "$ac_c_werror_flag"
10582 || test ! -s conftest.err'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; } &&
10588 { ac_try
='test -s conftest.$ac_objext'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; }; then
10594 ac_cv_prog_cc_g
=yes
10596 echo "$as_me: failed program was:" >&5
10597 sed 's/^/| /' conftest.
$ac_ext >&5
10601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10603 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10604 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10605 if test "$ac_test_CFLAGS" = set; then
10606 CFLAGS
=$ac_save_CFLAGS
10607 elif test $ac_cv_prog_cc_g = yes; then
10608 if test "$GCC" = yes; then
10614 if test "$GCC" = yes; then
10620 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10621 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10622 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10623 echo $ECHO_N "(cached) $ECHO_C" >&6
10625 ac_cv_prog_cc_stdc
=no
10627 cat >conftest.
$ac_ext <<_ACEOF
10630 cat confdefs.h
>>conftest.
$ac_ext
10631 cat >>conftest.
$ac_ext <<_ACEOF
10632 /* end confdefs.h. */
10633 #include <stdarg.h>
10635 #include <sys/types.h>
10636 #include <sys/stat.h>
10637 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10638 struct buf { int x; };
10639 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10640 static char *e (p, i)
10646 static char *f (char * (*g) (char **, int), char **p, ...)
10651 s = g (p, va_arg (v,int));
10656 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10657 function prototypes and stuff, but not '\xHH' hex character constants.
10658 These don't provoke an error unfortunately, instead are silently treated
10659 as 'x'. The following induces an error, until -std1 is added to get
10660 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10661 array size at least. It's necessary to write '\x00'==0 to get something
10662 that's true only with -std1. */
10663 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10665 int test (int i, double x);
10666 struct s1 {int (*f) (int a);};
10667 struct s2 {int (*f) (double a);};
10668 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10674 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10679 # Don't try gcc -ansi; that turns off useful extensions and
10680 # breaks some systems' header files.
10681 # AIX -qlanglvl=ansi
10682 # Ultrix and OSF/1 -std1
10683 # HP-UX 10.20 and later -Ae
10684 # HP-UX older versions -Aa -D_HPUX_SOURCE
10685 # SVR4 -Xc -D__EXTENSIONS__
10686 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10688 CC
="$ac_save_CC $ac_arg"
10689 rm -f conftest.
$ac_objext
10690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10691 (eval $ac_compile) 2>conftest.er1
10693 grep -v '^ *+' conftest.er1
>conftest.err
10695 cat conftest.err
>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } &&
10698 { ac_try
='test -z "$ac_c_werror_flag"
10699 || test ! -s conftest.err'
10700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701 (eval $ac_try) 2>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); }; } &&
10705 { ac_try
='test -s conftest.$ac_objext'
10706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707 (eval $ac_try) 2>&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); }; }; then
10711 ac_cv_prog_cc_stdc
=$ac_arg
10714 echo "$as_me: failed program was:" >&5
10715 sed 's/^/| /' conftest.
$ac_ext >&5
10718 rm -f conftest.err conftest.
$ac_objext
10720 rm -f conftest.
$ac_ext conftest.
$ac_objext
10725 case "x$ac_cv_prog_cc_stdc" in
10727 echo "$as_me:$LINENO: result: none needed" >&5
10728 echo "${ECHO_T}none needed" >&6 ;;
10730 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10731 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10732 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10735 # Some people use a C++ compiler to compile C. Since we use `exit',
10736 # in C++ we need to declare it. In case someone uses the same compiler
10737 # for both compiling C and C++ we need to have the C++ compiler decide
10738 # the declaration of exit, since it's the most demanding environment.
10739 cat >conftest.
$ac_ext <<_ACEOF
10740 #ifndef __cplusplus
10744 rm -f conftest.
$ac_objext
10745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10746 (eval $ac_compile) 2>conftest.er1
10748 grep -v '^ *+' conftest.er1
>conftest.err
10750 cat conftest.err
>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } &&
10753 { ac_try
='test -z "$ac_c_werror_flag"
10754 || test ! -s conftest.err'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; } &&
10760 { ac_try
='test -s conftest.$ac_objext'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then
10766 for ac_declaration
in \
10768 'extern "C" void std::exit (int) throw (); using std::exit;' \
10769 'extern "C" void std::exit (int); using std::exit;' \
10770 'extern "C" void exit (int) throw ();' \
10771 'extern "C" void exit (int);' \
10774 cat >conftest.
$ac_ext <<_ACEOF
10777 cat confdefs.h
>>conftest.
$ac_ext
10778 cat >>conftest.
$ac_ext <<_ACEOF
10779 /* end confdefs.h. */
10781 #include <stdlib.h>
10790 rm -f conftest.
$ac_objext
10791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10792 (eval $ac_compile) 2>conftest.er1
10794 grep -v '^ *+' conftest.er1
>conftest.err
10796 cat conftest.err
>&5
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); } &&
10799 { ac_try
='test -z "$ac_c_werror_flag"
10800 || test ! -s conftest.err'
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; } &&
10806 { ac_try
='test -s conftest.$ac_objext'
10807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10808 (eval $ac_try) 2>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }; }; then
10814 echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.
$ac_ext >&5
10819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10820 cat >conftest.
$ac_ext <<_ACEOF
10823 cat confdefs.h
>>conftest.
$ac_ext
10824 cat >>conftest.
$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10835 rm -f conftest.
$ac_objext
10836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10837 (eval $ac_compile) 2>conftest.er1
10839 grep -v '^ *+' conftest.er1
>conftest.err
10841 cat conftest.err
>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } &&
10844 { ac_try
='test -z "$ac_c_werror_flag"
10845 || test ! -s conftest.err'
10846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10847 (eval $ac_try) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; } &&
10851 { ac_try
='test -s conftest.$ac_objext'
10852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 (eval $ac_try) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }; }; then
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10866 if test -n "$ac_declaration"; then
10867 echo '#ifdef __cplusplus' >>confdefs.h
10868 echo $ac_declaration >>confdefs.h
10869 echo '#endif' >>confdefs.h
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.
$ac_ext >&5
10877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10879 ac_cpp
='$CPP $CPPFLAGS'
10880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10887 ac_cpp
='$CPP $CPPFLAGS'
10888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10891 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10892 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10893 # On Suns, sometimes $CPP names a directory.
10894 if test -n "$CPP" && test -d "$CPP"; then
10897 if test -z "$CPP"; then
10898 if test "${ac_cv_prog_CPP+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 # Double quotes because CPP needs to be expanded
10902 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10904 ac_preproc_ok
=false
10905 for ac_c_preproc_warn_flag
in '' yes
10907 # Use a header file that comes with gcc, so configuring glibc
10908 # with a fresh cross-compiler works.
10909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10910 # <limits.h> exists even on freestanding compilers.
10911 # On the NeXT, cc -E runs the code through the compiler's parser,
10912 # not just through cpp. "Syntax error" is here to catch this case.
10913 cat >conftest.
$ac_ext <<_ACEOF
10916 cat confdefs.h
>>conftest.
$ac_ext
10917 cat >>conftest.
$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10920 # include <limits.h>
10922 # include <assert.h>
10926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10929 grep -v '^ *+' conftest.er1
>conftest.err
10931 cat conftest.err
>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } >/dev
/null
; then
10934 if test -s conftest.err
; then
10935 ac_cpp_err
=$ac_c_preproc_warn_flag
10936 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10943 if test -z "$ac_cpp_err"; then
10946 echo "$as_me: failed program was:" >&5
10947 sed 's/^/| /' conftest.
$ac_ext >&5
10949 # Broken: fails on valid input.
10952 rm -f conftest.err conftest.
$ac_ext
10954 # OK, works on sane cases. Now check whether non-existent headers
10955 # can be detected and how.
10956 cat >conftest.
$ac_ext <<_ACEOF
10959 cat confdefs.h
>>conftest.
$ac_ext
10960 cat >>conftest.
$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10962 #include <ac_nonexistent.h>
10964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10967 grep -v '^ *+' conftest.er1
>conftest.err
10969 cat conftest.err
>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } >/dev
/null
; then
10972 if test -s conftest.err
; then
10973 ac_cpp_err
=$ac_c_preproc_warn_flag
10974 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10981 if test -z "$ac_cpp_err"; then
10982 # Broken: success on invalid input.
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.
$ac_ext >&5
10988 # Passes both tests.
10992 rm -f conftest.err conftest.
$ac_ext
10995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10996 rm -f conftest.err conftest.
$ac_ext
10997 if $ac_preproc_ok; then
11002 ac_cv_prog_CPP
=$CPP
11005 CPP
=$ac_cv_prog_CPP
11007 ac_cv_prog_CPP
=$CPP
11009 echo "$as_me:$LINENO: result: $CPP" >&5
11010 echo "${ECHO_T}$CPP" >&6
11011 ac_preproc_ok
=false
11012 for ac_c_preproc_warn_flag
in '' yes
11014 # Use a header file that comes with gcc, so configuring glibc
11015 # with a fresh cross-compiler works.
11016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11017 # <limits.h> exists even on freestanding compilers.
11018 # On the NeXT, cc -E runs the code through the compiler's parser,
11019 # not just through cpp. "Syntax error" is here to catch this case.
11020 cat >conftest.
$ac_ext <<_ACEOF
11023 cat confdefs.h
>>conftest.
$ac_ext
11024 cat >>conftest.
$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 # include <limits.h>
11029 # include <assert.h>
11033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11036 grep -v '^ *+' conftest.er1
>conftest.err
11038 cat conftest.err
>&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } >/dev
/null
; then
11041 if test -s conftest.err
; then
11042 ac_cpp_err
=$ac_c_preproc_warn_flag
11043 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11050 if test -z "$ac_cpp_err"; then
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.
$ac_ext >&5
11056 # Broken: fails on valid input.
11059 rm -f conftest.err conftest.
$ac_ext
11061 # OK, works on sane cases. Now check whether non-existent headers
11062 # can be detected and how.
11063 cat >conftest.
$ac_ext <<_ACEOF
11066 cat confdefs.h
>>conftest.
$ac_ext
11067 cat >>conftest.
$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 #include <ac_nonexistent.h>
11071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11074 grep -v '^ *+' conftest.er1
>conftest.err
11076 cat conftest.err
>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } >/dev
/null
; then
11079 if test -s conftest.err
; then
11080 ac_cpp_err
=$ac_c_preproc_warn_flag
11081 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11088 if test -z "$ac_cpp_err"; then
11089 # Broken: success on invalid input.
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.
$ac_ext >&5
11095 # Passes both tests.
11099 rm -f conftest.err conftest.
$ac_ext
11102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11103 rm -f conftest.err conftest.
$ac_ext
11104 if $ac_preproc_ok; then
11107 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11108 See \`config.log' for more details." >&5
11109 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11110 See \`config.log' for more details." >&2;}
11111 { (exit 1); exit 1; }; }
11115 ac_cpp
='$CPP $CPPFLAGS'
11116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11121 echo "$as_me:$LINENO: checking for egrep" >&5
11122 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11123 if test "${ac_cv_prog_egrep+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11127 then ac_cv_prog_egrep
='grep -E'
11128 else ac_cv_prog_egrep
='egrep'
11131 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11132 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11133 EGREP
=$ac_cv_prog_egrep
11136 if test $ac_cv_c_compiler_gnu = yes; then
11137 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11138 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11139 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 ac_pattern
="Autoconf.*'x'"
11143 cat >conftest.
$ac_ext <<_ACEOF
11146 cat confdefs.h
>>conftest.
$ac_ext
11147 cat >>conftest.
$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11153 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11154 ac_cv_prog_gcc_traditional
=yes
11156 ac_cv_prog_gcc_traditional
=no
11161 if test $ac_cv_prog_gcc_traditional = no
; then
11162 cat >conftest.
$ac_ext <<_ACEOF
11165 cat confdefs.h
>>conftest.
$ac_ext
11166 cat >>conftest.
$ac_ext <<_ACEOF
11167 /* end confdefs.h. */
11168 #include <termio.h>
11171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11172 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11173 ac_cv_prog_gcc_traditional
=yes
11179 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11180 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11181 if test $ac_cv_prog_gcc_traditional = yes; then
11182 CC
="$CC -traditional"
11190 ac_cpp
='$CXXCPP $CPPFLAGS'
11191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11196 CXXFLAGS
=${CXXFLAGS:=}
11198 ac_cpp
='$CXXCPP $CPPFLAGS'
11199 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11200 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11201 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11202 if test -n "$ac_tool_prefix"; then
11203 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11206 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11207 echo "$as_me:$LINENO: checking for $ac_word" >&5
11208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11209 if test "${ac_cv_prog_CXX+set}" = set; then
11210 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 if test -n "$CXX"; then
11213 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11216 for as_dir
in $PATH
11219 test -z "$as_dir" && as_dir
=.
11220 for ac_exec_ext
in '' $ac_executable_extensions; do
11221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11222 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11231 CXX
=$ac_cv_prog_CXX
11232 if test -n "$CXX"; then
11233 echo "$as_me:$LINENO: result: $CXX" >&5
11234 echo "${ECHO_T}$CXX" >&6
11236 echo "$as_me:$LINENO: result: no" >&5
11237 echo "${ECHO_T}no" >&6
11240 test -n "$CXX" && break
11243 if test -z "$CXX"; then
11245 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11247 # Extract the first word of "$ac_prog", so it can be a program name with args.
11248 set dummy
$ac_prog; ac_word
=$2
11249 echo "$as_me:$LINENO: checking for $ac_word" >&5
11250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11252 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 if test -n "$ac_ct_CXX"; then
11255 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11258 for as_dir
in $PATH
11261 test -z "$as_dir" && as_dir
=.
11262 for ac_exec_ext
in '' $ac_executable_extensions; do
11263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11264 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11273 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11274 if test -n "$ac_ct_CXX"; then
11275 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11276 echo "${ECHO_T}$ac_ct_CXX" >&6
11278 echo "$as_me:$LINENO: result: no" >&5
11279 echo "${ECHO_T}no" >&6
11282 test -n "$ac_ct_CXX" && break
11284 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11290 # Provide some information about the compiler.
11291 echo "$as_me:$LINENO:" \
11292 "checking for C++ compiler version" >&5
11293 ac_compiler
=`set X $ac_compile; echo $2`
11294 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11295 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); }
11299 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11300 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }
11304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11305 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }
11310 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11311 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11312 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 cat >conftest.
$ac_ext <<_ACEOF
11318 cat confdefs.h
>>conftest.
$ac_ext
11319 cat >>conftest.
$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11333 rm -f conftest.
$ac_objext
11334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11335 (eval $ac_compile) 2>conftest.er1
11337 grep -v '^ *+' conftest.er1
>conftest.err
11339 cat conftest.err
>&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try
='test -z "$ac_cxx_werror_flag"
11343 || test ! -s conftest.err'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try
='test -s conftest.$ac_objext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_compiler_gnu
=yes
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.
$ac_ext >&5
11362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11363 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11366 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11367 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11368 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11369 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11370 ac_save_CXXFLAGS
=$CXXFLAGS
11372 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11373 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11374 if test "${ac_cv_prog_cxx_g+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11377 cat >conftest.
$ac_ext <<_ACEOF
11380 cat confdefs.h
>>conftest.
$ac_ext
11381 cat >>conftest.
$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11392 rm -f conftest.
$ac_objext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11394 (eval $ac_compile) 2>conftest.er1
11396 grep -v '^ *+' conftest.er1
>conftest.err
11398 cat conftest.err
>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } &&
11401 { ac_try
='test -z "$ac_cxx_werror_flag"
11402 || test ! -s conftest.err'
11403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11404 (eval $ac_try) 2>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); }; } &&
11408 { ac_try
='test -s conftest.$ac_objext'
11409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11410 (eval $ac_try) 2>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; }; then
11414 ac_cv_prog_cxx_g
=yes
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.
$ac_ext >&5
11419 ac_cv_prog_cxx_g
=no
11421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11423 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11424 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11425 if test "$ac_test_CXXFLAGS" = set; then
11426 CXXFLAGS
=$ac_save_CXXFLAGS
11427 elif test $ac_cv_prog_cxx_g = yes; then
11428 if test "$GXX" = yes; then
11434 if test "$GXX" = yes; then
11440 for ac_declaration
in \
11442 'extern "C" void std::exit (int) throw (); using std::exit;' \
11443 'extern "C" void std::exit (int); using std::exit;' \
11444 'extern "C" void exit (int) throw ();' \
11445 'extern "C" void exit (int);' \
11448 cat >conftest.
$ac_ext <<_ACEOF
11451 cat confdefs.h
>>conftest.
$ac_ext
11452 cat >>conftest.
$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11455 #include <stdlib.h>
11464 rm -f conftest.
$ac_objext
11465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11466 (eval $ac_compile) 2>conftest.er1
11468 grep -v '^ *+' conftest.er1
>conftest.err
11470 cat conftest.err
>&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); } &&
11473 { ac_try
='test -z "$ac_cxx_werror_flag"
11474 || test ! -s conftest.err'
11475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476 (eval $ac_try) 2>&5
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); }; } &&
11480 { ac_try
='test -s conftest.$ac_objext'
11481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11482 (eval $ac_try) 2>&5
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }; }; then
11488 echo "$as_me: failed program was:" >&5
11489 sed 's/^/| /' conftest.
$ac_ext >&5
11493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11494 cat >conftest.
$ac_ext <<_ACEOF
11497 cat confdefs.h
>>conftest.
$ac_ext
11498 cat >>conftest.
$ac_ext <<_ACEOF
11499 /* end confdefs.h. */
11509 rm -f conftest.
$ac_objext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11511 (eval $ac_compile) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1
>conftest.err
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try
='test -z "$ac_cxx_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.
$ac_ext >&5
11537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11540 if test -n "$ac_declaration"; then
11541 echo '#ifdef __cplusplus' >>confdefs.h
11542 echo $ac_declaration >>confdefs.h
11543 echo '#endif' >>confdefs.h
11547 ac_cpp
='$CXXCPP $CPPFLAGS'
11548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11554 ac_cpp
='$CPP $CPPFLAGS'
11555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11560 if test -n "$ac_tool_prefix"; then
11561 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11562 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11563 echo "$as_me:$LINENO: checking for $ac_word" >&5
11564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11565 if test "${ac_cv_prog_RANLIB+set}" = set; then
11566 echo $ECHO_N "(cached) $ECHO_C" >&6
11568 if test -n "$RANLIB"; then
11569 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11572 for as_dir
in $PATH
11575 test -z "$as_dir" && as_dir
=.
11576 for ac_exec_ext
in '' $ac_executable_extensions; do
11577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11578 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11587 RANLIB
=$ac_cv_prog_RANLIB
11588 if test -n "$RANLIB"; then
11589 echo "$as_me:$LINENO: result: $RANLIB" >&5
11590 echo "${ECHO_T}$RANLIB" >&6
11592 echo "$as_me:$LINENO: result: no" >&5
11593 echo "${ECHO_T}no" >&6
11597 if test -z "$ac_cv_prog_RANLIB"; then
11598 ac_ct_RANLIB
=$RANLIB
11599 # Extract the first word of "ranlib", so it can be a program name with args.
11600 set dummy ranlib
; ac_word
=$2
11601 echo "$as_me:$LINENO: checking for $ac_word" >&5
11602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11603 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11604 echo $ECHO_N "(cached) $ECHO_C" >&6
11606 if test -n "$ac_ct_RANLIB"; then
11607 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11610 for as_dir
in $PATH
11613 test -z "$as_dir" && as_dir
=.
11614 for ac_exec_ext
in '' $ac_executable_extensions; do
11615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11616 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11623 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11626 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11627 if test -n "$ac_ct_RANLIB"; then
11628 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11629 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11631 echo "$as_me:$LINENO: result: no" >&5
11632 echo "${ECHO_T}no" >&6
11635 RANLIB
=$ac_ct_RANLIB
11637 RANLIB
="$ac_cv_prog_RANLIB"
11641 # Extract the first word of "ar", so it can be a program name with args.
11642 set dummy
ar; ac_word
=$2
11643 echo "$as_me:$LINENO: checking for $ac_word" >&5
11644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11645 if test "${ac_cv_prog_AR+set}" = set; then
11646 echo $ECHO_N "(cached) $ECHO_C" >&6
11648 if test -n "$AR"; then
11649 ac_cv_prog_AR
="$AR" # Let the user override the test.
11651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11652 for as_dir
in $PATH
11655 test -z "$as_dir" && as_dir
=.
11656 for ac_exec_ext
in '' $ac_executable_extensions; do
11657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11668 if test -n "$AR"; then
11669 echo "$as_me:$LINENO: result: $AR" >&5
11670 echo "${ECHO_T}$AR" >&6
11672 echo "$as_me:$LINENO: result: no" >&5
11673 echo "${ECHO_T}no" >&6
11676 if test "x$AR" = "x" ; then
11677 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11678 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11679 { (exit 1); exit 1; }; }
11682 # Find a good install program. We prefer a C program (faster),
11683 # so one script is as good as another. But avoid the broken or
11684 # incompatible versions:
11685 # SysV /etc/install, /usr/sbin/install
11686 # SunOS /usr/etc/install
11687 # IRIX /sbin/install
11689 # AmigaOS /C/install, which installs bootblocks on floppy discs
11690 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11691 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11692 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11693 # OS/2's system install, which has a completely different semantic
11694 # ./install, which can be erroneously created by make from ./install.sh.
11695 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11696 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11697 if test -z "$INSTALL"; then
11698 if test "${ac_cv_path_install+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11702 for as_dir
in $PATH
11705 test -z "$as_dir" && as_dir
=.
11706 # Account for people who put trailing slashes in PATH elements.
11708 .
/ | .
// | /cC
/* | \
11709 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11710 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11713 # OSF1 and SCO ODT 3.0 have their own names for install.
11714 # Don't use installbsd from OSF since it installs stuff as root
11716 for ac_prog
in ginstall scoinst
install; do
11717 for ac_exec_ext
in '' $ac_executable_extensions; do
11718 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11719 if test $ac_prog = install &&
11720 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11721 # AIX install. It has an incompatible calling convention.
11723 elif test $ac_prog = install &&
11724 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11725 # program-specific install script used by HP pwplus--don't use.
11728 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11740 if test "${ac_cv_path_install+set}" = set; then
11741 INSTALL
=$ac_cv_path_install
11743 # As a last resort, use the slow shell script. We don't cache a
11744 # path for INSTALL within a source directory, because that will
11745 # break other packages using the cache if that directory is
11746 # removed, or if the path is relative.
11747 INSTALL
=$ac_install_sh
11750 echo "$as_me:$LINENO: result: $INSTALL" >&5
11751 echo "${ECHO_T}$INSTALL" >&6
11753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11754 # It thinks the first close brace ends the variable substitution.
11755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11759 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11765 ?
:* ) # Drive letter, considered as absolute.
11768 INSTALL
=`pwd`/${INSTALL} ;;
11773 INSTALL_DIR
="mkdir"
11776 *) INSTALL_DIR
="$INSTALL -d"
11783 powerpc
-*-darwin* )
11784 INSTALL_PROGRAM
="cp -fp"
11785 INSTALL_DATA
="cp -fp"
11791 # Extract the first word of "strip", so it can be a program name with args.
11792 set dummy strip
; ac_word
=$2
11793 echo "$as_me:$LINENO: checking for $ac_word" >&5
11794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11795 if test "${ac_cv_prog_STRIP+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 if test -n "$STRIP"; then
11799 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11802 for as_dir
in $PATH
11805 test -z "$as_dir" && as_dir
=.
11806 for ac_exec_ext
in '' $ac_executable_extensions; do
11807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11808 ac_cv_prog_STRIP
="strip"
11809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11815 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11818 STRIP
=$ac_cv_prog_STRIP
11819 if test -n "$STRIP"; then
11820 echo "$as_me:$LINENO: result: $STRIP" >&5
11821 echo "${ECHO_T}$STRIP" >&6
11823 echo "$as_me:$LINENO: result: no" >&5
11824 echo "${ECHO_T}no" >&6
11828 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11829 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11830 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11831 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11835 egrep -s GNU
> /dev
/null
); then
11836 wx_cv_prog_makeisgnu
="yes"
11838 wx_cv_prog_makeisgnu
="no"
11842 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11843 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11845 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11853 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11854 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11855 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11856 if test "${wx_cv_prog_makevpath+set}" = set; then
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11860 cat - << EOF > confMake
11866 if test ! -d sub
; then
11869 echo dummy
> sub
/file
11870 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11872 rm -f sub
/file check final_file confMake
11874 if test "$RESULT" = 0; then
11875 wx_cv_prog_makevpath
="yes"
11877 wx_cv_prog_makevpath
="no"
11881 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11882 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11884 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11885 { { echo "$as_me:$LINENO: error:
11886 You need a make-utility that is able to use the variable
11888 If your version of make does not support VPATH correctly,
11889 please install GNU-make (possibly as gmake), and start
11890 configure with the following command:
11891 export MAKE=gmake; ./configure for sh-type shells
11892 setenv MAKE gmake; ./configure for csh-type shells
11893 Also please do remember to use gmake in this case every time
11894 you are trying to compile.
11896 echo "$as_me: error:
11897 You need a make-utility that is able to use the variable
11899 If your version of make does not support VPATH correctly,
11900 please install GNU-make (possibly as gmake), and start
11901 configure with the following command:
11902 export MAKE=gmake; ./configure for sh-type shells
11903 setenv MAKE gmake; ./configure for csh-type shells
11904 Also please do remember to use gmake in this case every time
11905 you are trying to compile.
11907 { (exit 1); exit 1; }; }
11909 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11910 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11912 if test "$LN_S" = "ln -s"; then
11913 echo "$as_me:$LINENO: result: yes" >&5
11914 echo "${ECHO_T}yes" >&6
11916 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11917 echo "${ECHO_T}no, using $LN_S" >&6
11922 *-pc-os2_emx | *-pc-os2-emx )
11923 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11924 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11925 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11926 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11929 ac_check_lib_save_LIBS
=$LIBS
11930 LIBS
="-lcExt $LIBS"
11931 cat >conftest.
$ac_ext <<_ACEOF
11934 cat confdefs.h
>>conftest.
$ac_ext
11935 cat >>conftest.
$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11938 /* Override any gcc2 internal prototype to avoid an error. */
11942 /* We use char because int might match the return type of a gcc2
11943 builtin and then its argument prototype would still apply. */
11953 rm -f conftest.
$ac_objext conftest
$ac_exeext
11954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11955 (eval $ac_link) 2>conftest.er1
11957 grep -v '^ *+' conftest.er1
>conftest.err
11959 cat conftest.err
>&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); } &&
11962 { ac_try
='test -z "$ac_c_werror_flag"
11963 || test ! -s conftest.err'
11964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 (eval $ac_try) 2>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); }; } &&
11969 { ac_try
='test -s conftest$ac_exeext'
11970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; }; then
11975 ac_cv_lib_cExt_drand48
=yes
11977 echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.
$ac_ext >&5
11980 ac_cv_lib_cExt_drand48
=no
11982 rm -f conftest.err conftest.
$ac_objext \
11983 conftest
$ac_exeext conftest.
$ac_ext
11984 LIBS
=$ac_check_lib_save_LIBS
11986 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11987 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11988 if test $ac_cv_lib_cExt_drand48 = yes; then
11989 LIBS
="$LIBS -lcExt"
11993 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11995 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11996 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11997 if test "${wx_cv_gcc3+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 cat >conftest.
$ac_ext <<_ACEOF
12004 cat confdefs.h
>>conftest.
$ac_ext
12005 cat >>conftest.
$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12020 rm -f conftest.
$ac_objext
12021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12022 (eval $ac_compile) 2>conftest.er1
12024 grep -v '^ *+' conftest.er1
>conftest.err
12026 cat conftest.err
>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } &&
12029 { ac_try
='test -z "$ac_c_werror_flag"
12030 || test ! -s conftest.err'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; } &&
12036 { ac_try
='test -s conftest.$ac_objext'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; }; then
12046 echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.
$ac_ext >&5
12054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12057 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12058 echo "${ECHO_T}$wx_cv_gcc3" >&6
12059 if test "$wx_cv_gcc3" = "no"; then
12060 LIBS
="$LIBS -lstdcpp"
12062 LIBS
="$LIBS -lstdcxx"
12068 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
12069 echo "$as_me:$LINENO: checking for strings.h" >&5
12070 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
12071 if test "${ac_cv_header_strings_h+set}" = set; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12074 ac_cv_header_strings_h
=no
12076 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
12077 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
12078 if test "$ac_cv_header_strings_h" = "no"; then
12079 echo "$as_me:$LINENO: result: forced no into cache" >&5
12080 echo "${ECHO_T}forced no into cache" >&6
12082 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
12083 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
12086 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12087 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12088 if test "${ac_cv_header_stdc+set}" = set; then
12089 echo $ECHO_N "(cached) $ECHO_C" >&6
12091 cat >conftest.
$ac_ext <<_ACEOF
12094 cat confdefs.h
>>conftest.
$ac_ext
12095 cat >>conftest.
$ac_ext <<_ACEOF
12096 /* end confdefs.h. */
12097 #include <stdlib.h>
12098 #include <stdarg.h>
12099 #include <string.h>
12110 rm -f conftest.
$ac_objext
12111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12112 (eval $ac_compile) 2>conftest.er1
12114 grep -v '^ *+' conftest.er1
>conftest.err
12116 cat conftest.err
>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } &&
12119 { ac_try
='test -z "$ac_c_werror_flag"
12120 || test ! -s conftest.err'
12121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122 (eval $ac_try) 2>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); }; } &&
12126 { ac_try
='test -s conftest.$ac_objext'
12127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12128 (eval $ac_try) 2>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); }; }; then
12132 ac_cv_header_stdc
=yes
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.
$ac_ext >&5
12137 ac_cv_header_stdc
=no
12139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12141 if test $ac_cv_header_stdc = yes; then
12142 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12143 cat >conftest.
$ac_ext <<_ACEOF
12146 cat confdefs.h
>>conftest.
$ac_ext
12147 cat >>conftest.
$ac_ext <<_ACEOF
12148 /* end confdefs.h. */
12149 #include <string.h>
12152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12153 $EGREP "memchr" >/dev
/null
2>&1; then
12156 ac_cv_header_stdc
=no
12162 if test $ac_cv_header_stdc = yes; then
12163 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12164 cat >conftest.
$ac_ext <<_ACEOF
12167 cat confdefs.h
>>conftest.
$ac_ext
12168 cat >>conftest.
$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12170 #include <stdlib.h>
12173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12174 $EGREP "free" >/dev
/null
2>&1; then
12177 ac_cv_header_stdc
=no
12183 if test $ac_cv_header_stdc = yes; then
12184 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12185 if test "$cross_compiling" = yes; then
12188 cat >conftest.
$ac_ext <<_ACEOF
12191 cat confdefs.h
>>conftest.
$ac_ext
12192 cat >>conftest.
$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12195 #if ((' ' & 0x0FF) == 0x020)
12196 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12197 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12199 # define ISLOWER(c) \
12200 (('a' <= (c) && (c) <= 'i') \
12201 || ('j' <= (c) && (c) <= 'r') \
12202 || ('s' <= (c) && (c) <= 'z'))
12203 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12211 for (i = 0; i < 256; i++)
12212 if (XOR (islower (i), ISLOWER (i))
12213 || toupper (i) != TOUPPER (i))
12218 rm -f conftest
$ac_exeext
12219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12220 (eval $ac_link) 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12231 echo "$as_me: program exited with status $ac_status" >&5
12232 echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.
$ac_ext >&5
12235 ( exit $ac_status )
12236 ac_cv_header_stdc
=no
12238 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12242 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12243 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12244 if test $ac_cv_header_stdc = yes; then
12246 cat >>confdefs.h
<<\_ACEOF
12247 #define STDC_HEADERS 1
12252 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12262 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12263 inttypes.h stdint.h unistd.h
12265 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12266 echo "$as_me:$LINENO: checking for $ac_header" >&5
12267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12271 cat >conftest.
$ac_ext <<_ACEOF
12274 cat confdefs.h
>>conftest.
$ac_ext
12275 cat >>conftest.
$ac_ext <<_ACEOF
12276 /* end confdefs.h. */
12277 $ac_includes_default
12279 #include <$ac_header>
12281 rm -f conftest.
$ac_objext
12282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12283 (eval $ac_compile) 2>conftest.er1
12285 grep -v '^ *+' conftest.er1
>conftest.err
12287 cat conftest.err
>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); } &&
12290 { ac_try
='test -z "$ac_c_werror_flag"
12291 || test ! -s conftest.err'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; } &&
12297 { ac_try
='test -s conftest.$ac_objext'
12298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299 (eval $ac_try) 2>&5
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); }; }; then
12303 eval "$as_ac_Header=yes"
12305 echo "$as_me: failed program was:" >&5
12306 sed 's/^/| /' conftest.
$ac_ext >&5
12308 eval "$as_ac_Header=no"
12310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12315 cat >>confdefs.h
<<_ACEOF
12316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12325 for ac_header
in strings.h
12327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12329 echo "$as_me:$LINENO: checking for $ac_header" >&5
12330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12337 # Is the header compilable?
12338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12340 cat >conftest.
$ac_ext <<_ACEOF
12343 cat confdefs.h
>>conftest.
$ac_ext
12344 cat >>conftest.
$ac_ext <<_ACEOF
12345 /* end confdefs.h. */
12346 $ac_includes_default
12347 #include <$ac_header>
12349 rm -f conftest.
$ac_objext
12350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12351 (eval $ac_compile) 2>conftest.er1
12353 grep -v '^ *+' conftest.er1
>conftest.err
12355 cat conftest.err
>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); } &&
12358 { ac_try
='test -z "$ac_c_werror_flag"
12359 || test ! -s conftest.err'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try
='test -s conftest.$ac_objext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 ac_header_compiler
=yes
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.
$ac_ext >&5
12376 ac_header_compiler
=no
12378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12380 echo "${ECHO_T}$ac_header_compiler" >&6
12382 # Is the header present?
12383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12385 cat >conftest.
$ac_ext <<_ACEOF
12388 cat confdefs.h
>>conftest.
$ac_ext
12389 cat >>conftest.
$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12391 #include <$ac_header>
12393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12396 grep -v '^ *+' conftest.er1
>conftest.err
12398 cat conftest.err
>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } >/dev
/null
; then
12401 if test -s conftest.err
; then
12402 ac_cpp_err
=$ac_c_preproc_warn_flag
12403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12410 if test -z "$ac_cpp_err"; then
12411 ac_header_preproc
=yes
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.
$ac_ext >&5
12416 ac_header_preproc
=no
12418 rm -f conftest.err conftest.
$ac_ext
12419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12420 echo "${ECHO_T}$ac_header_preproc" >&6
12422 # So? What about this header?
12423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12429 ac_header_preproc
=yes
12432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12446 ## ----------------------------------------- ##
12447 ## Report this to wx-dev@lists.wxwindows.org ##
12448 ## ----------------------------------------- ##
12451 sed "s/^/$as_me: WARNING: /" >&2
12454 echo "$as_me:$LINENO: checking for $ac_header" >&5
12455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 eval "$as_ac_Header=\$ac_header_preproc"
12461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12466 cat >>confdefs.h
<<_ACEOF
12467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12476 for ac_header
in stdlib.h
12478 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12480 echo "$as_me:$LINENO: checking for $ac_header" >&5
12481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12488 # Is the header compilable?
12489 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12490 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12491 cat >conftest.
$ac_ext <<_ACEOF
12494 cat confdefs.h
>>conftest.
$ac_ext
12495 cat >>conftest.
$ac_ext <<_ACEOF
12496 /* end confdefs.h. */
12497 $ac_includes_default
12498 #include <$ac_header>
12500 rm -f conftest.
$ac_objext
12501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12502 (eval $ac_compile) 2>conftest.er1
12504 grep -v '^ *+' conftest.er1
>conftest.err
12506 cat conftest.err
>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } &&
12509 { ac_try
='test -z "$ac_c_werror_flag"
12510 || test ! -s conftest.err'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try
='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_header_compiler
=yes
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.
$ac_ext >&5
12527 ac_header_compiler
=no
12529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12531 echo "${ECHO_T}$ac_header_compiler" >&6
12533 # Is the header present?
12534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12536 cat >conftest.
$ac_ext <<_ACEOF
12539 cat confdefs.h
>>conftest.
$ac_ext
12540 cat >>conftest.
$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12542 #include <$ac_header>
12544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12545 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12547 grep -v '^ *+' conftest.er1
>conftest.err
12549 cat conftest.err
>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); } >/dev
/null
; then
12552 if test -s conftest.err
; then
12553 ac_cpp_err
=$ac_c_preproc_warn_flag
12554 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12561 if test -z "$ac_cpp_err"; then
12562 ac_header_preproc
=yes
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12567 ac_header_preproc
=no
12569 rm -f conftest.err conftest.
$ac_ext
12570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12571 echo "${ECHO_T}$ac_header_preproc" >&6
12573 # So? What about this header?
12574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12579 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12580 ac_header_preproc
=yes
12583 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12584 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12585 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12586 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12587 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12588 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12589 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12590 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12593 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12594 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12597 ## ----------------------------------------- ##
12598 ## Report this to wx-dev@lists.wxwindows.org ##
12599 ## ----------------------------------------- ##
12602 sed "s/^/$as_me: WARNING: /" >&2
12605 echo "$as_me:$LINENO: checking for $ac_header" >&5
12606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12608 echo $ECHO_N "(cached) $ECHO_C" >&6
12610 eval "$as_ac_Header=\$ac_header_preproc"
12612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12617 cat >>confdefs.h
<<_ACEOF
12618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12626 for ac_header
in malloc.h
12628 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12630 echo "$as_me:$LINENO: checking for $ac_header" >&5
12631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12638 # Is the header compilable?
12639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12641 cat >conftest.
$ac_ext <<_ACEOF
12644 cat confdefs.h
>>conftest.
$ac_ext
12645 cat >>conftest.
$ac_ext <<_ACEOF
12646 /* end confdefs.h. */
12647 $ac_includes_default
12648 #include <$ac_header>
12650 rm -f conftest.
$ac_objext
12651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12652 (eval $ac_compile) 2>conftest.er1
12654 grep -v '^ *+' conftest.er1
>conftest.err
12656 cat conftest.err
>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); } &&
12659 { ac_try
='test -z "$ac_c_werror_flag"
12660 || test ! -s conftest.err'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; } &&
12666 { ac_try
='test -s conftest.$ac_objext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12672 ac_header_compiler
=yes
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.
$ac_ext >&5
12677 ac_header_compiler
=no
12679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12681 echo "${ECHO_T}$ac_header_compiler" >&6
12683 # Is the header present?
12684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12686 cat >conftest.
$ac_ext <<_ACEOF
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 #include <$ac_header>
12694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12697 grep -v '^ *+' conftest.er1
>conftest.err
12699 cat conftest.err
>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } >/dev
/null
; then
12702 if test -s conftest.err
; then
12703 ac_cpp_err
=$ac_c_preproc_warn_flag
12704 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12711 if test -z "$ac_cpp_err"; then
12712 ac_header_preproc
=yes
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.
$ac_ext >&5
12717 ac_header_preproc
=no
12719 rm -f conftest.err conftest.
$ac_ext
12720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12721 echo "${ECHO_T}$ac_header_preproc" >&6
12723 # So? What about this header?
12724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12730 ac_header_preproc
=yes
12733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12747 ## ----------------------------------------- ##
12748 ## Report this to wx-dev@lists.wxwindows.org ##
12749 ## ----------------------------------------- ##
12752 sed "s/^/$as_me: WARNING: /" >&2
12755 echo "$as_me:$LINENO: checking for $ac_header" >&5
12756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 eval "$as_ac_Header=\$ac_header_preproc"
12762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12767 cat >>confdefs.h
<<_ACEOF
12768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12776 for ac_header
in unistd.h
12778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12780 echo "$as_me:$LINENO: checking for $ac_header" >&5
12781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12788 # Is the header compilable?
12789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12791 cat >conftest.
$ac_ext <<_ACEOF
12794 cat confdefs.h
>>conftest.
$ac_ext
12795 cat >>conftest.
$ac_ext <<_ACEOF
12796 /* end confdefs.h. */
12797 $ac_includes_default
12798 #include <$ac_header>
12800 rm -f conftest.
$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1
>conftest.err
12806 cat conftest.err
>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try
='test -z "$ac_c_werror_flag"
12810 || test ! -s conftest.err'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; } &&
12816 { ac_try
='test -s conftest.$ac_objext'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; }; then
12822 ac_header_compiler
=yes
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.
$ac_ext >&5
12827 ac_header_compiler
=no
12829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12831 echo "${ECHO_T}$ac_header_compiler" >&6
12833 # Is the header present?
12834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12836 cat >conftest.
$ac_ext <<_ACEOF
12839 cat confdefs.h
>>conftest.
$ac_ext
12840 cat >>conftest.
$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12842 #include <$ac_header>
12844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12847 grep -v '^ *+' conftest.er1
>conftest.err
12849 cat conftest.err
>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } >/dev
/null
; then
12852 if test -s conftest.err
; then
12853 ac_cpp_err
=$ac_c_preproc_warn_flag
12854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12861 if test -z "$ac_cpp_err"; then
12862 ac_header_preproc
=yes
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.
$ac_ext >&5
12867 ac_header_preproc
=no
12869 rm -f conftest.err conftest.
$ac_ext
12870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12871 echo "${ECHO_T}$ac_header_preproc" >&6
12873 # So? What about this header?
12874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12880 ac_header_preproc
=yes
12883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12897 ## ----------------------------------------- ##
12898 ## Report this to wx-dev@lists.wxwindows.org ##
12899 ## ----------------------------------------- ##
12902 sed "s/^/$as_me: WARNING: /" >&2
12905 echo "$as_me:$LINENO: checking for $ac_header" >&5
12906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12908 echo $ECHO_N "(cached) $ECHO_C" >&6
12910 eval "$as_ac_Header=\$ac_header_preproc"
12912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12917 cat >>confdefs.h
<<_ACEOF
12918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12926 for ac_header
in wchar.h
12928 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12930 echo "$as_me:$LINENO: checking for $ac_header" >&5
12931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12933 echo $ECHO_N "(cached) $ECHO_C" >&6
12935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12938 # Is the header compilable?
12939 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12940 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12941 cat >conftest.
$ac_ext <<_ACEOF
12944 cat confdefs.h
>>conftest.
$ac_ext
12945 cat >>conftest.
$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12947 $ac_includes_default
12948 #include <$ac_header>
12950 rm -f conftest.
$ac_objext
12951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12952 (eval $ac_compile) 2>conftest.er1
12954 grep -v '^ *+' conftest.er1
>conftest.err
12956 cat conftest.err
>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } &&
12959 { ac_try
='test -z "$ac_c_werror_flag"
12960 || test ! -s conftest.err'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; } &&
12966 { ac_try
='test -s conftest.$ac_objext'
12967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12968 (eval $ac_try) 2>&5
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); }; }; then
12972 ac_header_compiler
=yes
12974 echo "$as_me: failed program was:" >&5
12975 sed 's/^/| /' conftest.
$ac_ext >&5
12977 ac_header_compiler
=no
12979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12981 echo "${ECHO_T}$ac_header_compiler" >&6
12983 # Is the header present?
12984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12986 cat >conftest.
$ac_ext <<_ACEOF
12989 cat confdefs.h
>>conftest.
$ac_ext
12990 cat >>conftest.
$ac_ext <<_ACEOF
12991 /* end confdefs.h. */
12992 #include <$ac_header>
12994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12997 grep -v '^ *+' conftest.er1
>conftest.err
12999 cat conftest.err
>&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } >/dev
/null
; then
13002 if test -s conftest.err
; then
13003 ac_cpp_err
=$ac_c_preproc_warn_flag
13004 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13011 if test -z "$ac_cpp_err"; then
13012 ac_header_preproc
=yes
13014 echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.
$ac_ext >&5
13017 ac_header_preproc
=no
13019 rm -f conftest.err conftest.
$ac_ext
13020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13021 echo "${ECHO_T}$ac_header_preproc" >&6
13023 # So? What about this header?
13024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13030 ac_header_preproc
=yes
13033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13047 ## ----------------------------------------- ##
13048 ## Report this to wx-dev@lists.wxwindows.org ##
13049 ## ----------------------------------------- ##
13052 sed "s/^/$as_me: WARNING: /" >&2
13055 echo "$as_me:$LINENO: checking for $ac_header" >&5
13056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13060 eval "$as_ac_Header=\$ac_header_preproc"
13062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13067 cat >>confdefs.h
<<_ACEOF
13068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13076 if test "$ac_cv_header_wchar_h" != "yes"; then
13078 for ac_header
in wcstr.h
13080 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13082 echo "$as_me:$LINENO: checking for $ac_header" >&5
13083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13090 # Is the header compilable?
13091 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13093 cat >conftest.
$ac_ext <<_ACEOF
13096 cat confdefs.h
>>conftest.
$ac_ext
13097 cat >>conftest.
$ac_ext <<_ACEOF
13098 /* end confdefs.h. */
13099 $ac_includes_default
13100 #include <$ac_header>
13102 rm -f conftest.
$ac_objext
13103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13104 (eval $ac_compile) 2>conftest.er1
13106 grep -v '^ *+' conftest.er1
>conftest.err
13108 cat conftest.err
>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } &&
13111 { ac_try
='test -z "$ac_c_werror_flag"
13112 || test ! -s conftest.err'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; } &&
13118 { ac_try
='test -s conftest.$ac_objext'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; }; then
13124 ac_header_compiler
=yes
13126 echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.
$ac_ext >&5
13129 ac_header_compiler
=no
13131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13133 echo "${ECHO_T}$ac_header_compiler" >&6
13135 # Is the header present?
13136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13138 cat >conftest.
$ac_ext <<_ACEOF
13141 cat confdefs.h
>>conftest.
$ac_ext
13142 cat >>conftest.
$ac_ext <<_ACEOF
13143 /* end confdefs.h. */
13144 #include <$ac_header>
13146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13149 grep -v '^ *+' conftest.er1
>conftest.err
13151 cat conftest.err
>&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } >/dev
/null
; then
13154 if test -s conftest.err
; then
13155 ac_cpp_err
=$ac_c_preproc_warn_flag
13156 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13163 if test -z "$ac_cpp_err"; then
13164 ac_header_preproc
=yes
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.
$ac_ext >&5
13169 ac_header_preproc
=no
13171 rm -f conftest.err conftest.
$ac_ext
13172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13173 echo "${ECHO_T}$ac_header_preproc" >&6
13175 # So? What about this header?
13176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13182 ac_header_preproc
=yes
13185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13199 ## ----------------------------------------- ##
13200 ## Report this to wx-dev@lists.wxwindows.org ##
13201 ## ----------------------------------------- ##
13204 sed "s/^/$as_me: WARNING: /" >&2
13207 echo "$as_me:$LINENO: checking for $ac_header" >&5
13208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13210 echo $ECHO_N "(cached) $ECHO_C" >&6
13212 eval "$as_ac_Header=\$ac_header_preproc"
13214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13219 cat >>confdefs.h
<<_ACEOF
13220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13230 for ac_header
in fnmatch.h
13232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13234 echo "$as_me:$LINENO: checking for $ac_header" >&5
13235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13242 # Is the header compilable?
13243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13245 cat >conftest.
$ac_ext <<_ACEOF
13248 cat confdefs.h
>>conftest.
$ac_ext
13249 cat >>conftest.
$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 $ac_includes_default
13252 #include <$ac_header>
13254 rm -f conftest.
$ac_objext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13256 (eval $ac_compile) 2>conftest.er1
13258 grep -v '^ *+' conftest.er1
>conftest.err
13260 cat conftest.err
>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try
='test -z "$ac_c_werror_flag"
13264 || test ! -s conftest.err'
13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13266 (eval $ac_try) 2>&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; } &&
13270 { ac_try
='test -s conftest.$ac_objext'
13271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13272 (eval $ac_try) 2>&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); }; }; then
13276 ac_header_compiler
=yes
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13281 ac_header_compiler
=no
13283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13285 echo "${ECHO_T}$ac_header_compiler" >&6
13287 # Is the header present?
13288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13290 cat >conftest.
$ac_ext <<_ACEOF
13293 cat confdefs.h
>>conftest.
$ac_ext
13294 cat >>conftest.
$ac_ext <<_ACEOF
13295 /* end confdefs.h. */
13296 #include <$ac_header>
13298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13301 grep -v '^ *+' conftest.er1
>conftest.err
13303 cat conftest.err
>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); } >/dev
/null
; then
13306 if test -s conftest.err
; then
13307 ac_cpp_err
=$ac_c_preproc_warn_flag
13308 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13315 if test -z "$ac_cpp_err"; then
13316 ac_header_preproc
=yes
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.
$ac_ext >&5
13321 ac_header_preproc
=no
13323 rm -f conftest.err conftest.
$ac_ext
13324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13325 echo "${ECHO_T}$ac_header_preproc" >&6
13327 # So? What about this header?
13328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13334 ac_header_preproc
=yes
13337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13351 ## ----------------------------------------- ##
13352 ## Report this to wx-dev@lists.wxwindows.org ##
13353 ## ----------------------------------------- ##
13356 sed "s/^/$as_me: WARNING: /" >&2
13359 echo "$as_me:$LINENO: checking for $ac_header" >&5
13360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 eval "$as_ac_Header=\$ac_header_preproc"
13366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13371 cat >>confdefs.h
<<_ACEOF
13372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13380 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13382 for ac_func
in fnmatch
13384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13385 echo "$as_me:$LINENO: checking for $ac_func" >&5
13386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13387 if eval "test \"\${$as_ac_var+set}\" = set"; then
13388 echo $ECHO_N "(cached) $ECHO_C" >&6
13390 cat >conftest.
$ac_ext <<_ACEOF
13393 cat confdefs.h
>>conftest.
$ac_ext
13394 cat >>conftest.
$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13398 #define $ac_func innocuous_$ac_func
13400 /* System header to define __stub macros and hopefully few prototypes,
13401 which can conflict with char $ac_func (); below.
13402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13403 <limits.h> exists even on freestanding compilers. */
13406 # include <limits.h>
13408 # include <assert.h>
13413 /* Override any gcc2 internal prototype to avoid an error. */
13418 /* We use char because int might match the return type of a gcc2
13419 builtin and then its argument prototype would still apply. */
13421 /* The GNU C library defines this for functions which it implements
13422 to always fail with ENOSYS. Some functions are actually named
13423 something starting with __ and the normal name is an alias. */
13424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13427 char (*f) () = $ac_func;
13436 return f != $ac_func;
13441 rm -f conftest.
$ac_objext conftest
$ac_exeext
13442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13443 (eval $ac_link) 2>conftest.er1
13445 grep -v '^ *+' conftest.er1
>conftest.err
13447 cat conftest.err
>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } &&
13450 { ac_try
='test -z "$ac_c_werror_flag"
13451 || test ! -s conftest.err'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; } &&
13457 { ac_try
='test -s conftest$ac_exeext'
13458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 (eval $ac_try) 2>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 eval "$as_ac_var=yes"
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.
$ac_ext >&5
13468 eval "$as_ac_var=no"
13470 rm -f conftest.err conftest.
$ac_objext \
13471 conftest
$ac_exeext conftest.
$ac_ext
13473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13475 if test `eval echo '${'$as_ac_var'}'` = yes; then
13476 cat >>confdefs.h
<<_ACEOF
13477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13486 for ac_header
in langinfo.h
13488 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13490 echo "$as_me:$LINENO: checking for $ac_header" >&5
13491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13498 # Is the header compilable?
13499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13501 cat >conftest.
$ac_ext <<_ACEOF
13504 cat confdefs.h
>>conftest.
$ac_ext
13505 cat >>conftest.
$ac_ext <<_ACEOF
13506 /* end confdefs.h. */
13507 $ac_includes_default
13508 #include <$ac_header>
13510 rm -f conftest.
$ac_objext
13511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13512 (eval $ac_compile) 2>conftest.er1
13514 grep -v '^ *+' conftest.er1
>conftest.err
13516 cat conftest.err
>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } &&
13519 { ac_try
='test -z "$ac_c_werror_flag"
13520 || test ! -s conftest.err'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; } &&
13526 { ac_try
='test -s conftest.$ac_objext'
13527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13528 (eval $ac_try) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; }; then
13532 ac_header_compiler
=yes
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.
$ac_ext >&5
13537 ac_header_compiler
=no
13539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13541 echo "${ECHO_T}$ac_header_compiler" >&6
13543 # Is the header present?
13544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13546 cat >conftest.
$ac_ext <<_ACEOF
13549 cat confdefs.h
>>conftest.
$ac_ext
13550 cat >>conftest.
$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 #include <$ac_header>
13554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13557 grep -v '^ *+' conftest.er1
>conftest.err
13559 cat conftest.err
>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } >/dev
/null
; then
13562 if test -s conftest.err
; then
13563 ac_cpp_err
=$ac_c_preproc_warn_flag
13564 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13571 if test -z "$ac_cpp_err"; then
13572 ac_header_preproc
=yes
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.
$ac_ext >&5
13577 ac_header_preproc
=no
13579 rm -f conftest.err conftest.
$ac_ext
13580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13581 echo "${ECHO_T}$ac_header_preproc" >&6
13583 # So? What about this header?
13584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13590 ac_header_preproc
=yes
13593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13607 ## ----------------------------------------- ##
13608 ## Report this to wx-dev@lists.wxwindows.org ##
13609 ## ----------------------------------------- ##
13612 sed "s/^/$as_me: WARNING: /" >&2
13615 echo "$as_me:$LINENO: checking for $ac_header" >&5
13616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 eval "$as_ac_Header=\$ac_header_preproc"
13622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13627 cat >>confdefs.h
<<_ACEOF
13628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13637 *-pc-os2_emx | *-pc-os2-emx )
13638 if test $ac_cv_header_langinfo_h = "yes"; then
13639 LIBS
="$LIBS -lintl"
13644 if test "$wxUSE_GUI" = "yes"; then
13645 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13647 for ac_header
in X
11/Xlib.h
13649 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13651 echo "$as_me:$LINENO: checking for $ac_header" >&5
13652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13659 # Is the header compilable?
13660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13662 cat >conftest.
$ac_ext <<_ACEOF
13665 cat confdefs.h
>>conftest.
$ac_ext
13666 cat >>conftest.
$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 $ac_includes_default
13669 #include <$ac_header>
13671 rm -f conftest.
$ac_objext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>conftest.er1
13675 grep -v '^ *+' conftest.er1
>conftest.err
13677 cat conftest.err
>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try
='test -z "$ac_c_werror_flag"
13681 || test ! -s conftest.err'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; } &&
13687 { ac_try
='test -s conftest.$ac_objext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 ac_header_compiler
=yes
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.
$ac_ext >&5
13698 ac_header_compiler
=no
13700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13702 echo "${ECHO_T}$ac_header_compiler" >&6
13704 # Is the header present?
13705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13707 cat >conftest.
$ac_ext <<_ACEOF
13710 cat confdefs.h
>>conftest.
$ac_ext
13711 cat >>conftest.
$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <$ac_header>
13715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13718 grep -v '^ *+' conftest.er1
>conftest.err
13720 cat conftest.err
>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } >/dev
/null
; then
13723 if test -s conftest.err
; then
13724 ac_cpp_err
=$ac_c_preproc_warn_flag
13725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13732 if test -z "$ac_cpp_err"; then
13733 ac_header_preproc
=yes
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.
$ac_ext >&5
13738 ac_header_preproc
=no
13740 rm -f conftest.err conftest.
$ac_ext
13741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13742 echo "${ECHO_T}$ac_header_preproc" >&6
13744 # So? What about this header?
13745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13751 ac_header_preproc
=yes
13754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13768 ## ----------------------------------------- ##
13769 ## Report this to wx-dev@lists.wxwindows.org ##
13770 ## ----------------------------------------- ##
13773 sed "s/^/$as_me: WARNING: /" >&2
13776 echo "$as_me:$LINENO: checking for $ac_header" >&5
13777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13781 eval "$as_ac_Header=\$ac_header_preproc"
13783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13788 cat >>confdefs.h
<<_ACEOF
13789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13797 for ac_header
in X
11/XKBlib.h
13799 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13800 echo "$as_me:$LINENO: checking for $ac_header" >&5
13801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 cat >conftest.
$ac_ext <<_ACEOF
13808 cat confdefs.h
>>conftest.
$ac_ext
13809 cat >>conftest.
$ac_ext <<_ACEOF
13810 /* end confdefs.h. */
13812 #if HAVE_X11_XLIB_H
13813 #include <X11/Xlib.h>
13817 #include <$ac_header>
13819 rm -f conftest.
$ac_objext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13821 (eval $ac_compile) 2>conftest.er1
13823 grep -v '^ *+' conftest.er1
>conftest.err
13825 cat conftest.err
>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try
='test -z "$ac_c_werror_flag"
13829 || test ! -s conftest.err'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; } &&
13835 { ac_try
='test -s conftest.$ac_objext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 eval "$as_ac_Header=yes"
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.
$ac_ext >&5
13846 eval "$as_ac_Header=no"
13848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13853 cat >>confdefs.h
<<_ACEOF
13854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13865 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13866 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13867 if test "${ac_cv_c_const+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 cat >conftest.
$ac_ext <<_ACEOF
13873 cat confdefs.h
>>conftest.
$ac_ext
13874 cat >>conftest.
$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13880 /* FIXME: Include the comments suggested by Paul. */
13881 #ifndef __cplusplus
13882 /* Ultrix mips cc rejects this. */
13883 typedef int charset[2];
13885 /* SunOS 4.1.1 cc rejects this. */
13886 char const *const *ccp;
13888 /* NEC SVR4.0.2 mips cc rejects this. */
13889 struct point {int x, y;};
13890 static struct point const zero = {0,0};
13891 /* AIX XL C 1.02.0.0 rejects this.
13892 It does not let you subtract one const X* pointer from another in
13893 an arm of an if-expression whose if-part is not a constant
13895 const char *g = "string";
13896 ccp = &g + (g ? g-g : 0);
13897 /* HPUX 7.0 cc rejects these. */
13900 ccp = (char const *const *) p;
13901 { /* SCO 3.2v4 cc rejects this. */
13903 char const *s = 0 ? (char *) 0 : (char const *) 0;
13907 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13908 int x[] = {25, 17};
13909 const int *foo = &x[0];
13912 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13913 typedef const int *iptr;
13917 { /* AIX XL C 1.02.0.0 rejects this saying
13918 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13919 struct s { int j; const int *ap[3]; };
13920 struct s *b; b->j = 5;
13922 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13923 const int foo = 10;
13931 rm -f conftest.
$ac_objext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13933 (eval $ac_compile) 2>conftest.er1
13935 grep -v '^ *+' conftest.er1
>conftest.err
13937 cat conftest.err
>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } &&
13940 { ac_try
='test -z "$ac_c_werror_flag"
13941 || test ! -s conftest.err'
13942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13943 (eval $ac_try) 2>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); }; } &&
13947 { ac_try
='test -s conftest.$ac_objext'
13948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13949 (eval $ac_try) 2>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }; }; then
13955 echo "$as_me: failed program was:" >&5
13956 sed 's/^/| /' conftest.
$ac_ext >&5
13960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13962 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13963 echo "${ECHO_T}$ac_cv_c_const" >&6
13964 if test $ac_cv_c_const = no
; then
13966 cat >>confdefs.h
<<\_ACEOF
13972 echo "$as_me:$LINENO: checking for inline" >&5
13973 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13974 if test "${ac_cv_c_inline+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 for ac_kw
in inline __inline__ __inline
; do
13979 cat >conftest.
$ac_ext <<_ACEOF
13982 cat confdefs.h
>>conftest.
$ac_ext
13983 cat >>conftest.
$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13985 #ifndef __cplusplus
13987 static $ac_kw foo_t static_foo () {return 0; }
13988 $ac_kw foo_t foo () {return 0; }
13992 rm -f conftest.
$ac_objext
13993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13994 (eval $ac_compile) 2>conftest.er1
13996 grep -v '^ *+' conftest.er1
>conftest.err
13998 cat conftest.err
>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } &&
14001 { ac_try
='test -z "$ac_c_werror_flag"
14002 || test ! -s conftest.err'
14003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14004 (eval $ac_try) 2>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); }; } &&
14008 { ac_try
='test -s conftest.$ac_objext'
14009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14010 (eval $ac_try) 2>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }; }; then
14014 ac_cv_c_inline
=$ac_kw; break
14016 echo "$as_me: failed program was:" >&5
14017 sed 's/^/| /' conftest.
$ac_ext >&5
14020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14024 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14025 echo "${ECHO_T}$ac_cv_c_inline" >&6
14028 case $ac_cv_c_inline in
14031 case $ac_cv_c_inline in
14033 *) ac_val
=$ac_cv_c_inline;;
14035 cat >>confdefs.h
<<_ACEOF
14036 #ifndef __cplusplus
14037 #define inline $ac_val
14044 echo "$as_me:$LINENO: checking for char" >&5
14045 echo $ECHO_N "checking for char... $ECHO_C" >&6
14046 if test "${ac_cv_type_char+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 cat >conftest.
$ac_ext <<_ACEOF
14052 cat confdefs.h
>>conftest.
$ac_ext
14053 cat >>conftest.
$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 $ac_includes_default
14067 rm -f conftest.
$ac_objext
14068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14069 (eval $ac_compile) 2>conftest.er1
14071 grep -v '^ *+' conftest.er1
>conftest.err
14073 cat conftest.err
>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); } &&
14076 { ac_try
='test -z "$ac_c_werror_flag"
14077 || test ! -s conftest.err'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; } &&
14083 { ac_try
='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14089 ac_cv_type_char
=yes
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.
$ac_ext >&5
14096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14098 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14099 echo "${ECHO_T}$ac_cv_type_char" >&6
14101 echo "$as_me:$LINENO: checking size of char" >&5
14102 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14103 if test "${ac_cv_sizeof_char+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 if test "$ac_cv_type_char" = yes; then
14107 # The cast to unsigned long works around a bug in the HP C Compiler
14108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14110 # This bug is HP SR number 8606223364.
14111 if test "$cross_compiling" = yes; then
14112 # Depending upon the size, compute the lo and hi bounds.
14113 cat >conftest.
$ac_ext <<_ACEOF
14116 cat confdefs.h
>>conftest.
$ac_ext
14117 cat >>conftest.
$ac_ext <<_ACEOF
14118 /* end confdefs.h. */
14119 $ac_includes_default
14123 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14130 rm -f conftest.
$ac_objext
14131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14132 (eval $ac_compile) 2>conftest.er1
14134 grep -v '^ *+' conftest.er1
>conftest.err
14136 cat conftest.err
>&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } &&
14139 { ac_try
='test -z "$ac_c_werror_flag"
14140 || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try
='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14154 cat >conftest.
$ac_ext <<_ACEOF
14157 cat confdefs.h
>>conftest.
$ac_ext
14158 cat >>conftest.
$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 $ac_includes_default
14164 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14171 rm -f conftest.
$ac_objext
14172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14173 (eval $ac_compile) 2>conftest.er1
14175 grep -v '^ *+' conftest.er1
>conftest.err
14177 cat conftest.err
>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } &&
14180 { ac_try
='test -z "$ac_c_werror_flag"
14181 || test ! -s conftest.err'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; } &&
14187 { ac_try
='test -s conftest.$ac_objext'
14188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14189 (eval $ac_try) 2>&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); }; }; then
14193 ac_hi
=$ac_mid; break
14195 echo "$as_me: failed program was:" >&5
14196 sed 's/^/| /' conftest.
$ac_ext >&5
14198 ac_lo
=`expr $ac_mid + 1`
14199 if test $ac_lo -le $ac_mid; then
14203 ac_mid
=`expr 2 '*' $ac_mid + 1`
14205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14208 echo "$as_me: failed program was:" >&5
14209 sed 's/^/| /' conftest.
$ac_ext >&5
14211 cat >conftest.
$ac_ext <<_ACEOF
14214 cat confdefs.h
>>conftest.
$ac_ext
14215 cat >>conftest.
$ac_ext <<_ACEOF
14216 /* end confdefs.h. */
14217 $ac_includes_default
14221 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14228 rm -f conftest.
$ac_objext
14229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14230 (eval $ac_compile) 2>conftest.er1
14232 grep -v '^ *+' conftest.er1
>conftest.err
14234 cat conftest.err
>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try
='test -z "$ac_c_werror_flag"
14238 || test ! -s conftest.err'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; } &&
14244 { ac_try
='test -s conftest.$ac_objext'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; }; then
14252 cat >conftest.
$ac_ext <<_ACEOF
14255 cat confdefs.h
>>conftest.
$ac_ext
14256 cat >>conftest.
$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 $ac_includes_default
14262 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14269 rm -f conftest.
$ac_objext
14270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14271 (eval $ac_compile) 2>conftest.er1
14273 grep -v '^ *+' conftest.er1
>conftest.err
14275 cat conftest.err
>&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } &&
14278 { ac_try
='test -z "$ac_c_werror_flag"
14279 || test ! -s conftest.err'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; } &&
14285 { ac_try
='test -s conftest.$ac_objext'
14286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14287 (eval $ac_try) 2>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); }; }; then
14291 ac_lo
=$ac_mid; break
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.
$ac_ext >&5
14296 ac_hi
=`expr '(' $ac_mid ')' - 1`
14297 if test $ac_mid -le $ac_hi; then
14301 ac_mid
=`expr 2 '*' $ac_mid`
14303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.
$ac_ext >&5
14311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14314 # Binary search between lo and hi bounds.
14315 while test "x$ac_lo" != "x$ac_hi"; do
14316 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14317 cat >conftest.
$ac_ext <<_ACEOF
14320 cat confdefs.h
>>conftest.
$ac_ext
14321 cat >>conftest.
$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14323 $ac_includes_default
14327 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14334 rm -f conftest.
$ac_objext
14335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14336 (eval $ac_compile) 2>conftest.er1
14338 grep -v '^ *+' conftest.er1
>conftest.err
14340 cat conftest.err
>&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); } &&
14343 { ac_try
='test -z "$ac_c_werror_flag"
14344 || test ! -s conftest.err'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; } &&
14350 { ac_try
='test -s conftest.$ac_objext'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; }; then
14358 echo "$as_me: failed program was:" >&5
14359 sed 's/^/| /' conftest.
$ac_ext >&5
14361 ac_lo
=`expr '(' $ac_mid ')' + 1`
14363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14366 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14367 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14368 See \`config.log' for more details." >&5
14369 echo "$as_me: error: cannot compute sizeof (char), 77
14370 See \`config.log' for more details." >&2;}
14371 { (exit 1); exit 1; }; } ;;
14374 if test "$cross_compiling" = yes; then
14375 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14376 See \`config.log' for more details." >&5
14377 echo "$as_me: error: cannot run test program while cross compiling
14378 See \`config.log' for more details." >&2;}
14379 { (exit 1); exit 1; }; }
14381 cat >conftest.
$ac_ext <<_ACEOF
14384 cat confdefs.h
>>conftest.
$ac_ext
14385 cat >>conftest.
$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14387 $ac_includes_default
14388 long longval () { return (long) (sizeof (char)); }
14389 unsigned long ulongval () { return (long) (sizeof (char)); }
14391 #include <stdlib.h>
14396 FILE *f = fopen ("conftest.val", "w");
14399 if (((long) (sizeof (char))) < 0)
14401 long i = longval ();
14402 if (i != ((long) (sizeof (char))))
14404 fprintf (f, "%ld\n", i);
14408 unsigned long i = ulongval ();
14409 if (i != ((long) (sizeof (char))))
14411 fprintf (f, "%lu\n", i);
14413 exit (ferror (f) || fclose (f) != 0);
14419 rm -f conftest
$ac_exeext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14421 (eval $ac_link) 2>&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14430 ac_cv_sizeof_char
=`cat conftest.val`
14432 echo "$as_me: program exited with status $ac_status" >&5
14433 echo "$as_me: failed program was:" >&5
14434 sed 's/^/| /' conftest.
$ac_ext >&5
14436 ( exit $ac_status )
14437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14438 See \`config.log' for more details." >&5
14439 echo "$as_me: error: cannot compute sizeof (char), 77
14440 See \`config.log' for more details." >&2;}
14441 { (exit 1); exit 1; }; }
14443 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14448 ac_cv_sizeof_char
=0
14451 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14452 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14453 cat >>confdefs.h
<<_ACEOF
14454 #define SIZEOF_CHAR $ac_cv_sizeof_char
14458 echo "$as_me:$LINENO: checking for short" >&5
14459 echo $ECHO_N "checking for short... $ECHO_C" >&6
14460 if test "${ac_cv_type_short+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 cat >conftest.
$ac_ext <<_ACEOF
14466 cat confdefs.h
>>conftest.
$ac_ext
14467 cat >>conftest.
$ac_ext <<_ACEOF
14468 /* end confdefs.h. */
14469 $ac_includes_default
14475 if (sizeof (short))
14481 rm -f conftest.
$ac_objext
14482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14483 (eval $ac_compile) 2>conftest.er1
14485 grep -v '^ *+' conftest.er1
>conftest.err
14487 cat conftest.err
>&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } &&
14490 { ac_try
='test -z "$ac_c_werror_flag"
14491 || test ! -s conftest.err'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; } &&
14497 { ac_try
='test -s conftest.$ac_objext'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; }; then
14503 ac_cv_type_short
=yes
14505 echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.
$ac_ext >&5
14508 ac_cv_type_short
=no
14510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14512 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14513 echo "${ECHO_T}$ac_cv_type_short" >&6
14515 echo "$as_me:$LINENO: checking size of short" >&5
14516 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14517 if test "${ac_cv_sizeof_short+set}" = set; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 if test "$ac_cv_type_short" = yes; then
14521 # The cast to unsigned long works around a bug in the HP C Compiler
14522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14524 # This bug is HP SR number 8606223364.
14525 if test "$cross_compiling" = yes; then
14526 # Depending upon the size, compute the lo and hi bounds.
14527 cat >conftest.
$ac_ext <<_ACEOF
14530 cat confdefs.h
>>conftest.
$ac_ext
14531 cat >>conftest.
$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14533 $ac_includes_default
14537 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14544 rm -f conftest.
$ac_objext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14546 (eval $ac_compile) 2>conftest.er1
14548 grep -v '^ *+' conftest.er1
>conftest.err
14550 cat conftest.err
>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } &&
14553 { ac_try
='test -z "$ac_c_werror_flag"
14554 || test ! -s conftest.err'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; } &&
14560 { ac_try
='test -s conftest.$ac_objext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14568 cat >conftest.
$ac_ext <<_ACEOF
14571 cat confdefs.h
>>conftest.
$ac_ext
14572 cat >>conftest.
$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14578 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14585 rm -f conftest.
$ac_objext
14586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14587 (eval $ac_compile) 2>conftest.er1
14589 grep -v '^ *+' conftest.er1
>conftest.err
14591 cat conftest.err
>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try
='test -z "$ac_c_werror_flag"
14595 || test ! -s conftest.err'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; } &&
14601 { ac_try
='test -s conftest.$ac_objext'
14602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14603 (eval $ac_try) 2>&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; }; then
14607 ac_hi
=$ac_mid; break
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.
$ac_ext >&5
14612 ac_lo
=`expr $ac_mid + 1`
14613 if test $ac_lo -le $ac_mid; then
14617 ac_mid
=`expr 2 '*' $ac_mid + 1`
14619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.
$ac_ext >&5
14625 cat >conftest.
$ac_ext <<_ACEOF
14628 cat confdefs.h
>>conftest.
$ac_ext
14629 cat >>conftest.
$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631 $ac_includes_default
14635 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14642 rm -f conftest.
$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14646 grep -v '^ *+' conftest.er1
>conftest.err
14648 cat conftest.err
>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try
='test -z "$ac_c_werror_flag"
14652 || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try
='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14666 cat >conftest.
$ac_ext <<_ACEOF
14669 cat confdefs.h
>>conftest.
$ac_ext
14670 cat >>conftest.
$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672 $ac_includes_default
14676 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14683 rm -f conftest.
$ac_objext
14684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14685 (eval $ac_compile) 2>conftest.er1
14687 grep -v '^ *+' conftest.er1
>conftest.err
14689 cat conftest.err
>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } &&
14692 { ac_try
='test -z "$ac_c_werror_flag"
14693 || test ! -s conftest.err'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; } &&
14699 { ac_try
='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 ac_lo
=$ac_mid; break
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.
$ac_ext >&5
14710 ac_hi
=`expr '(' $ac_mid ')' - 1`
14711 if test $ac_mid -le $ac_hi; then
14715 ac_mid
=`expr 2 '*' $ac_mid`
14717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.
$ac_ext >&5
14725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14728 # Binary search between lo and hi bounds.
14729 while test "x$ac_lo" != "x$ac_hi"; do
14730 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14731 cat >conftest.
$ac_ext <<_ACEOF
14734 cat confdefs.h
>>conftest.
$ac_ext
14735 cat >>conftest.
$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14737 $ac_includes_default
14741 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14748 rm -f conftest.
$ac_objext
14749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14750 (eval $ac_compile) 2>conftest.er1
14752 grep -v '^ *+' conftest.er1
>conftest.err
14754 cat conftest.err
>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } &&
14757 { ac_try
='test -z "$ac_c_werror_flag"
14758 || test ! -s conftest.err'
14759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14760 (eval $ac_try) 2>&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); }; } &&
14764 { ac_try
='test -s conftest.$ac_objext'
14765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766 (eval $ac_try) 2>&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); }; }; then
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.
$ac_ext >&5
14775 ac_lo
=`expr '(' $ac_mid ')' + 1`
14777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14780 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14781 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14782 See \`config.log' for more details." >&5
14783 echo "$as_me: error: cannot compute sizeof (short), 77
14784 See \`config.log' for more details." >&2;}
14785 { (exit 1); exit 1; }; } ;;
14788 if test "$cross_compiling" = yes; then
14789 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14790 See \`config.log' for more details." >&5
14791 echo "$as_me: error: cannot run test program while cross compiling
14792 See \`config.log' for more details." >&2;}
14793 { (exit 1); exit 1; }; }
14795 cat >conftest.
$ac_ext <<_ACEOF
14798 cat confdefs.h
>>conftest.
$ac_ext
14799 cat >>conftest.
$ac_ext <<_ACEOF
14800 /* end confdefs.h. */
14801 $ac_includes_default
14802 long longval () { return (long) (sizeof (short)); }
14803 unsigned long ulongval () { return (long) (sizeof (short)); }
14805 #include <stdlib.h>
14810 FILE *f = fopen ("conftest.val", "w");
14813 if (((long) (sizeof (short))) < 0)
14815 long i = longval ();
14816 if (i != ((long) (sizeof (short))))
14818 fprintf (f, "%ld\n", i);
14822 unsigned long i = ulongval ();
14823 if (i != ((long) (sizeof (short))))
14825 fprintf (f, "%lu\n", i);
14827 exit (ferror (f) || fclose (f) != 0);
14833 rm -f conftest
$ac_exeext
14834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14835 (eval $ac_link) 2>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_cv_sizeof_short
=`cat conftest.val`
14846 echo "$as_me: program exited with status $ac_status" >&5
14847 echo "$as_me: failed program was:" >&5
14848 sed 's/^/| /' conftest.
$ac_ext >&5
14850 ( exit $ac_status )
14851 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14852 See \`config.log' for more details." >&5
14853 echo "$as_me: error: cannot compute sizeof (short), 77
14854 See \`config.log' for more details." >&2;}
14855 { (exit 1); exit 1; }; }
14857 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14862 ac_cv_sizeof_short
=0
14865 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14866 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14867 cat >>confdefs.h
<<_ACEOF
14868 #define SIZEOF_SHORT $ac_cv_sizeof_short
14872 echo "$as_me:$LINENO: checking for void *" >&5
14873 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14874 if test "${ac_cv_type_void_p+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14877 cat >conftest.
$ac_ext <<_ACEOF
14880 cat confdefs.h
>>conftest.
$ac_ext
14881 cat >>conftest.
$ac_ext <<_ACEOF
14882 /* end confdefs.h. */
14883 $ac_includes_default
14889 if (sizeof (void *))
14895 rm -f conftest.
$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>conftest.er1
14899 grep -v '^ *+' conftest.er1
>conftest.err
14901 cat conftest.err
>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try
='test -z "$ac_c_werror_flag"
14905 || test ! -s conftest.err'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; } &&
14911 { ac_try
='test -s conftest.$ac_objext'
14912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14913 (eval $ac_try) 2>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); }; }; then
14917 ac_cv_type_void_p
=yes
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.
$ac_ext >&5
14922 ac_cv_type_void_p
=no
14924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14926 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14927 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14929 echo "$as_me:$LINENO: checking size of void *" >&5
14930 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14931 if test "${ac_cv_sizeof_void_p+set}" = set; then
14932 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 if test "$ac_cv_type_void_p" = yes; then
14935 # The cast to unsigned long works around a bug in the HP C Compiler
14936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14938 # This bug is HP SR number 8606223364.
14939 if test "$cross_compiling" = yes; then
14940 # Depending upon the size, compute the lo and hi bounds.
14941 cat >conftest.
$ac_ext <<_ACEOF
14944 cat confdefs.h
>>conftest.
$ac_ext
14945 cat >>conftest.
$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947 $ac_includes_default
14951 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14958 rm -f conftest.
$ac_objext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14960 (eval $ac_compile) 2>conftest.er1
14962 grep -v '^ *+' conftest.er1
>conftest.err
14964 cat conftest.err
>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try
='test -z "$ac_c_werror_flag"
14968 || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try
='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14982 cat >conftest.
$ac_ext <<_ACEOF
14985 cat confdefs.h
>>conftest.
$ac_ext
14986 cat >>conftest.
$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14988 $ac_includes_default
14992 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14999 rm -f conftest.
$ac_objext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15001 (eval $ac_compile) 2>conftest.er1
15003 grep -v '^ *+' conftest.er1
>conftest.err
15005 cat conftest.err
>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try
='test -z "$ac_c_werror_flag"
15009 || test ! -s conftest.err'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; } &&
15015 { ac_try
='test -s conftest.$ac_objext'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; }; then
15021 ac_hi
=$ac_mid; break
15023 echo "$as_me: failed program was:" >&5
15024 sed 's/^/| /' conftest.
$ac_ext >&5
15026 ac_lo
=`expr $ac_mid + 1`
15027 if test $ac_lo -le $ac_mid; then
15031 ac_mid
=`expr 2 '*' $ac_mid + 1`
15033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15036 echo "$as_me: failed program was:" >&5
15037 sed 's/^/| /' conftest.
$ac_ext >&5
15039 cat >conftest.
$ac_ext <<_ACEOF
15042 cat confdefs.h
>>conftest.
$ac_ext
15043 cat >>conftest.
$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045 $ac_includes_default
15049 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15056 rm -f conftest.
$ac_objext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15058 (eval $ac_compile) 2>conftest.er1
15060 grep -v '^ *+' conftest.er1
>conftest.err
15062 cat conftest.err
>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } &&
15065 { ac_try
='test -z "$ac_c_werror_flag"
15066 || test ! -s conftest.err'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; } &&
15072 { ac_try
='test -s conftest.$ac_objext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15080 cat >conftest.
$ac_ext <<_ACEOF
15083 cat confdefs.h
>>conftest.
$ac_ext
15084 cat >>conftest.
$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 $ac_includes_default
15090 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15097 rm -f conftest.
$ac_objext
15098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15099 (eval $ac_compile) 2>conftest.er1
15101 grep -v '^ *+' conftest.er1
>conftest.err
15103 cat conftest.err
>&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try
='test -z "$ac_c_werror_flag"
15107 || test ! -s conftest.err'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; } &&
15113 { ac_try
='test -s conftest.$ac_objext'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; }; then
15119 ac_lo
=$ac_mid; break
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.
$ac_ext >&5
15124 ac_hi
=`expr '(' $ac_mid ')' - 1`
15125 if test $ac_mid -le $ac_hi; then
15129 ac_mid
=`expr 2 '*' $ac_mid`
15131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.
$ac_ext >&5
15139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15142 # Binary search between lo and hi bounds.
15143 while test "x$ac_lo" != "x$ac_hi"; do
15144 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15145 cat >conftest.
$ac_ext <<_ACEOF
15148 cat confdefs.h
>>conftest.
$ac_ext
15149 cat >>conftest.
$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151 $ac_includes_default
15155 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15162 rm -f conftest.
$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>conftest.er1
15166 grep -v '^ *+' conftest.er1
>conftest.err
15168 cat conftest.err
>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try
='test -z "$ac_c_werror_flag"
15172 || test ! -s conftest.err'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; } &&
15178 { ac_try
='test -s conftest.$ac_objext'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; }; then
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.
$ac_ext >&5
15189 ac_lo
=`expr '(' $ac_mid ')' + 1`
15191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15194 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15195 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15196 See \`config.log' for more details." >&5
15197 echo "$as_me: error: cannot compute sizeof (void *), 77
15198 See \`config.log' for more details." >&2;}
15199 { (exit 1); exit 1; }; } ;;
15202 if test "$cross_compiling" = yes; then
15203 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15204 See \`config.log' for more details." >&5
15205 echo "$as_me: error: cannot run test program while cross compiling
15206 See \`config.log' for more details." >&2;}
15207 { (exit 1); exit 1; }; }
15209 cat >conftest.
$ac_ext <<_ACEOF
15212 cat confdefs.h
>>conftest.
$ac_ext
15213 cat >>conftest.
$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 $ac_includes_default
15216 long longval () { return (long) (sizeof (void *)); }
15217 unsigned long ulongval () { return (long) (sizeof (void *)); }
15219 #include <stdlib.h>
15224 FILE *f = fopen ("conftest.val", "w");
15227 if (((long) (sizeof (void *))) < 0)
15229 long i = longval ();
15230 if (i != ((long) (sizeof (void *))))
15232 fprintf (f, "%ld\n", i);
15236 unsigned long i = ulongval ();
15237 if (i != ((long) (sizeof (void *))))
15239 fprintf (f, "%lu\n", i);
15241 exit (ferror (f) || fclose (f) != 0);
15247 rm -f conftest
$ac_exeext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15249 (eval $ac_link) 2>&5
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_cv_sizeof_void_p
=`cat conftest.val`
15260 echo "$as_me: program exited with status $ac_status" >&5
15261 echo "$as_me: failed program was:" >&5
15262 sed 's/^/| /' conftest.
$ac_ext >&5
15264 ( exit $ac_status )
15265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15266 See \`config.log' for more details." >&5
15267 echo "$as_me: error: cannot compute sizeof (void *), 77
15268 See \`config.log' for more details." >&2;}
15269 { (exit 1); exit 1; }; }
15271 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15276 ac_cv_sizeof_void_p
=0
15279 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15280 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15281 cat >>confdefs.h
<<_ACEOF
15282 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15286 echo "$as_me:$LINENO: checking for int" >&5
15287 echo $ECHO_N "checking for int... $ECHO_C" >&6
15288 if test "${ac_cv_type_int+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 cat >conftest.
$ac_ext <<_ACEOF
15294 cat confdefs.h
>>conftest.
$ac_ext
15295 cat >>conftest.
$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15297 $ac_includes_default
15309 rm -f conftest.
$ac_objext
15310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15311 (eval $ac_compile) 2>conftest.er1
15313 grep -v '^ *+' conftest.er1
>conftest.err
15315 cat conftest.err
>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try
='test -z "$ac_c_werror_flag"
15319 || test ! -s conftest.err'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; } &&
15325 { ac_try
='test -s conftest.$ac_objext'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; }; then
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.
$ac_ext >&5
15338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15340 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15341 echo "${ECHO_T}$ac_cv_type_int" >&6
15343 echo "$as_me:$LINENO: checking size of int" >&5
15344 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15345 if test "${ac_cv_sizeof_int+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 if test "$ac_cv_type_int" = yes; then
15349 # The cast to unsigned long works around a bug in the HP C Compiler
15350 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15351 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15352 # This bug is HP SR number 8606223364.
15353 if test "$cross_compiling" = yes; then
15354 # Depending upon the size, compute the lo and hi bounds.
15355 cat >conftest.
$ac_ext <<_ACEOF
15358 cat confdefs.h
>>conftest.
$ac_ext
15359 cat >>conftest.
$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15361 $ac_includes_default
15365 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15372 rm -f conftest.
$ac_objext
15373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15374 (eval $ac_compile) 2>conftest.er1
15376 grep -v '^ *+' conftest.er1
>conftest.err
15378 cat conftest.err
>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
15381 { ac_try
='test -z "$ac_c_werror_flag"
15382 || test ! -s conftest.err'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; } &&
15388 { ac_try
='test -s conftest.$ac_objext'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15396 cat >conftest.
$ac_ext <<_ACEOF
15399 cat confdefs.h
>>conftest.
$ac_ext
15400 cat >>conftest.
$ac_ext <<_ACEOF
15401 /* end confdefs.h. */
15402 $ac_includes_default
15406 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15413 rm -f conftest.
$ac_objext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>conftest.er1
15417 grep -v '^ *+' conftest.er1
>conftest.err
15419 cat conftest.err
>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } &&
15422 { ac_try
='test -z "$ac_c_werror_flag"
15423 || test ! -s conftest.err'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; } &&
15429 { ac_try
='test -s conftest.$ac_objext'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; }; then
15435 ac_hi
=$ac_mid; break
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.
$ac_ext >&5
15440 ac_lo
=`expr $ac_mid + 1`
15441 if test $ac_lo -le $ac_mid; then
15445 ac_mid
=`expr 2 '*' $ac_mid + 1`
15447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.
$ac_ext >&5
15453 cat >conftest.
$ac_ext <<_ACEOF
15456 cat confdefs.h
>>conftest.
$ac_ext
15457 cat >>conftest.
$ac_ext <<_ACEOF
15458 /* end confdefs.h. */
15459 $ac_includes_default
15463 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15470 rm -f conftest.
$ac_objext
15471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15472 (eval $ac_compile) 2>conftest.er1
15474 grep -v '^ *+' conftest.er1
>conftest.err
15476 cat conftest.err
>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } &&
15479 { ac_try
='test -z "$ac_c_werror_flag"
15480 || test ! -s conftest.err'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; } &&
15486 { ac_try
='test -s conftest.$ac_objext'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; }; then
15494 cat >conftest.
$ac_ext <<_ACEOF
15497 cat confdefs.h
>>conftest.
$ac_ext
15498 cat >>conftest.
$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15500 $ac_includes_default
15504 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15511 rm -f conftest.
$ac_objext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15513 (eval $ac_compile) 2>conftest.er1
15515 grep -v '^ *+' conftest.er1
>conftest.err
15517 cat conftest.err
>&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try
='test -z "$ac_c_werror_flag"
15521 || test ! -s conftest.err'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; } &&
15527 { ac_try
='test -s conftest.$ac_objext'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; }; then
15533 ac_lo
=$ac_mid; break
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.
$ac_ext >&5
15538 ac_hi
=`expr '(' $ac_mid ')' - 1`
15539 if test $ac_mid -le $ac_hi; then
15543 ac_mid
=`expr 2 '*' $ac_mid`
15545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.
$ac_ext >&5
15553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15556 # Binary search between lo and hi bounds.
15557 while test "x$ac_lo" != "x$ac_hi"; do
15558 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15559 cat >conftest.
$ac_ext <<_ACEOF
15562 cat confdefs.h
>>conftest.
$ac_ext
15563 cat >>conftest.
$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15565 $ac_includes_default
15569 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15576 rm -f conftest.
$ac_objext
15577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15578 (eval $ac_compile) 2>conftest.er1
15580 grep -v '^ *+' conftest.er1
>conftest.err
15582 cat conftest.err
>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } &&
15585 { ac_try
='test -z "$ac_c_werror_flag"
15586 || test ! -s conftest.err'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; } &&
15592 { ac_try
='test -s conftest.$ac_objext'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; }; then
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.
$ac_ext >&5
15603 ac_lo
=`expr '(' $ac_mid ')' + 1`
15605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15608 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15609 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15610 See \`config.log' for more details." >&5
15611 echo "$as_me: error: cannot compute sizeof (int), 77
15612 See \`config.log' for more details." >&2;}
15613 { (exit 1); exit 1; }; } ;;
15616 if test "$cross_compiling" = yes; then
15617 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15618 See \`config.log' for more details." >&5
15619 echo "$as_me: error: cannot run test program while cross compiling
15620 See \`config.log' for more details." >&2;}
15621 { (exit 1); exit 1; }; }
15623 cat >conftest.
$ac_ext <<_ACEOF
15626 cat confdefs.h
>>conftest.
$ac_ext
15627 cat >>conftest.
$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629 $ac_includes_default
15630 long longval () { return (long) (sizeof (int)); }
15631 unsigned long ulongval () { return (long) (sizeof (int)); }
15633 #include <stdlib.h>
15638 FILE *f = fopen ("conftest.val", "w");
15641 if (((long) (sizeof (int))) < 0)
15643 long i = longval ();
15644 if (i != ((long) (sizeof (int))))
15646 fprintf (f, "%ld\n", i);
15650 unsigned long i = ulongval ();
15651 if (i != ((long) (sizeof (int))))
15653 fprintf (f, "%lu\n", i);
15655 exit (ferror (f) || fclose (f) != 0);
15661 rm -f conftest
$ac_exeext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15663 (eval $ac_link) 2>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; }; then
15672 ac_cv_sizeof_int
=`cat conftest.val`
15674 echo "$as_me: program exited with status $ac_status" >&5
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.
$ac_ext >&5
15678 ( exit $ac_status )
15679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15680 See \`config.log' for more details." >&5
15681 echo "$as_me: error: cannot compute sizeof (int), 77
15682 See \`config.log' for more details." >&2;}
15683 { (exit 1); exit 1; }; }
15685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15693 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15694 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15695 cat >>confdefs.h
<<_ACEOF
15696 #define SIZEOF_INT $ac_cv_sizeof_int
15700 echo "$as_me:$LINENO: checking for long" >&5
15701 echo $ECHO_N "checking for long... $ECHO_C" >&6
15702 if test "${ac_cv_type_long+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 cat >conftest.
$ac_ext <<_ACEOF
15708 cat confdefs.h
>>conftest.
$ac_ext
15709 cat >>conftest.
$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15711 $ac_includes_default
15723 rm -f conftest.
$ac_objext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15725 (eval $ac_compile) 2>conftest.er1
15727 grep -v '^ *+' conftest.er1
>conftest.err
15729 cat conftest.err
>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try
='test -z "$ac_c_werror_flag"
15733 || test ! -s conftest.err'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; } &&
15739 { ac_try
='test -s conftest.$ac_objext'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; }; then
15745 ac_cv_type_long
=yes
15747 echo "$as_me: failed program was:" >&5
15748 sed 's/^/| /' conftest.
$ac_ext >&5
15752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15754 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15755 echo "${ECHO_T}$ac_cv_type_long" >&6
15757 echo "$as_me:$LINENO: checking size of long" >&5
15758 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15759 if test "${ac_cv_sizeof_long+set}" = set; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 if test "$ac_cv_type_long" = yes; then
15763 # The cast to unsigned long works around a bug in the HP C Compiler
15764 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15765 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15766 # This bug is HP SR number 8606223364.
15767 if test "$cross_compiling" = yes; then
15768 # Depending upon the size, compute the lo and hi bounds.
15769 cat >conftest.
$ac_ext <<_ACEOF
15772 cat confdefs.h
>>conftest.
$ac_ext
15773 cat >>conftest.
$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775 $ac_includes_default
15779 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15786 rm -f conftest.
$ac_objext
15787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15788 (eval $ac_compile) 2>conftest.er1
15790 grep -v '^ *+' conftest.er1
>conftest.err
15792 cat conftest.err
>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } &&
15795 { ac_try
='test -z "$ac_c_werror_flag"
15796 || test ! -s conftest.err'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; } &&
15802 { ac_try
='test -s conftest.$ac_objext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15810 cat >conftest.
$ac_ext <<_ACEOF
15813 cat confdefs.h
>>conftest.
$ac_ext
15814 cat >>conftest.
$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 $ac_includes_default
15820 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15827 rm -f conftest.
$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15831 grep -v '^ *+' conftest.er1
>conftest.err
15833 cat conftest.err
>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try
='test -z "$ac_c_werror_flag"
15837 || test ! -s conftest.err'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; } &&
15843 { ac_try
='test -s conftest.$ac_objext'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; }; then
15849 ac_hi
=$ac_mid; break
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.
$ac_ext >&5
15854 ac_lo
=`expr $ac_mid + 1`
15855 if test $ac_lo -le $ac_mid; then
15859 ac_mid
=`expr 2 '*' $ac_mid + 1`
15861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.
$ac_ext >&5
15867 cat >conftest.
$ac_ext <<_ACEOF
15870 cat confdefs.h
>>conftest.
$ac_ext
15871 cat >>conftest.
$ac_ext <<_ACEOF
15872 /* end confdefs.h. */
15873 $ac_includes_default
15877 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15884 rm -f conftest.
$ac_objext
15885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15886 (eval $ac_compile) 2>conftest.er1
15888 grep -v '^ *+' conftest.er1
>conftest.err
15890 cat conftest.err
>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } &&
15893 { ac_try
='test -z "$ac_c_werror_flag"
15894 || test ! -s conftest.err'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; } &&
15900 { ac_try
='test -s conftest.$ac_objext'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15908 cat >conftest.
$ac_ext <<_ACEOF
15911 cat confdefs.h
>>conftest.
$ac_ext
15912 cat >>conftest.
$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15914 $ac_includes_default
15918 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15925 rm -f conftest.
$ac_objext
15926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15927 (eval $ac_compile) 2>conftest.er1
15929 grep -v '^ *+' conftest.er1
>conftest.err
15931 cat conftest.err
>&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); } &&
15934 { ac_try
='test -z "$ac_c_werror_flag"
15935 || test ! -s conftest.err'
15936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937 (eval $ac_try) 2>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); }; } &&
15941 { ac_try
='test -s conftest.$ac_objext'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; }; then
15947 ac_lo
=$ac_mid; break
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.
$ac_ext >&5
15952 ac_hi
=`expr '(' $ac_mid ')' - 1`
15953 if test $ac_mid -le $ac_hi; then
15957 ac_mid
=`expr 2 '*' $ac_mid`
15959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.
$ac_ext >&5
15967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15970 # Binary search between lo and hi bounds.
15971 while test "x$ac_lo" != "x$ac_hi"; do
15972 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15973 cat >conftest.
$ac_ext <<_ACEOF
15976 cat confdefs.h
>>conftest.
$ac_ext
15977 cat >>conftest.
$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 $ac_includes_default
15983 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15990 rm -f conftest.
$ac_objext
15991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15992 (eval $ac_compile) 2>conftest.er1
15994 grep -v '^ *+' conftest.er1
>conftest.err
15996 cat conftest.err
>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } &&
15999 { ac_try
='test -z "$ac_c_werror_flag"
16000 || test ! -s conftest.err'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; } &&
16006 { ac_try
='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.
$ac_ext >&5
16017 ac_lo
=`expr '(' $ac_mid ')' + 1`
16019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16022 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16023 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16024 See \`config.log' for more details." >&5
16025 echo "$as_me: error: cannot compute sizeof (long), 77
16026 See \`config.log' for more details." >&2;}
16027 { (exit 1); exit 1; }; } ;;
16030 if test "$cross_compiling" = yes; then
16031 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16032 See \`config.log' for more details." >&5
16033 echo "$as_me: error: cannot run test program while cross compiling
16034 See \`config.log' for more details." >&2;}
16035 { (exit 1); exit 1; }; }
16037 cat >conftest.
$ac_ext <<_ACEOF
16040 cat confdefs.h
>>conftest.
$ac_ext
16041 cat >>conftest.
$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16043 $ac_includes_default
16044 long longval () { return (long) (sizeof (long)); }
16045 unsigned long ulongval () { return (long) (sizeof (long)); }
16047 #include <stdlib.h>
16052 FILE *f = fopen ("conftest.val", "w");
16055 if (((long) (sizeof (long))) < 0)
16057 long i = longval ();
16058 if (i != ((long) (sizeof (long))))
16060 fprintf (f, "%ld\n", i);
16064 unsigned long i = ulongval ();
16065 if (i != ((long) (sizeof (long))))
16067 fprintf (f, "%lu\n", i);
16069 exit (ferror (f) || fclose (f) != 0);
16075 rm -f conftest
$ac_exeext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16077 (eval $ac_link) 2>&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; }; then
16086 ac_cv_sizeof_long
=`cat conftest.val`
16088 echo "$as_me: program exited with status $ac_status" >&5
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.
$ac_ext >&5
16092 ( exit $ac_status )
16093 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16094 See \`config.log' for more details." >&5
16095 echo "$as_me: error: cannot compute sizeof (long), 77
16096 See \`config.log' for more details." >&2;}
16097 { (exit 1); exit 1; }; }
16099 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16104 ac_cv_sizeof_long
=0
16107 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16108 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16109 cat >>confdefs.h
<<_ACEOF
16110 #define SIZEOF_LONG $ac_cv_sizeof_long
16117 echo "$as_me:$LINENO: checking for long long" >&5
16118 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16119 if test "${ac_cv_type_long_long+set}" = set; then
16120 echo $ECHO_N "(cached) $ECHO_C" >&6
16122 cat >conftest.
$ac_ext <<_ACEOF
16125 cat confdefs.h
>>conftest.
$ac_ext
16126 cat >>conftest.
$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 $ac_includes_default
16132 if ((long long *) 0)
16134 if (sizeof (long long))
16140 rm -f conftest.
$ac_objext
16141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16142 (eval $ac_compile) 2>conftest.er1
16144 grep -v '^ *+' conftest.er1
>conftest.err
16146 cat conftest.err
>&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } &&
16149 { ac_try
='test -z "$ac_c_werror_flag"
16150 || test ! -s conftest.err'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; } &&
16156 { ac_try
='test -s conftest.$ac_objext'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; }; then
16162 ac_cv_type_long_long
=yes
16164 echo "$as_me: failed program was:" >&5
16165 sed 's/^/| /' conftest.
$ac_ext >&5
16167 ac_cv_type_long_long
=no
16169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16171 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16172 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16174 echo "$as_me:$LINENO: checking size of long long" >&5
16175 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16176 if test "${ac_cv_sizeof_long_long+set}" = set; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 if test "$ac_cv_type_long_long" = yes; then
16180 # The cast to unsigned long works around a bug in the HP C Compiler
16181 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16182 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16183 # This bug is HP SR number 8606223364.
16184 if test "$cross_compiling" = yes; then
16185 # Depending upon the size, compute the lo and hi bounds.
16186 cat >conftest.
$ac_ext <<_ACEOF
16189 cat confdefs.h
>>conftest.
$ac_ext
16190 cat >>conftest.
$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 $ac_includes_default
16196 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16203 rm -f conftest.
$ac_objext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>conftest.er1
16207 grep -v '^ *+' conftest.er1
>conftest.err
16209 cat conftest.err
>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } &&
16212 { ac_try
='test -z "$ac_c_werror_flag"
16213 || test ! -s conftest.err'
16214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215 (eval $ac_try) 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; } &&
16219 { ac_try
='test -s conftest.$ac_objext'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; }; then
16227 cat >conftest.
$ac_ext <<_ACEOF
16230 cat confdefs.h
>>conftest.
$ac_ext
16231 cat >>conftest.
$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 $ac_includes_default
16237 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16244 rm -f conftest.
$ac_objext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16246 (eval $ac_compile) 2>conftest.er1
16248 grep -v '^ *+' conftest.er1
>conftest.err
16250 cat conftest.err
>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try
='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try
='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_hi
=$ac_mid; break
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.
$ac_ext >&5
16271 ac_lo
=`expr $ac_mid + 1`
16272 if test $ac_lo -le $ac_mid; then
16276 ac_mid
=`expr 2 '*' $ac_mid + 1`
16278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16281 echo "$as_me: failed program was:" >&5
16282 sed 's/^/| /' conftest.
$ac_ext >&5
16284 cat >conftest.
$ac_ext <<_ACEOF
16287 cat confdefs.h
>>conftest.
$ac_ext
16288 cat >>conftest.
$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16294 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16301 rm -f conftest.
$ac_objext
16302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16303 (eval $ac_compile) 2>conftest.er1
16305 grep -v '^ *+' conftest.er1
>conftest.err
16307 cat conftest.err
>&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try
='test -z "$ac_c_werror_flag"
16311 || test ! -s conftest.err'
16312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 (eval $ac_try) 2>&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); }; } &&
16317 { ac_try
='test -s conftest.$ac_objext'
16318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319 (eval $ac_try) 2>&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }; }; then
16325 cat >conftest.
$ac_ext <<_ACEOF
16328 cat confdefs.h
>>conftest.
$ac_ext
16329 cat >>conftest.
$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 $ac_includes_default
16335 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16342 rm -f conftest.
$ac_objext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344 (eval $ac_compile) 2>conftest.er1
16346 grep -v '^ *+' conftest.er1
>conftest.err
16348 cat conftest.err
>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } &&
16351 { ac_try
='test -z "$ac_c_werror_flag"
16352 || test ! -s conftest.err'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; } &&
16358 { ac_try
='test -s conftest.$ac_objext'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; }; then
16364 ac_lo
=$ac_mid; break
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.
$ac_ext >&5
16369 ac_hi
=`expr '(' $ac_mid ')' - 1`
16370 if test $ac_mid -le $ac_hi; then
16374 ac_mid
=`expr 2 '*' $ac_mid`
16376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.
$ac_ext >&5
16384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16387 # Binary search between lo and hi bounds.
16388 while test "x$ac_lo" != "x$ac_hi"; do
16389 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16390 cat >conftest.
$ac_ext <<_ACEOF
16393 cat confdefs.h
>>conftest.
$ac_ext
16394 cat >>conftest.
$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 $ac_includes_default
16400 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16407 rm -f conftest.
$ac_objext
16408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16409 (eval $ac_compile) 2>conftest.er1
16411 grep -v '^ *+' conftest.er1
>conftest.err
16413 cat conftest.err
>&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } &&
16416 { ac_try
='test -z "$ac_c_werror_flag"
16417 || test ! -s conftest.err'
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 (eval $ac_try) 2>&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; } &&
16423 { ac_try
='test -s conftest.$ac_objext'
16424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425 (eval $ac_try) 2>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); }; }; then
16431 echo "$as_me: failed program was:" >&5
16432 sed 's/^/| /' conftest.
$ac_ext >&5
16434 ac_lo
=`expr '(' $ac_mid ')' + 1`
16436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16439 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16440 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16441 See \`config.log' for more details." >&5
16442 echo "$as_me: error: cannot compute sizeof (long long), 77
16443 See \`config.log' for more details." >&2;}
16444 { (exit 1); exit 1; }; } ;;
16447 if test "$cross_compiling" = yes; then
16448 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16449 See \`config.log' for more details." >&5
16450 echo "$as_me: error: cannot run test program while cross compiling
16451 See \`config.log' for more details." >&2;}
16452 { (exit 1); exit 1; }; }
16454 cat >conftest.
$ac_ext <<_ACEOF
16457 cat confdefs.h
>>conftest.
$ac_ext
16458 cat >>conftest.
$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 $ac_includes_default
16461 long longval () { return (long) (sizeof (long long)); }
16462 unsigned long ulongval () { return (long) (sizeof (long long)); }
16464 #include <stdlib.h>
16469 FILE *f = fopen ("conftest.val", "w");
16472 if (((long) (sizeof (long long))) < 0)
16474 long i = longval ();
16475 if (i != ((long) (sizeof (long long))))
16477 fprintf (f, "%ld\n", i);
16481 unsigned long i = ulongval ();
16482 if (i != ((long) (sizeof (long long))))
16484 fprintf (f, "%lu\n", i);
16486 exit (ferror (f) || fclose (f) != 0);
16492 rm -f conftest
$ac_exeext
16493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16494 (eval $ac_link) 2>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16503 ac_cv_sizeof_long_long
=`cat conftest.val`
16505 echo "$as_me: program exited with status $ac_status" >&5
16506 echo "$as_me: failed program was:" >&5
16507 sed 's/^/| /' conftest.
$ac_ext >&5
16509 ( exit $ac_status )
16510 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16511 See \`config.log' for more details." >&5
16512 echo "$as_me: error: cannot compute sizeof (long long), 77
16513 See \`config.log' for more details." >&2;}
16514 { (exit 1); exit 1; }; }
16516 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16521 ac_cv_sizeof_long_long
=0
16524 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16525 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16526 cat >>confdefs.h
<<_ACEOF
16527 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16533 echo "$as_me:$LINENO: checking for long long" >&5
16534 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16535 if test "${ac_cv_type_long_long+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 cat >conftest.
$ac_ext <<_ACEOF
16541 cat confdefs.h
>>conftest.
$ac_ext
16542 cat >>conftest.
$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16544 $ac_includes_default
16548 if ((long long *) 0)
16550 if (sizeof (long long))
16556 rm -f conftest.
$ac_objext
16557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16558 (eval $ac_compile) 2>conftest.er1
16560 grep -v '^ *+' conftest.er1
>conftest.err
16562 cat conftest.err
>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } &&
16565 { ac_try
='test -z "$ac_c_werror_flag"
16566 || test ! -s conftest.err'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; } &&
16572 { ac_try
='test -s conftest.$ac_objext'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; }; then
16578 ac_cv_type_long_long
=yes
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.
$ac_ext >&5
16583 ac_cv_type_long_long
=no
16585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16587 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16588 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16590 echo "$as_me:$LINENO: checking size of long long" >&5
16591 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16592 if test "${ac_cv_sizeof_long_long+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 if test "$ac_cv_type_long_long" = yes; then
16596 # The cast to unsigned long works around a bug in the HP C Compiler
16597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16599 # This bug is HP SR number 8606223364.
16600 if test "$cross_compiling" = yes; then
16601 # Depending upon the size, compute the lo and hi bounds.
16602 cat >conftest.
$ac_ext <<_ACEOF
16605 cat confdefs.h
>>conftest.
$ac_ext
16606 cat >>conftest.
$ac_ext <<_ACEOF
16607 /* end confdefs.h. */
16608 $ac_includes_default
16612 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16619 rm -f conftest.
$ac_objext
16620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16621 (eval $ac_compile) 2>conftest.er1
16623 grep -v '^ *+' conftest.er1
>conftest.err
16625 cat conftest.err
>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } &&
16628 { ac_try
='test -z "$ac_c_werror_flag"
16629 || test ! -s conftest.err'
16630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16631 (eval $ac_try) 2>&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); }; } &&
16635 { ac_try
='test -s conftest.$ac_objext'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; }; then
16643 cat >conftest.
$ac_ext <<_ACEOF
16646 cat confdefs.h
>>conftest.
$ac_ext
16647 cat >>conftest.
$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 $ac_includes_default
16653 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16660 rm -f conftest.
$ac_objext
16661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16662 (eval $ac_compile) 2>conftest.er1
16664 grep -v '^ *+' conftest.er1
>conftest.err
16666 cat conftest.err
>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } &&
16669 { ac_try
='test -z "$ac_c_werror_flag"
16670 || test ! -s conftest.err'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; } &&
16676 { ac_try
='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16682 ac_hi
=$ac_mid; break
16684 echo "$as_me: failed program was:" >&5
16685 sed 's/^/| /' conftest.
$ac_ext >&5
16687 ac_lo
=`expr $ac_mid + 1`
16688 if test $ac_lo -le $ac_mid; then
16692 ac_mid
=`expr 2 '*' $ac_mid + 1`
16694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16697 echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.
$ac_ext >&5
16700 cat >conftest.
$ac_ext <<_ACEOF
16703 cat confdefs.h
>>conftest.
$ac_ext
16704 cat >>conftest.
$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 $ac_includes_default
16710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16717 rm -f conftest.
$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>conftest.er1
16721 grep -v '^ *+' conftest.er1
>conftest.err
16723 cat conftest.err
>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try
='test -z "$ac_c_werror_flag"
16727 || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try
='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16741 cat >conftest.
$ac_ext <<_ACEOF
16744 cat confdefs.h
>>conftest.
$ac_ext
16745 cat >>conftest.
$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 $ac_includes_default
16751 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16758 rm -f conftest.
$ac_objext
16759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16760 (eval $ac_compile) 2>conftest.er1
16762 grep -v '^ *+' conftest.er1
>conftest.err
16764 cat conftest.err
>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } &&
16767 { ac_try
='test -z "$ac_c_werror_flag"
16768 || test ! -s conftest.err'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; } &&
16774 { ac_try
='test -s conftest.$ac_objext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_lo
=$ac_mid; break
16782 echo "$as_me: failed program was:" >&5
16783 sed 's/^/| /' conftest.
$ac_ext >&5
16785 ac_hi
=`expr '(' $ac_mid ')' - 1`
16786 if test $ac_mid -le $ac_hi; then
16790 ac_mid
=`expr 2 '*' $ac_mid`
16792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.
$ac_ext >&5
16800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16803 # Binary search between lo and hi bounds.
16804 while test "x$ac_lo" != "x$ac_hi"; do
16805 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16806 cat >conftest.
$ac_ext <<_ACEOF
16809 cat confdefs.h
>>conftest.
$ac_ext
16810 cat >>conftest.
$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812 $ac_includes_default
16816 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16823 rm -f conftest.
$ac_objext
16824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16825 (eval $ac_compile) 2>conftest.er1
16827 grep -v '^ *+' conftest.er1
>conftest.err
16829 cat conftest.err
>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } &&
16832 { ac_try
='test -z "$ac_c_werror_flag"
16833 || test ! -s conftest.err'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; } &&
16839 { ac_try
='test -s conftest.$ac_objext'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16847 echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.
$ac_ext >&5
16850 ac_lo
=`expr '(' $ac_mid ')' + 1`
16852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16855 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16857 See \`config.log' for more details." >&5
16858 echo "$as_me: error: cannot compute sizeof (long long), 77
16859 See \`config.log' for more details." >&2;}
16860 { (exit 1); exit 1; }; } ;;
16863 if test "$cross_compiling" = yes; then
16864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16865 See \`config.log' for more details." >&5
16866 echo "$as_me: error: cannot run test program while cross compiling
16867 See \`config.log' for more details." >&2;}
16868 { (exit 1); exit 1; }; }
16870 cat >conftest.
$ac_ext <<_ACEOF
16873 cat confdefs.h
>>conftest.
$ac_ext
16874 cat >>conftest.
$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16876 $ac_includes_default
16877 long longval () { return (long) (sizeof (long long)); }
16878 unsigned long ulongval () { return (long) (sizeof (long long)); }
16880 #include <stdlib.h>
16885 FILE *f = fopen ("conftest.val", "w");
16888 if (((long) (sizeof (long long))) < 0)
16890 long i = longval ();
16891 if (i != ((long) (sizeof (long long))))
16893 fprintf (f, "%ld\n", i);
16897 unsigned long i = ulongval ();
16898 if (i != ((long) (sizeof (long long))))
16900 fprintf (f, "%lu\n", i);
16902 exit (ferror (f) || fclose (f) != 0);
16908 rm -f conftest
$ac_exeext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16910 (eval $ac_link) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; }; then
16919 ac_cv_sizeof_long_long
=`cat conftest.val`
16921 echo "$as_me: program exited with status $ac_status" >&5
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.
$ac_ext >&5
16925 ( exit $ac_status )
16926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16927 See \`config.log' for more details." >&5
16928 echo "$as_me: error: cannot compute sizeof (long long), 77
16929 See \`config.log' for more details." >&2;}
16930 { (exit 1); exit 1; }; }
16932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16937 ac_cv_sizeof_long_long
=0
16940 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16941 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16942 cat >>confdefs.h
<<_ACEOF
16943 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16947 if test "$ac_cv_sizeof_long_long" != "0"; then
16948 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16952 echo "$as_me:$LINENO: checking for long long" >&5
16953 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16954 if test "${ac_cv_type_long_long+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 cat >conftest.
$ac_ext <<_ACEOF
16960 cat confdefs.h
>>conftest.
$ac_ext
16961 cat >>conftest.
$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16967 if ((long long *) 0)
16969 if (sizeof (long long))
16975 rm -f conftest.
$ac_objext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16977 (eval $ac_compile) 2>conftest.er1
16979 grep -v '^ *+' conftest.er1
>conftest.err
16981 cat conftest.err
>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try
='test -z "$ac_c_werror_flag"
16985 || test ! -s conftest.err'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; } &&
16991 { ac_try
='test -s conftest.$ac_objext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 ac_cv_type_long_long
=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.
$ac_ext >&5
17002 ac_cv_type_long_long
=no
17004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17007 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17009 echo "$as_me:$LINENO: checking size of long long" >&5
17010 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17011 if test "${ac_cv_sizeof_long_long+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17014 if test "$ac_cv_type_long_long" = yes; then
17015 # The cast to unsigned long works around a bug in the HP C Compiler
17016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17018 # This bug is HP SR number 8606223364.
17019 if test "$cross_compiling" = yes; then
17020 # Depending upon the size, compute the lo and hi bounds.
17021 cat >conftest.
$ac_ext <<_ACEOF
17024 cat confdefs.h
>>conftest.
$ac_ext
17025 cat >>conftest.
$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 $ac_includes_default
17031 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17038 rm -f conftest.
$ac_objext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17040 (eval $ac_compile) 2>conftest.er1
17042 grep -v '^ *+' conftest.er1
>conftest.err
17044 cat conftest.err
>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try
='test -z "$ac_c_werror_flag"
17048 || test ! -s conftest.err'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; } &&
17054 { ac_try
='test -s conftest.$ac_objext'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; }; then
17062 cat >conftest.
$ac_ext <<_ACEOF
17065 cat confdefs.h
>>conftest.
$ac_ext
17066 cat >>conftest.
$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 $ac_includes_default
17072 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17079 rm -f conftest.
$ac_objext
17080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17081 (eval $ac_compile) 2>conftest.er1
17083 grep -v '^ *+' conftest.er1
>conftest.err
17085 cat conftest.err
>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); } &&
17088 { ac_try
='test -z "$ac_c_werror_flag"
17089 || test ! -s conftest.err'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; } &&
17095 { ac_try
='test -s conftest.$ac_objext'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; }; then
17101 ac_hi
=$ac_mid; break
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.
$ac_ext >&5
17106 ac_lo
=`expr $ac_mid + 1`
17107 if test $ac_lo -le $ac_mid; then
17111 ac_mid
=`expr 2 '*' $ac_mid + 1`
17113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.
$ac_ext >&5
17119 cat >conftest.
$ac_ext <<_ACEOF
17122 cat confdefs.h
>>conftest.
$ac_ext
17123 cat >>conftest.
$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17125 $ac_includes_default
17129 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17136 rm -f conftest.
$ac_objext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17138 (eval $ac_compile) 2>conftest.er1
17140 grep -v '^ *+' conftest.er1
>conftest.err
17142 cat conftest.err
>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } &&
17145 { ac_try
='test -z "$ac_c_werror_flag"
17146 || test ! -s conftest.err'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; } &&
17152 { ac_try
='test -s conftest.$ac_objext'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; }; then
17160 cat >conftest.
$ac_ext <<_ACEOF
17163 cat confdefs.h
>>conftest.
$ac_ext
17164 cat >>conftest.
$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 $ac_includes_default
17170 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17177 rm -f conftest.
$ac_objext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17179 (eval $ac_compile) 2>conftest.er1
17181 grep -v '^ *+' conftest.er1
>conftest.err
17183 cat conftest.err
>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } &&
17186 { ac_try
='test -z "$ac_c_werror_flag"
17187 || test ! -s conftest.err'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; } &&
17193 { ac_try
='test -s conftest.$ac_objext'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; }; then
17199 ac_lo
=$ac_mid; break
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.
$ac_ext >&5
17204 ac_hi
=`expr '(' $ac_mid ')' - 1`
17205 if test $ac_mid -le $ac_hi; then
17209 ac_mid
=`expr 2 '*' $ac_mid`
17211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.
$ac_ext >&5
17219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17222 # Binary search between lo and hi bounds.
17223 while test "x$ac_lo" != "x$ac_hi"; do
17224 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17225 cat >conftest.
$ac_ext <<_ACEOF
17228 cat confdefs.h
>>conftest.
$ac_ext
17229 cat >>conftest.
$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17231 $ac_includes_default
17235 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17242 rm -f conftest.
$ac_objext
17243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17244 (eval $ac_compile) 2>conftest.er1
17246 grep -v '^ *+' conftest.er1
>conftest.err
17248 cat conftest.err
>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } &&
17251 { ac_try
='test -z "$ac_c_werror_flag"
17252 || test ! -s conftest.err'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; } &&
17258 { ac_try
='test -s conftest.$ac_objext'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; }; then
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.
$ac_ext >&5
17269 ac_lo
=`expr '(' $ac_mid ')' + 1`
17271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17274 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17275 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17276 See \`config.log' for more details." >&5
17277 echo "$as_me: error: cannot compute sizeof (long long), 77
17278 See \`config.log' for more details." >&2;}
17279 { (exit 1); exit 1; }; } ;;
17282 if test "$cross_compiling" = yes; then
17283 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17284 See \`config.log' for more details." >&5
17285 echo "$as_me: error: cannot run test program while cross compiling
17286 See \`config.log' for more details." >&2;}
17287 { (exit 1); exit 1; }; }
17289 cat >conftest.
$ac_ext <<_ACEOF
17292 cat confdefs.h
>>conftest.
$ac_ext
17293 cat >>conftest.
$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 $ac_includes_default
17296 long longval () { return (long) (sizeof (long long)); }
17297 unsigned long ulongval () { return (long) (sizeof (long long)); }
17299 #include <stdlib.h>
17304 FILE *f = fopen ("conftest.val", "w");
17307 if (((long) (sizeof (long long))) < 0)
17309 long i = longval ();
17310 if (i != ((long) (sizeof (long long))))
17312 fprintf (f, "%ld\n", i);
17316 unsigned long i = ulongval ();
17317 if (i != ((long) (sizeof (long long))))
17319 fprintf (f, "%lu\n", i);
17321 exit (ferror (f) || fclose (f) != 0);
17327 rm -f conftest
$ac_exeext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17329 (eval $ac_link) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 (eval $ac_try) 2>&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; }; then
17338 ac_cv_sizeof_long_long
=`cat conftest.val`
17340 echo "$as_me: program exited with status $ac_status" >&5
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.
$ac_ext >&5
17344 ( exit $ac_status )
17345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17346 See \`config.log' for more details." >&5
17347 echo "$as_me: error: cannot compute sizeof (long long), 77
17348 See \`config.log' for more details." >&2;}
17349 { (exit 1); exit 1; }; }
17351 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17356 ac_cv_sizeof_long_long
=0
17359 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17360 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17361 cat >>confdefs.h
<<_ACEOF
17362 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17368 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17369 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17370 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 if test "$cross_compiling" = yes; then
17378 wx_cv_sizeof_wchar_t
=0
17381 wx_cv_sizeof_wchar_t
=4
17387 cat >conftest.
$ac_ext <<_ACEOF
17390 cat confdefs.h
>>conftest.
$ac_ext
17391 cat >>conftest.
$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17394 /* DJGPP only has fake wchar_t: */
17396 # error "fake wchar_t"
17398 #ifdef HAVE_WCHAR_H
17400 # include <stddef.h>
17402 # include <wchar.h>
17404 #ifdef HAVE_STDLIB_H
17405 # include <stdlib.h>
17410 FILE *f=fopen("conftestval", "w");
17412 fprintf(f, "%i", sizeof(wchar_t));
17417 rm -f conftest
$ac_exeext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17419 (eval $ac_link) 2>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; }; then
17428 wx_cv_sizeof_wchar_t
=`cat conftestval`
17430 echo "$as_me: program exited with status $ac_status" >&5
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.
$ac_ext >&5
17434 ( exit $ac_status )
17435 wx_cv_sizeof_wchar_t
=0
17437 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17441 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17442 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17444 cat >>confdefs.h
<<_ACEOF
17445 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17449 # Check whether --enable-largefile or --disable-largefile was given.
17450 if test "${enable_largefile+set}" = set; then
17451 enableval
="$enable_largefile"
17454 if test "$enable_largefile" != no
; then
17457 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17458 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17459 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17460 echo $ECHO_N "(cached) $ECHO_C" >&6
17463 cat >conftest.
$ac_ext <<_ACEOF
17466 cat confdefs.h
>>conftest.
$ac_ext
17467 cat >>conftest.
$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 #define _FILE_OFFSET_BITS 64
17470 #include <sys/types.h>
17475 unsigned int field: sizeof(off_t) == 8;
17482 rm -f conftest.
$ac_objext
17483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17484 (eval $ac_compile) 2>conftest.er1
17486 grep -v '^ *+' conftest.er1
>conftest.err
17488 cat conftest.err
>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } &&
17491 { ac_try
='test -z "$ac_c_werror_flag"
17492 || test ! -s conftest.err'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; } &&
17498 { ac_try
='test -s conftest.$ac_objext'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; }; then
17504 ac_cv_sys_file_offset_bits
=64
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.
$ac_ext >&5
17509 ac_cv_sys_file_offset_bits
=no
17511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17515 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17516 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17518 if test "$ac_cv_sys_file_offset_bits" != no
; then
17520 cat >>confdefs.h
<<_ACEOF
17521 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17526 if test "x$wx_largefile" != "xyes"; then
17528 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17529 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17530 if test "${ac_cv_sys_large_files+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17534 cat >conftest.
$ac_ext <<_ACEOF
17537 cat confdefs.h
>>conftest.
$ac_ext
17538 cat >>conftest.
$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540 #define _LARGE_FILES 1
17541 #include <sys/types.h>
17546 unsigned int field: sizeof(off_t) == 8;
17553 rm -f conftest.
$ac_objext
17554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17555 (eval $ac_compile) 2>conftest.er1
17557 grep -v '^ *+' conftest.er1
>conftest.err
17559 cat conftest.err
>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } &&
17562 { ac_try
='test -z "$ac_c_werror_flag"
17563 || test ! -s conftest.err'
17564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17565 (eval $ac_try) 2>&5
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); }; } &&
17569 { ac_try
='test -s conftest.$ac_objext'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; }; then
17575 ac_cv_sys_large_files
=1
17577 echo "$as_me: failed program was:" >&5
17578 sed 's/^/| /' conftest.
$ac_ext >&5
17580 ac_cv_sys_large_files
=no
17582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17586 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17587 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17589 if test "$ac_cv_sys_large_files" != no
; then
17591 cat >>confdefs.h
<<_ACEOF
17592 #define _LARGE_FILES $ac_cv_sys_large_files
17599 echo "$as_me:$LINENO: checking if large file support is available" >&5
17600 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17601 if test "x$wx_largefile" = "xyes"; then
17602 cat >>confdefs.h
<<\_ACEOF
17603 #define HAVE_LARGEFILE_SUPPORT 1
17607 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17608 echo "${ECHO_T}$wx_largefile" >&6
17612 if test "x$wx_largefile" = "xyes"; then
17613 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17614 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17616 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
17618 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17621 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17622 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17623 if test "${ac_cv_c_bigendian+set}" = set; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17626 ac_cv_c_bigendian
=unknown
17627 # See if sys/param.h defines the BYTE_ORDER macro.
17628 cat >conftest.
$ac_ext <<_ACEOF
17631 cat confdefs.h
>>conftest.
$ac_ext
17632 cat >>conftest.
$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 #include <sys/types.h>
17635 #include <sys/param.h>
17640 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17641 bogus endian macros
17647 rm -f conftest.
$ac_objext
17648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17649 (eval $ac_compile) 2>conftest.er1
17651 grep -v '^ *+' conftest.er1
>conftest.err
17653 cat conftest.err
>&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } &&
17656 { ac_try
='test -z "$ac_c_werror_flag"
17657 || test ! -s conftest.err'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; } &&
17663 { ac_try
='test -s conftest.$ac_objext'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; }; then
17669 # It does; now see whether it defined to BIG_ENDIAN or not.
17670 cat >conftest.
$ac_ext <<_ACEOF
17673 cat confdefs.h
>>conftest.
$ac_ext
17674 cat >>conftest.
$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676 #include <sys/types.h>
17677 #include <sys/param.h>
17682 #if BYTE_ORDER != BIG_ENDIAN
17689 rm -f conftest.
$ac_objext
17690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17691 (eval $ac_compile) 2>conftest.er1
17693 grep -v '^ *+' conftest.er1
>conftest.err
17695 cat conftest.err
>&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); } &&
17698 { ac_try
='test -z "$ac_c_werror_flag"
17699 || test ! -s conftest.err'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; } &&
17705 { ac_try
='test -s conftest.$ac_objext'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; }; then
17711 ac_cv_c_bigendian
=yes
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.
$ac_ext >&5
17716 ac_cv_c_bigendian
=no
17718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.
$ac_ext >&5
17724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17725 if test $ac_cv_c_bigendian = unknown
; then
17726 if test "$cross_compiling" = yes; then
17727 ac_cv_c_bigendian
=unknown
17729 cat >conftest.
$ac_ext <<_ACEOF
17732 cat confdefs.h
>>conftest.
$ac_ext
17733 cat >>conftest.
$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17736 /* Are we little or big endian? From Harbison&Steele. */
17740 char c[sizeof (long)];
17743 exit (u.c[sizeof (long) - 1] == 1);
17746 rm -f conftest
$ac_exeext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17748 (eval $ac_link) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 ac_cv_c_bigendian
=no
17759 echo "$as_me: program exited with status $ac_status" >&5
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.
$ac_ext >&5
17763 ( exit $ac_status )
17764 ac_cv_c_bigendian
=yes
17766 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17770 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17771 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17772 if test $ac_cv_c_bigendian = unknown
; then
17773 { 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
17774 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;}
17776 if test $ac_cv_c_bigendian = yes; then
17777 cat >>confdefs.h
<<\_ACEOF
17778 #define WORDS_BIGENDIAN 1
17786 ac_cpp
='$CXXCPP $CPPFLAGS'
17787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17790 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17791 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17792 if test -z "$CXXCPP"; then
17793 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17796 # Double quotes because CXXCPP needs to be expanded
17797 for CXXCPP
in "$CXX -E" "/lib/cpp"
17799 ac_preproc_ok
=false
17800 for ac_cxx_preproc_warn_flag
in '' yes
17802 # Use a header file that comes with gcc, so configuring glibc
17803 # with a fresh cross-compiler works.
17804 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17805 # <limits.h> exists even on freestanding compilers.
17806 # On the NeXT, cc -E runs the code through the compiler's parser,
17807 # not just through cpp. "Syntax error" is here to catch this case.
17808 cat >conftest.
$ac_ext <<_ACEOF
17811 cat confdefs.h
>>conftest.
$ac_ext
17812 cat >>conftest.
$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17815 # include <limits.h>
17817 # include <assert.h>
17821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17822 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17824 grep -v '^ *+' conftest.er1
>conftest.err
17826 cat conftest.err
>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } >/dev
/null
; then
17829 if test -s conftest.err
; then
17830 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17831 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17838 if test -z "$ac_cpp_err"; then
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.
$ac_ext >&5
17844 # Broken: fails on valid input.
17847 rm -f conftest.err conftest.
$ac_ext
17849 # OK, works on sane cases. Now check whether non-existent headers
17850 # can be detected and how.
17851 cat >conftest.
$ac_ext <<_ACEOF
17854 cat confdefs.h
>>conftest.
$ac_ext
17855 cat >>conftest.
$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <ac_nonexistent.h>
17859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17862 grep -v '^ *+' conftest.er1
>conftest.err
17864 cat conftest.err
>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } >/dev
/null
; then
17867 if test -s conftest.err
; then
17868 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17869 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17876 if test -z "$ac_cpp_err"; then
17877 # Broken: success on invalid input.
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.
$ac_ext >&5
17883 # Passes both tests.
17887 rm -f conftest.err conftest.
$ac_ext
17890 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17891 rm -f conftest.err conftest.
$ac_ext
17892 if $ac_preproc_ok; then
17897 ac_cv_prog_CXXCPP
=$CXXCPP
17900 CXXCPP
=$ac_cv_prog_CXXCPP
17902 ac_cv_prog_CXXCPP
=$CXXCPP
17904 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17905 echo "${ECHO_T}$CXXCPP" >&6
17906 ac_preproc_ok
=false
17907 for ac_cxx_preproc_warn_flag
in '' yes
17909 # Use a header file that comes with gcc, so configuring glibc
17910 # with a fresh cross-compiler works.
17911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17912 # <limits.h> exists even on freestanding compilers.
17913 # On the NeXT, cc -E runs the code through the compiler's parser,
17914 # not just through cpp. "Syntax error" is here to catch this case.
17915 cat >conftest.
$ac_ext <<_ACEOF
17918 cat confdefs.h
>>conftest.
$ac_ext
17919 cat >>conftest.
$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17922 # include <limits.h>
17924 # include <assert.h>
17928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17931 grep -v '^ *+' conftest.er1
>conftest.err
17933 cat conftest.err
>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } >/dev
/null
; then
17936 if test -s conftest.err
; then
17937 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17938 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17945 if test -z "$ac_cpp_err"; then
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.
$ac_ext >&5
17951 # Broken: fails on valid input.
17954 rm -f conftest.err conftest.
$ac_ext
17956 # OK, works on sane cases. Now check whether non-existent headers
17957 # can be detected and how.
17958 cat >conftest.
$ac_ext <<_ACEOF
17961 cat confdefs.h
>>conftest.
$ac_ext
17962 cat >>conftest.
$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 #include <ac_nonexistent.h>
17966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17969 grep -v '^ *+' conftest.er1
>conftest.err
17971 cat conftest.err
>&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); } >/dev
/null
; then
17974 if test -s conftest.err
; then
17975 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17976 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17983 if test -z "$ac_cpp_err"; then
17984 # Broken: success on invalid input.
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.
$ac_ext >&5
17990 # Passes both tests.
17994 rm -f conftest.err conftest.
$ac_ext
17997 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17998 rm -f conftest.err conftest.
$ac_ext
17999 if $ac_preproc_ok; then
18002 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18003 See \`config.log' for more details." >&5
18004 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18005 See \`config.log' for more details." >&2;}
18006 { (exit 1); exit 1; }; }
18010 ac_cpp
='$CXXCPP $CPPFLAGS'
18011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18017 if test "$cross_compiling" = "yes"; then
18018 cat >>confdefs.h
<<\_ACEOF
18019 #define wxUSE_IOSTREAMH 1
18026 ac_cpp
='$CXXCPP $CPPFLAGS'
18027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18033 for ac_header
in iostream
18035 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18037 echo "$as_me:$LINENO: checking for $ac_header" >&5
18038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18040 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18045 # Is the header compilable?
18046 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18047 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18048 cat >conftest.
$ac_ext <<_ACEOF
18051 cat confdefs.h
>>conftest.
$ac_ext
18052 cat >>conftest.
$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 $ac_includes_default
18055 #include <$ac_header>
18057 rm -f conftest.
$ac_objext
18058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18059 (eval $ac_compile) 2>conftest.er1
18061 grep -v '^ *+' conftest.er1
>conftest.err
18063 cat conftest.err
>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); } &&
18066 { ac_try
='test -z "$ac_cxx_werror_flag"
18067 || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try
='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_header_compiler
=yes
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.
$ac_ext >&5
18084 ac_header_compiler
=no
18086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18088 echo "${ECHO_T}$ac_header_compiler" >&6
18090 # Is the header present?
18091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18093 cat >conftest.
$ac_ext <<_ACEOF
18096 cat confdefs.h
>>conftest.
$ac_ext
18097 cat >>conftest.
$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 #include <$ac_header>
18101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18104 grep -v '^ *+' conftest.er1
>conftest.err
18106 cat conftest.err
>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } >/dev
/null
; then
18109 if test -s conftest.err
; then
18110 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18111 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18118 if test -z "$ac_cpp_err"; then
18119 ac_header_preproc
=yes
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.
$ac_ext >&5
18124 ac_header_preproc
=no
18126 rm -f conftest.err conftest.
$ac_ext
18127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18128 echo "${ECHO_T}$ac_header_preproc" >&6
18130 # So? What about this header?
18131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18137 ac_header_preproc
=yes
18140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18154 ## ----------------------------------------- ##
18155 ## Report this to wx-dev@lists.wxwindows.org ##
18156 ## ----------------------------------------- ##
18159 sed "s/^/$as_me: WARNING: /" >&2
18162 echo "$as_me:$LINENO: checking for $ac_header" >&5
18163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18165 echo $ECHO_N "(cached) $ECHO_C" >&6
18167 eval "$as_ac_Header=\$ac_header_preproc"
18169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18174 cat >>confdefs.h
<<_ACEOF
18175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18183 if test "$ac_cv_header_iostream" = "yes" ; then
18186 cat >>confdefs.h
<<\_ACEOF
18187 #define wxUSE_IOSTREAMH 1
18193 ac_cpp
='$CPP $CPPFLAGS'
18194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18202 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18203 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18204 if test "${wx_cv_cpp_bool+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18211 ac_cpp
='$CXXCPP $CPPFLAGS'
18212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18217 cat >conftest.
$ac_ext <<_ACEOF
18220 cat confdefs.h
>>conftest.
$ac_ext
18221 cat >>conftest.
$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18237 rm -f conftest.
$ac_objext
18238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18239 (eval $ac_compile) 2>conftest.er1
18241 grep -v '^ *+' conftest.er1
>conftest.err
18243 cat conftest.err
>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } &&
18246 { ac_try
='test -z "$ac_cxx_werror_flag"
18247 || test ! -s conftest.err'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; } &&
18253 { ac_try
='test -s conftest.$ac_objext'
18254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18255 (eval $ac_try) 2>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); }; }; then
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.
$ac_ext >&5
18271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18274 ac_cpp
='$CPP $CPPFLAGS'
18275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18281 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18282 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18284 if test "$wx_cv_cpp_bool" = "yes"; then
18285 cat >>confdefs.h
<<\_ACEOF
18286 #define HAVE_BOOL 1
18293 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18294 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18295 if test "${wx_cv_explicit+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 ac_cpp
='$CXXCPP $CPPFLAGS'
18303 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18304 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18305 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18308 cat >conftest.
$ac_ext <<_ACEOF
18311 cat confdefs.h
>>conftest.
$ac_ext
18312 cat >>conftest.
$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18315 class Foo { public: explicit Foo(int) {} };
18327 rm -f conftest.
$ac_objext
18328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18329 (eval $ac_compile) 2>conftest.er1
18331 grep -v '^ *+' conftest.er1
>conftest.err
18333 cat conftest.err
>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); } &&
18336 { ac_try
='test -z "$ac_cxx_werror_flag"
18337 || test ! -s conftest.err'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; } &&
18343 { ac_try
='test -s conftest.$ac_objext'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; }; then
18350 cat >conftest.
$ac_ext <<_ACEOF
18353 cat confdefs.h
>>conftest.
$ac_ext
18354 cat >>conftest.
$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18357 class Foo { public: explicit Foo(int) {} };
18358 static void TakeFoo(const Foo& foo) { }
18371 rm -f conftest.
$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373 (eval $ac_compile) 2>conftest.er1
18375 grep -v '^ *+' conftest.er1
>conftest.err
18377 cat conftest.err
>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try
='test -z "$ac_cxx_werror_flag"
18381 || test ! -s conftest.err'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; } &&
18387 { ac_try
='test -s conftest.$ac_objext'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; }; then
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.
$ac_ext >&5
18401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.
$ac_ext >&5
18410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18413 ac_cpp
='$CPP $CPPFLAGS'
18414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18420 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18421 echo "${ECHO_T}$wx_cv_explicit" >&6
18423 if test "$wx_cv_explicit" = "yes"; then
18424 cat >>confdefs.h
<<\_ACEOF
18425 #define HAVE_EXPLICIT 1
18431 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18432 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18433 if test "${ac_cv_cxx_const_cast+set}" = set; then
18434 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 ac_cpp
='$CXXCPP $CPPFLAGS'
18440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18444 cat >conftest.
$ac_ext <<_ACEOF
18447 cat confdefs.h
>>conftest.
$ac_ext
18448 cat >>conftest.
$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18454 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18459 rm -f conftest.
$ac_objext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18461 (eval $ac_compile) 2>conftest.er1
18463 grep -v '^ *+' conftest.er1
>conftest.err
18465 cat conftest.err
>&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } &&
18468 { ac_try
='test -z "$ac_cxx_werror_flag"
18469 || test ! -s conftest.err'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; } &&
18475 { ac_try
='test -s conftest.$ac_objext'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; }; then
18481 ac_cv_cxx_const_cast
=yes
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.
$ac_ext >&5
18486 ac_cv_cxx_const_cast
=no
18488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18490 ac_cpp
='$CPP $CPPFLAGS'
18491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18497 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18498 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18499 if test "$ac_cv_cxx_const_cast" = yes; then
18501 cat >>confdefs.h
<<\_ACEOF
18502 #define HAVE_CONST_CAST
18508 if test "$wxUSE_STL" = "yes"; then
18510 ac_cpp
='$CXXCPP $CPPFLAGS'
18511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18516 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18517 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18518 cat >conftest.
$ac_ext <<_ACEOF
18521 cat confdefs.h
>>conftest.
$ac_ext
18522 cat >>conftest.
$ac_ext <<_ACEOF
18523 /* end confdefs.h. */
18525 #include <functional>
18526 #include <algorithm>
18532 std::vector<int> moo;
18533 std::list<int> foo;
18534 std::vector<int>::iterator it =
18535 std::find_if(moo.begin(), moo.end(),
18536 std::bind2nd(std::less<int>(), 3));
18541 rm -f conftest.
$ac_objext
18542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18543 (eval $ac_compile) 2>conftest.er1
18545 grep -v '^ *+' conftest.er1
>conftest.err
18547 cat conftest.err
>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } &&
18550 { ac_try
='test -z "$ac_cxx_werror_flag"
18551 || test ! -s conftest.err'
18552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); }; } &&
18557 { ac_try
='test -s conftest.$ac_objext'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; }; then
18563 echo "$as_me:$LINENO: result: yes" >&5
18564 echo "${ECHO_T}yes" >&6
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.
$ac_ext >&5
18569 echo "$as_me:$LINENO: result: no" >&5
18570 echo "${ECHO_T}no" >&6
18571 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18572 echo "$as_me: error: Basic STL functionality missing" >&2;}
18573 { (exit 1); exit 1; }; }
18575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18577 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18578 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18579 cat >conftest.
$ac_ext <<_ACEOF
18582 cat confdefs.h
>>conftest.
$ac_ext
18583 cat >>conftest.
$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18594 rm -f conftest.
$ac_objext
18595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18596 (eval $ac_compile) 2>conftest.er1
18598 grep -v '^ *+' conftest.er1
>conftest.err
18600 cat conftest.err
>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } &&
18603 { ac_try
='test -z "$ac_cxx_werror_flag"
18604 || test ! -s conftest.err'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; } &&
18610 { ac_try
='test -s conftest.$ac_objext'
18611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18612 (eval $ac_try) 2>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); }; }; then
18616 echo "$as_me:$LINENO: result: yes" >&5
18617 echo "${ECHO_T}yes" >&6
18618 cat >>confdefs.h
<<\_ACEOF
18619 #define HAVE_STD_WSTRING 1
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.
$ac_ext >&5
18626 echo "$as_me:$LINENO: result: no" >&5
18627 echo "${ECHO_T}no" >&6
18629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18631 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18632 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18633 cat >conftest.
$ac_ext <<_ACEOF
18636 cat confdefs.h
>>conftest.
$ac_ext
18637 cat >>conftest.
$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18643 std::string foo, bar;
18645 foo.compare(1, 1, bar);
18646 foo.compare(1, 1, bar, 1, 1);
18648 foo.compare(1, 1, "");
18649 foo.compare(1, 1, "", 2);
18654 rm -f conftest.
$ac_objext
18655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18656 (eval $ac_compile) 2>conftest.er1
18658 grep -v '^ *+' conftest.er1
>conftest.err
18660 cat conftest.err
>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try
='test -z "$ac_cxx_werror_flag"
18664 || test ! -s conftest.err'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; } &&
18670 { ac_try
='test -s conftest.$ac_objext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 echo "$as_me:$LINENO: result: yes" >&5
18677 echo "${ECHO_T}yes" >&6
18678 cat >>confdefs.h
<<\_ACEOF
18679 #define HAVE_STD_STRING_COMPARE 1
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.
$ac_ext >&5
18686 echo "$as_me:$LINENO: result: no" >&5
18687 echo "${ECHO_T}no" >&6
18689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18692 ac_cpp
='$CPP $CPPFLAGS'
18693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18701 /usr/local/include \
18703 /usr/Motif-1.2/include \
18704 /usr/Motif-2.1/include \
18706 /usr/include/Motif1.2 \
18707 /opt/xpm/include/X11 \
18708 /opt/GBxpm/include/ \
18709 /opt/GBxpm/X11/include/ \
18711 /usr/Motif1.2/include \
18713 /usr/openwin/include \
18717 /usr/X11R6/include \
18718 /usr/X11R6.4/include \
18719 /usr/X11R5/include \
18720 /usr/X11R4/include \
18722 /usr/include/X11R6 \
18723 /usr/include/X11R5 \
18724 /usr/include/X11R4 \
18726 /usr/local/X11R6/include \
18727 /usr/local/X11R5/include \
18728 /usr/local/X11R4/include \
18730 /usr/local/include/X11R6 \
18731 /usr/local/include/X11R5 \
18732 /usr/local/include/X11R4 \
18736 /usr/local/X11/include \
18737 /usr/local/include/X11 \
18739 /usr/X386/include \
18740 /usr/x386/include \
18741 /usr/XFree86/include/X11 \
18743 X:/XFree86/include \
18744 X:/XFree86/include/X11 \
18747 /usr/local/include/gtk \
18748 /usr/include/glib \
18749 /usr/local/include/glib \
18752 /usr/local/include/qt \
18754 /usr/include/windows \
18755 /usr/include/wine \
18756 /usr/local/include/wine \
18758 /usr/unsupported/include \
18759 /usr/athena/include \
18760 /usr/local/x11r5/include \
18761 /usr/lpp/Xamples/include \
18763 /usr/openwin/share/include"
18765 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
18768 cat >confcache
<<\_ACEOF
18769 # This file is a shell script that caches the results of configure
18770 # tests run on this system so they can be shared between configure
18771 # scripts and configure runs, see configure's option --config-cache.
18772 # It is not useful on other systems. If it contains results you don't
18773 # want to keep, you may remove or edit it.
18775 # config.status only pays attention to the cache file if you give it
18776 # the --recheck option to rerun configure.
18778 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18779 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18780 # following values.
18784 # The following way of writing the cache mishandles newlines in values,
18785 # but we know of no workaround that is simple, portable, and efficient.
18786 # So, don't put newlines in cache variables' values.
18787 # Ultrix sh set writes to stderr and can't be redirected directly,
18788 # and sets the high bit in the cache file unless we assign to the vars.
18791 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18793 # `set' does not quote correctly, so add quotes (double-quote
18794 # substitution turns \\\\ into \\, and sed turns \\ into \).
18797 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18800 # `set' quotes correctly as required by POSIX, so do not add quotes.
18802 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18809 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18811 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18813 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18814 if test -w $cache_file; then
18815 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18816 cat confcache
>$cache_file
18818 echo "not updating unwritable cache $cache_file"
18823 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18824 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18825 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18826 if test "${wx_cv_lib_glibc21+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 cat >conftest.
$ac_ext <<_ACEOF
18833 cat confdefs.h
>>conftest.
$ac_ext
18834 cat >>conftest.
$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18836 #include <features.h>
18841 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18842 #error not glibc2.1
18849 rm -f conftest.
$ac_objext
18850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18851 (eval $ac_compile) 2>conftest.er1
18853 grep -v '^ *+' conftest.er1
>conftest.err
18855 cat conftest.err
>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } &&
18858 { ac_try
='test -z "$ac_c_werror_flag"
18859 || test ! -s conftest.err'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; } &&
18865 { ac_try
='test -s conftest.$ac_objext'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; }; then
18872 wx_cv_lib_glibc21
=yes
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.
$ac_ext >&5
18879 wx_cv_lib_glibc21
=no
18883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18886 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18887 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18888 if test "$wx_cv_lib_glibc21" = "yes"; then
18889 cat >>confdefs.h
<<\_ACEOF
18890 #define wxHAVE_GLIBC2 1
18896 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18897 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18898 cat >>confdefs.h
<<\_ACEOF
18899 #define _GNU_SOURCE 1
18907 if test "$wxUSE_REGEX" != "no"; then
18908 cat >>confdefs.h
<<\_ACEOF
18909 #define wxUSE_REGEX 1
18913 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18914 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
18915 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
18916 wxUSE_REGEX
=builtin
18919 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18920 if test "${ac_cv_header_regex_h+set}" = set; then
18921 echo "$as_me:$LINENO: checking for regex.h" >&5
18922 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18923 if test "${ac_cv_header_regex_h+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18927 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18929 # Is the header compilable?
18930 echo "$as_me:$LINENO: checking regex.h usability" >&5
18931 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18932 cat >conftest.
$ac_ext <<_ACEOF
18935 cat confdefs.h
>>conftest.
$ac_ext
18936 cat >>conftest.
$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938 $ac_includes_default
18941 rm -f conftest.
$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18945 grep -v '^ *+' conftest.er1
>conftest.err
18947 cat conftest.err
>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try
='test -z "$ac_c_werror_flag"
18951 || test ! -s conftest.err'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; } &&
18957 { ac_try
='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 ac_header_compiler
=yes
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.
$ac_ext >&5
18968 ac_header_compiler
=no
18970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18972 echo "${ECHO_T}$ac_header_compiler" >&6
18974 # Is the header present?
18975 echo "$as_me:$LINENO: checking regex.h presence" >&5
18976 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18977 cat >conftest.
$ac_ext <<_ACEOF
18980 cat confdefs.h
>>conftest.
$ac_ext
18981 cat >>conftest.
$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18988 grep -v '^ *+' conftest.er1
>conftest.err
18990 cat conftest.err
>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } >/dev
/null
; then
18993 if test -s conftest.err
; then
18994 ac_cpp_err
=$ac_c_preproc_warn_flag
18995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19002 if test -z "$ac_cpp_err"; then
19003 ac_header_preproc
=yes
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.
$ac_ext >&5
19008 ac_header_preproc
=no
19010 rm -f conftest.err conftest.
$ac_ext
19011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19012 echo "${ECHO_T}$ac_header_preproc" >&6
19014 # So? What about this header?
19015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19017 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19018 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19019 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19020 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19021 ac_header_preproc
=yes
19024 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19025 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19026 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19027 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19028 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19029 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19030 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19031 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19032 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19033 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19034 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19035 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19038 ## ----------------------------------------- ##
19039 ## Report this to wx-dev@lists.wxwindows.org ##
19040 ## ----------------------------------------- ##
19043 sed "s/^/$as_me: WARNING: /" >&2
19046 echo "$as_me:$LINENO: checking for regex.h" >&5
19047 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19048 if test "${ac_cv_header_regex_h+set}" = set; then
19049 echo $ECHO_N "(cached) $ECHO_C" >&6
19051 ac_cv_header_regex_h
=$ac_header_preproc
19053 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19054 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19057 if test $ac_cv_header_regex_h = yes; then
19059 for ac_func
in regcomp
19061 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19062 echo "$as_me:$LINENO: checking for $ac_func" >&5
19063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19064 if eval "test \"\${$as_ac_var+set}\" = set"; then
19065 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 cat >conftest.
$ac_ext <<_ACEOF
19070 cat confdefs.h
>>conftest.
$ac_ext
19071 cat >>conftest.
$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19075 #define $ac_func innocuous_$ac_func
19077 /* System header to define __stub macros and hopefully few prototypes,
19078 which can conflict with char $ac_func (); below.
19079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19080 <limits.h> exists even on freestanding compilers. */
19083 # include <limits.h>
19085 # include <assert.h>
19090 /* Override any gcc2 internal prototype to avoid an error. */
19095 /* We use char because int might match the return type of a gcc2
19096 builtin and then its argument prototype would still apply. */
19098 /* The GNU C library defines this for functions which it implements
19099 to always fail with ENOSYS. Some functions are actually named
19100 something starting with __ and the normal name is an alias. */
19101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19104 char (*f) () = $ac_func;
19113 return f != $ac_func;
19118 rm -f conftest.
$ac_objext conftest
$ac_exeext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19120 (eval $ac_link) 2>conftest.er1
19122 grep -v '^ *+' conftest.er1
>conftest.err
19124 cat conftest.err
>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try
='test -z "$ac_c_werror_flag"
19128 || test ! -s conftest.err'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } &&
19134 { ac_try
='test -s conftest$ac_exeext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 eval "$as_ac_var=yes"
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.
$ac_ext >&5
19145 eval "$as_ac_var=no"
19147 rm -f conftest.err conftest.
$ac_objext \
19148 conftest
$ac_exeext conftest.
$ac_ext
19150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19152 if test `eval echo '${'$as_ac_var'}'` = yes; then
19153 cat >>confdefs.h
<<_ACEOF
19154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19164 if test "x$ac_cv_func_regcomp" != "xyes"; then
19165 if test "$wxUSE_REGEX" = "sys" ; then
19166 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19167 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19168 { (exit 1); exit 1; }; }
19170 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19171 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19172 wxUSE_REGEX
=builtin
19182 if test "$wxUSE_ZLIB" != "no" ; then
19183 cat >>confdefs.h
<<\_ACEOF
19184 #define wxUSE_ZLIB 1
19188 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19189 if test "$USE_DARWIN" = 1; then
19190 system_zlib_h_ok
="yes"
19192 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19193 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19194 if test "${ac_cv_header_zlib_h+set}" = set; then
19195 echo $ECHO_N "(cached) $ECHO_C" >&6
19197 if test "$cross_compiling" = yes; then
19198 unset ac_cv_header_zlib_h
19201 cat >conftest.
$ac_ext <<_ACEOF
19204 cat confdefs.h
>>conftest.
$ac_ext
19205 cat >>conftest.
$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19213 FILE *f=fopen("conftestval", "w");
19216 ZLIB_VERSION[0] == '1' &&
19217 (ZLIB_VERSION[2] > '1' ||
19218 (ZLIB_VERSION[2] == '1' &&
19219 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19224 rm -f conftest
$ac_exeext
19225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19226 (eval $ac_link) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; }; then
19235 ac_cv_header_zlib_h
=`cat conftestval`
19237 echo "$as_me: program exited with status $ac_status" >&5
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.
$ac_ext >&5
19241 ( exit $ac_status )
19242 ac_cv_header_zlib_h
=no
19244 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19248 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19249 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19250 if test "${ac_cv_header_zlib_h+set}" = set; then
19251 echo "$as_me:$LINENO: checking for zlib.h" >&5
19252 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19253 if test "${ac_cv_header_zlib_h+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19257 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19259 # Is the header compilable?
19260 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19261 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19262 cat >conftest.
$ac_ext <<_ACEOF
19265 cat confdefs.h
>>conftest.
$ac_ext
19266 cat >>conftest.
$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 $ac_includes_default
19271 rm -f conftest.
$ac_objext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19273 (eval $ac_compile) 2>conftest.er1
19275 grep -v '^ *+' conftest.er1
>conftest.err
19277 cat conftest.err
>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } &&
19280 { ac_try
='test -z "$ac_c_werror_flag"
19281 || test ! -s conftest.err'
19282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283 (eval $ac_try) 2>&5
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; } &&
19287 { ac_try
='test -s conftest.$ac_objext'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; }; then
19293 ac_header_compiler
=yes
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.
$ac_ext >&5
19298 ac_header_compiler
=no
19300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19302 echo "${ECHO_T}$ac_header_compiler" >&6
19304 # Is the header present?
19305 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19306 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19307 cat >conftest.
$ac_ext <<_ACEOF
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19318 grep -v '^ *+' conftest.er1
>conftest.err
19320 cat conftest.err
>&5
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); } >/dev
/null
; then
19323 if test -s conftest.err
; then
19324 ac_cpp_err
=$ac_c_preproc_warn_flag
19325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19332 if test -z "$ac_cpp_err"; then
19333 ac_header_preproc
=yes
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.
$ac_ext >&5
19338 ac_header_preproc
=no
19340 rm -f conftest.err conftest.
$ac_ext
19341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19342 echo "${ECHO_T}$ac_header_preproc" >&6
19344 # So? What about this header?
19345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19347 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19348 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19349 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19350 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19351 ac_header_preproc
=yes
19354 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19355 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19356 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19357 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19358 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19359 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19360 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19361 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19362 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19363 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19364 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19365 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19368 ## ----------------------------------------- ##
19369 ## Report this to wx-dev@lists.wxwindows.org ##
19370 ## ----------------------------------------- ##
19373 sed "s/^/$as_me: WARNING: /" >&2
19376 echo "$as_me:$LINENO: checking for zlib.h" >&5
19377 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19378 if test "${ac_cv_header_zlib_h+set}" = set; then
19379 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 ac_cv_header_zlib_h
=$ac_header_preproc
19383 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19384 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19390 system_zlib_h_ok
=$ac_cv_header_zlib_h
19393 if test "$system_zlib_h_ok" = "yes"; then
19394 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19395 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19396 if test "${ac_cv_lib_z_deflate+set}" = set; then
19397 echo $ECHO_N "(cached) $ECHO_C" >&6
19399 ac_check_lib_save_LIBS
=$LIBS
19401 cat >conftest.
$ac_ext <<_ACEOF
19404 cat confdefs.h
>>conftest.
$ac_ext
19405 cat >>conftest.
$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19408 /* Override any gcc2 internal prototype to avoid an error. */
19412 /* We use char because int might match the return type of a gcc2
19413 builtin and then its argument prototype would still apply. */
19423 rm -f conftest.
$ac_objext conftest
$ac_exeext
19424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19425 (eval $ac_link) 2>conftest.er1
19427 grep -v '^ *+' conftest.er1
>conftest.err
19429 cat conftest.err
>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); } &&
19432 { ac_try
='test -z "$ac_c_werror_flag"
19433 || test ! -s conftest.err'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; } &&
19439 { ac_try
='test -s conftest$ac_exeext'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; }; then
19445 ac_cv_lib_z_deflate
=yes
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.
$ac_ext >&5
19450 ac_cv_lib_z_deflate
=no
19452 rm -f conftest.err conftest.
$ac_objext \
19453 conftest
$ac_exeext conftest.
$ac_ext
19454 LIBS
=$ac_check_lib_save_LIBS
19456 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19457 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19458 if test $ac_cv_lib_z_deflate = yes; then
19464 if test "x$ZLIB_LINK" = "x" ; then
19465 if test "$wxUSE_ZLIB" = "sys" ; then
19466 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19467 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19468 { (exit 1); exit 1; }; }
19470 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19471 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19482 if test "$wxUSE_LIBPNG" != "no" ; then
19483 cat >>confdefs.h
<<\_ACEOF
19484 #define wxUSE_LIBPNG 1
19488 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19489 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19490 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19494 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19495 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19496 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19497 wxUSE_LIBPNG
=builtin
19500 if test "$wxUSE_MGL" != 1 ; then
19501 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19502 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19503 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19504 if test "${ac_cv_header_png_h+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 if test "$cross_compiling" = yes; then
19508 unset ac_cv_header_png_h
19511 cat >conftest.
$ac_ext <<_ACEOF
19514 cat confdefs.h
>>conftest.
$ac_ext
19515 cat >>conftest.
$ac_ext <<_ACEOF
19516 /* end confdefs.h. */
19523 FILE *f=fopen("conftestval", "w");
19526 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19531 rm -f conftest
$ac_exeext
19532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19533 (eval $ac_link) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; }; then
19542 ac_cv_header_png_h
=`cat conftestval`
19544 echo "$as_me: program exited with status $ac_status" >&5
19545 echo "$as_me: failed program was:" >&5
19546 sed 's/^/| /' conftest.
$ac_ext >&5
19548 ( exit $ac_status )
19549 ac_cv_header_png_h
=no
19551 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19555 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19556 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19557 if test "${ac_cv_header_png_h+set}" = set; then
19558 echo "$as_me:$LINENO: checking for png.h" >&5
19559 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19560 if test "${ac_cv_header_png_h+set}" = set; then
19561 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19564 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19566 # Is the header compilable?
19567 echo "$as_me:$LINENO: checking png.h usability" >&5
19568 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19569 cat >conftest.
$ac_ext <<_ACEOF
19572 cat confdefs.h
>>conftest.
$ac_ext
19573 cat >>conftest.
$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19578 rm -f conftest.
$ac_objext
19579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19580 (eval $ac_compile) 2>conftest.er1
19582 grep -v '^ *+' conftest.er1
>conftest.err
19584 cat conftest.err
>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); } &&
19587 { ac_try
='test -z "$ac_c_werror_flag"
19588 || test ! -s conftest.err'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; } &&
19594 { ac_try
='test -s conftest.$ac_objext'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; }; then
19600 ac_header_compiler
=yes
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.
$ac_ext >&5
19605 ac_header_compiler
=no
19607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19609 echo "${ECHO_T}$ac_header_compiler" >&6
19611 # Is the header present?
19612 echo "$as_me:$LINENO: checking png.h presence" >&5
19613 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19614 cat >conftest.
$ac_ext <<_ACEOF
19617 cat confdefs.h
>>conftest.
$ac_ext
19618 cat >>conftest.
$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19625 grep -v '^ *+' conftest.er1
>conftest.err
19627 cat conftest.err
>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } >/dev
/null
; then
19630 if test -s conftest.err
; then
19631 ac_cpp_err
=$ac_c_preproc_warn_flag
19632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19639 if test -z "$ac_cpp_err"; then
19640 ac_header_preproc
=yes
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.
$ac_ext >&5
19645 ac_header_preproc
=no
19647 rm -f conftest.err conftest.
$ac_ext
19648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19649 echo "${ECHO_T}$ac_header_preproc" >&6
19651 # So? What about this header?
19652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19654 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19655 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19656 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
19657 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
19658 ac_header_preproc
=yes
19661 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19662 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19663 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19664 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19665 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
19666 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
19667 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
19668 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
19669 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19670 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19671 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
19672 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
19675 ## ----------------------------------------- ##
19676 ## Report this to wx-dev@lists.wxwindows.org ##
19677 ## ----------------------------------------- ##
19680 sed "s/^/$as_me: WARNING: /" >&2
19683 echo "$as_me:$LINENO: checking for png.h" >&5
19684 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19685 if test "${ac_cv_header_png_h+set}" = set; then
19686 echo $ECHO_N "(cached) $ECHO_C" >&6
19688 ac_cv_header_png_h
=$ac_header_preproc
19690 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19691 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19697 if test "$ac_cv_header_png_h" = "yes"; then
19698 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19699 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19700 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 ac_check_lib_save_LIBS
=$LIBS
19704 LIBS
="-lpng -lz -lm $LIBS"
19705 cat >conftest.
$ac_ext <<_ACEOF
19708 cat confdefs.h
>>conftest.
$ac_ext
19709 cat >>conftest.
$ac_ext <<_ACEOF
19710 /* end confdefs.h. */
19712 /* Override any gcc2 internal prototype to avoid an error. */
19716 /* We use char because int might match the return type of a gcc2
19717 builtin and then its argument prototype would still apply. */
19718 char png_check_sig ();
19727 rm -f conftest.
$ac_objext conftest
$ac_exeext
19728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19729 (eval $ac_link) 2>conftest.er1
19731 grep -v '^ *+' conftest.er1
>conftest.err
19733 cat conftest.err
>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } &&
19736 { ac_try
='test -z "$ac_c_werror_flag"
19737 || test ! -s conftest.err'
19738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19739 (eval $ac_try) 2>&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); }; } &&
19743 { ac_try
='test -s conftest$ac_exeext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19749 ac_cv_lib_png_png_check_sig
=yes
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.
$ac_ext >&5
19754 ac_cv_lib_png_png_check_sig
=no
19756 rm -f conftest.err conftest.
$ac_objext \
19757 conftest
$ac_exeext conftest.
$ac_ext
19758 LIBS
=$ac_check_lib_save_LIBS
19760 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19761 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19762 if test $ac_cv_lib_png_png_check_sig = yes; then
19768 if test "x$PNG_LINK" = "x" ; then
19769 if test "$wxUSE_LIBPNG" = "sys" ; then
19770 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19771 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19772 { (exit 1); exit 1; }; }
19774 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19775 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19776 wxUSE_LIBPNG
=builtin
19784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
19789 if test "$wxUSE_LIBJPEG" != "no" ; then
19790 cat >>confdefs.h
<<\_ACEOF
19791 #define wxUSE_LIBJPEG 1
19795 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19796 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19797 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19801 if test "$wxUSE_MGL" != 1 ; then
19802 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19803 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19804 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19805 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 cat >conftest.
$ac_ext <<_ACEOF
19811 cat confdefs.h
>>conftest.
$ac_ext
19812 cat >>conftest.
$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19815 #undef HAVE_STDLIB_H
19817 #include <jpeglib.h>
19828 rm -f conftest.
$ac_objext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19830 (eval $ac_compile) 2>conftest.er1
19832 grep -v '^ *+' conftest.er1
>conftest.err
19834 cat conftest.err
>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } &&
19837 { ac_try
='test -z "$ac_c_werror_flag"
19838 || test ! -s conftest.err'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; } &&
19844 { ac_try
='test -s conftest.$ac_objext'
19845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846 (eval $ac_try) 2>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); }; }; then
19850 ac_cv_header_jpeglib_h
=yes
19852 echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.
$ac_ext >&5
19855 ac_cv_header_jpeglib_h
=no
19858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19862 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19863 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19865 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19866 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19867 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19868 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 ac_check_lib_save_LIBS
=$LIBS
19872 LIBS
="-ljpeg $LIBS"
19873 cat >conftest.
$ac_ext <<_ACEOF
19876 cat confdefs.h
>>conftest.
$ac_ext
19877 cat >>conftest.
$ac_ext <<_ACEOF
19878 /* end confdefs.h. */
19880 /* Override any gcc2 internal prototype to avoid an error. */
19884 /* We use char because int might match the return type of a gcc2
19885 builtin and then its argument prototype would still apply. */
19886 char jpeg_read_header ();
19890 jpeg_read_header ();
19895 rm -f conftest.
$ac_objext conftest
$ac_exeext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19897 (eval $ac_link) 2>conftest.er1
19899 grep -v '^ *+' conftest.er1
>conftest.err
19901 cat conftest.err
>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } &&
19904 { ac_try
='test -z "$ac_c_werror_flag"
19905 || test ! -s conftest.err'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; } &&
19911 { ac_try
='test -s conftest$ac_exeext'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; }; then
19917 ac_cv_lib_jpeg_jpeg_read_header
=yes
19919 echo "$as_me: failed program was:" >&5
19920 sed 's/^/| /' conftest.
$ac_ext >&5
19922 ac_cv_lib_jpeg_jpeg_read_header
=no
19924 rm -f conftest.err conftest.
$ac_objext \
19925 conftest
$ac_exeext conftest.
$ac_ext
19926 LIBS
=$ac_check_lib_save_LIBS
19928 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19929 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19930 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19931 JPEG_LINK
=" -ljpeg"
19936 if test "x$JPEG_LINK" = "x" ; then
19937 if test "$wxUSE_LIBJPEG" = "sys" ; then
19938 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19939 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19940 { (exit 1); exit 1; }; }
19942 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19943 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19944 wxUSE_LIBJPEG
=builtin
19955 TIFF_PREREQ_LINKS
=-lm
19956 if test "$wxUSE_LIBTIFF" != "no" ; then
19957 cat >>confdefs.h
<<\_ACEOF
19958 #define wxUSE_LIBTIFF 1
19962 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19963 if test "$wxUSE_LIBJPEG" = "sys"; then
19964 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19966 if test "$wxUSE_ZLIB" = "sys"; then
19967 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19969 if test "${ac_cv_header_tiffio_h+set}" = set; then
19970 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19971 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19972 if test "${ac_cv_header_tiffio_h+set}" = set; then
19973 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19976 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19978 # Is the header compilable?
19979 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19980 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19981 cat >conftest.
$ac_ext <<_ACEOF
19984 cat confdefs.h
>>conftest.
$ac_ext
19985 cat >>conftest.
$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 #include <tiffio.h>
19990 rm -f conftest.
$ac_objext
19991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19992 (eval $ac_compile) 2>conftest.er1
19994 grep -v '^ *+' conftest.er1
>conftest.err
19996 cat conftest.err
>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } &&
19999 { ac_try
='test -z "$ac_c_werror_flag"
20000 || test ! -s conftest.err'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; } &&
20006 { ac_try
='test -s conftest.$ac_objext'
20007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20008 (eval $ac_try) 2>&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); }; }; then
20012 ac_header_compiler
=yes
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.
$ac_ext >&5
20017 ac_header_compiler
=no
20019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20021 echo "${ECHO_T}$ac_header_compiler" >&6
20023 # Is the header present?
20024 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20025 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20026 cat >conftest.
$ac_ext <<_ACEOF
20029 cat confdefs.h
>>conftest.
$ac_ext
20030 cat >>conftest.
$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 #include <tiffio.h>
20034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20037 grep -v '^ *+' conftest.er1
>conftest.err
20039 cat conftest.err
>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } >/dev
/null
; then
20042 if test -s conftest.err
; then
20043 ac_cpp_err
=$ac_c_preproc_warn_flag
20044 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20051 if test -z "$ac_cpp_err"; then
20052 ac_header_preproc
=yes
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.
$ac_ext >&5
20057 ac_header_preproc
=no
20059 rm -f conftest.err conftest.
$ac_ext
20060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20061 echo "${ECHO_T}$ac_header_preproc" >&6
20063 # So? What about this header?
20064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20066 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20067 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20068 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20069 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20070 ac_header_preproc
=yes
20073 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20074 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20075 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20076 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20077 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20078 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20079 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20080 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20081 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20082 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20083 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20084 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20087 ## ----------------------------------------- ##
20088 ## Report this to wx-dev@lists.wxwindows.org ##
20089 ## ----------------------------------------- ##
20092 sed "s/^/$as_me: WARNING: /" >&2
20095 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20096 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20097 if test "${ac_cv_header_tiffio_h+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 ac_cv_header_tiffio_h
=$ac_header_preproc
20102 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20103 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20106 if test $ac_cv_header_tiffio_h = yes; then
20108 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20109 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20110 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 ac_check_lib_save_LIBS
=$LIBS
20114 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20115 cat >conftest.
$ac_ext <<_ACEOF
20118 cat confdefs.h
>>conftest.
$ac_ext
20119 cat >>conftest.
$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20122 /* Override any gcc2 internal prototype to avoid an error. */
20126 /* We use char because int might match the return type of a gcc2
20127 builtin and then its argument prototype would still apply. */
20137 rm -f conftest.
$ac_objext conftest
$ac_exeext
20138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20139 (eval $ac_link) 2>conftest.er1
20141 grep -v '^ *+' conftest.er1
>conftest.err
20143 cat conftest.err
>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } &&
20146 { ac_try
='test -z "$ac_c_werror_flag"
20147 || test ! -s conftest.err'
20148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20149 (eval $ac_try) 2>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; } &&
20153 { ac_try
='test -s conftest$ac_exeext'
20154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155 (eval $ac_try) 2>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; }; then
20159 ac_cv_lib_tiff_TIFFError
=yes
20161 echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.
$ac_ext >&5
20164 ac_cv_lib_tiff_TIFFError
=no
20166 rm -f conftest.err conftest.
$ac_objext \
20167 conftest
$ac_exeext conftest.
$ac_ext
20168 LIBS
=$ac_check_lib_save_LIBS
20170 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20171 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20172 if test $ac_cv_lib_tiff_TIFFError = yes; then
20173 TIFF_LINK
=" -ltiff"
20182 if test "x$TIFF_LINK" = "x" ; then
20183 if test "$wxUSE_LIBTIFF" = "sys" ; then
20184 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20185 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20186 { (exit 1); exit 1; }; }
20188 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20189 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20190 wxUSE_LIBTIFF
=builtin
20199 if test "$wxUSE_EXPAT" != "no"; then
20201 cat >>confdefs.h
<<\_ACEOF
20202 #define wxUSE_EXPAT 1
20205 cat >>confdefs.h
<<\_ACEOF
20206 #define wxUSE_XML 1
20210 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20211 if test "${ac_cv_header_expat_h+set}" = set; then
20212 echo "$as_me:$LINENO: checking for expat.h" >&5
20213 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20214 if test "${ac_cv_header_expat_h+set}" = set; then
20215 echo $ECHO_N "(cached) $ECHO_C" >&6
20217 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20218 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20220 # Is the header compilable?
20221 echo "$as_me:$LINENO: checking expat.h usability" >&5
20222 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20223 cat >conftest.
$ac_ext <<_ACEOF
20226 cat confdefs.h
>>conftest.
$ac_ext
20227 cat >>conftest.
$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20229 $ac_includes_default
20232 rm -f conftest.
$ac_objext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20234 (eval $ac_compile) 2>conftest.er1
20236 grep -v '^ *+' conftest.er1
>conftest.err
20238 cat conftest.err
>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } &&
20241 { ac_try
='test -z "$ac_c_werror_flag"
20242 || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try
='test -s conftest.$ac_objext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 ac_header_compiler
=yes
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.
$ac_ext >&5
20259 ac_header_compiler
=no
20261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20263 echo "${ECHO_T}$ac_header_compiler" >&6
20265 # Is the header present?
20266 echo "$as_me:$LINENO: checking expat.h presence" >&5
20267 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20268 cat >conftest.
$ac_ext <<_ACEOF
20271 cat confdefs.h
>>conftest.
$ac_ext
20272 cat >>conftest.
$ac_ext <<_ACEOF
20273 /* end confdefs.h. */
20276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20279 grep -v '^ *+' conftest.er1
>conftest.err
20281 cat conftest.err
>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } >/dev
/null
; then
20284 if test -s conftest.err
; then
20285 ac_cpp_err
=$ac_c_preproc_warn_flag
20286 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20293 if test -z "$ac_cpp_err"; then
20294 ac_header_preproc
=yes
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.
$ac_ext >&5
20299 ac_header_preproc
=no
20301 rm -f conftest.err conftest.
$ac_ext
20302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20303 echo "${ECHO_T}$ac_header_preproc" >&6
20305 # So? What about this header?
20306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20308 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20309 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20310 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20311 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20312 ac_header_preproc
=yes
20315 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20316 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20317 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20318 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20319 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20320 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20321 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20322 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20323 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20324 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20325 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20326 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20329 ## ----------------------------------------- ##
20330 ## Report this to wx-dev@lists.wxwindows.org ##
20331 ## ----------------------------------------- ##
20334 sed "s/^/$as_me: WARNING: /" >&2
20337 echo "$as_me:$LINENO: checking for expat.h" >&5
20338 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20339 if test "${ac_cv_header_expat_h+set}" = set; then
20340 echo $ECHO_N "(cached) $ECHO_C" >&6
20342 ac_cv_header_expat_h
=$ac_header_preproc
20344 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20345 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20348 if test $ac_cv_header_expat_h = yes; then
20353 if test "x$found_expat_h" = "x1"; then
20354 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20355 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20356 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20357 echo $ECHO_N "(cached) $ECHO_C" >&6
20363 ac_cpp
='$CXXCPP $CPPFLAGS'
20364 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20368 cat >conftest.
$ac_ext <<_ACEOF
20371 cat confdefs.h
>>conftest.
$ac_ext
20372 cat >>conftest.
$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20383 rm -f conftest.
$ac_objext
20384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20385 (eval $ac_compile) 2>conftest.er1
20387 grep -v '^ *+' conftest.er1
>conftest.err
20389 cat conftest.err
>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); } &&
20392 { ac_try
='test -z "$ac_cxx_werror_flag"
20393 || test ! -s conftest.err'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; } &&
20399 { ac_try
='test -s conftest.$ac_objext'
20400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401 (eval $ac_try) 2>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; }; then
20405 wx_cv_expat_is_not_broken
=yes
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.
$ac_ext >&5
20410 wx_cv_expat_is_not_broken
=no
20413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20415 ac_cpp
='$CPP $CPPFLAGS'
20416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20423 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20424 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20425 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20426 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20427 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20428 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20429 echo $ECHO_N "(cached) $ECHO_C" >&6
20431 ac_check_lib_save_LIBS
=$LIBS
20432 LIBS
="-lexpat $LIBS"
20433 cat >conftest.
$ac_ext <<_ACEOF
20436 cat confdefs.h
>>conftest.
$ac_ext
20437 cat >>conftest.
$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20440 /* Override any gcc2 internal prototype to avoid an error. */
20444 /* We use char because int might match the return type of a gcc2
20445 builtin and then its argument prototype would still apply. */
20446 char XML_ParserCreate ();
20450 XML_ParserCreate ();
20455 rm -f conftest.
$ac_objext conftest
$ac_exeext
20456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20457 (eval $ac_link) 2>conftest.er1
20459 grep -v '^ *+' conftest.er1
>conftest.err
20461 cat conftest.err
>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } &&
20464 { ac_try
='test -z "$ac_c_werror_flag"
20465 || test ! -s conftest.err'
20466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467 (eval $ac_try) 2>&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; } &&
20471 { ac_try
='test -s conftest$ac_exeext'
20472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20473 (eval $ac_try) 2>&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); }; }; then
20477 ac_cv_lib_expat_XML_ParserCreate
=yes
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.
$ac_ext >&5
20482 ac_cv_lib_expat_XML_ParserCreate
=no
20484 rm -f conftest.err conftest.
$ac_objext \
20485 conftest
$ac_exeext conftest.
$ac_ext
20486 LIBS
=$ac_check_lib_save_LIBS
20488 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20489 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20490 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20491 EXPAT_LINK
=" -lexpat"
20496 if test "x$EXPAT_LINK" = "x" ; then
20497 if test "$wxUSE_EXPAT" = "sys" ; then
20498 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20499 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20500 { (exit 1); exit 1; }; }
20502 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20503 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20504 wxUSE_EXPAT
=builtin
20510 if test "$wxUSE_EXPAT" = "builtin" ; then
20513 subdirs
="$subdirs src/expat"
20520 if test "$wxUSE_LIBMSPACK" != "no"; then
20522 if test "${ac_cv_header_mspack_h+set}" = set; then
20523 echo "$as_me:$LINENO: checking for mspack.h" >&5
20524 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20525 if test "${ac_cv_header_mspack_h+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20529 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20531 # Is the header compilable?
20532 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20533 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20534 cat >conftest.
$ac_ext <<_ACEOF
20537 cat confdefs.h
>>conftest.
$ac_ext
20538 cat >>conftest.
$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 $ac_includes_default
20541 #include <mspack.h>
20543 rm -f conftest.
$ac_objext
20544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20545 (eval $ac_compile) 2>conftest.er1
20547 grep -v '^ *+' conftest.er1
>conftest.err
20549 cat conftest.err
>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } &&
20552 { ac_try
='test -z "$ac_c_werror_flag"
20553 || test ! -s conftest.err'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; } &&
20559 { ac_try
='test -s conftest.$ac_objext'
20560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20561 (eval $ac_try) 2>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); }; }; then
20565 ac_header_compiler
=yes
20567 echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.
$ac_ext >&5
20570 ac_header_compiler
=no
20572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20574 echo "${ECHO_T}$ac_header_compiler" >&6
20576 # Is the header present?
20577 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20578 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20579 cat >conftest.
$ac_ext <<_ACEOF
20582 cat confdefs.h
>>conftest.
$ac_ext
20583 cat >>conftest.
$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 #include <mspack.h>
20587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20590 grep -v '^ *+' conftest.er1
>conftest.err
20592 cat conftest.err
>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } >/dev
/null
; then
20595 if test -s conftest.err
; then
20596 ac_cpp_err
=$ac_c_preproc_warn_flag
20597 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20604 if test -z "$ac_cpp_err"; then
20605 ac_header_preproc
=yes
20607 echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.
$ac_ext >&5
20610 ac_header_preproc
=no
20612 rm -f conftest.err conftest.
$ac_ext
20613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20614 echo "${ECHO_T}$ac_header_preproc" >&6
20616 # So? What about this header?
20617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20619 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20620 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20621 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
20622 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
20623 ac_header_preproc
=yes
20626 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20627 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20628 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20629 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20630 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
20631 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
20632 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
20633 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
20634 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20635 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20636 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
20637 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
20640 ## ----------------------------------------- ##
20641 ## Report this to wx-dev@lists.wxwindows.org ##
20642 ## ----------------------------------------- ##
20645 sed "s/^/$as_me: WARNING: /" >&2
20648 echo "$as_me:$LINENO: checking for mspack.h" >&5
20649 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20650 if test "${ac_cv_header_mspack_h+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 ac_cv_header_mspack_h
=$ac_header_preproc
20655 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20656 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20659 if test $ac_cv_header_mspack_h = yes; then
20664 if test "x$found_mspack_h" = "x1"; then
20665 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20666 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20667 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20668 echo $ECHO_N "(cached) $ECHO_C" >&6
20670 ac_check_lib_save_LIBS
=$LIBS
20671 LIBS
="-lmspack $LIBS"
20672 cat >conftest.
$ac_ext <<_ACEOF
20675 cat confdefs.h
>>conftest.
$ac_ext
20676 cat >>conftest.
$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20679 /* Override any gcc2 internal prototype to avoid an error. */
20683 /* We use char because int might match the return type of a gcc2
20684 builtin and then its argument prototype would still apply. */
20685 char mspack_create_chm_decompressor ();
20689 mspack_create_chm_decompressor ();
20694 rm -f conftest.
$ac_objext conftest
$ac_exeext
20695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20696 (eval $ac_link) 2>conftest.er1
20698 grep -v '^ *+' conftest.er1
>conftest.err
20700 cat conftest.err
>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } &&
20703 { ac_try
='test -z "$ac_c_werror_flag"
20704 || test ! -s conftest.err'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; } &&
20710 { ac_try
='test -s conftest$ac_exeext'
20711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712 (eval $ac_try) 2>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; }; then
20716 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.
$ac_ext >&5
20721 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
20723 rm -f conftest.err conftest.
$ac_objext \
20724 conftest
$ac_exeext conftest.
$ac_ext
20725 LIBS
=$ac_check_lib_save_LIBS
20727 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20728 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20729 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20730 MSPACK_LINK
=" -lmspack"
20734 if test "x$MSPACK_LINK" = "x" ; then
20737 cat >>confdefs.h
<<\_ACEOF
20738 #define wxUSE_LIBMSPACK 1
20753 if test "$USE_WIN32" = 1 ; then
20755 for ac_header
in w32api.h
20757 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20759 echo "$as_me:$LINENO: checking for $ac_header" >&5
20760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20767 # Is the header compilable?
20768 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20770 cat >conftest.
$ac_ext <<_ACEOF
20773 cat confdefs.h
>>conftest.
$ac_ext
20774 cat >>conftest.
$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20776 $ac_includes_default
20777 #include <$ac_header>
20779 rm -f conftest.
$ac_objext
20780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20781 (eval $ac_compile) 2>conftest.er1
20783 grep -v '^ *+' conftest.er1
>conftest.err
20785 cat conftest.err
>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } &&
20788 { ac_try
='test -z "$ac_c_werror_flag"
20789 || test ! -s conftest.err'
20790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20791 (eval $ac_try) 2>&5
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); }; } &&
20795 { ac_try
='test -s conftest.$ac_objext'
20796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20797 (eval $ac_try) 2>&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); }; }; then
20801 ac_header_compiler
=yes
20803 echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.
$ac_ext >&5
20806 ac_header_compiler
=no
20808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20810 echo "${ECHO_T}$ac_header_compiler" >&6
20812 # Is the header present?
20813 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20814 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20815 cat >conftest.
$ac_ext <<_ACEOF
20818 cat confdefs.h
>>conftest.
$ac_ext
20819 cat >>conftest.
$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 #include <$ac_header>
20823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20824 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20826 grep -v '^ *+' conftest.er1
>conftest.err
20828 cat conftest.err
>&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } >/dev
/null
; then
20831 if test -s conftest.err
; then
20832 ac_cpp_err
=$ac_c_preproc_warn_flag
20833 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20840 if test -z "$ac_cpp_err"; then
20841 ac_header_preproc
=yes
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.
$ac_ext >&5
20846 ac_header_preproc
=no
20848 rm -f conftest.err conftest.
$ac_ext
20849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20850 echo "${ECHO_T}$ac_header_preproc" >&6
20852 # So? What about this header?
20853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20859 ac_header_preproc
=yes
20862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20876 ## ----------------------------------------- ##
20877 ## Report this to wx-dev@lists.wxwindows.org ##
20878 ## ----------------------------------------- ##
20881 sed "s/^/$as_me: WARNING: /" >&2
20884 echo "$as_me:$LINENO: checking for $ac_header" >&5
20885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20887 echo $ECHO_N "(cached) $ECHO_C" >&6
20889 eval "$as_ac_Header=\$ac_header_preproc"
20891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20896 cat >>confdefs.h
<<_ACEOF
20897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20904 if test "${ac_cv_header_windows_h+set}" = set; then
20905 echo "$as_me:$LINENO: checking for windows.h" >&5
20906 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20907 if test "${ac_cv_header_windows_h+set}" = set; then
20908 echo $ECHO_N "(cached) $ECHO_C" >&6
20910 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20911 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20913 # Is the header compilable?
20914 echo "$as_me:$LINENO: checking windows.h usability" >&5
20915 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20916 cat >conftest.
$ac_ext <<_ACEOF
20919 cat confdefs.h
>>conftest.
$ac_ext
20920 cat >>conftest.
$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 $ac_includes_default
20923 #include <windows.h>
20925 rm -f conftest.
$ac_objext
20926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20927 (eval $ac_compile) 2>conftest.er1
20929 grep -v '^ *+' conftest.er1
>conftest.err
20931 cat conftest.err
>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); } &&
20934 { ac_try
='test -z "$ac_c_werror_flag"
20935 || test ! -s conftest.err'
20936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937 (eval $ac_try) 2>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; } &&
20941 { ac_try
='test -s conftest.$ac_objext'
20942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20943 (eval $ac_try) 2>&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); }; }; then
20947 ac_header_compiler
=yes
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.
$ac_ext >&5
20952 ac_header_compiler
=no
20954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20956 echo "${ECHO_T}$ac_header_compiler" >&6
20958 # Is the header present?
20959 echo "$as_me:$LINENO: checking windows.h presence" >&5
20960 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20961 cat >conftest.
$ac_ext <<_ACEOF
20964 cat confdefs.h
>>conftest.
$ac_ext
20965 cat >>conftest.
$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 #include <windows.h>
20969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20972 grep -v '^ *+' conftest.er1
>conftest.err
20974 cat conftest.err
>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } >/dev
/null
; then
20977 if test -s conftest.err
; then
20978 ac_cpp_err
=$ac_c_preproc_warn_flag
20979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20986 if test -z "$ac_cpp_err"; then
20987 ac_header_preproc
=yes
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.
$ac_ext >&5
20992 ac_header_preproc
=no
20994 rm -f conftest.err conftest.
$ac_ext
20995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20996 echo "${ECHO_T}$ac_header_preproc" >&6
20998 # So? What about this header?
20999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21001 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21002 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21003 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21004 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21005 ac_header_preproc
=yes
21008 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21009 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21010 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21011 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21012 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21013 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21014 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21015 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21016 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21017 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21018 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21019 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21022 ## ----------------------------------------- ##
21023 ## Report this to wx-dev@lists.wxwindows.org ##
21024 ## ----------------------------------------- ##
21027 sed "s/^/$as_me: WARNING: /" >&2
21030 echo "$as_me:$LINENO: checking for windows.h" >&5
21031 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21032 if test "${ac_cv_header_windows_h+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 ac_cv_header_windows_h
=$ac_header_preproc
21037 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21038 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21041 if test $ac_cv_header_windows_h = yes; then
21045 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21046 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21047 { (exit 1); exit 1; }; }
21053 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21055 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21056 LIBS
="$LIBS -loleacc"
21061 LIBS
="$LIBS -lkernel32 -luser32"
21062 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21065 if test "$wxUSE_ODBC" = "sys" ; then
21068 if test "$wxUSE_ODBC" = "yes" ; then
21069 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21070 cat >>confdefs.h
<<\_ACEOF
21071 #define wxUSE_ODBC 1
21076 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21077 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21079 WIN32INSTALL
=win32install
21082 if test "$wxUSE_GUI" = "yes"; then
21091 if test "$wxUSE_MSW" = 1 ; then
21097 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21101 if test "$wxUSE_GTK" = 1; then
21102 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21103 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21105 gtk_version_cached
=1
21106 if test "${wx_cv_lib_gtk+set}" = set; then
21107 echo $ECHO_N "(cached) $ECHO_C" >&6
21110 gtk_version_cached
=0
21111 echo "$as_me:$LINENO: result: " >&5
21112 echo "${ECHO_T}" >&6
21115 if test "$wxUSE_THREADS" = "yes"; then
21116 GTK_MODULES
=gthread
21120 if test "x$wxUSE_GTK2" = "xyes"; then
21121 # Check whether --enable-gtktest or --disable-gtktest was given.
21122 if test "${enable_gtktest+set}" = set; then
21123 enableval
="$enable_gtktest"
21129 pkg_config_args
=gtk
+-2.0
21130 for module
in .
$GTK_MODULES
21134 pkg_config_args
="$pkg_config_args gthread-2.0"
21141 # Extract the first word of "pkg-config", so it can be a program name with args.
21142 set dummy pkg
-config; ac_word
=$2
21143 echo "$as_me:$LINENO: checking for $ac_word" >&5
21144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21145 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21146 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 case $PKG_CONFIG in
21150 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21154 for as_dir
in $PATH
21157 test -z "$as_dir" && as_dir
=.
21158 for ac_exec_ext
in '' $ac_executable_extensions; do
21159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21160 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21167 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21171 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21173 if test -n "$PKG_CONFIG"; then
21174 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21175 echo "${ECHO_T}$PKG_CONFIG" >&6
21177 echo "$as_me:$LINENO: result: no" >&5
21178 echo "${ECHO_T}no" >&6
21182 if test x
$PKG_CONFIG != xno
; then
21183 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21186 echo *** pkg
-config too old
; version
0.7 or better required.
21194 min_gtk_version
=2.0.0
21195 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21196 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21198 if test x
$PKG_CONFIG != xno
; then
21199 ## don't try to run the test against uninstalled libtool libs
21200 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21201 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21205 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21212 if test x
"$no_gtk" = x
; then
21213 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21214 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21215 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21217 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21218 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21219 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21220 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21221 if test "x$enable_gtktest" = "xyes" ; then
21222 ac_save_CFLAGS
="$CFLAGS"
21223 ac_save_LIBS
="$LIBS"
21224 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21225 LIBS
="$GTK_LIBS $LIBS"
21227 if test "$cross_compiling" = yes; then
21228 echo $ac_n "cross compiling; assumed OK... $ac_c"
21230 cat >conftest.
$ac_ext <<_ACEOF
21233 cat confdefs.h
>>conftest.
$ac_ext
21234 cat >>conftest.
$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21237 #include <gtk/gtk.h>
21239 #include <stdlib.h>
21244 int major, minor, micro;
21247 system ("touch conf.gtktest");
21249 /* HP/UX 9 (%@#!) writes to sscanf strings */
21250 tmp_version = g_strdup("$min_gtk_version");
21251 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21252 printf("%s, bad version string\n", "$min_gtk_version");
21256 if ((gtk_major_version != $gtk_config_major_version) ||
21257 (gtk_minor_version != $gtk_config_minor_version) ||
21258 (gtk_micro_version != $gtk_config_micro_version))
21260 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21261 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21262 gtk_major_version, gtk_minor_version, gtk_micro_version);
21263 printf ("*** was found! If pkg-config was correct, then it is best\n");
21264 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21265 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21266 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21267 printf("*** required on your system.\n");
21268 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21269 printf("*** to point to the correct configuration files\n");
21271 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21272 (gtk_minor_version != GTK_MINOR_VERSION) ||
21273 (gtk_micro_version != GTK_MICRO_VERSION))
21275 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21276 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21277 printf("*** library (version %d.%d.%d)\n",
21278 gtk_major_version, gtk_minor_version, gtk_micro_version);
21282 if ((gtk_major_version > major) ||
21283 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21284 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21290 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21291 gtk_major_version, gtk_minor_version, gtk_micro_version);
21292 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21293 major, minor, micro);
21294 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21296 printf("*** If you have already installed a sufficiently new version, this error\n");
21297 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21298 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21299 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21300 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21301 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21302 printf("*** so that the correct libraries are found at run-time))\n");
21309 rm -f conftest
$ac_exeext
21310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21311 (eval $ac_link) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316 (eval $ac_try) 2>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); }; }; then
21322 echo "$as_me: program exited with status $ac_status" >&5
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21326 ( exit $ac_status )
21329 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21331 CFLAGS
="$ac_save_CFLAGS"
21332 LIBS
="$ac_save_LIBS"
21335 if test "x$no_gtk" = x
; then
21336 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21337 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21340 echo "$as_me:$LINENO: result: no" >&5
21341 echo "${ECHO_T}no" >&6
21342 if test "$PKG_CONFIG" = "no" ; then
21343 echo "*** A new enough version of pkg-config was not found."
21344 echo "*** See http://pkgconfig.sourceforge.net"
21346 if test -f conf.gtktest
; then
21349 echo "*** Could not run GTK+ test program, checking why..."
21350 ac_save_CFLAGS
="$CFLAGS"
21351 ac_save_LIBS
="$LIBS"
21352 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21353 LIBS
="$LIBS $GTK_LIBS"
21354 cat >conftest.
$ac_ext <<_ACEOF
21357 cat confdefs.h
>>conftest.
$ac_ext
21358 cat >>conftest.
$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21361 #include <gtk/gtk.h>
21367 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21372 rm -f conftest.
$ac_objext conftest
$ac_exeext
21373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21374 (eval $ac_link) 2>conftest.er1
21376 grep -v '^ *+' conftest.er1
>conftest.err
21378 cat conftest.err
>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } &&
21381 { ac_try
='test -z "$ac_c_werror_flag"
21382 || test ! -s conftest.err'
21383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21384 (eval $ac_try) 2>&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); }; } &&
21388 { ac_try
='test -s conftest$ac_exeext'
21389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21390 (eval $ac_try) 2>&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); }; }; then
21394 echo "*** The test program compiled, but did not run. This usually means"
21395 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21396 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21397 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21398 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21399 echo "*** is required on your system"
21401 echo "*** If you have an old version installed, it is best to remove it, although"
21402 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21404 echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.
$ac_ext >&5
21407 echo "*** The test program failed to compile or link. See the file config.log for the"
21408 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21410 rm -f conftest.err conftest.
$ac_objext \
21411 conftest
$ac_exeext conftest.
$ac_ext
21412 CFLAGS
="$ac_save_CFLAGS"
21413 LIBS
="$ac_save_LIBS"
21426 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21427 if test "${with_gtk_prefix+set}" = set; then
21428 withval
="$with_gtk_prefix"
21429 gtk_config_prefix
="$withval"
21431 gtk_config_prefix
=""
21434 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21435 if test "${with_gtk_exec_prefix+set}" = set; then
21436 withval
="$with_gtk_exec_prefix"
21437 gtk_config_exec_prefix
="$withval"
21439 gtk_config_exec_prefix
=""
21441 # Check whether --enable-gtktest or --disable-gtktest was given.
21442 if test "${enable_gtktest+set}" = set; then
21443 enableval
="$enable_gtktest"
21449 for module
in .
$GTK_MODULES
21453 gtk_config_args
="$gtk_config_args gthread"
21458 if test x
$gtk_config_exec_prefix != x
; then
21459 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21460 if test x
${GTK_CONFIG+set} != xset
; then
21461 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
21464 if test x
$gtk_config_prefix != x
; then
21465 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
21466 if test x
${GTK_CONFIG+set} != xset
; then
21467 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21471 # Extract the first word of "gtk-config", so it can be a program name with args.
21472 set dummy gtk
-config; ac_word
=$2
21473 echo "$as_me:$LINENO: checking for $ac_word" >&5
21474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21475 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21476 echo $ECHO_N "(cached) $ECHO_C" >&6
21478 case $GTK_CONFIG in
21480 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21484 for as_dir
in $PATH
21487 test -z "$as_dir" && as_dir
=.
21488 for ac_exec_ext
in '' $ac_executable_extensions; do
21489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21490 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21497 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21501 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21503 if test -n "$GTK_CONFIG"; then
21504 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21505 echo "${ECHO_T}$GTK_CONFIG" >&6
21507 echo "$as_me:$LINENO: result: no" >&5
21508 echo "${ECHO_T}no" >&6
21511 min_gtk_version
=1.2.7
21512 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21513 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21515 if test "$GTK_CONFIG" = "no" ; then
21518 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21519 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21520 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21522 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21524 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21526 if test "x$enable_gtktest" = "xyes" ; then
21527 ac_save_CFLAGS
="$CFLAGS"
21528 ac_save_LIBS
="$LIBS"
21529 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21530 LIBS
="$GTK_LIBS $LIBS"
21532 if test "$cross_compiling" = yes; then
21533 echo $ac_n "cross compiling; assumed OK... $ac_c"
21535 cat >conftest.
$ac_ext <<_ACEOF
21538 cat confdefs.h
>>conftest.
$ac_ext
21539 cat >>conftest.
$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21542 #include <gtk/gtk.h>
21544 #include <stdlib.h>
21549 int major, minor, micro;
21552 system ("touch conf.gtktest");
21554 /* HP/UX 9 (%@#!) writes to sscanf strings */
21555 tmp_version = g_strdup("$min_gtk_version");
21556 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21557 printf("%s, bad version string\n", "$min_gtk_version");
21561 if ((gtk_major_version != $gtk_config_major_version) ||
21562 (gtk_minor_version != $gtk_config_minor_version) ||
21563 (gtk_micro_version != $gtk_config_micro_version))
21565 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21566 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21567 gtk_major_version, gtk_minor_version, gtk_micro_version);
21568 printf ("*** was found! If gtk-config was correct, then it is best\n");
21569 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21570 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21571 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21572 printf("*** required on your system.\n");
21573 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21574 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21575 printf("*** before re-running configure\n");
21577 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21578 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21579 (gtk_minor_version != GTK_MINOR_VERSION) ||
21580 (gtk_micro_version != GTK_MICRO_VERSION))
21582 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21583 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21584 printf("*** library (version %d.%d.%d)\n",
21585 gtk_major_version, gtk_minor_version, gtk_micro_version);
21587 #endif /* defined (GTK_MAJOR_VERSION) ... */
21590 if ((gtk_major_version > major) ||
21591 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21592 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21598 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21599 gtk_major_version, gtk_minor_version, gtk_micro_version);
21600 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21601 major, minor, micro);
21602 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21604 printf("*** If you have already installed a sufficiently new version, this error\n");
21605 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21606 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21607 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21608 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21609 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21610 printf("*** so that the correct libraries are found at run-time))\n");
21617 rm -f conftest
$ac_exeext
21618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21619 (eval $ac_link) 2>&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; }; then
21630 echo "$as_me: program exited with status $ac_status" >&5
21631 echo "$as_me: failed program was:" >&5
21632 sed 's/^/| /' conftest.
$ac_ext >&5
21634 ( exit $ac_status )
21637 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21639 CFLAGS
="$ac_save_CFLAGS"
21640 LIBS
="$ac_save_LIBS"
21643 if test "x$no_gtk" = x
; then
21644 echo "$as_me:$LINENO: result: yes" >&5
21645 echo "${ECHO_T}yes" >&6
21646 wx_cv_lib_gtk
=1.2.7
21648 echo "$as_me:$LINENO: result: no" >&5
21649 echo "${ECHO_T}no" >&6
21650 if test "$GTK_CONFIG" = "no" ; then
21651 echo "*** The gtk-config script installed by GTK could not be found"
21652 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21653 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21654 echo "*** full path to gtk-config."
21656 if test -f conf.gtktest
; then
21659 echo "*** Could not run GTK test program, checking why..."
21660 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21661 LIBS
="$LIBS $GTK_LIBS"
21662 cat >conftest.
$ac_ext <<_ACEOF
21665 cat confdefs.h
>>conftest.
$ac_ext
21666 cat >>conftest.
$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21669 #include <gtk/gtk.h>
21675 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21680 rm -f conftest.
$ac_objext conftest
$ac_exeext
21681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21682 (eval $ac_link) 2>conftest.er1
21684 grep -v '^ *+' conftest.er1
>conftest.err
21686 cat conftest.err
>&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); } &&
21689 { ac_try
='test -z "$ac_c_werror_flag"
21690 || test ! -s conftest.err'
21691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 (eval $ac_try) 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; } &&
21696 { ac_try
='test -s conftest$ac_exeext'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; }; then
21702 echo "*** The test program compiled, but did not run. This usually means"
21703 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21704 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21705 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21706 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21707 echo "*** is required on your system"
21709 echo "*** If you have an old version installed, it is best to remove it, although"
21710 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21712 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21713 echo "*** came with the system with the command"
21715 echo "*** rpm --erase --nodeps gtk gtk-devel"
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.
$ac_ext >&5
21720 echo "*** The test program failed to compile or link. See the file config.log for the"
21721 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21722 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21723 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21725 rm -f conftest.err conftest.
$ac_objext \
21726 conftest
$ac_exeext conftest.
$ac_ext
21727 CFLAGS
="$ac_save_CFLAGS"
21728 LIBS
="$ac_save_LIBS"
21740 if test -z "$wx_cv_lib_gtk"; then
21742 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21743 if test "${with_gtk_prefix+set}" = set; then
21744 withval
="$with_gtk_prefix"
21745 gtk_config_prefix
="$withval"
21747 gtk_config_prefix
=""
21750 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21751 if test "${with_gtk_exec_prefix+set}" = set; then
21752 withval
="$with_gtk_exec_prefix"
21753 gtk_config_exec_prefix
="$withval"
21755 gtk_config_exec_prefix
=""
21757 # Check whether --enable-gtktest or --disable-gtktest was given.
21758 if test "${enable_gtktest+set}" = set; then
21759 enableval
="$enable_gtktest"
21765 for module
in .
$GTK_MODULES
21769 gtk_config_args
="$gtk_config_args gthread"
21774 if test x
$gtk_config_exec_prefix != x
; then
21775 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21776 if test x
${GTK_CONFIG+set} != xset
; then
21777 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
21780 if test x
$gtk_config_prefix != x
; then
21781 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
21782 if test x
${GTK_CONFIG+set} != xset
; then
21783 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21787 # Extract the first word of "gtk-config", so it can be a program name with args.
21788 set dummy gtk
-config; ac_word
=$2
21789 echo "$as_me:$LINENO: checking for $ac_word" >&5
21790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21791 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21794 case $GTK_CONFIG in
21796 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21800 for as_dir
in $PATH
21803 test -z "$as_dir" && as_dir
=.
21804 for ac_exec_ext
in '' $ac_executable_extensions; do
21805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21806 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21813 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21817 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21819 if test -n "$GTK_CONFIG"; then
21820 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21821 echo "${ECHO_T}$GTK_CONFIG" >&6
21823 echo "$as_me:$LINENO: result: no" >&5
21824 echo "${ECHO_T}no" >&6
21827 min_gtk_version
=1.2.3
21828 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21829 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21831 if test "$GTK_CONFIG" = "no" ; then
21834 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21835 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21836 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21838 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21840 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21842 if test "x$enable_gtktest" = "xyes" ; then
21843 ac_save_CFLAGS
="$CFLAGS"
21844 ac_save_LIBS
="$LIBS"
21845 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21846 LIBS
="$GTK_LIBS $LIBS"
21848 if test "$cross_compiling" = yes; then
21849 echo $ac_n "cross compiling; assumed OK... $ac_c"
21851 cat >conftest.
$ac_ext <<_ACEOF
21854 cat confdefs.h
>>conftest.
$ac_ext
21855 cat >>conftest.
$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21858 #include <gtk/gtk.h>
21860 #include <stdlib.h>
21865 int major, minor, micro;
21868 system ("touch conf.gtktest");
21870 /* HP/UX 9 (%@#!) writes to sscanf strings */
21871 tmp_version = g_strdup("$min_gtk_version");
21872 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21873 printf("%s, bad version string\n", "$min_gtk_version");
21877 if ((gtk_major_version != $gtk_config_major_version) ||
21878 (gtk_minor_version != $gtk_config_minor_version) ||
21879 (gtk_micro_version != $gtk_config_micro_version))
21881 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21882 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21883 gtk_major_version, gtk_minor_version, gtk_micro_version);
21884 printf ("*** was found! If gtk-config was correct, then it is best\n");
21885 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21886 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21887 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21888 printf("*** required on your system.\n");
21889 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21890 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21891 printf("*** before re-running configure\n");
21893 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21894 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21895 (gtk_minor_version != GTK_MINOR_VERSION) ||
21896 (gtk_micro_version != GTK_MICRO_VERSION))
21898 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21899 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21900 printf("*** library (version %d.%d.%d)\n",
21901 gtk_major_version, gtk_minor_version, gtk_micro_version);
21903 #endif /* defined (GTK_MAJOR_VERSION) ... */
21906 if ((gtk_major_version > major) ||
21907 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21908 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21914 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21915 gtk_major_version, gtk_minor_version, gtk_micro_version);
21916 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21917 major, minor, micro);
21918 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21920 printf("*** If you have already installed a sufficiently new version, this error\n");
21921 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21922 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21923 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21924 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21925 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21926 printf("*** so that the correct libraries are found at run-time))\n");
21933 rm -f conftest
$ac_exeext
21934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21935 (eval $ac_link) 2>&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; }; then
21946 echo "$as_me: program exited with status $ac_status" >&5
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.
$ac_ext >&5
21950 ( exit $ac_status )
21953 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21955 CFLAGS
="$ac_save_CFLAGS"
21956 LIBS
="$ac_save_LIBS"
21959 if test "x$no_gtk" = x
; then
21960 echo "$as_me:$LINENO: result: yes" >&5
21961 echo "${ECHO_T}yes" >&6
21962 wx_cv_lib_gtk
=1.2.3
21964 echo "$as_me:$LINENO: result: no" >&5
21965 echo "${ECHO_T}no" >&6
21966 if test "$GTK_CONFIG" = "no" ; then
21967 echo "*** The gtk-config script installed by GTK could not be found"
21968 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21969 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21970 echo "*** full path to gtk-config."
21972 if test -f conf.gtktest
; then
21975 echo "*** Could not run GTK test program, checking why..."
21976 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21977 LIBS
="$LIBS $GTK_LIBS"
21978 cat >conftest.
$ac_ext <<_ACEOF
21981 cat confdefs.h
>>conftest.
$ac_ext
21982 cat >>conftest.
$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21985 #include <gtk/gtk.h>
21991 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21996 rm -f conftest.
$ac_objext conftest
$ac_exeext
21997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21998 (eval $ac_link) 2>conftest.er1
22000 grep -v '^ *+' conftest.er1
>conftest.err
22002 cat conftest.err
>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } &&
22005 { ac_try
='test -z "$ac_c_werror_flag"
22006 || test ! -s conftest.err'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; } &&
22012 { ac_try
='test -s conftest$ac_exeext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 echo "*** The test program compiled, but did not run. This usually means"
22019 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22020 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22021 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22022 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22023 echo "*** is required on your system"
22025 echo "*** If you have an old version installed, it is best to remove it, although"
22026 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22028 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22029 echo "*** came with the system with the command"
22031 echo "*** rpm --erase --nodeps gtk gtk-devel"
22033 echo "$as_me: failed program was:" >&5
22034 sed 's/^/| /' conftest.
$ac_ext >&5
22036 echo "*** The test program failed to compile or link. See the file config.log for the"
22037 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22038 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22039 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22041 rm -f conftest.err conftest.
$ac_objext \
22042 conftest
$ac_exeext conftest.
$ac_ext
22043 CFLAGS
="$ac_save_CFLAGS"
22044 LIBS
="$ac_save_LIBS"
22058 if test -z "$wx_cv_lib_gtk"; then
22061 wx_cv_cflags_gtk
=$GTK_CFLAGS
22062 wx_cv_libs_gtk
=$GTK_LIBS
22069 if test "$gtk_version_cached" = 1; then
22070 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22071 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22074 case "$wx_cv_lib_gtk" in
22083 *) { { echo "$as_me:$LINENO: error:
22084 Please check that gtk-config is in path, the directory
22085 where GTK+ libraries are installed (returned by
22086 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22087 equivalent variable and GTK+ is version 1.2.3 or above.
22089 echo "$as_me: error:
22090 Please check that gtk-config is in path, the directory
22091 where GTK+ libraries are installed (returned by
22092 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22093 equivalent variable and GTK+ is version 1.2.3 or above.
22095 { (exit 1); exit 1; }; }
22099 if test "$WXGTK20" = 1; then
22100 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22104 if test -z "$PKG_CONFIG"; then
22105 # Extract the first word of "pkg-config", so it can be a program name with args.
22106 set dummy pkg
-config; ac_word
=$2
22107 echo "$as_me:$LINENO: checking for $ac_word" >&5
22108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22109 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22112 case $PKG_CONFIG in
22114 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22118 for as_dir
in $PATH
22121 test -z "$as_dir" && as_dir
=.
22122 for ac_exec_ext
in '' $ac_executable_extensions; do
22123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22124 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22131 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22135 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22137 if test -n "$PKG_CONFIG"; then
22138 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22139 echo "${ECHO_T}$PKG_CONFIG" >&6
22141 echo "$as_me:$LINENO: result: no" >&5
22142 echo "${ECHO_T}no" >&6
22147 if test "$PKG_CONFIG" = "no" ; then
22148 echo "*** The pkg-config script could not be found. Make sure it is"
22149 echo "*** in your path, or set the PKG_CONFIG environment variable"
22150 echo "*** to the full path to pkg-config."
22151 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22153 PKG_CONFIG_MIN_VERSION
=0.9.0
22154 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22155 echo "$as_me:$LINENO: checking for pangoft2" >&5
22156 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22158 if $PKG_CONFIG --exists "pangoft2" ; then
22159 echo "$as_me:$LINENO: result: yes" >&5
22160 echo "${ECHO_T}yes" >&6
22163 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22164 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22165 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22166 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22167 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22169 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22170 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22171 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22172 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22173 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22177 ## If we have a custom action on failure, don't print errors, but
22178 ## do set a variable so people can do so.
22179 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22186 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22187 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22191 if test $succeeded = yes; then
22193 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22194 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22198 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22199 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22200 wxUSE_PRINTING_ARCHITECTURE
="no"
22207 if test "$wxUSE_UNICODE" = "yes"; then
22208 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22209 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22214 if test "$USE_DARWIN" != 1; then
22216 for ac_func
in poll
22218 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22219 echo "$as_me:$LINENO: checking for $ac_func" >&5
22220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22221 if eval "test \"\${$as_ac_var+set}\" = set"; then
22222 echo $ECHO_N "(cached) $ECHO_C" >&6
22224 cat >conftest.
$ac_ext <<_ACEOF
22227 cat confdefs.h
>>conftest.
$ac_ext
22228 cat >>conftest.
$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22232 #define $ac_func innocuous_$ac_func
22234 /* System header to define __stub macros and hopefully few prototypes,
22235 which can conflict with char $ac_func (); below.
22236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22237 <limits.h> exists even on freestanding compilers. */
22240 # include <limits.h>
22242 # include <assert.h>
22247 /* Override any gcc2 internal prototype to avoid an error. */
22252 /* We use char because int might match the return type of a gcc2
22253 builtin and then its argument prototype would still apply. */
22255 /* The GNU C library defines this for functions which it implements
22256 to always fail with ENOSYS. Some functions are actually named
22257 something starting with __ and the normal name is an alias. */
22258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22261 char (*f) () = $ac_func;
22270 return f != $ac_func;
22275 rm -f conftest.
$ac_objext conftest
$ac_exeext
22276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22277 (eval $ac_link) 2>conftest.er1
22279 grep -v '^ *+' conftest.er1
>conftest.err
22281 cat conftest.err
>&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } &&
22284 { ac_try
='test -z "$ac_c_werror_flag"
22285 || test ! -s conftest.err'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; } &&
22291 { ac_try
='test -s conftest$ac_exeext'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; }; then
22297 eval "$as_ac_var=yes"
22299 echo "$as_me: failed program was:" >&5
22300 sed 's/^/| /' conftest.
$ac_ext >&5
22302 eval "$as_ac_var=no"
22304 rm -f conftest.err conftest.
$ac_objext \
22305 conftest
$ac_exeext conftest.
$ac_ext
22307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22309 if test `eval echo '${'$as_ac_var'}'` = yes; then
22310 cat >>confdefs.h
<<_ACEOF
22311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22319 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
22320 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22322 AFMINSTALL
=afminstall
22326 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22327 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22328 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 ac_check_lib_save_LIBS
=$LIBS
22333 cat >conftest.
$ac_ext <<_ACEOF
22336 cat confdefs.h
>>conftest.
$ac_ext
22337 cat >>conftest.
$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22340 /* Override any gcc2 internal prototype to avoid an error. */
22344 /* We use char because int might match the return type of a gcc2
22345 builtin and then its argument prototype would still apply. */
22346 char gdk_im_open ();
22355 rm -f conftest.
$ac_objext conftest
$ac_exeext
22356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22357 (eval $ac_link) 2>conftest.er1
22359 grep -v '^ *+' conftest.er1
>conftest.err
22361 cat conftest.err
>&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } &&
22364 { ac_try
='test -z "$ac_c_werror_flag"
22365 || test ! -s conftest.err'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; } &&
22371 { ac_try
='test -s conftest$ac_exeext'
22372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22373 (eval $ac_try) 2>&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; }; then
22377 ac_cv_lib_gdk_gdk_im_open
=yes
22379 echo "$as_me: failed program was:" >&5
22380 sed 's/^/| /' conftest.
$ac_ext >&5
22382 ac_cv_lib_gdk_gdk_im_open
=no
22384 rm -f conftest.err conftest.
$ac_objext \
22385 conftest
$ac_exeext conftest.
$ac_ext
22386 LIBS
=$ac_check_lib_save_LIBS
22388 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22389 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22390 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22391 cat >>confdefs.h
<<\_ACEOF
22399 if test "$wxUSE_MGL" = 1; then
22400 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22401 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22402 if test "x$MGL_ROOT" = x
; then
22403 echo "$as_me:$LINENO: result: not found" >&5
22404 echo "${ECHO_T}not found" >&6
22405 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
22406 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
22407 { (exit 1); exit 1; }; }
22409 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
22410 echo "${ECHO_T}$MGL_ROOT" >&6
22413 echo "$as_me:$LINENO: checking for libmgl location" >&5
22414 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
22417 if test "x$wxUSE_SHARED" = xyes
; then
22418 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
22420 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
22424 mgl_os_candidates
="dos32/dj2"
22427 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
22428 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
22429 { (exit 1); exit 1; }; }
22435 for mgl_os_i
in $mgl_os_candidates ; do
22436 if test "x$mgl_os" = x
; then
22437 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22438 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
22439 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
22444 if test "x$mgl_lib_type" = x
; then
22445 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
22446 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
22447 mgl_lib_type
=release
22454 if test "x$mgl_os" = x
; then
22455 echo "$as_me:$LINENO: result: not found" >&5
22456 echo "${ECHO_T}not found" >&6
22457 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22458 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22459 { (exit 1); exit 1; }; }
22461 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22462 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22464 wxUSE_UNIVERSAL
="yes"
22466 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
22467 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22469 AFMINSTALL
=afminstall
22474 if test "$wxUSE_MICROWIN" = 1; then
22475 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22476 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22477 if test "x$MICROWINDOWS" = x
; then
22478 echo "$as_me:$LINENO: result: not found" >&5
22479 echo "${ECHO_T}not found" >&6
22480 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22481 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22482 { (exit 1); exit 1; }; }
22484 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22485 echo "${ECHO_T}$MICROWINDOWS" >&6
22488 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
22489 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22490 echo "${ECHO_T}MicroWindows' libraries found." >&6
22492 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22493 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22494 { (exit 1); exit 1; }; }
22497 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
22498 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22500 wxUSE_UNIVERSAL
="yes"
22502 AFMINSTALL
=afminstall
22504 GUIDIST
=MICROWIN_DIST
22506 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22509 if test "$wxUSE_X11" = 1; then
22510 echo "$as_me:$LINENO: checking for X" >&5
22511 echo $ECHO_N "checking for X... $ECHO_C" >&6
22514 # Check whether --with-x or --without-x was given.
22515 if test "${with_x+set}" = set; then
22519 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22520 if test "x$with_x" = xno
; then
22521 # The user explicitly disabled X.
22524 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
22525 # Both variables are already set.
22528 if test "${ac_cv_have_x+set}" = set; then
22529 echo $ECHO_N "(cached) $ECHO_C" >&6
22531 # One or both of the vars are not set, and there is no cached value.
22532 ac_x_includes
=no ac_x_libraries
=no
22533 rm -fr conftest.dir
22534 if mkdir conftest.dir
; then
22536 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22537 cat >Imakefile
<<'_ACEOF'
22539 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22541 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
22542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22543 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22544 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22545 for ac_extension
in a so sl
; do
22546 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
22547 test -f $ac_im_libdir/libX11.
$ac_extension; then
22548 ac_im_usrlibdir
=$ac_im_libdir; break
22551 # Screen out bogus values from the imake configuration. They are
22552 # bogus both because they are the default anyway, and because
22553 # using them would break gcc on systems where it needs fixed includes.
22554 case $ac_im_incroot in
22556 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
22558 case $ac_im_usrlibdir in
22559 /usr
/lib
| /lib
) ;;
22560 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
22564 rm -fr conftest.dir
22567 # Standard set of common directories for X headers.
22568 # Check X11 before X11Rn because it is often a symlink to the current release.
22580 /usr/local/X11/include
22581 /usr/local/X11R6/include
22582 /usr/local/X11R5/include
22583 /usr/local/X11R4/include
22585 /usr/local/include/X11
22586 /usr/local/include/X11R6
22587 /usr/local/include/X11R5
22588 /usr/local/include/X11R4
22592 /usr/XFree86/include/X11
22596 /usr/unsupported/include
22597 /usr/athena/include
22598 /usr/local/x11r5/include
22599 /usr/lpp/Xamples/include
22601 /usr/openwin/include
22602 /usr/openwin/share/include'
22604 if test "$ac_x_includes" = no
; then
22605 # Guess where to find include files, by looking for Intrinsic.h.
22606 # First, try using that file with no special directory specified.
22607 cat >conftest.
$ac_ext <<_ACEOF
22610 cat confdefs.h
>>conftest.
$ac_ext
22611 cat >>conftest.
$ac_ext <<_ACEOF
22612 /* end confdefs.h. */
22613 #include <X11/Intrinsic.h>
22615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22618 grep -v '^ *+' conftest.er1
>conftest.err
22620 cat conftest.err
>&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); } >/dev
/null
; then
22623 if test -s conftest.err
; then
22624 ac_cpp_err
=$ac_c_preproc_warn_flag
22625 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22632 if test -z "$ac_cpp_err"; then
22633 # We can compile using X headers with no special include directory.
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.
$ac_ext >&5
22639 for ac_dir
in $ac_x_header_dirs; do
22640 if test -r "$ac_dir/X11/Intrinsic.h"; then
22641 ac_x_includes
=$ac_dir
22646 rm -f conftest.err conftest.
$ac_ext
22647 fi # $ac_x_includes = no
22649 if test "$ac_x_libraries" = no
; then
22650 # Check for the libraries.
22651 # See if we find them without any special options.
22652 # Don't add to $LIBS permanently.
22655 cat >conftest.
$ac_ext <<_ACEOF
22658 cat confdefs.h
>>conftest.
$ac_ext
22659 cat >>conftest.
$ac_ext <<_ACEOF
22660 /* end confdefs.h. */
22661 #include <X11/Intrinsic.h>
22670 rm -f conftest.
$ac_objext conftest
$ac_exeext
22671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22672 (eval $ac_link) 2>conftest.er1
22674 grep -v '^ *+' conftest.er1
>conftest.err
22676 cat conftest.err
>&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } &&
22679 { ac_try
='test -z "$ac_c_werror_flag"
22680 || test ! -s conftest.err'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; } &&
22686 { ac_try
='test -s conftest$ac_exeext'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; }; then
22693 # We can link X programs with no special library path.
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.
$ac_ext >&5
22700 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22702 # Don't even attempt the hair of trying to link an X program!
22703 for ac_extension
in a so sl
; do
22704 if test -r $ac_dir/libXt.
$ac_extension; then
22705 ac_x_libraries
=$ac_dir
22711 rm -f conftest.err conftest.
$ac_objext \
22712 conftest
$ac_exeext conftest.
$ac_ext
22713 fi # $ac_x_libraries = no
22715 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
22716 # Didn't find X anywhere. Cache the known absence of X.
22717 ac_cv_have_x
="have_x=no"
22719 # Record where we found X for the cache.
22720 ac_cv_have_x
="have_x=yes \
22721 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22726 eval "$ac_cv_have_x"
22729 if test "$have_x" != yes; then
22730 echo "$as_me:$LINENO: result: $have_x" >&5
22731 echo "${ECHO_T}$have_x" >&6
22734 # If each of the values was on the command line, it overrides each guess.
22735 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
22736 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
22737 # Update the cache value to reflect the command line values.
22738 ac_cv_have_x
="have_x=yes \
22739 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22740 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22741 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22744 if test "$no_x" = yes; then
22745 # Not all programs may use this symbol, but it does not hurt to define it.
22747 cat >>confdefs.h
<<\_ACEOF
22748 #define X_DISPLAY_MISSING 1
22751 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22753 if test -n "$x_includes"; then
22754 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22757 # It would also be nice to do this for all -L options, not just this one.
22758 if test -n "$x_libraries"; then
22759 X_LIBS
="$X_LIBS -L$x_libraries"
22760 # For Solaris; some versions of Sun CC require a space after -R and
22761 # others require no space. Words are not sufficient . . . .
22762 case `(uname -sr) 2>/dev/null` in
22764 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22765 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22766 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22767 cat >conftest.
$ac_ext <<_ACEOF
22770 cat confdefs.h
>>conftest.
$ac_ext
22771 cat >>conftest.
$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22782 rm -f conftest.
$ac_objext conftest
$ac_exeext
22783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22784 (eval $ac_link) 2>conftest.er1
22786 grep -v '^ *+' conftest.er1
>conftest.err
22788 cat conftest.err
>&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } &&
22791 { ac_try
='test -z "$ac_c_werror_flag"
22792 || test ! -s conftest.err'
22793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794 (eval $ac_try) 2>&5
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; } &&
22798 { ac_try
='test -s conftest$ac_exeext'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.
$ac_ext >&5
22811 rm -f conftest.err conftest.
$ac_objext \
22812 conftest
$ac_exeext conftest.
$ac_ext
22813 if test $ac_R_nospace = yes; then
22814 echo "$as_me:$LINENO: result: no" >&5
22815 echo "${ECHO_T}no" >&6
22816 X_LIBS
="$X_LIBS -R$x_libraries"
22818 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22819 cat >conftest.
$ac_ext <<_ACEOF
22822 cat confdefs.h
>>conftest.
$ac_ext
22823 cat >>conftest.
$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22834 rm -f conftest.
$ac_objext conftest
$ac_exeext
22835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22836 (eval $ac_link) 2>conftest.er1
22838 grep -v '^ *+' conftest.er1
>conftest.err
22840 cat conftest.err
>&5
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); } &&
22843 { ac_try
='test -z "$ac_c_werror_flag"
22844 || test ! -s conftest.err'
22845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22846 (eval $ac_try) 2>&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); }; } &&
22850 { ac_try
='test -s conftest$ac_exeext'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; }; then
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.
$ac_ext >&5
22863 rm -f conftest.err conftest.
$ac_objext \
22864 conftest
$ac_exeext conftest.
$ac_ext
22865 if test $ac_R_space = yes; then
22866 echo "$as_me:$LINENO: result: yes" >&5
22867 echo "${ECHO_T}yes" >&6
22868 X_LIBS
="$X_LIBS -R $x_libraries"
22870 echo "$as_me:$LINENO: result: neither works" >&5
22871 echo "${ECHO_T}neither works" >&6
22874 LIBS
=$ac_xsave_LIBS
22878 # Check for system-dependent libraries X programs must link with.
22879 # Do this before checking for the system-independent R6 libraries
22880 # (-lICE), since we may need -lsocket or whatever for X linking.
22882 if test "$ISC" = yes; then
22883 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22885 # Martyn Johnson says this is needed for Ultrix, if the X
22886 # libraries were built with DECnet support. And Karl Berry says
22887 # the Alpha needs dnet_stub (dnet does not exist).
22888 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22889 cat >conftest.
$ac_ext <<_ACEOF
22892 cat confdefs.h
>>conftest.
$ac_ext
22893 cat >>conftest.
$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22896 /* Override any gcc2 internal prototype to avoid an error. */
22900 /* We use char because int might match the return type of a gcc2
22901 builtin and then its argument prototype would still apply. */
22902 char XOpenDisplay ();
22911 rm -f conftest.
$ac_objext conftest
$ac_exeext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22913 (eval $ac_link) 2>conftest.er1
22915 grep -v '^ *+' conftest.er1
>conftest.err
22917 cat conftest.err
>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } &&
22920 { ac_try
='test -z "$ac_c_werror_flag"
22921 || test ! -s conftest.err'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; } &&
22927 { ac_try
='test -s conftest$ac_exeext'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; }; then
22935 echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.
$ac_ext >&5
22938 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22939 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22940 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22943 ac_check_lib_save_LIBS
=$LIBS
22944 LIBS
="-ldnet $LIBS"
22945 cat >conftest.
$ac_ext <<_ACEOF
22948 cat confdefs.h
>>conftest.
$ac_ext
22949 cat >>conftest.
$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22952 /* Override any gcc2 internal prototype to avoid an error. */
22956 /* We use char because int might match the return type of a gcc2
22957 builtin and then its argument prototype would still apply. */
22967 rm -f conftest.
$ac_objext conftest
$ac_exeext
22968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22969 (eval $ac_link) 2>conftest.er1
22971 grep -v '^ *+' conftest.er1
>conftest.err
22973 cat conftest.err
>&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); } &&
22976 { ac_try
='test -z "$ac_c_werror_flag"
22977 || test ! -s conftest.err'
22978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22979 (eval $ac_try) 2>&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); }; } &&
22983 { ac_try
='test -s conftest$ac_exeext'
22984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22985 (eval $ac_try) 2>&5
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); }; }; then
22989 ac_cv_lib_dnet_dnet_ntoa
=yes
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.
$ac_ext >&5
22994 ac_cv_lib_dnet_dnet_ntoa
=no
22996 rm -f conftest.err conftest.
$ac_objext \
22997 conftest
$ac_exeext conftest.
$ac_ext
22998 LIBS
=$ac_check_lib_save_LIBS
23000 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23001 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23002 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23003 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23006 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23007 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23008 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23009 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23010 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 ac_check_lib_save_LIBS
=$LIBS
23013 LIBS
="-ldnet_stub $LIBS"
23014 cat >conftest.
$ac_ext <<_ACEOF
23017 cat confdefs.h
>>conftest.
$ac_ext
23018 cat >>conftest.
$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23021 /* Override any gcc2 internal prototype to avoid an error. */
23025 /* We use char because int might match the return type of a gcc2
23026 builtin and then its argument prototype would still apply. */
23036 rm -f conftest.
$ac_objext conftest
$ac_exeext
23037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23038 (eval $ac_link) 2>conftest.er1
23040 grep -v '^ *+' conftest.er1
>conftest.err
23042 cat conftest.err
>&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } &&
23045 { ac_try
='test -z "$ac_c_werror_flag"
23046 || test ! -s conftest.err'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; } &&
23052 { ac_try
='test -s conftest$ac_exeext'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; }; then
23058 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23060 echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.
$ac_ext >&5
23063 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23065 rm -f conftest.err conftest.
$ac_objext \
23066 conftest
$ac_exeext conftest.
$ac_ext
23067 LIBS
=$ac_check_lib_save_LIBS
23069 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23070 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23071 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23072 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23077 rm -f conftest.err conftest.
$ac_objext \
23078 conftest
$ac_exeext conftest.
$ac_ext
23079 LIBS
="$ac_xsave_LIBS"
23081 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23082 # to get the SysV transport functions.
23083 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23085 # The nsl library prevents programs from opening the X display
23086 # on Irix 5.2, according to T.E. Dickey.
23087 # The functions gethostbyname, getservbyname, and inet_addr are
23088 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23089 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23090 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23091 if test "${ac_cv_func_gethostbyname+set}" = set; then
23092 echo $ECHO_N "(cached) $ECHO_C" >&6
23094 cat >conftest.
$ac_ext <<_ACEOF
23097 cat confdefs.h
>>conftest.
$ac_ext
23098 cat >>conftest.
$ac_ext <<_ACEOF
23099 /* end confdefs.h. */
23100 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23102 #define gethostbyname innocuous_gethostbyname
23104 /* System header to define __stub macros and hopefully few prototypes,
23105 which can conflict with char gethostbyname (); below.
23106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23107 <limits.h> exists even on freestanding compilers. */
23110 # include <limits.h>
23112 # include <assert.h>
23115 #undef gethostbyname
23117 /* Override any gcc2 internal prototype to avoid an error. */
23122 /* We use char because int might match the return type of a gcc2
23123 builtin and then its argument prototype would still apply. */
23124 char gethostbyname ();
23125 /* The GNU C library defines this for functions which it implements
23126 to always fail with ENOSYS. Some functions are actually named
23127 something starting with __ and the normal name is an alias. */
23128 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23131 char (*f) () = gethostbyname;
23140 return f != gethostbyname;
23145 rm -f conftest.
$ac_objext conftest
$ac_exeext
23146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23147 (eval $ac_link) 2>conftest.er1
23149 grep -v '^ *+' conftest.er1
>conftest.err
23151 cat conftest.err
>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); } &&
23154 { ac_try
='test -z "$ac_c_werror_flag"
23155 || test ! -s conftest.err'
23156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23157 (eval $ac_try) 2>&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); }; } &&
23161 { ac_try
='test -s conftest$ac_exeext'
23162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23163 (eval $ac_try) 2>&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); }; }; then
23167 ac_cv_func_gethostbyname
=yes
23169 echo "$as_me: failed program was:" >&5
23170 sed 's/^/| /' conftest.
$ac_ext >&5
23172 ac_cv_func_gethostbyname
=no
23174 rm -f conftest.err conftest.
$ac_objext \
23175 conftest
$ac_exeext conftest.
$ac_ext
23177 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23178 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23180 if test $ac_cv_func_gethostbyname = no
; then
23181 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23182 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23183 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23184 echo $ECHO_N "(cached) $ECHO_C" >&6
23186 ac_check_lib_save_LIBS
=$LIBS
23188 cat >conftest.
$ac_ext <<_ACEOF
23191 cat confdefs.h
>>conftest.
$ac_ext
23192 cat >>conftest.
$ac_ext <<_ACEOF
23193 /* end confdefs.h. */
23195 /* Override any gcc2 internal prototype to avoid an error. */
23199 /* We use char because int might match the return type of a gcc2
23200 builtin and then its argument prototype would still apply. */
23201 char gethostbyname ();
23210 rm -f conftest.
$ac_objext conftest
$ac_exeext
23211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23212 (eval $ac_link) 2>conftest.er1
23214 grep -v '^ *+' conftest.er1
>conftest.err
23216 cat conftest.err
>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); } &&
23219 { ac_try
='test -z "$ac_c_werror_flag"
23220 || test ! -s conftest.err'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; } &&
23226 { ac_try
='test -s conftest$ac_exeext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_cv_lib_nsl_gethostbyname
=yes
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 ac_cv_lib_nsl_gethostbyname
=no
23239 rm -f conftest.err conftest.
$ac_objext \
23240 conftest
$ac_exeext conftest.
$ac_ext
23241 LIBS
=$ac_check_lib_save_LIBS
23243 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23244 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23245 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23249 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23250 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23251 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23252 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23255 ac_check_lib_save_LIBS
=$LIBS
23257 cat >conftest.
$ac_ext <<_ACEOF
23260 cat confdefs.h
>>conftest.
$ac_ext
23261 cat >>conftest.
$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23264 /* Override any gcc2 internal prototype to avoid an error. */
23268 /* We use char because int might match the return type of a gcc2
23269 builtin and then its argument prototype would still apply. */
23270 char gethostbyname ();
23279 rm -f conftest.
$ac_objext conftest
$ac_exeext
23280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23281 (eval $ac_link) 2>conftest.er1
23283 grep -v '^ *+' conftest.er1
>conftest.err
23285 cat conftest.err
>&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try
='test -z "$ac_c_werror_flag"
23289 || test ! -s conftest.err'
23290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23291 (eval $ac_try) 2>&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); }; } &&
23295 { ac_try
='test -s conftest$ac_exeext'
23296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23297 (eval $ac_try) 2>&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); }; }; then
23301 ac_cv_lib_bsd_gethostbyname
=yes
23303 echo "$as_me: failed program was:" >&5
23304 sed 's/^/| /' conftest.
$ac_ext >&5
23306 ac_cv_lib_bsd_gethostbyname
=no
23308 rm -f conftest.err conftest.
$ac_objext \
23309 conftest
$ac_exeext conftest.
$ac_ext
23310 LIBS
=$ac_check_lib_save_LIBS
23312 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23313 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23314 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23315 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23321 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23322 # socket/setsockopt and other routines are undefined under SCO ODT
23323 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23324 # on later versions), says Simon Leinen: it contains gethostby*
23325 # variants that don't use the name server (or something). -lsocket
23326 # must be given before -lnsl if both are needed. We assume that
23327 # if connect needs -lnsl, so does gethostbyname.
23328 echo "$as_me:$LINENO: checking for connect" >&5
23329 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23330 if test "${ac_cv_func_connect+set}" = set; then
23331 echo $ECHO_N "(cached) $ECHO_C" >&6
23333 cat >conftest.
$ac_ext <<_ACEOF
23336 cat confdefs.h
>>conftest.
$ac_ext
23337 cat >>conftest.
$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23341 #define connect innocuous_connect
23343 /* System header to define __stub macros and hopefully few prototypes,
23344 which can conflict with char connect (); below.
23345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23346 <limits.h> exists even on freestanding compilers. */
23349 # include <limits.h>
23351 # include <assert.h>
23356 /* Override any gcc2 internal prototype to avoid an error. */
23361 /* We use char because int might match the return type of a gcc2
23362 builtin and then its argument prototype would still apply. */
23364 /* The GNU C library defines this for functions which it implements
23365 to always fail with ENOSYS. Some functions are actually named
23366 something starting with __ and the normal name is an alias. */
23367 #if defined (__stub_connect) || defined (__stub___connect)
23370 char (*f) () = connect;
23379 return f != connect;
23384 rm -f conftest.
$ac_objext conftest
$ac_exeext
23385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23386 (eval $ac_link) 2>conftest.er1
23388 grep -v '^ *+' conftest.er1
>conftest.err
23390 cat conftest.err
>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); } &&
23393 { ac_try
='test -z "$ac_c_werror_flag"
23394 || test ! -s conftest.err'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; } &&
23400 { ac_try
='test -s conftest$ac_exeext'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 ac_cv_func_connect
=yes
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.
$ac_ext >&5
23411 ac_cv_func_connect
=no
23413 rm -f conftest.err conftest.
$ac_objext \
23414 conftest
$ac_exeext conftest.
$ac_ext
23416 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23417 echo "${ECHO_T}$ac_cv_func_connect" >&6
23419 if test $ac_cv_func_connect = no
; then
23420 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23421 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23422 if test "${ac_cv_lib_socket_connect+set}" = set; then
23423 echo $ECHO_N "(cached) $ECHO_C" >&6
23425 ac_check_lib_save_LIBS
=$LIBS
23426 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23427 cat >conftest.
$ac_ext <<_ACEOF
23430 cat confdefs.h
>>conftest.
$ac_ext
23431 cat >>conftest.
$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23434 /* Override any gcc2 internal prototype to avoid an error. */
23438 /* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23449 rm -f conftest.
$ac_objext conftest
$ac_exeext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23451 (eval $ac_link) 2>conftest.er1
23453 grep -v '^ *+' conftest.er1
>conftest.err
23455 cat conftest.err
>&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } &&
23458 { ac_try
='test -z "$ac_c_werror_flag"
23459 || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try
='test -s conftest$ac_exeext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 ac_cv_lib_socket_connect
=yes
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.
$ac_ext >&5
23476 ac_cv_lib_socket_connect
=no
23478 rm -f conftest.err conftest.
$ac_objext \
23479 conftest
$ac_exeext conftest.
$ac_ext
23480 LIBS
=$ac_check_lib_save_LIBS
23482 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23483 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23484 if test $ac_cv_lib_socket_connect = yes; then
23485 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23490 # Guillermo Gomez says -lposix is necessary on A/UX.
23491 echo "$as_me:$LINENO: checking for remove" >&5
23492 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23493 if test "${ac_cv_func_remove+set}" = set; then
23494 echo $ECHO_N "(cached) $ECHO_C" >&6
23496 cat >conftest.
$ac_ext <<_ACEOF
23499 cat confdefs.h
>>conftest.
$ac_ext
23500 cat >>conftest.
$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
23503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23504 #define remove innocuous_remove
23506 /* System header to define __stub macros and hopefully few prototypes,
23507 which can conflict with char remove (); below.
23508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23509 <limits.h> exists even on freestanding compilers. */
23512 # include <limits.h>
23514 # include <assert.h>
23519 /* Override any gcc2 internal prototype to avoid an error. */
23524 /* We use char because int might match the return type of a gcc2
23525 builtin and then its argument prototype would still apply. */
23527 /* The GNU C library defines this for functions which it implements
23528 to always fail with ENOSYS. Some functions are actually named
23529 something starting with __ and the normal name is an alias. */
23530 #if defined (__stub_remove) || defined (__stub___remove)
23533 char (*f) () = remove;
23542 return f != remove;
23547 rm -f conftest.
$ac_objext conftest
$ac_exeext
23548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23549 (eval $ac_link) 2>conftest.er1
23551 grep -v '^ *+' conftest.er1
>conftest.err
23553 cat conftest.err
>&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } &&
23556 { ac_try
='test -z "$ac_c_werror_flag"
23557 || test ! -s conftest.err'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; } &&
23563 { ac_try
='test -s conftest$ac_exeext'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; }; then
23569 ac_cv_func_remove
=yes
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.
$ac_ext >&5
23574 ac_cv_func_remove
=no
23576 rm -f conftest.err conftest.
$ac_objext \
23577 conftest
$ac_exeext conftest.
$ac_ext
23579 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23580 echo "${ECHO_T}$ac_cv_func_remove" >&6
23582 if test $ac_cv_func_remove = no
; then
23583 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23584 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23585 if test "${ac_cv_lib_posix_remove+set}" = set; then
23586 echo $ECHO_N "(cached) $ECHO_C" >&6
23588 ac_check_lib_save_LIBS
=$LIBS
23589 LIBS
="-lposix $LIBS"
23590 cat >conftest.
$ac_ext <<_ACEOF
23593 cat confdefs.h
>>conftest.
$ac_ext
23594 cat >>conftest.
$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23597 /* Override any gcc2 internal prototype to avoid an error. */
23601 /* We use char because int might match the return type of a gcc2
23602 builtin and then its argument prototype would still apply. */
23612 rm -f conftest.
$ac_objext conftest
$ac_exeext
23613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23614 (eval $ac_link) 2>conftest.er1
23616 grep -v '^ *+' conftest.er1
>conftest.err
23618 cat conftest.err
>&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); } &&
23621 { ac_try
='test -z "$ac_c_werror_flag"
23622 || test ! -s conftest.err'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; } &&
23628 { ac_try
='test -s conftest$ac_exeext'
23629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23630 (eval $ac_try) 2>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; }; then
23634 ac_cv_lib_posix_remove
=yes
23636 echo "$as_me: failed program was:" >&5
23637 sed 's/^/| /' conftest.
$ac_ext >&5
23639 ac_cv_lib_posix_remove
=no
23641 rm -f conftest.err conftest.
$ac_objext \
23642 conftest
$ac_exeext conftest.
$ac_ext
23643 LIBS
=$ac_check_lib_save_LIBS
23645 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23646 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23647 if test $ac_cv_lib_posix_remove = yes; then
23648 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23653 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23654 echo "$as_me:$LINENO: checking for shmat" >&5
23655 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23656 if test "${ac_cv_func_shmat+set}" = set; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23659 cat >conftest.
$ac_ext <<_ACEOF
23662 cat confdefs.h
>>conftest.
$ac_ext
23663 cat >>conftest.
$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23667 #define shmat innocuous_shmat
23669 /* System header to define __stub macros and hopefully few prototypes,
23670 which can conflict with char shmat (); below.
23671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23672 <limits.h> exists even on freestanding compilers. */
23675 # include <limits.h>
23677 # include <assert.h>
23682 /* Override any gcc2 internal prototype to avoid an error. */
23687 /* We use char because int might match the return type of a gcc2
23688 builtin and then its argument prototype would still apply. */
23690 /* The GNU C library defines this for functions which it implements
23691 to always fail with ENOSYS. Some functions are actually named
23692 something starting with __ and the normal name is an alias. */
23693 #if defined (__stub_shmat) || defined (__stub___shmat)
23696 char (*f) () = shmat;
23710 rm -f conftest.
$ac_objext conftest
$ac_exeext
23711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23712 (eval $ac_link) 2>conftest.er1
23714 grep -v '^ *+' conftest.er1
>conftest.err
23716 cat conftest.err
>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } &&
23719 { ac_try
='test -z "$ac_c_werror_flag"
23720 || test ! -s conftest.err'
23721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); }; } &&
23726 { ac_try
='test -s conftest$ac_exeext'
23727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23728 (eval $ac_try) 2>&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); }; }; then
23732 ac_cv_func_shmat
=yes
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.
$ac_ext >&5
23737 ac_cv_func_shmat
=no
23739 rm -f conftest.err conftest.
$ac_objext \
23740 conftest
$ac_exeext conftest.
$ac_ext
23742 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23743 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23745 if test $ac_cv_func_shmat = no
; then
23746 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23747 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23748 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23749 echo $ECHO_N "(cached) $ECHO_C" >&6
23751 ac_check_lib_save_LIBS
=$LIBS
23753 cat >conftest.
$ac_ext <<_ACEOF
23756 cat confdefs.h
>>conftest.
$ac_ext
23757 cat >>conftest.
$ac_ext <<_ACEOF
23758 /* end confdefs.h. */
23760 /* Override any gcc2 internal prototype to avoid an error. */
23764 /* We use char because int might match the return type of a gcc2
23765 builtin and then its argument prototype would still apply. */
23775 rm -f conftest.
$ac_objext conftest
$ac_exeext
23776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23777 (eval $ac_link) 2>conftest.er1
23779 grep -v '^ *+' conftest.er1
>conftest.err
23781 cat conftest.err
>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } &&
23784 { ac_try
='test -z "$ac_c_werror_flag"
23785 || test ! -s conftest.err'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; } &&
23791 { ac_try
='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 ac_cv_lib_ipc_shmat
=yes
23799 echo "$as_me: failed program was:" >&5
23800 sed 's/^/| /' conftest.
$ac_ext >&5
23802 ac_cv_lib_ipc_shmat
=no
23804 rm -f conftest.err conftest.
$ac_objext \
23805 conftest
$ac_exeext conftest.
$ac_ext
23806 LIBS
=$ac_check_lib_save_LIBS
23808 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23809 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23810 if test $ac_cv_lib_ipc_shmat = yes; then
23811 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23817 # Check for libraries that X11R6 Xt/Xaw programs need.
23818 ac_save_LDFLAGS
=$LDFLAGS
23819 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23820 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23821 # check for ICE first), but we must link in the order -lSM -lICE or
23822 # we get undefined symbols. So assume we have SM if we have ICE.
23823 # These have to be linked with before -lX11, unlike the other
23824 # libraries we check for below, so use a different variable.
23825 # John Interrante, Karl Berry
23826 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23827 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23828 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23831 ac_check_lib_save_LIBS
=$LIBS
23832 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23833 cat >conftest.
$ac_ext <<_ACEOF
23836 cat confdefs.h
>>conftest.
$ac_ext
23837 cat >>conftest.
$ac_ext <<_ACEOF
23838 /* end confdefs.h. */
23840 /* Override any gcc2 internal prototype to avoid an error. */
23844 /* We use char because int might match the return type of a gcc2
23845 builtin and then its argument prototype would still apply. */
23846 char IceConnectionNumber ();
23850 IceConnectionNumber ();
23855 rm -f conftest.
$ac_objext conftest
$ac_exeext
23856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23857 (eval $ac_link) 2>conftest.er1
23859 grep -v '^ *+' conftest.er1
>conftest.err
23861 cat conftest.err
>&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); } &&
23864 { ac_try
='test -z "$ac_c_werror_flag"
23865 || test ! -s conftest.err'
23866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23867 (eval $ac_try) 2>&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); }; } &&
23871 { ac_try
='test -s conftest$ac_exeext'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_lib_ICE_IceConnectionNumber
=yes
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.
$ac_ext >&5
23882 ac_cv_lib_ICE_IceConnectionNumber
=no
23884 rm -f conftest.err conftest.
$ac_objext \
23885 conftest
$ac_exeext conftest.
$ac_ext
23886 LIBS
=$ac_check_lib_save_LIBS
23888 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23889 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23890 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23891 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23894 LDFLAGS
=$ac_save_LDFLAGS
23899 if test "$no_x" = "yes"; then
23900 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23901 echo "$as_me: error: X11 not found" >&2;}
23902 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23905 GUI_TK_LIBRARY
="$X_LIBS"
23906 TOOLKIT_INCLUDE
="$X_CFLAGS"
23907 AFMINSTALL
=afminstall
23908 COMPILED_X_PROGRAM
=0
23910 if test "$wxUSE_NANOX" = "yes"; then
23911 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23912 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23913 if test "x$MICROWIN" = x
; then
23914 echo "$as_me:$LINENO: result: not found" >&5
23915 echo "${ECHO_T}not found" >&6
23916 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23917 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23918 { (exit 1); exit 1; }; }
23920 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23921 echo "${ECHO_T}$MICROWIN" >&6
23922 cat >>confdefs.h
<<\_ACEOF
23923 #define wxUSE_NANOX 1
23929 if test "$wxUSE_UNICODE" = "yes"; then
23933 if test -z "$PKG_CONFIG"; then
23934 # Extract the first word of "pkg-config", so it can be a program name with args.
23935 set dummy pkg
-config; ac_word
=$2
23936 echo "$as_me:$LINENO: checking for $ac_word" >&5
23937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23938 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23939 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 case $PKG_CONFIG in
23943 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23947 for as_dir
in $PATH
23950 test -z "$as_dir" && as_dir
=.
23951 for ac_exec_ext
in '' $ac_executable_extensions; do
23952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23953 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23960 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23964 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23966 if test -n "$PKG_CONFIG"; then
23967 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23968 echo "${ECHO_T}$PKG_CONFIG" >&6
23970 echo "$as_me:$LINENO: result: no" >&5
23971 echo "${ECHO_T}no" >&6
23976 if test "$PKG_CONFIG" = "no" ; then
23977 echo "*** The pkg-config script could not be found. Make sure it is"
23978 echo "*** in your path, or set the PKG_CONFIG environment variable"
23979 echo "*** to the full path to pkg-config."
23980 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23982 PKG_CONFIG_MIN_VERSION
=0.9.0
23983 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23984 echo "$as_me:$LINENO: checking for pangox" >&5
23985 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23987 if $PKG_CONFIG --exists "pangox" ; then
23988 echo "$as_me:$LINENO: result: yes" >&5
23989 echo "${ECHO_T}yes" >&6
23992 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23993 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23994 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
23995 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23996 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23998 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23999 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24000 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24001 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24002 echo "${ECHO_T}$PANGOX_LIBS" >&6
24006 ## If we have a custom action on failure, don't print errors, but
24007 ## do set a variable so people can do so.
24008 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24015 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24016 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24020 if test $succeeded = yes; then
24022 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24023 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24027 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24028 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24029 { (exit 1); exit 1; }; }
24037 if test -z "$PKG_CONFIG"; then
24038 # Extract the first word of "pkg-config", so it can be a program name with args.
24039 set dummy pkg
-config; ac_word
=$2
24040 echo "$as_me:$LINENO: checking for $ac_word" >&5
24041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24042 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24043 echo $ECHO_N "(cached) $ECHO_C" >&6
24045 case $PKG_CONFIG in
24047 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24051 for as_dir
in $PATH
24054 test -z "$as_dir" && as_dir
=.
24055 for ac_exec_ext
in '' $ac_executable_extensions; do
24056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24057 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24064 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24068 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24070 if test -n "$PKG_CONFIG"; then
24071 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24072 echo "${ECHO_T}$PKG_CONFIG" >&6
24074 echo "$as_me:$LINENO: result: no" >&5
24075 echo "${ECHO_T}no" >&6
24080 if test "$PKG_CONFIG" = "no" ; then
24081 echo "*** The pkg-config script could not be found. Make sure it is"
24082 echo "*** in your path, or set the PKG_CONFIG environment variable"
24083 echo "*** to the full path to pkg-config."
24084 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24086 PKG_CONFIG_MIN_VERSION
=0.9.0
24087 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24088 echo "$as_me:$LINENO: checking for pangoft2" >&5
24089 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24091 if $PKG_CONFIG --exists "pangoft2" ; then
24092 echo "$as_me:$LINENO: result: yes" >&5
24093 echo "${ECHO_T}yes" >&6
24096 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24097 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24098 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24099 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24100 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24102 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24103 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24104 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24105 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24106 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24110 ## If we have a custom action on failure, don't print errors, but
24111 ## do set a variable so people can do so.
24112 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24119 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24120 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24124 if test $succeeded = yes; then
24126 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24127 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24131 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24132 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24133 wxUSE_PRINTING_ARCHITECTURE
="no"
24141 if test -z "$PKG_CONFIG"; then
24142 # Extract the first word of "pkg-config", so it can be a program name with args.
24143 set dummy pkg
-config; ac_word
=$2
24144 echo "$as_me:$LINENO: checking for $ac_word" >&5
24145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24146 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24147 echo $ECHO_N "(cached) $ECHO_C" >&6
24149 case $PKG_CONFIG in
24151 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24155 for as_dir
in $PATH
24158 test -z "$as_dir" && as_dir
=.
24159 for ac_exec_ext
in '' $ac_executable_extensions; do
24160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24161 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24168 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24172 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24174 if test -n "$PKG_CONFIG"; then
24175 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24176 echo "${ECHO_T}$PKG_CONFIG" >&6
24178 echo "$as_me:$LINENO: result: no" >&5
24179 echo "${ECHO_T}no" >&6
24184 if test "$PKG_CONFIG" = "no" ; then
24185 echo "*** The pkg-config script could not be found. Make sure it is"
24186 echo "*** in your path, or set the PKG_CONFIG environment variable"
24187 echo "*** to the full path to pkg-config."
24188 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24190 PKG_CONFIG_MIN_VERSION
=0.9.0
24191 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24192 echo "$as_me:$LINENO: checking for pangoxft" >&5
24193 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24195 if $PKG_CONFIG --exists "pangoxft" ; then
24196 echo "$as_me:$LINENO: result: yes" >&5
24197 echo "${ECHO_T}yes" >&6
24200 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24201 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24202 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24203 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24204 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24206 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24207 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24208 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24209 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24210 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24214 ## If we have a custom action on failure, don't print errors, but
24215 ## do set a variable so people can do so.
24216 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24223 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24224 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24228 if test $succeeded = yes; then
24230 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24231 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24235 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24236 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24243 wxUSE_UNIVERSAL
="yes"
24245 if test "$wxUSE_NANOX" = "yes"; then
24246 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24247 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"
24248 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24250 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24253 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24258 if test "$wxUSE_MOTIF" = 1; then
24259 if test "$no_x" = yes; then
24260 # Not all programs may use this symbol, but it does not hurt to define it.
24262 cat >>confdefs.h
<<\_ACEOF
24263 #define X_DISPLAY_MISSING 1
24266 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24268 if test -n "$x_includes"; then
24269 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24272 # It would also be nice to do this for all -L options, not just this one.
24273 if test -n "$x_libraries"; then
24274 X_LIBS
="$X_LIBS -L$x_libraries"
24275 # For Solaris; some versions of Sun CC require a space after -R and
24276 # others require no space. Words are not sufficient . . . .
24277 case `(uname -sr) 2>/dev/null` in
24279 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24280 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24281 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24282 cat >conftest.
$ac_ext <<_ACEOF
24285 cat confdefs.h
>>conftest.
$ac_ext
24286 cat >>conftest.
$ac_ext <<_ACEOF
24287 /* end confdefs.h. */
24297 rm -f conftest.
$ac_objext conftest
$ac_exeext
24298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24299 (eval $ac_link) 2>conftest.er1
24301 grep -v '^ *+' conftest.er1
>conftest.err
24303 cat conftest.err
>&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } &&
24306 { ac_try
='test -z "$ac_c_werror_flag"
24307 || test ! -s conftest.err'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; } &&
24313 { ac_try
='test -s conftest$ac_exeext'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; }; then
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.
$ac_ext >&5
24326 rm -f conftest.err conftest.
$ac_objext \
24327 conftest
$ac_exeext conftest.
$ac_ext
24328 if test $ac_R_nospace = yes; then
24329 echo "$as_me:$LINENO: result: no" >&5
24330 echo "${ECHO_T}no" >&6
24331 X_LIBS
="$X_LIBS -R$x_libraries"
24333 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24334 cat >conftest.
$ac_ext <<_ACEOF
24337 cat confdefs.h
>>conftest.
$ac_ext
24338 cat >>conftest.
$ac_ext <<_ACEOF
24339 /* end confdefs.h. */
24349 rm -f conftest.
$ac_objext conftest
$ac_exeext
24350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24351 (eval $ac_link) 2>conftest.er1
24353 grep -v '^ *+' conftest.er1
>conftest.err
24355 cat conftest.err
>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } &&
24358 { ac_try
='test -z "$ac_c_werror_flag"
24359 || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try
='test -s conftest$ac_exeext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24373 echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.
$ac_ext >&5
24378 rm -f conftest.err conftest.
$ac_objext \
24379 conftest
$ac_exeext conftest.
$ac_ext
24380 if test $ac_R_space = yes; then
24381 echo "$as_me:$LINENO: result: yes" >&5
24382 echo "${ECHO_T}yes" >&6
24383 X_LIBS
="$X_LIBS -R $x_libraries"
24385 echo "$as_me:$LINENO: result: neither works" >&5
24386 echo "${ECHO_T}neither works" >&6
24389 LIBS
=$ac_xsave_LIBS
24393 # Check for system-dependent libraries X programs must link with.
24394 # Do this before checking for the system-independent R6 libraries
24395 # (-lICE), since we may need -lsocket or whatever for X linking.
24397 if test "$ISC" = yes; then
24398 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24400 # Martyn Johnson says this is needed for Ultrix, if the X
24401 # libraries were built with DECnet support. And Karl Berry says
24402 # the Alpha needs dnet_stub (dnet does not exist).
24403 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24404 cat >conftest.
$ac_ext <<_ACEOF
24407 cat confdefs.h
>>conftest.
$ac_ext
24408 cat >>conftest.
$ac_ext <<_ACEOF
24409 /* end confdefs.h. */
24411 /* Override any gcc2 internal prototype to avoid an error. */
24415 /* We use char because int might match the return type of a gcc2
24416 builtin and then its argument prototype would still apply. */
24417 char XOpenDisplay ();
24426 rm -f conftest.
$ac_objext conftest
$ac_exeext
24427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24428 (eval $ac_link) 2>conftest.er1
24430 grep -v '^ *+' conftest.er1
>conftest.err
24432 cat conftest.err
>&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); } &&
24435 { ac_try
='test -z "$ac_c_werror_flag"
24436 || test ! -s conftest.err'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; } &&
24442 { ac_try
='test -s conftest$ac_exeext'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; }; then
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.
$ac_ext >&5
24453 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24454 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24455 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24456 echo $ECHO_N "(cached) $ECHO_C" >&6
24458 ac_check_lib_save_LIBS
=$LIBS
24459 LIBS
="-ldnet $LIBS"
24460 cat >conftest.
$ac_ext <<_ACEOF
24463 cat confdefs.h
>>conftest.
$ac_ext
24464 cat >>conftest.
$ac_ext <<_ACEOF
24465 /* end confdefs.h. */
24467 /* Override any gcc2 internal prototype to avoid an error. */
24471 /* We use char because int might match the return type of a gcc2
24472 builtin and then its argument prototype would still apply. */
24482 rm -f conftest.
$ac_objext conftest
$ac_exeext
24483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24484 (eval $ac_link) 2>conftest.er1
24486 grep -v '^ *+' conftest.er1
>conftest.err
24488 cat conftest.err
>&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); } &&
24491 { ac_try
='test -z "$ac_c_werror_flag"
24492 || test ! -s conftest.err'
24493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494 (eval $ac_try) 2>&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; } &&
24498 { ac_try
='test -s conftest$ac_exeext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 ac_cv_lib_dnet_dnet_ntoa
=yes
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.
$ac_ext >&5
24509 ac_cv_lib_dnet_dnet_ntoa
=no
24511 rm -f conftest.err conftest.
$ac_objext \
24512 conftest
$ac_exeext conftest.
$ac_ext
24513 LIBS
=$ac_check_lib_save_LIBS
24515 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24516 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24517 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24518 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24521 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24522 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24523 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24524 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24525 echo $ECHO_N "(cached) $ECHO_C" >&6
24527 ac_check_lib_save_LIBS
=$LIBS
24528 LIBS
="-ldnet_stub $LIBS"
24529 cat >conftest.
$ac_ext <<_ACEOF
24532 cat confdefs.h
>>conftest.
$ac_ext
24533 cat >>conftest.
$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24536 /* Override any gcc2 internal prototype to avoid an error. */
24540 /* We use char because int might match the return type of a gcc2
24541 builtin and then its argument prototype would still apply. */
24551 rm -f conftest.
$ac_objext conftest
$ac_exeext
24552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24553 (eval $ac_link) 2>conftest.er1
24555 grep -v '^ *+' conftest.er1
>conftest.err
24557 cat conftest.err
>&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } &&
24560 { ac_try
='test -z "$ac_c_werror_flag"
24561 || test ! -s conftest.err'
24562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24563 (eval $ac_try) 2>&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); }; } &&
24567 { ac_try
='test -s conftest$ac_exeext'
24568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24569 (eval $ac_try) 2>&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); }; }; then
24573 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24575 echo "$as_me: failed program was:" >&5
24576 sed 's/^/| /' conftest.
$ac_ext >&5
24578 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24580 rm -f conftest.err conftest.
$ac_objext \
24581 conftest
$ac_exeext conftest.
$ac_ext
24582 LIBS
=$ac_check_lib_save_LIBS
24584 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24585 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24586 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24587 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24592 rm -f conftest.err conftest.
$ac_objext \
24593 conftest
$ac_exeext conftest.
$ac_ext
24594 LIBS
="$ac_xsave_LIBS"
24596 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24597 # to get the SysV transport functions.
24598 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24600 # The nsl library prevents programs from opening the X display
24601 # on Irix 5.2, according to T.E. Dickey.
24602 # The functions gethostbyname, getservbyname, and inet_addr are
24603 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24604 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24605 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24606 if test "${ac_cv_func_gethostbyname+set}" = set; then
24607 echo $ECHO_N "(cached) $ECHO_C" >&6
24609 cat >conftest.
$ac_ext <<_ACEOF
24612 cat confdefs.h
>>conftest.
$ac_ext
24613 cat >>conftest.
$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24615 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24617 #define gethostbyname innocuous_gethostbyname
24619 /* System header to define __stub macros and hopefully few prototypes,
24620 which can conflict with char gethostbyname (); below.
24621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24622 <limits.h> exists even on freestanding compilers. */
24625 # include <limits.h>
24627 # include <assert.h>
24630 #undef gethostbyname
24632 /* Override any gcc2 internal prototype to avoid an error. */
24637 /* We use char because int might match the return type of a gcc2
24638 builtin and then its argument prototype would still apply. */
24639 char gethostbyname ();
24640 /* The GNU C library defines this for functions which it implements
24641 to always fail with ENOSYS. Some functions are actually named
24642 something starting with __ and the normal name is an alias. */
24643 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24646 char (*f) () = gethostbyname;
24655 return f != gethostbyname;
24660 rm -f conftest.
$ac_objext conftest
$ac_exeext
24661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24662 (eval $ac_link) 2>conftest.er1
24664 grep -v '^ *+' conftest.er1
>conftest.err
24666 cat conftest.err
>&5
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); } &&
24669 { ac_try
='test -z "$ac_c_werror_flag"
24670 || test ! -s conftest.err'
24671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24672 (eval $ac_try) 2>&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); }; } &&
24676 { ac_try
='test -s conftest$ac_exeext'
24677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24678 (eval $ac_try) 2>&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); }; }; then
24682 ac_cv_func_gethostbyname
=yes
24684 echo "$as_me: failed program was:" >&5
24685 sed 's/^/| /' conftest.
$ac_ext >&5
24687 ac_cv_func_gethostbyname
=no
24689 rm -f conftest.err conftest.
$ac_objext \
24690 conftest
$ac_exeext conftest.
$ac_ext
24692 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24693 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24695 if test $ac_cv_func_gethostbyname = no
; then
24696 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24697 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24698 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 ac_check_lib_save_LIBS
=$LIBS
24703 cat >conftest.
$ac_ext <<_ACEOF
24706 cat confdefs.h
>>conftest.
$ac_ext
24707 cat >>conftest.
$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24710 /* Override any gcc2 internal prototype to avoid an error. */
24714 /* We use char because int might match the return type of a gcc2
24715 builtin and then its argument prototype would still apply. */
24716 char gethostbyname ();
24725 rm -f conftest.
$ac_objext conftest
$ac_exeext
24726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24727 (eval $ac_link) 2>conftest.er1
24729 grep -v '^ *+' conftest.er1
>conftest.err
24731 cat conftest.err
>&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } &&
24734 { ac_try
='test -z "$ac_c_werror_flag"
24735 || test ! -s conftest.err'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; } &&
24741 { ac_try
='test -s conftest$ac_exeext'
24742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24743 (eval $ac_try) 2>&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); }; }; then
24747 ac_cv_lib_nsl_gethostbyname
=yes
24749 echo "$as_me: failed program was:" >&5
24750 sed 's/^/| /' conftest.
$ac_ext >&5
24752 ac_cv_lib_nsl_gethostbyname
=no
24754 rm -f conftest.err conftest.
$ac_objext \
24755 conftest
$ac_exeext conftest.
$ac_ext
24756 LIBS
=$ac_check_lib_save_LIBS
24758 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24759 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24760 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24764 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24765 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24766 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24767 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 ac_check_lib_save_LIBS
=$LIBS
24772 cat >conftest.
$ac_ext <<_ACEOF
24775 cat confdefs.h
>>conftest.
$ac_ext
24776 cat >>conftest.
$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24779 /* Override any gcc2 internal prototype to avoid an error. */
24783 /* We use char because int might match the return type of a gcc2
24784 builtin and then its argument prototype would still apply. */
24785 char gethostbyname ();
24794 rm -f conftest.
$ac_objext conftest
$ac_exeext
24795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24796 (eval $ac_link) 2>conftest.er1
24798 grep -v '^ *+' conftest.er1
>conftest.err
24800 cat conftest.err
>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } &&
24803 { ac_try
='test -z "$ac_c_werror_flag"
24804 || test ! -s conftest.err'
24805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24806 (eval $ac_try) 2>&5
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); }; } &&
24810 { ac_try
='test -s conftest$ac_exeext'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; }; then
24816 ac_cv_lib_bsd_gethostbyname
=yes
24818 echo "$as_me: failed program was:" >&5
24819 sed 's/^/| /' conftest.
$ac_ext >&5
24821 ac_cv_lib_bsd_gethostbyname
=no
24823 rm -f conftest.err conftest.
$ac_objext \
24824 conftest
$ac_exeext conftest.
$ac_ext
24825 LIBS
=$ac_check_lib_save_LIBS
24827 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24828 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24829 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24830 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24836 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24837 # socket/setsockopt and other routines are undefined under SCO ODT
24838 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24839 # on later versions), says Simon Leinen: it contains gethostby*
24840 # variants that don't use the name server (or something). -lsocket
24841 # must be given before -lnsl if both are needed. We assume that
24842 # if connect needs -lnsl, so does gethostbyname.
24843 echo "$as_me:$LINENO: checking for connect" >&5
24844 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24845 if test "${ac_cv_func_connect+set}" = set; then
24846 echo $ECHO_N "(cached) $ECHO_C" >&6
24848 cat >conftest.
$ac_ext <<_ACEOF
24851 cat confdefs.h
>>conftest.
$ac_ext
24852 cat >>conftest.
$ac_ext <<_ACEOF
24853 /* end confdefs.h. */
24854 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24856 #define connect innocuous_connect
24858 /* System header to define __stub macros and hopefully few prototypes,
24859 which can conflict with char connect (); below.
24860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24861 <limits.h> exists even on freestanding compilers. */
24864 # include <limits.h>
24866 # include <assert.h>
24871 /* Override any gcc2 internal prototype to avoid an error. */
24876 /* We use char because int might match the return type of a gcc2
24877 builtin and then its argument prototype would still apply. */
24879 /* The GNU C library defines this for functions which it implements
24880 to always fail with ENOSYS. Some functions are actually named
24881 something starting with __ and the normal name is an alias. */
24882 #if defined (__stub_connect) || defined (__stub___connect)
24885 char (*f) () = connect;
24894 return f != connect;
24899 rm -f conftest.
$ac_objext conftest
$ac_exeext
24900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24901 (eval $ac_link) 2>conftest.er1
24903 grep -v '^ *+' conftest.er1
>conftest.err
24905 cat conftest.err
>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); } &&
24908 { ac_try
='test -z "$ac_c_werror_flag"
24909 || test ! -s conftest.err'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; } &&
24915 { ac_try
='test -s conftest$ac_exeext'
24916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24917 (eval $ac_try) 2>&5
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); }; }; then
24921 ac_cv_func_connect
=yes
24923 echo "$as_me: failed program was:" >&5
24924 sed 's/^/| /' conftest.
$ac_ext >&5
24926 ac_cv_func_connect
=no
24928 rm -f conftest.err conftest.
$ac_objext \
24929 conftest
$ac_exeext conftest.
$ac_ext
24931 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24932 echo "${ECHO_T}$ac_cv_func_connect" >&6
24934 if test $ac_cv_func_connect = no
; then
24935 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24936 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24937 if test "${ac_cv_lib_socket_connect+set}" = set; then
24938 echo $ECHO_N "(cached) $ECHO_C" >&6
24940 ac_check_lib_save_LIBS
=$LIBS
24941 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24942 cat >conftest.
$ac_ext <<_ACEOF
24945 cat confdefs.h
>>conftest.
$ac_ext
24946 cat >>conftest.
$ac_ext <<_ACEOF
24947 /* end confdefs.h. */
24949 /* Override any gcc2 internal prototype to avoid an error. */
24953 /* We use char because int might match the return type of a gcc2
24954 builtin and then its argument prototype would still apply. */
24964 rm -f conftest.
$ac_objext conftest
$ac_exeext
24965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24966 (eval $ac_link) 2>conftest.er1
24968 grep -v '^ *+' conftest.er1
>conftest.err
24970 cat conftest.err
>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } &&
24973 { ac_try
='test -z "$ac_c_werror_flag"
24974 || test ! -s conftest.err'
24975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24976 (eval $ac_try) 2>&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); }; } &&
24980 { ac_try
='test -s conftest$ac_exeext'
24981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24982 (eval $ac_try) 2>&5
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); }; }; then
24986 ac_cv_lib_socket_connect
=yes
24988 echo "$as_me: failed program was:" >&5
24989 sed 's/^/| /' conftest.
$ac_ext >&5
24991 ac_cv_lib_socket_connect
=no
24993 rm -f conftest.err conftest.
$ac_objext \
24994 conftest
$ac_exeext conftest.
$ac_ext
24995 LIBS
=$ac_check_lib_save_LIBS
24997 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24998 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24999 if test $ac_cv_lib_socket_connect = yes; then
25000 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25005 # Guillermo Gomez says -lposix is necessary on A/UX.
25006 echo "$as_me:$LINENO: checking for remove" >&5
25007 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25008 if test "${ac_cv_func_remove+set}" = set; then
25009 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 cat >conftest.
$ac_ext <<_ACEOF
25014 cat confdefs.h
>>conftest.
$ac_ext
25015 cat >>conftest.
$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25017 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25019 #define remove innocuous_remove
25021 /* System header to define __stub macros and hopefully few prototypes,
25022 which can conflict with char remove (); below.
25023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25024 <limits.h> exists even on freestanding compilers. */
25027 # include <limits.h>
25029 # include <assert.h>
25034 /* Override any gcc2 internal prototype to avoid an error. */
25039 /* We use char because int might match the return type of a gcc2
25040 builtin and then its argument prototype would still apply. */
25042 /* The GNU C library defines this for functions which it implements
25043 to always fail with ENOSYS. Some functions are actually named
25044 something starting with __ and the normal name is an alias. */
25045 #if defined (__stub_remove) || defined (__stub___remove)
25048 char (*f) () = remove;
25057 return f != remove;
25062 rm -f conftest.
$ac_objext conftest
$ac_exeext
25063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25064 (eval $ac_link) 2>conftest.er1
25066 grep -v '^ *+' conftest.er1
>conftest.err
25068 cat conftest.err
>&5
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); } &&
25071 { ac_try
='test -z "$ac_c_werror_flag"
25072 || test ! -s conftest.err'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; } &&
25078 { ac_try
='test -s conftest$ac_exeext'
25079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25080 (eval $ac_try) 2>&5
25082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083 (exit $ac_status); }; }; then
25084 ac_cv_func_remove
=yes
25086 echo "$as_me: failed program was:" >&5
25087 sed 's/^/| /' conftest.
$ac_ext >&5
25089 ac_cv_func_remove
=no
25091 rm -f conftest.err conftest.
$ac_objext \
25092 conftest
$ac_exeext conftest.
$ac_ext
25094 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25095 echo "${ECHO_T}$ac_cv_func_remove" >&6
25097 if test $ac_cv_func_remove = no
; then
25098 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25099 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25100 if test "${ac_cv_lib_posix_remove+set}" = set; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 ac_check_lib_save_LIBS
=$LIBS
25104 LIBS
="-lposix $LIBS"
25105 cat >conftest.
$ac_ext <<_ACEOF
25108 cat confdefs.h
>>conftest.
$ac_ext
25109 cat >>conftest.
$ac_ext <<_ACEOF
25110 /* end confdefs.h. */
25112 /* Override any gcc2 internal prototype to avoid an error. */
25116 /* We use char because int might match the return type of a gcc2
25117 builtin and then its argument prototype would still apply. */
25127 rm -f conftest.
$ac_objext conftest
$ac_exeext
25128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25129 (eval $ac_link) 2>conftest.er1
25131 grep -v '^ *+' conftest.er1
>conftest.err
25133 cat conftest.err
>&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } &&
25136 { ac_try
='test -z "$ac_c_werror_flag"
25137 || test ! -s conftest.err'
25138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139 (eval $ac_try) 2>&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }; } &&
25143 { ac_try
='test -s conftest$ac_exeext'
25144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25145 (eval $ac_try) 2>&5
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); }; }; then
25149 ac_cv_lib_posix_remove
=yes
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.
$ac_ext >&5
25154 ac_cv_lib_posix_remove
=no
25156 rm -f conftest.err conftest.
$ac_objext \
25157 conftest
$ac_exeext conftest.
$ac_ext
25158 LIBS
=$ac_check_lib_save_LIBS
25160 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25161 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25162 if test $ac_cv_lib_posix_remove = yes; then
25163 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25168 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25169 echo "$as_me:$LINENO: checking for shmat" >&5
25170 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25171 if test "${ac_cv_func_shmat+set}" = set; then
25172 echo $ECHO_N "(cached) $ECHO_C" >&6
25174 cat >conftest.
$ac_ext <<_ACEOF
25177 cat confdefs.h
>>conftest.
$ac_ext
25178 cat >>conftest.
$ac_ext <<_ACEOF
25179 /* end confdefs.h. */
25180 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25182 #define shmat innocuous_shmat
25184 /* System header to define __stub macros and hopefully few prototypes,
25185 which can conflict with char shmat (); below.
25186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25187 <limits.h> exists even on freestanding compilers. */
25190 # include <limits.h>
25192 # include <assert.h>
25197 /* Override any gcc2 internal prototype to avoid an error. */
25202 /* We use char because int might match the return type of a gcc2
25203 builtin and then its argument prototype would still apply. */
25205 /* The GNU C library defines this for functions which it implements
25206 to always fail with ENOSYS. Some functions are actually named
25207 something starting with __ and the normal name is an alias. */
25208 #if defined (__stub_shmat) || defined (__stub___shmat)
25211 char (*f) () = shmat;
25225 rm -f conftest.
$ac_objext conftest
$ac_exeext
25226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25227 (eval $ac_link) 2>conftest.er1
25229 grep -v '^ *+' conftest.er1
>conftest.err
25231 cat conftest.err
>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); } &&
25234 { ac_try
='test -z "$ac_c_werror_flag"
25235 || test ! -s conftest.err'
25236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237 (eval $ac_try) 2>&5
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; } &&
25241 { ac_try
='test -s conftest$ac_exeext'
25242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25243 (eval $ac_try) 2>&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); }; }; then
25247 ac_cv_func_shmat
=yes
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.
$ac_ext >&5
25252 ac_cv_func_shmat
=no
25254 rm -f conftest.err conftest.
$ac_objext \
25255 conftest
$ac_exeext conftest.
$ac_ext
25257 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25258 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25260 if test $ac_cv_func_shmat = no
; then
25261 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25262 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25263 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25264 echo $ECHO_N "(cached) $ECHO_C" >&6
25266 ac_check_lib_save_LIBS
=$LIBS
25268 cat >conftest.
$ac_ext <<_ACEOF
25271 cat confdefs.h
>>conftest.
$ac_ext
25272 cat >>conftest.
$ac_ext <<_ACEOF
25273 /* end confdefs.h. */
25275 /* Override any gcc2 internal prototype to avoid an error. */
25279 /* We use char because int might match the return type of a gcc2
25280 builtin and then its argument prototype would still apply. */
25290 rm -f conftest.
$ac_objext conftest
$ac_exeext
25291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25292 (eval $ac_link) 2>conftest.er1
25294 grep -v '^ *+' conftest.er1
>conftest.err
25296 cat conftest.err
>&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); } &&
25299 { ac_try
='test -z "$ac_c_werror_flag"
25300 || test ! -s conftest.err'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; } &&
25306 { ac_try
='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 ac_cv_lib_ipc_shmat
=yes
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.
$ac_ext >&5
25317 ac_cv_lib_ipc_shmat
=no
25319 rm -f conftest.err conftest.
$ac_objext \
25320 conftest
$ac_exeext conftest.
$ac_ext
25321 LIBS
=$ac_check_lib_save_LIBS
25323 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25324 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25325 if test $ac_cv_lib_ipc_shmat = yes; then
25326 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25332 # Check for libraries that X11R6 Xt/Xaw programs need.
25333 ac_save_LDFLAGS
=$LDFLAGS
25334 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25335 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25336 # check for ICE first), but we must link in the order -lSM -lICE or
25337 # we get undefined symbols. So assume we have SM if we have ICE.
25338 # These have to be linked with before -lX11, unlike the other
25339 # libraries we check for below, so use a different variable.
25340 # John Interrante, Karl Berry
25341 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25342 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25343 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 ac_check_lib_save_LIBS
=$LIBS
25347 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25348 cat >conftest.
$ac_ext <<_ACEOF
25351 cat confdefs.h
>>conftest.
$ac_ext
25352 cat >>conftest.
$ac_ext <<_ACEOF
25353 /* end confdefs.h. */
25355 /* Override any gcc2 internal prototype to avoid an error. */
25359 /* We use char because int might match the return type of a gcc2
25360 builtin and then its argument prototype would still apply. */
25361 char IceConnectionNumber ();
25365 IceConnectionNumber ();
25370 rm -f conftest.
$ac_objext conftest
$ac_exeext
25371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25372 (eval $ac_link) 2>conftest.er1
25374 grep -v '^ *+' conftest.er1
>conftest.err
25376 cat conftest.err
>&5
25377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378 (exit $ac_status); } &&
25379 { ac_try
='test -z "$ac_c_werror_flag"
25380 || test ! -s conftest.err'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; } &&
25386 { ac_try
='test -s conftest$ac_exeext'
25387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25388 (eval $ac_try) 2>&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); }; }; then
25392 ac_cv_lib_ICE_IceConnectionNumber
=yes
25394 echo "$as_me: failed program was:" >&5
25395 sed 's/^/| /' conftest.
$ac_ext >&5
25397 ac_cv_lib_ICE_IceConnectionNumber
=no
25399 rm -f conftest.err conftest.
$ac_objext \
25400 conftest
$ac_exeext conftest.
$ac_ext
25401 LIBS
=$ac_check_lib_save_LIBS
25403 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25404 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25405 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25406 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25409 LDFLAGS
=$ac_save_LDFLAGS
25414 if test "$no_x" = "yes"; then
25415 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25416 echo "$as_me: error: X11 not found" >&2;}
25417 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25420 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
25421 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25422 AFMINSTALL
=afminstall
25423 COMPILED_X_PROGRAM
=0
25425 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25426 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25429 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25431 if test -f "$ac_dir/Xm/Xm.h"; then
25432 ac_find_includes
=$ac_dir
25437 if test "$ac_find_includes" != "" ; then
25438 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25439 echo "${ECHO_T}found in $ac_find_includes" >&6
25441 if test "x$ac_find_includes" = "x/usr/include"; then
25442 ac_path_to_include
=""
25444 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25446 if test $result = 0; then
25447 ac_path_to_include
=""
25449 ac_path_to_include
=" -I$ac_find_includes"
25453 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25455 cat >conftest.
$ac_ext <<_ACEOF
25458 cat confdefs.h
>>conftest.
$ac_ext
25459 cat >>conftest.
$ac_ext <<_ACEOF
25460 /* end confdefs.h. */
25469 version = xmUseVersion;
25475 rm -f conftest.
$ac_objext
25476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25477 (eval $ac_compile) 2>conftest.er1
25479 grep -v '^ *+' conftest.er1
>conftest.err
25481 cat conftest.err
>&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); } &&
25484 { ac_try
='test -z "$ac_c_werror_flag"
25485 || test ! -s conftest.err'
25486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487 (eval $ac_try) 2>&5
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; } &&
25491 { ac_try
='test -s conftest.$ac_objext'
25492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25493 (eval $ac_try) 2>&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); }; }; then
25498 echo "$as_me:$LINENO: result: found in default search path" >&5
25499 echo "${ECHO_T}found in default search path" >&6
25500 COMPILED_X_PROGRAM
=1
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.
$ac_ext >&5
25507 echo "$as_me:$LINENO: result: no" >&5
25508 echo "${ECHO_T}no" >&6
25509 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25510 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25511 { (exit 1); exit 1; }; }
25515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25518 if test "$COMPILED_X_PROGRAM" = 0; then
25519 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25520 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25523 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25525 for ac_extension
in a so sl dylib
; do
25526 if test -f "$ac_dir/libXm.$ac_extension"; then
25527 ac_find_libraries
=$ac_dir
25533 if test "$ac_find_libraries" != "" ; then
25534 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25535 echo "${ECHO_T}found at $ac_find_libraries" >&6
25538 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25540 if test $result = 0; then
25543 ac_path_to_link
=" -L$ac_find_libraries"
25546 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25548 save_CFLAGS
=$CFLAGS
25549 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25551 cat >conftest.
$ac_ext <<_ACEOF
25554 cat confdefs.h
>>conftest.
$ac_ext
25555 cat >>conftest.
$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25565 version = xmUseVersion;
25571 rm -f conftest.
$ac_objext
25572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25573 (eval $ac_compile) 2>conftest.er1
25575 grep -v '^ *+' conftest.er1
>conftest.err
25577 cat conftest.err
>&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } &&
25580 { ac_try
='test -z "$ac_c_werror_flag"
25581 || test ! -s conftest.err'
25582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583 (eval $ac_try) 2>&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); }; } &&
25587 { ac_try
='test -s conftest.$ac_objext'
25588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25589 (eval $ac_try) 2>&5
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); }; }; then
25594 echo "$as_me:$LINENO: result: found in default search path" >&5
25595 echo "${ECHO_T}found in default search path" >&6
25596 COMPILED_X_PROGRAM
=1
25599 echo "$as_me: failed program was:" >&5
25600 sed 's/^/| /' conftest.
$ac_ext >&5
25603 echo "$as_me:$LINENO: result: no" >&5
25604 echo "${ECHO_T}no" >&6
25605 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25606 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25607 { (exit 1); exit 1; }; }
25611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25613 CFLAGS
=$save_CFLAGS
25617 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25618 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25622 for libp
in "" " -lXp"; do
25623 if test "$libs_found" = "0"; then
25624 for libsm_ice
in "" " -lSM -lICE"; do
25625 if test "$libs_found" = "0"; then
25627 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25628 save_CFLAGS
=$CFLAGS
25629 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25631 cat >conftest.
$ac_ext <<_ACEOF
25634 cat confdefs.h
>>conftest.
$ac_ext
25635 cat >>conftest.
$ac_ext <<_ACEOF
25636 /* end confdefs.h. */
25639 #include <Xm/List.h>
25645 XmString string = NULL;
25648 XmListAddItem(w, string, position);
25654 rm -f conftest.
$ac_objext conftest
$ac_exeext
25655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25656 (eval $ac_link) 2>conftest.er1
25658 grep -v '^ *+' conftest.er1
>conftest.err
25660 cat conftest.err
>&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } &&
25663 { ac_try
='test -z "$ac_c_werror_flag"
25664 || test ! -s conftest.err'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; } &&
25670 { ac_try
='test -s conftest$ac_exeext'
25671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672 (eval $ac_try) 2>&5
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); }; }; then
25678 libsm_ice_link
="$libsm_ice"
25679 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25680 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25684 echo "$as_me: failed program was:" >&5
25685 sed 's/^/| /' conftest.
$ac_ext >&5
25690 rm -f conftest.err conftest.
$ac_objext \
25691 conftest
$ac_exeext conftest.
$ac_ext
25694 CFLAGS
=$save_CFLAGS
25700 if test "$libs_found" = "0"; then
25701 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25702 echo "${ECHO_T}can't find the right libraries" >&6
25703 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25704 echo "$as_me: error: can't link a simple motif program" >&2;}
25705 { (exit 1); exit 1; }; }
25708 save_CFLAGS
=$CFLAGS
25709 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25710 echo "$as_me:$LINENO: checking for Motif 2" >&5
25711 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25712 cat >conftest.
$ac_ext <<_ACEOF
25715 cat confdefs.h
>>conftest.
$ac_ext
25716 cat >>conftest.
$ac_ext <<_ACEOF
25717 /* end confdefs.h. */
25725 #if XmVersion < 2000
25726 #error "Not Motif 2"
25733 rm -f conftest.
$ac_objext
25734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25735 (eval $ac_compile) 2>conftest.er1
25737 grep -v '^ *+' conftest.er1
>conftest.err
25739 cat conftest.err
>&5
25740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741 (exit $ac_status); } &&
25742 { ac_try
='test -z "$ac_c_werror_flag"
25743 || test ! -s conftest.err'
25744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25745 (eval $ac_try) 2>&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); }; } &&
25749 { ac_try
='test -s conftest.$ac_objext'
25750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25751 (eval $ac_try) 2>&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); }; }; then
25756 cat >>confdefs.h
<<\_ACEOF
25757 #define __WXMOTIF20__ 1
25760 echo "$as_me:$LINENO: result: found" >&5
25761 echo "${ECHO_T}found" >&6
25764 echo "$as_me: failed program was:" >&5
25765 sed 's/^/| /' conftest.
$ac_ext >&5
25768 cat >>confdefs.h
<<\_ACEOF
25769 #define __WXMOTIF20__ 0
25772 echo "$as_me:$LINENO: result: not found" >&5
25773 echo "${ECHO_T}not found" >&6
25776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25777 CFLAGS
=$save_CFLAGS
25779 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25780 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25785 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25786 if test "$wxUSE_LIBXPM" = "sys"; then
25787 echo "$as_me:$LINENO: checking for Xpm library" >&5
25788 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25791 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25793 for ac_extension
in a so sl dylib
; do
25794 if test -f "$ac_dir/libXpm.$ac_extension"; then
25795 ac_find_libraries
=$ac_dir
25801 if test "$ac_find_libraries" != "" ; then
25803 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25805 if test $result = 0; then
25808 ac_path_to_link
=" -L$ac_find_libraries"
25811 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25812 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25813 echo "${ECHO_T}found at $ac_find_libraries" >&6
25815 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25816 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25817 if test "${wx_cv_x11_xpm_h+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25821 save_CFLAGS
=$CFLAGS
25822 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25824 cat >conftest.
$ac_ext <<_ACEOF
25827 cat confdefs.h
>>conftest.
$ac_ext
25828 cat >>conftest.
$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25831 #include <X11/xpm.h>
25838 version = XpmLibraryVersion();
25844 rm -f conftest.
$ac_objext
25845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25846 (eval $ac_compile) 2>conftest.er1
25848 grep -v '^ *+' conftest.er1
>conftest.err
25850 cat conftest.err
>&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try
='test -z "$ac_c_werror_flag"
25854 || test ! -s conftest.err'
25855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25856 (eval $ac_try) 2>&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); }; } &&
25860 { ac_try
='test -s conftest.$ac_objext'
25861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25862 (eval $ac_try) 2>&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); }; }; then
25866 wx_cv_x11_xpm_h
=yes
25868 echo "$as_me: failed program was:" >&5
25869 sed 's/^/| /' conftest.
$ac_ext >&5
25874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25876 CFLAGS
=$save_CFLAGS
25880 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25881 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25883 if test $wx_cv_x11_xpm_h = "yes"; then
25884 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
25885 cat >>confdefs.h
<<\_ACEOF
25886 #define wxHAVE_LIB_XPM 1
25890 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25891 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25897 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25898 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25899 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 ac_check_lib_save_LIBS
=$LIBS
25903 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25904 cat >conftest.
$ac_ext <<_ACEOF
25907 cat confdefs.h
>>conftest.
$ac_ext
25908 cat >>conftest.
$ac_ext <<_ACEOF
25909 /* end confdefs.h. */
25911 /* Override any gcc2 internal prototype to avoid an error. */
25915 /* We use char because int might match the return type of a gcc2
25916 builtin and then its argument prototype would still apply. */
25917 char XShapeQueryExtension ();
25921 XShapeQueryExtension ();
25926 rm -f conftest.
$ac_objext conftest
$ac_exeext
25927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25928 (eval $ac_link) 2>conftest.er1
25930 grep -v '^ *+' conftest.er1
>conftest.err
25932 cat conftest.err
>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } &&
25935 { ac_try
='test -z "$ac_c_werror_flag"
25936 || test ! -s conftest.err'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; } &&
25942 { ac_try
='test -s conftest$ac_exeext'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; }; then
25948 ac_cv_lib_Xext_XShapeQueryExtension
=yes
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.
$ac_ext >&5
25953 ac_cv_lib_Xext_XShapeQueryExtension
=no
25955 rm -f conftest.err conftest.
$ac_objext \
25956 conftest
$ac_exeext conftest.
$ac_ext
25957 LIBS
=$ac_check_lib_save_LIBS
25959 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
25960 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
25961 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
25963 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
25969 if test "$wxHAVE_XEXT_LIB" = 1; then
25970 save_CFLAGS
="$CFLAGS"
25971 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25973 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25974 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25975 cat >conftest.
$ac_ext <<_ACEOF
25978 cat confdefs.h
>>conftest.
$ac_ext
25979 cat >>conftest.
$ac_ext <<_ACEOF
25980 /* end confdefs.h. */
25982 #include <X11/Xlib.h>
25983 #include <X11/extensions/shape.h>
25989 int dummy1, dummy2;
25990 XShapeQueryExtension((Display*)NULL,
25991 (int*)NULL, (int*)NULL);
25997 rm -f conftest.
$ac_objext
25998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25999 (eval $ac_compile) 2>conftest.er1
26001 grep -v '^ *+' conftest.er1
>conftest.err
26003 cat conftest.err
>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); } &&
26006 { ac_try
='test -z "$ac_c_werror_flag"
26007 || test ! -s conftest.err'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; } &&
26013 { ac_try
='test -s conftest.$ac_objext'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26020 cat >>confdefs.h
<<\_ACEOF
26021 #define HAVE_XSHAPE 1
26024 echo "$as_me:$LINENO: result: found" >&5
26025 echo "${ECHO_T}found" >&6
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.
$ac_ext >&5
26032 echo "$as_me:$LINENO: result: not found" >&5
26033 echo "${ECHO_T}not found" >&6
26036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26037 CFLAGS
="$save_CFLAGS"
26042 if test "$wxUSE_MAC" = 1; then
26043 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26044 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26045 if test "$GCC" = yes; then
26046 echo "$as_me:$LINENO: result: gcc" >&5
26047 echo "${ECHO_T}gcc" >&6
26048 CPPFLAGS_PASCAL
="-fpascal-strings"
26049 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26050 echo "$as_me:$LINENO: result: xlc" >&5
26051 echo "${ECHO_T}xlc" >&6
26052 CPPFLAGS_PASCAL
="-qmacpstr"
26054 echo "$as_me:$LINENO: result: none" >&5
26055 echo "${ECHO_T}none" >&6
26058 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26060 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26063 WXBASEPORT
="_carbon"
26066 if test "$wxUSE_COCOA" = 1; then
26067 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26072 if test "$wxUSE_PM" = 1; then
26077 if test "$TOOLKIT" = "PM" ; then
26080 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26083 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26085 if test "$wxUSE_UNIVERSAL" = "yes"; then
26086 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26088 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26089 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26091 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26092 if test "$wxUSE_X11" = 1; then
26093 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26095 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26097 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26100 ALL_OBJECTS
="\$(GUIOBJS)"
26101 ALL_SOURCES
="\$(ALL_SOURCES)"
26102 ALL_HEADERS
="\$(ALL_HEADERS)"
26105 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26107 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26108 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26111 if test "$wxUSE_HTML" = "yes"; then
26112 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26115 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26116 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26118 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26119 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26121 if test "$wxUSE_LIBPNG" = "builtin" ; then
26122 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26125 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26126 DISTDIR
="wx\$(TOOLKIT)"
26132 if test "$USE_WIN32" = 1 ; then
26133 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26134 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26138 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26139 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26142 ALL_SOURCES
="\$(ALL_SOURCES)"
26143 ALL_HEADERS
="\$(ALL_HEADERS)"
26145 PORT_FILES
="\${top_srcdir}/src/files.lst"
26147 GUIDIST
="BASE_DIST"
26157 if test "$TOOLKIT" != "MSW" ; then
26159 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26161 if test "${ac_cv_header_sql_h+set}" = set; then
26162 echo "$as_me:$LINENO: checking for sql.h" >&5
26163 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26164 if test "${ac_cv_header_sql_h+set}" = set; then
26165 echo $ECHO_N "(cached) $ECHO_C" >&6
26167 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26168 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26170 # Is the header compilable?
26171 echo "$as_me:$LINENO: checking sql.h usability" >&5
26172 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26173 cat >conftest.
$ac_ext <<_ACEOF
26176 cat confdefs.h
>>conftest.
$ac_ext
26177 cat >>conftest.
$ac_ext <<_ACEOF
26178 /* end confdefs.h. */
26179 $ac_includes_default
26182 rm -f conftest.
$ac_objext
26183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26184 (eval $ac_compile) 2>conftest.er1
26186 grep -v '^ *+' conftest.er1
>conftest.err
26188 cat conftest.err
>&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); } &&
26191 { ac_try
='test -z "$ac_c_werror_flag"
26192 || test ! -s conftest.err'
26193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26194 (eval $ac_try) 2>&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); }; } &&
26198 { ac_try
='test -s conftest.$ac_objext'
26199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26200 (eval $ac_try) 2>&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); }; }; then
26204 ac_header_compiler
=yes
26206 echo "$as_me: failed program was:" >&5
26207 sed 's/^/| /' conftest.
$ac_ext >&5
26209 ac_header_compiler
=no
26211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26213 echo "${ECHO_T}$ac_header_compiler" >&6
26215 # Is the header present?
26216 echo "$as_me:$LINENO: checking sql.h presence" >&5
26217 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26218 cat >conftest.
$ac_ext <<_ACEOF
26221 cat confdefs.h
>>conftest.
$ac_ext
26222 cat >>conftest.
$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26227 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26229 grep -v '^ *+' conftest.er1
>conftest.err
26231 cat conftest.err
>&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } >/dev
/null
; then
26234 if test -s conftest.err
; then
26235 ac_cpp_err
=$ac_c_preproc_warn_flag
26236 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26243 if test -z "$ac_cpp_err"; then
26244 ac_header_preproc
=yes
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.
$ac_ext >&5
26249 ac_header_preproc
=no
26251 rm -f conftest.err conftest.
$ac_ext
26252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26253 echo "${ECHO_T}$ac_header_preproc" >&6
26255 # So? What about this header?
26256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26258 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26259 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26260 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26261 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26262 ac_header_preproc
=yes
26265 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26266 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26267 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26268 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26269 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26270 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26271 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26272 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26273 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26274 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26275 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26276 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26279 ## ----------------------------------------- ##
26280 ## Report this to wx-dev@lists.wxwindows.org ##
26281 ## ----------------------------------------- ##
26284 sed "s/^/$as_me: WARNING: /" >&2
26287 echo "$as_me:$LINENO: checking for sql.h" >&5
26288 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26289 if test "${ac_cv_header_sql_h+set}" = set; then
26290 echo $ECHO_N "(cached) $ECHO_C" >&6
26292 ac_cv_header_sql_h
=$ac_header_preproc
26294 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26295 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26298 if test $ac_cv_header_sql_h = yes; then
26303 if test "x$found_sql_h" = "x1" ; then
26304 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26305 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26306 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26307 echo $ECHO_N "(cached) $ECHO_C" >&6
26309 ac_check_lib_save_LIBS
=$LIBS
26310 LIBS
="-liodbc $LIBS"
26311 cat >conftest.
$ac_ext <<_ACEOF
26314 cat confdefs.h
>>conftest.
$ac_ext
26315 cat >>conftest.
$ac_ext <<_ACEOF
26316 /* end confdefs.h. */
26318 /* Override any gcc2 internal prototype to avoid an error. */
26322 /* We use char because int might match the return type of a gcc2
26323 builtin and then its argument prototype would still apply. */
26324 char SQLAllocEnv ();
26333 rm -f conftest.
$ac_objext conftest
$ac_exeext
26334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26335 (eval $ac_link) 2>conftest.er1
26337 grep -v '^ *+' conftest.er1
>conftest.err
26339 cat conftest.err
>&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); } &&
26342 { ac_try
='test -z "$ac_c_werror_flag"
26343 || test ! -s conftest.err'
26344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26345 (eval $ac_try) 2>&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); }; } &&
26349 { ac_try
='test -s conftest$ac_exeext'
26350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26351 (eval $ac_try) 2>&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); }; }; then
26355 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26357 echo "$as_me: failed program was:" >&5
26358 sed 's/^/| /' conftest.
$ac_ext >&5
26360 ac_cv_lib_iodbc_SQLAllocEnv
=no
26362 rm -f conftest.err conftest.
$ac_objext \
26363 conftest
$ac_exeext conftest.
$ac_ext
26364 LIBS
=$ac_check_lib_save_LIBS
26366 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26367 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26368 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26369 ODBC_LINK
=" -liodbc"
26372 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26373 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26374 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26375 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 ac_check_lib_save_LIBS
=$LIBS
26378 LIBS
="-lunixodbc $LIBS"
26379 cat >conftest.
$ac_ext <<_ACEOF
26382 cat confdefs.h
>>conftest.
$ac_ext
26383 cat >>conftest.
$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26386 /* Override any gcc2 internal prototype to avoid an error. */
26390 /* We use char because int might match the return type of a gcc2
26391 builtin and then its argument prototype would still apply. */
26392 char SQLAllocEnv ();
26401 rm -f conftest.
$ac_objext conftest
$ac_exeext
26402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26403 (eval $ac_link) 2>conftest.er1
26405 grep -v '^ *+' conftest.er1
>conftest.err
26407 cat conftest.err
>&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } &&
26410 { ac_try
='test -z "$ac_c_werror_flag"
26411 || test ! -s conftest.err'
26412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26413 (eval $ac_try) 2>&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); }; } &&
26417 { ac_try
='test -s conftest$ac_exeext'
26418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26419 (eval $ac_try) 2>&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); }; }; then
26423 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.
$ac_ext >&5
26428 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26430 rm -f conftest.err conftest.
$ac_objext \
26431 conftest
$ac_exeext conftest.
$ac_ext
26432 LIBS
=$ac_check_lib_save_LIBS
26434 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26435 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26436 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26437 ODBC_LINK
=" -lunixodbc"
26440 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26441 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26442 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26443 echo $ECHO_N "(cached) $ECHO_C" >&6
26445 ac_check_lib_save_LIBS
=$LIBS
26446 LIBS
="-lodbc $LIBS"
26447 cat >conftest.
$ac_ext <<_ACEOF
26450 cat confdefs.h
>>conftest.
$ac_ext
26451 cat >>conftest.
$ac_ext <<_ACEOF
26452 /* end confdefs.h. */
26454 /* Override any gcc2 internal prototype to avoid an error. */
26458 /* We use char because int might match the return type of a gcc2
26459 builtin and then its argument prototype would still apply. */
26460 char SQLAllocEnv ();
26469 rm -f conftest.
$ac_objext conftest
$ac_exeext
26470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26471 (eval $ac_link) 2>conftest.er1
26473 grep -v '^ *+' conftest.er1
>conftest.err
26475 cat conftest.err
>&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } &&
26478 { ac_try
='test -z "$ac_c_werror_flag"
26479 || test ! -s conftest.err'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; } &&
26485 { ac_try
='test -s conftest$ac_exeext'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; }; then
26491 ac_cv_lib_odbc_SQLAllocEnv
=yes
26493 echo "$as_me: failed program was:" >&5
26494 sed 's/^/| /' conftest.
$ac_ext >&5
26496 ac_cv_lib_odbc_SQLAllocEnv
=no
26498 rm -f conftest.err conftest.
$ac_objext \
26499 conftest
$ac_exeext conftest.
$ac_ext
26500 LIBS
=$ac_check_lib_save_LIBS
26502 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26503 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26504 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26505 ODBC_LINK
=" -lodbc"
26515 if test "x$ODBC_LINK" = "x" ; then
26516 if test "$wxUSE_ODBC" = "sys" ; then
26517 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26518 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26519 { (exit 1); exit 1; }; }
26521 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26522 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26529 if test "$wxUSE_ODBC" != "no" ; then
26530 cat >>confdefs.h
<<\_ACEOF
26531 #define wxUSE_ODBC 1
26534 if test "$wxUSE_ODBC" = "builtin" ; then
26535 cat >>confdefs.h
<<\_ACEOF
26536 #define wxUSE_BUILTIN_IODBC 1
26540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26542 WXODBCFLAG
="-D_IODBC_"
26546 if test "$wxUSE_REGEX" = "builtin" ; then
26547 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
26549 if test "$wxUSE_ZLIB" = "builtin" ; then
26550 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
26553 if test "$wxUSE_DISPLAY" = "yes"; then
26554 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
26555 echo "$as_me:$LINENO: checking for Xinerama" >&5
26556 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26559 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26561 for ac_extension
in a so sl dylib
; do
26562 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26563 ac_find_libraries
=$ac_dir
26569 if test "$ac_find_libraries" != "" ; then
26571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26573 if test $result = 0; then
26576 ac_path_to_link
=" -L$ac_find_libraries"
26579 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26580 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26582 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26583 echo "$as_me:$LINENO: result: yes" >&5
26584 echo "${ECHO_T}yes" >&6
26586 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26587 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26590 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26592 for ac_extension
in a so sl dylib
; do
26593 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26594 ac_find_libraries
=$ac_dir
26600 if test "$ac_find_libraries" != "" ; then
26601 echo "$as_me:$LINENO: result: yes" >&5
26602 echo "${ECHO_T}yes" >&6
26604 for ac_header
in X
11/extensions
/xf86vmode.h
26606 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26607 echo "$as_me:$LINENO: checking for $ac_header" >&5
26608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26612 cat >conftest.
$ac_ext <<_ACEOF
26615 cat confdefs.h
>>conftest.
$ac_ext
26616 cat >>conftest.
$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26619 #if HAVE_X11_XLIB_H
26620 #include <X11/Xlib.h>
26624 #include <$ac_header>
26626 rm -f conftest.
$ac_objext
26627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26628 (eval $ac_compile) 2>conftest.er1
26630 grep -v '^ *+' conftest.er1
>conftest.err
26632 cat conftest.err
>&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } &&
26635 { ac_try
='test -z "$ac_c_werror_flag"
26636 || test ! -s conftest.err'
26637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26638 (eval $ac_try) 2>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); }; } &&
26642 { ac_try
='test -s conftest.$ac_objext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 eval "$as_ac_Header=yes"
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.
$ac_ext >&5
26653 eval "$as_ac_Header=no"
26655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26660 cat >>confdefs.h
<<_ACEOF
26661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26664 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
26671 echo "$as_me:$LINENO: result: no" >&5
26672 echo "${ECHO_T}no" >&6
26676 echo "$as_me:$LINENO: result: no" >&5
26677 echo "${ECHO_T}no" >&6
26678 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
26679 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
26687 if test "$wxUSE_OPENGL" = "yes"; then
26688 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26689 OPENGL_LIBS
="-framework OpenGL -framework AGL"
26690 elif test "$wxUSE_MSW" = 1; then
26691 OPENGL_LIBS
="-lopengl32 -lglu32"
26696 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26698 if test -f "$ac_dir/GL/gl.h"; then
26699 ac_find_includes
=$ac_dir
26704 if test "$ac_find_includes" != "" ; then
26705 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26706 echo "${ECHO_T}found in $ac_find_includes" >&6
26708 if test "x$ac_find_includes" = "x/usr/include"; then
26709 ac_path_to_include
=""
26711 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
26713 if test $result = 0; then
26714 ac_path_to_include
=""
26716 ac_path_to_include
=" -I$ac_find_includes"
26720 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
26723 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26724 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26725 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26726 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26729 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26730 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26732 # Is the header compilable?
26733 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26734 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26735 cat >conftest.
$ac_ext <<_ACEOF
26738 cat confdefs.h
>>conftest.
$ac_ext
26739 cat >>conftest.
$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26741 $ac_includes_default
26744 rm -f conftest.
$ac_objext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26746 (eval $ac_compile) 2>conftest.er1
26748 grep -v '^ *+' conftest.er1
>conftest.err
26750 cat conftest.err
>&5
26751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752 (exit $ac_status); } &&
26753 { ac_try
='test -z "$ac_c_werror_flag"
26754 || test ! -s conftest.err'
26755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756 (eval $ac_try) 2>&5
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); }; } &&
26760 { ac_try
='test -s conftest.$ac_objext'
26761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762 (eval $ac_try) 2>&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); }; }; then
26766 ac_header_compiler
=yes
26768 echo "$as_me: failed program was:" >&5
26769 sed 's/^/| /' conftest.
$ac_ext >&5
26771 ac_header_compiler
=no
26773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26775 echo "${ECHO_T}$ac_header_compiler" >&6
26777 # Is the header present?
26778 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26779 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26780 cat >conftest.
$ac_ext <<_ACEOF
26783 cat confdefs.h
>>conftest.
$ac_ext
26784 cat >>conftest.
$ac_ext <<_ACEOF
26785 /* end confdefs.h. */
26788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26789 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26791 grep -v '^ *+' conftest.er1
>conftest.err
26793 cat conftest.err
>&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); } >/dev
/null
; then
26796 if test -s conftest.err
; then
26797 ac_cpp_err
=$ac_c_preproc_warn_flag
26798 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26805 if test -z "$ac_cpp_err"; then
26806 ac_header_preproc
=yes
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.
$ac_ext >&5
26811 ac_header_preproc
=no
26813 rm -f conftest.err conftest.
$ac_ext
26814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26815 echo "${ECHO_T}$ac_header_preproc" >&6
26817 # So? What about this header?
26818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26820 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26821 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26822 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
26823 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
26824 ac_header_preproc
=yes
26827 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26828 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26829 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26830 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26831 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
26832 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
26833 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
26834 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26835 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26836 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26837 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
26838 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
26841 ## ----------------------------------------- ##
26842 ## Report this to wx-dev@lists.wxwindows.org ##
26843 ## ----------------------------------------- ##
26846 sed "s/^/$as_me: WARNING: /" >&2
26849 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26850 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26851 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 ac_cv_header_GL_gl_h
=$ac_header_preproc
26856 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26857 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26860 if test $ac_cv_header_GL_gl_h = yes; then
26864 echo "$as_me:$LINENO: checking for -lGL" >&5
26865 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
26868 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26870 for ac_extension
in a so sl dylib
; do
26871 if test -f "$ac_dir/libGL.$ac_extension"; then
26872 ac_find_libraries
=$ac_dir
26878 if test "$ac_find_libraries" != "" ; then
26880 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26882 if test $result = 0; then
26885 ac_path_to_link
=" -L$ac_find_libraries"
26888 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26889 LDFLAGS_GL
="$ac_path_to_link"
26894 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26896 for ac_extension
in a so sl dylib
; do
26897 if test -f "$ac_dir/libGLU.$ac_extension"; then
26898 ac_find_libraries
=$ac_dir
26904 if test "$ac_find_libraries" != "" ; then
26906 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26908 if test $result = 0; then
26911 ac_path_to_link
=" -L$ac_find_libraries"
26914 if test "$ac_path_to_link" != " -L/usr/lib" -a \
26915 "$ac_path_to_link" != "$LDFLAGS_GL"; then
26916 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
26920 OPENGL_LIBS
="-lGL -lGLU"
26921 echo "$as_me:$LINENO: result: yes" >&5
26922 echo "${ECHO_T}yes" >&6
26926 if test "$found_gl" != 1; then
26927 echo "$as_me:$LINENO: result: no" >&5
26928 echo "${ECHO_T}no" >&6
26929 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
26930 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
26933 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26935 for ac_extension
in a so sl dylib
; do
26936 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
26937 ac_find_libraries
=$ac_dir
26943 if test "$ac_find_libraries" != "" ; then
26945 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26947 if test $result = 0; then
26950 ac_path_to_link
=" -L$ac_find_libraries"
26953 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
26954 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
26955 echo "$as_me:$LINENO: result: yes" >&5
26956 echo "${ECHO_T}yes" >&6
26958 echo "$as_me:$LINENO: result: no" >&5
26959 echo "${ECHO_T}no" >&6
26967 if test "x$OPENGL_LIBS" = "x"; then
26968 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
26969 echo "$as_me: error: OpenGL libraries not available" >&2;}
26970 { (exit 1); exit 1; }; }
26974 if test "$wxUSE_OPENGL" = "yes"; then
26976 cat >>confdefs.h
<<\_ACEOF
26977 #define wxUSE_OPENGL 1
26980 cat >>confdefs.h
<<\_ACEOF
26981 #define wxUSE_GLCANVAS 1
26984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
26988 if test -z "$TOOLKIT_VPATH" ; then
26989 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
26992 if test -n "$TOOLKIT" ; then
26993 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
26997 lib_unicode_suffix
=
26998 if test "$wxUSE_UNICODE" = "yes"; then
26999 lib_unicode_suffix
=u
27005 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27011 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27015 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27017 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27018 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27020 if test "$cross_compiling" = "yes"; then
27021 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27022 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27023 HOST_SUFFIX
="-${host_alias}"
27026 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27027 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27028 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27029 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27031 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27032 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27034 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27035 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27036 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27037 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27040 *-*-cygwin* | *-*-mingw32* )
27041 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27042 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27047 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27048 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27050 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27051 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27052 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27053 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27055 if test "$wxUSE_MAC" = 1; then
27056 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27057 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27062 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27063 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27065 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27066 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27068 if test "$wxUSE_OPENGL" = "yes"; then
27069 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27070 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27075 if test "$wxUSE_SHARED" = "yes"; then
27077 *-pc-os2_emx | *-pc-os2-emx | \
27080 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27081 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27087 if test "$wxUSE_SHARED" = "yes"; then
27091 found_versioning
=no
27094 if test $found_versioning = no
; then
27095 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27096 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27097 if test "${wx_cv_version_script+set}" = set; then
27098 echo $ECHO_N "(cached) $ECHO_C" >&6
27101 echo "VER_1 { *; };" >conftest.sym
27102 echo "int main() { return 0; }" >conftest.cpp
27105 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27106 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; } ; then
27112 if test -s conftest.stderr
; then
27113 wx_cv_version_script
=no
27115 wx_cv_version_script
=yes
27118 wx_cv_version_script
=no
27120 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27123 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27124 echo "${ECHO_T}$wx_cv_version_script" >&6
27125 if test $wx_cv_version_script = yes ; then
27126 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27132 *-*-linux* | *-*-gnu* )
27133 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27137 if test "$GCC" = yes ; then
27138 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27140 saveLdflags
="$LDFLAGS"
27141 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27142 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27143 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27144 cat >conftest.
$ac_ext <<_ACEOF
27147 cat confdefs.h
>>conftest.
$ac_ext
27148 cat >>conftest.
$ac_ext <<_ACEOF
27149 /* end confdefs.h. */
27159 rm -f conftest.
$ac_objext conftest
$ac_exeext
27160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27161 (eval $ac_link) 2>conftest.er1
27163 grep -v '^ *+' conftest.er1
>conftest.err
27165 cat conftest.err
>&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } &&
27168 { ac_try
='test -z "$ac_c_werror_flag"
27169 || test ! -s conftest.err'
27170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27171 (eval $ac_try) 2>&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); }; } &&
27175 { ac_try
='test -s conftest$ac_exeext'
27176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27177 (eval $ac_try) 2>&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); }; }; then
27182 echo "$as_me:$LINENO: result: yes" >&5
27183 echo "${ECHO_T}yes" >&6
27184 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27187 echo "$as_me: failed program was:" >&5
27188 sed 's/^/| /' conftest.
$ac_ext >&5
27191 echo "$as_me:$LINENO: result: no" >&5
27192 echo "${ECHO_T}no" >&6
27193 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27194 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27195 LDFLAGS
="$saveLdflags -Wl,-R,/"
27196 cat >conftest.
$ac_ext <<_ACEOF
27199 cat confdefs.h
>>conftest.
$ac_ext
27200 cat >>conftest.
$ac_ext <<_ACEOF
27201 /* end confdefs.h. */
27211 rm -f conftest.
$ac_objext conftest
$ac_exeext
27212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27213 (eval $ac_link) 2>conftest.er1
27215 grep -v '^ *+' conftest.er1
>conftest.err
27217 cat conftest.err
>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } &&
27220 { ac_try
='test -z "$ac_c_werror_flag"
27221 || test ! -s conftest.err'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; } &&
27227 { ac_try
='test -s conftest$ac_exeext'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; }; then
27234 echo "$as_me:$LINENO: result: yes" >&5
27235 echo "${ECHO_T}yes" >&6
27236 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27238 echo "$as_me: failed program was:" >&5
27239 sed 's/^/| /' conftest.
$ac_ext >&5
27242 echo "$as_me:$LINENO: result: no" >&5
27243 echo "${ECHO_T}no" >&6
27246 rm -f conftest.err conftest.
$ac_objext \
27247 conftest
$ac_exeext conftest.
$ac_ext
27250 rm -f conftest.err conftest.
$ac_objext \
27251 conftest
$ac_exeext conftest.
$ac_ext
27252 LDFLAGS
="$saveLdflags"
27254 SHARED_LD
="${CXX} -G -o"
27256 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27260 powerpc
-*-darwin* )
27261 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27262 cat <<EOF >change-install-names
27264 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27265 inst_cmd="install_name_tool "
27266 for i in \${libnames} ; do
27267 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27271 chmod +x change
-install-names
27276 if test "x$WX_TARGET_LIBRARY" = "x"; then
27277 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27278 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27281 WX_TARGET_LIBRARY_TYPE
="so"
27282 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27285 if test "$wxUSE_SHARED" = "no"; then
27287 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27288 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27291 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27292 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27295 if test "$wxUSE_OPENGL" = "yes"; then
27296 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27297 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27299 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27302 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27303 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27305 WX_TARGET_LIBRARY_TYPE
="a"
27306 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27316 if test "$wxUSE_MAC" = 1; then
27317 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27318 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27319 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27320 # Extract the first word of "Rez", so it can be a program name with args.
27321 set dummy Rez
; ac_word
=$2
27322 echo "$as_me:$LINENO: checking for $ac_word" >&5
27323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27324 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27327 if test -n "$RESCOMP"; then
27328 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27331 for as_dir
in $PATH
27334 test -z "$as_dir" && as_dir
=.
27335 for ac_exec_ext
in '' $ac_executable_extensions; do
27336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27337 ac_cv_prog_RESCOMP
="Rez"
27338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27344 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27347 RESCOMP
=$ac_cv_prog_RESCOMP
27348 if test -n "$RESCOMP"; then
27349 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27350 echo "${ECHO_T}$RESCOMP" >&6
27352 echo "$as_me:$LINENO: result: no" >&5
27353 echo "${ECHO_T}no" >&6
27356 # Extract the first word of "DeRez", so it can be a program name with args.
27357 set dummy DeRez
; ac_word
=$2
27358 echo "$as_me:$LINENO: checking for $ac_word" >&5
27359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27360 if test "${ac_cv_prog_DEREZ+set}" = set; then
27361 echo $ECHO_N "(cached) $ECHO_C" >&6
27363 if test -n "$DEREZ"; then
27364 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27367 for as_dir
in $PATH
27370 test -z "$as_dir" && as_dir
=.
27371 for ac_exec_ext
in '' $ac_executable_extensions; do
27372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27373 ac_cv_prog_DEREZ
="DeRez"
27374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27380 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27383 DEREZ
=$ac_cv_prog_DEREZ
27384 if test -n "$DEREZ"; then
27385 echo "$as_me:$LINENO: result: $DEREZ" >&5
27386 echo "${ECHO_T}$DEREZ" >&6
27388 echo "$as_me:$LINENO: result: no" >&5
27389 echo "${ECHO_T}no" >&6
27392 # Extract the first word of "SetFile", so it can be a program name with args.
27393 set dummy SetFile
; ac_word
=$2
27394 echo "$as_me:$LINENO: checking for $ac_word" >&5
27395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27396 if test "${ac_cv_prog_SETFILE+set}" = set; then
27397 echo $ECHO_N "(cached) $ECHO_C" >&6
27399 if test -n "$SETFILE"; then
27400 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27403 for as_dir
in $PATH
27406 test -z "$as_dir" && as_dir
=.
27407 for ac_exec_ext
in '' $ac_executable_extensions; do
27408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27409 ac_cv_prog_SETFILE
="SetFile"
27410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27416 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27419 SETFILE
=$ac_cv_prog_SETFILE
27420 if test -n "$SETFILE"; then
27421 echo "$as_me:$LINENO: result: $SETFILE" >&5
27422 echo "${ECHO_T}$SETFILE" >&6
27424 echo "$as_me:$LINENO: result: no" >&5
27425 echo "${ECHO_T}no" >&6
27428 MACOSX_BUNDLE
="bundle"
27429 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27430 MACSETFILE
="\$(SETFILE)"
27431 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27432 elif test "$wxUSE_COCOA" = 1; then
27433 # Extract the first word of "Rez", so it can be a program name with args.
27434 set dummy Rez
; ac_word
=$2
27435 echo "$as_me:$LINENO: checking for $ac_word" >&5
27436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27437 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27438 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 if test -n "$RESCOMP"; then
27441 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27444 for as_dir
in $PATH
27447 test -z "$as_dir" && as_dir
=.
27448 for ac_exec_ext
in '' $ac_executable_extensions; do
27449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27450 ac_cv_prog_RESCOMP
="Rez"
27451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27457 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27460 RESCOMP
=$ac_cv_prog_RESCOMP
27461 if test -n "$RESCOMP"; then
27462 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27463 echo "${ECHO_T}$RESCOMP" >&6
27465 echo "$as_me:$LINENO: result: no" >&5
27466 echo "${ECHO_T}no" >&6
27469 # Extract the first word of "DeRez", so it can be a program name with args.
27470 set dummy DeRez
; ac_word
=$2
27471 echo "$as_me:$LINENO: checking for $ac_word" >&5
27472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27473 if test "${ac_cv_prog_DEREZ+set}" = set; then
27474 echo $ECHO_N "(cached) $ECHO_C" >&6
27476 if test -n "$DEREZ"; then
27477 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27480 for as_dir
in $PATH
27483 test -z "$as_dir" && as_dir
=.
27484 for ac_exec_ext
in '' $ac_executable_extensions; do
27485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27486 ac_cv_prog_DEREZ
="DeRez"
27487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27493 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27496 DEREZ
=$ac_cv_prog_DEREZ
27497 if test -n "$DEREZ"; then
27498 echo "$as_me:$LINENO: result: $DEREZ" >&5
27499 echo "${ECHO_T}$DEREZ" >&6
27501 echo "$as_me:$LINENO: result: no" >&5
27502 echo "${ECHO_T}no" >&6
27505 # Extract the first word of "SetFile", so it can be a program name with args.
27506 set dummy SetFile
; ac_word
=$2
27507 echo "$as_me:$LINENO: checking for $ac_word" >&5
27508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27509 if test "${ac_cv_prog_SETFILE+set}" = set; then
27510 echo $ECHO_N "(cached) $ECHO_C" >&6
27512 if test -n "$SETFILE"; then
27513 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27516 for as_dir
in $PATH
27519 test -z "$as_dir" && as_dir
=.
27520 for ac_exec_ext
in '' $ac_executable_extensions; do
27521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27522 ac_cv_prog_SETFILE
="SetFile"
27523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27529 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27532 SETFILE
=$ac_cv_prog_SETFILE
27533 if test -n "$SETFILE"; then
27534 echo "$as_me:$LINENO: result: $SETFILE" >&5
27535 echo "${ECHO_T}$SETFILE" >&6
27537 echo "$as_me:$LINENO: result: no" >&5
27538 echo "${ECHO_T}no" >&6
27541 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27542 MACSETFILE
="\$(SETFILE)"
27543 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27545 if test "$wxUSE_PM" = 1; then
27546 MACRESCOMP
="emxbind -ep"
27551 echo "$as_me:$LINENO: checking for mode_t" >&5
27552 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27553 if test "${ac_cv_type_mode_t+set}" = set; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 cat >conftest.
$ac_ext <<_ACEOF
27559 cat confdefs.h
>>conftest.
$ac_ext
27560 cat >>conftest.
$ac_ext <<_ACEOF
27561 /* end confdefs.h. */
27562 $ac_includes_default
27568 if (sizeof (mode_t))
27574 rm -f conftest.
$ac_objext
27575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27576 (eval $ac_compile) 2>conftest.er1
27578 grep -v '^ *+' conftest.er1
>conftest.err
27580 cat conftest.err
>&5
27581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582 (exit $ac_status); } &&
27583 { ac_try
='test -z "$ac_c_werror_flag"
27584 || test ! -s conftest.err'
27585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586 (eval $ac_try) 2>&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); }; } &&
27590 { ac_try
='test -s conftest.$ac_objext'
27591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592 (eval $ac_try) 2>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; }; then
27596 ac_cv_type_mode_t
=yes
27598 echo "$as_me: failed program was:" >&5
27599 sed 's/^/| /' conftest.
$ac_ext >&5
27601 ac_cv_type_mode_t
=no
27603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27605 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27606 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27607 if test $ac_cv_type_mode_t = yes; then
27611 cat >>confdefs.h
<<_ACEOF
27617 echo "$as_me:$LINENO: checking for off_t" >&5
27618 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27619 if test "${ac_cv_type_off_t+set}" = set; then
27620 echo $ECHO_N "(cached) $ECHO_C" >&6
27622 cat >conftest.
$ac_ext <<_ACEOF
27625 cat confdefs.h
>>conftest.
$ac_ext
27626 cat >>conftest.
$ac_ext <<_ACEOF
27627 /* end confdefs.h. */
27628 $ac_includes_default
27634 if (sizeof (off_t))
27640 rm -f conftest.
$ac_objext
27641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27642 (eval $ac_compile) 2>conftest.er1
27644 grep -v '^ *+' conftest.er1
>conftest.err
27646 cat conftest.err
>&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); } &&
27649 { ac_try
='test -z "$ac_c_werror_flag"
27650 || test ! -s conftest.err'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; } &&
27656 { ac_try
='test -s conftest.$ac_objext'
27657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27658 (eval $ac_try) 2>&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); }; }; then
27662 ac_cv_type_off_t
=yes
27664 echo "$as_me: failed program was:" >&5
27665 sed 's/^/| /' conftest.
$ac_ext >&5
27667 ac_cv_type_off_t
=no
27669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27671 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27672 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27673 if test $ac_cv_type_off_t = yes; then
27677 cat >>confdefs.h
<<_ACEOF
27683 echo "$as_me:$LINENO: checking for pid_t" >&5
27684 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27685 if test "${ac_cv_type_pid_t+set}" = set; then
27686 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 cat >conftest.
$ac_ext <<_ACEOF
27691 cat confdefs.h
>>conftest.
$ac_ext
27692 cat >>conftest.
$ac_ext <<_ACEOF
27693 /* end confdefs.h. */
27694 $ac_includes_default
27700 if (sizeof (pid_t))
27706 rm -f conftest.
$ac_objext
27707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27708 (eval $ac_compile) 2>conftest.er1
27710 grep -v '^ *+' conftest.er1
>conftest.err
27712 cat conftest.err
>&5
27713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27714 (exit $ac_status); } &&
27715 { ac_try
='test -z "$ac_c_werror_flag"
27716 || test ! -s conftest.err'
27717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27718 (eval $ac_try) 2>&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); }; } &&
27722 { ac_try
='test -s conftest.$ac_objext'
27723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27724 (eval $ac_try) 2>&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); }; }; then
27728 ac_cv_type_pid_t
=yes
27730 echo "$as_me: failed program was:" >&5
27731 sed 's/^/| /' conftest.
$ac_ext >&5
27733 ac_cv_type_pid_t
=no
27735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27737 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27738 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27739 if test $ac_cv_type_pid_t = yes; then
27743 cat >>confdefs.h
<<_ACEOF
27749 echo "$as_me:$LINENO: checking for size_t" >&5
27750 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27751 if test "${ac_cv_type_size_t+set}" = set; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27754 cat >conftest.
$ac_ext <<_ACEOF
27757 cat confdefs.h
>>conftest.
$ac_ext
27758 cat >>conftest.
$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760 $ac_includes_default
27766 if (sizeof (size_t))
27772 rm -f conftest.
$ac_objext
27773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27774 (eval $ac_compile) 2>conftest.er1
27776 grep -v '^ *+' conftest.er1
>conftest.err
27778 cat conftest.err
>&5
27779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27780 (exit $ac_status); } &&
27781 { ac_try
='test -z "$ac_c_werror_flag"
27782 || test ! -s conftest.err'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; } &&
27788 { ac_try
='test -s conftest.$ac_objext'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; }; then
27794 ac_cv_type_size_t
=yes
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.
$ac_ext >&5
27799 ac_cv_type_size_t
=no
27801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27803 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27804 echo "${ECHO_T}$ac_cv_type_size_t" >&6
27805 if test $ac_cv_type_size_t = yes; then
27809 cat >>confdefs.h
<<_ACEOF
27810 #define size_t unsigned
27815 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
27816 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
27817 if test "${ac_cv_type_uid_t+set}" = set; then
27818 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 cat >conftest.
$ac_ext <<_ACEOF
27823 cat confdefs.h
>>conftest.
$ac_ext
27824 cat >>conftest.
$ac_ext <<_ACEOF
27825 /* end confdefs.h. */
27826 #include <sys/types.h>
27829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27830 $EGREP "uid_t" >/dev
/null
2>&1; then
27831 ac_cv_type_uid_t
=yes
27833 ac_cv_type_uid_t
=no
27838 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
27839 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
27840 if test $ac_cv_type_uid_t = no
; then
27842 cat >>confdefs.h
<<\_ACEOF
27847 cat >>confdefs.h
<<\_ACEOF
27857 ac_cpp
='$CXXCPP $CPPFLAGS'
27858 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27859 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27860 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27862 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
27863 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
27864 if test "${wx_cv_size_t_is_uint+set}" = set; then
27865 echo $ECHO_N "(cached) $ECHO_C" >&6
27868 cat >conftest.
$ac_ext <<_ACEOF
27871 cat confdefs.h
>>conftest.
$ac_ext
27872 cat >>conftest.
$ac_ext <<_ACEOF
27873 /* end confdefs.h. */
27874 #include <stddef.h>
27881 struct Foo { void foo(size_t); void foo(unsigned int); };
27889 rm -f conftest.
$ac_objext
27890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27891 (eval $ac_compile) 2>conftest.er1
27893 grep -v '^ *+' conftest.er1
>conftest.err
27895 cat conftest.err
>&5
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); } &&
27898 { ac_try
='test -z "$ac_cxx_werror_flag"
27899 || test ! -s conftest.err'
27900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27901 (eval $ac_try) 2>&5
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); }; } &&
27905 { ac_try
='test -s conftest.$ac_objext'
27906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27907 (eval $ac_try) 2>&5
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); }; }; then
27911 wx_cv_size_t_is_uint
=no
27913 echo "$as_me: failed program was:" >&5
27914 sed 's/^/| /' conftest.
$ac_ext >&5
27916 wx_cv_size_t_is_uint
=yes
27919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27923 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
27924 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
27926 if test "$wx_cv_size_t_is_uint" = "yes"; then
27927 cat >>confdefs.h
<<\_ACEOF
27928 #define wxSIZE_T_IS_UINT 1
27932 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
27933 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
27934 if test "${wx_cv_size_t_is_ulong+set}" = set; then
27935 echo $ECHO_N "(cached) $ECHO_C" >&6
27937 cat >conftest.
$ac_ext <<_ACEOF
27940 cat confdefs.h
>>conftest.
$ac_ext
27941 cat >>conftest.
$ac_ext <<_ACEOF
27942 /* end confdefs.h. */
27943 #include <stddef.h>
27950 struct Foo { void foo(size_t); void foo(unsigned long); };
27958 rm -f conftest.
$ac_objext
27959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27960 (eval $ac_compile) 2>conftest.er1
27962 grep -v '^ *+' conftest.er1
>conftest.err
27964 cat conftest.err
>&5
27965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27966 (exit $ac_status); } &&
27967 { ac_try
='test -z "$ac_cxx_werror_flag"
27968 || test ! -s conftest.err'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; } &&
27974 { ac_try
='test -s conftest.$ac_objext'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; }; then
27980 wx_cv_size_t_is_ulong
=no
27982 echo "$as_me: failed program was:" >&5
27983 sed 's/^/| /' conftest.
$ac_ext >&5
27985 wx_cv_size_t_is_ulong
=yes
27988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27991 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
27992 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
27994 if test "$wx_cv_size_t_is_ulong" = "yes"; then
27995 cat >>confdefs.h
<<\_ACEOF
27996 #define wxSIZE_T_IS_ULONG 1
28003 ac_cpp
='$CPP $CPPFLAGS'
28004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28010 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28011 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28012 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28013 echo $ECHO_N "(cached) $ECHO_C" >&6
28016 cat >conftest.
$ac_ext <<_ACEOF
28019 cat confdefs.h
>>conftest.
$ac_ext
28020 cat >>conftest.
$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28035 rm -f conftest.
$ac_objext
28036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28037 (eval $ac_compile) 2>conftest.er1
28039 grep -v '^ *+' conftest.er1
>conftest.err
28041 cat conftest.err
>&5
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); } &&
28044 { ac_try
='test -z "$ac_c_werror_flag"
28045 || test ! -s conftest.err'
28046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28047 (eval $ac_try) 2>&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); }; } &&
28051 { ac_try
='test -s conftest.$ac_objext'
28052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28053 (eval $ac_try) 2>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); }; }; then
28058 wx_cv_struct_pw_gecos
=yes
28061 echo "$as_me: failed program was:" >&5
28062 sed 's/^/| /' conftest.
$ac_ext >&5
28065 wx_cv_struct_pw_gecos
=no
28069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28073 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28074 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28076 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28077 cat >>confdefs.h
<<\_ACEOF
28078 #define HAVE_PW_GECOS 1
28084 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28085 cat >>confdefs.h
<<\_ACEOF
28086 #define wxUSE_WCHAR_T 1
28093 for ac_func
in wcslen
28095 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28096 echo "$as_me:$LINENO: checking for $ac_func" >&5
28097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28098 if eval "test \"\${$as_ac_var+set}\" = set"; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28101 cat >conftest.
$ac_ext <<_ACEOF
28104 cat confdefs.h
>>conftest.
$ac_ext
28105 cat >>conftest.
$ac_ext <<_ACEOF
28106 /* end confdefs.h. */
28107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28109 #define $ac_func innocuous_$ac_func
28111 /* System header to define __stub macros and hopefully few prototypes,
28112 which can conflict with char $ac_func (); below.
28113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28114 <limits.h> exists even on freestanding compilers. */
28117 # include <limits.h>
28119 # include <assert.h>
28124 /* Override any gcc2 internal prototype to avoid an error. */
28129 /* We use char because int might match the return type of a gcc2
28130 builtin and then its argument prototype would still apply. */
28132 /* The GNU C library defines this for functions which it implements
28133 to always fail with ENOSYS. Some functions are actually named
28134 something starting with __ and the normal name is an alias. */
28135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28138 char (*f) () = $ac_func;
28147 return f != $ac_func;
28152 rm -f conftest.
$ac_objext conftest
$ac_exeext
28153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28154 (eval $ac_link) 2>conftest.er1
28156 grep -v '^ *+' conftest.er1
>conftest.err
28158 cat conftest.err
>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try
='test -z "$ac_c_werror_flag"
28162 || test ! -s conftest.err'
28163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 (eval $ac_try) 2>&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); }; } &&
28168 { ac_try
='test -s conftest$ac_exeext'
28169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170 (eval $ac_try) 2>&5
28172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173 (exit $ac_status); }; }; then
28174 eval "$as_ac_var=yes"
28176 echo "$as_me: failed program was:" >&5
28177 sed 's/^/| /' conftest.
$ac_ext >&5
28179 eval "$as_ac_var=no"
28181 rm -f conftest.err conftest.
$ac_objext \
28182 conftest
$ac_exeext conftest.
$ac_ext
28184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28186 if test `eval echo '${'$as_ac_var'}'` = yes; then
28187 cat >>confdefs.h
<<_ACEOF
28188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28195 if test "$WCSLEN_FOUND" = 0; then
28196 if test "$TOOLKIT" = "MSW"; then
28197 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28198 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28199 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28200 echo $ECHO_N "(cached) $ECHO_C" >&6
28202 ac_check_lib_save_LIBS
=$LIBS
28203 LIBS
="-lmsvcrt $LIBS"
28204 cat >conftest.
$ac_ext <<_ACEOF
28207 cat confdefs.h
>>conftest.
$ac_ext
28208 cat >>conftest.
$ac_ext <<_ACEOF
28209 /* end confdefs.h. */
28211 /* Override any gcc2 internal prototype to avoid an error. */
28215 /* We use char because int might match the return type of a gcc2
28216 builtin and then its argument prototype would still apply. */
28226 rm -f conftest.
$ac_objext conftest
$ac_exeext
28227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28228 (eval $ac_link) 2>conftest.er1
28230 grep -v '^ *+' conftest.er1
>conftest.err
28232 cat conftest.err
>&5
28233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); } &&
28235 { ac_try
='test -z "$ac_c_werror_flag"
28236 || test ! -s conftest.err'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; } &&
28242 { ac_try
='test -s conftest$ac_exeext'
28243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28244 (eval $ac_try) 2>&5
28246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247 (exit $ac_status); }; }; then
28248 ac_cv_lib_msvcrt_wcslen
=yes
28250 echo "$as_me: failed program was:" >&5
28251 sed 's/^/| /' conftest.
$ac_ext >&5
28253 ac_cv_lib_msvcrt_wcslen
=no
28255 rm -f conftest.err conftest.
$ac_objext \
28256 conftest
$ac_exeext conftest.
$ac_ext
28257 LIBS
=$ac_check_lib_save_LIBS
28259 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28260 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28261 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28266 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28267 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28268 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28269 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 ac_check_lib_save_LIBS
=$LIBS
28273 cat >conftest.
$ac_ext <<_ACEOF
28276 cat confdefs.h
>>conftest.
$ac_ext
28277 cat >>conftest.
$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28280 /* Override any gcc2 internal prototype to avoid an error. */
28284 /* We use char because int might match the return type of a gcc2
28285 builtin and then its argument prototype would still apply. */
28295 rm -f conftest.
$ac_objext conftest
$ac_exeext
28296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28297 (eval $ac_link) 2>conftest.er1
28299 grep -v '^ *+' conftest.er1
>conftest.err
28301 cat conftest.err
>&5
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } &&
28304 { ac_try
='test -z "$ac_c_werror_flag"
28305 || test ! -s conftest.err'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; } &&
28311 { ac_try
='test -s conftest$ac_exeext'
28312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28313 (eval $ac_try) 2>&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); }; }; then
28317 ac_cv_lib_w_wcslen
=yes
28319 echo "$as_me: failed program was:" >&5
28320 sed 's/^/| /' conftest.
$ac_ext >&5
28322 ac_cv_lib_w_wcslen
=no
28324 rm -f conftest.err conftest.
$ac_objext \
28325 conftest
$ac_exeext conftest.
$ac_ext
28326 LIBS
=$ac_check_lib_save_LIBS
28328 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28329 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28330 if test $ac_cv_lib_w_wcslen = yes; then
28340 if test "$WCSLEN_FOUND" = 1; then
28341 cat >>confdefs.h
<<\_ACEOF
28342 #define HAVE_WCSLEN 1
28348 for ac_func
in wcsrtombs
28350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28351 echo "$as_me:$LINENO: checking for $ac_func" >&5
28352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28353 if eval "test \"\${$as_ac_var+set}\" = set"; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28356 cat >conftest.
$ac_ext <<_ACEOF
28359 cat confdefs.h
>>conftest.
$ac_ext
28360 cat >>conftest.
$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28364 #define $ac_func innocuous_$ac_func
28366 /* System header to define __stub macros and hopefully few prototypes,
28367 which can conflict with char $ac_func (); below.
28368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28369 <limits.h> exists even on freestanding compilers. */
28372 # include <limits.h>
28374 # include <assert.h>
28379 /* Override any gcc2 internal prototype to avoid an error. */
28384 /* We use char because int might match the return type of a gcc2
28385 builtin and then its argument prototype would still apply. */
28387 /* The GNU C library defines this for functions which it implements
28388 to always fail with ENOSYS. Some functions are actually named
28389 something starting with __ and the normal name is an alias. */
28390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28393 char (*f) () = $ac_func;
28402 return f != $ac_func;
28407 rm -f conftest.
$ac_objext conftest
$ac_exeext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28409 (eval $ac_link) 2>conftest.er1
28411 grep -v '^ *+' conftest.er1
>conftest.err
28413 cat conftest.err
>&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } &&
28416 { ac_try
='test -z "$ac_c_werror_flag"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try
='test -s conftest$ac_exeext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429 eval "$as_ac_var=yes"
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.
$ac_ext >&5
28434 eval "$as_ac_var=no"
28436 rm -f conftest.err conftest.
$ac_objext \
28437 conftest
$ac_exeext conftest.
$ac_ext
28439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28441 if test `eval echo '${'$as_ac_var'}'` = yes; then
28442 cat >>confdefs.h
<<_ACEOF
28443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28450 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28451 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28457 ac_cpp
='$CXXCPP $CPPFLAGS'
28458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28464 for ac_func
in vsnprintf
28466 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28467 echo "$as_me:$LINENO: checking for $ac_func" >&5
28468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28469 if eval "test \"\${$as_ac_var+set}\" = set"; then
28470 echo $ECHO_N "(cached) $ECHO_C" >&6
28472 cat >conftest.
$ac_ext <<_ACEOF
28475 cat confdefs.h
>>conftest.
$ac_ext
28476 cat >>conftest.
$ac_ext <<_ACEOF
28477 /* end confdefs.h. */
28478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28480 #define $ac_func innocuous_$ac_func
28482 /* System header to define __stub macros and hopefully few prototypes,
28483 which can conflict with char $ac_func (); below.
28484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28485 <limits.h> exists even on freestanding compilers. */
28488 # include <limits.h>
28490 # include <assert.h>
28495 /* Override any gcc2 internal prototype to avoid an error. */
28500 /* We use char because int might match the return type of a gcc2
28501 builtin and then its argument prototype would still apply. */
28503 /* The GNU C library defines this for functions which it implements
28504 to always fail with ENOSYS. Some functions are actually named
28505 something starting with __ and the normal name is an alias. */
28506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28509 char (*f) () = $ac_func;
28518 return f != $ac_func;
28523 rm -f conftest.
$ac_objext conftest
$ac_exeext
28524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28525 (eval $ac_link) 2>conftest.er1
28527 grep -v '^ *+' conftest.er1
>conftest.err
28529 cat conftest.err
>&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } &&
28532 { ac_try
='test -z "$ac_cxx_werror_flag"
28533 || test ! -s conftest.err'
28534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28535 (eval $ac_try) 2>&5
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); }; } &&
28539 { ac_try
='test -s conftest$ac_exeext'
28540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28541 (eval $ac_try) 2>&5
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); }; }; then
28545 eval "$as_ac_var=yes"
28547 echo "$as_me: failed program was:" >&5
28548 sed 's/^/| /' conftest.
$ac_ext >&5
28550 eval "$as_ac_var=no"
28552 rm -f conftest.err conftest.
$ac_objext \
28553 conftest
$ac_exeext conftest.
$ac_ext
28555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28557 if test `eval echo '${'$as_ac_var'}'` = yes; then
28558 cat >>confdefs.h
<<_ACEOF
28559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28566 if test "$ac_cv_func_vsnprintf" = "yes"; then
28567 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28568 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28569 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28570 echo $ECHO_N "(cached) $ECHO_C" >&6
28573 cat >conftest.
$ac_ext <<_ACEOF
28576 cat confdefs.h
>>conftest.
$ac_ext
28577 cat >>conftest.
$ac_ext <<_ACEOF
28578 /* end confdefs.h. */
28581 #include <stdarg.h>
28589 vsnprintf(buf, 10u, "%s", ap);
28595 rm -f conftest.
$ac_objext
28596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28597 (eval $ac_compile) 2>conftest.er1
28599 grep -v '^ *+' conftest.er1
>conftest.err
28601 cat conftest.err
>&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); } &&
28604 { ac_try
='test -z "$ac_cxx_werror_flag"
28605 || test ! -s conftest.err'
28606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607 (eval $ac_try) 2>&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); }; } &&
28611 { ac_try
='test -s conftest.$ac_objext'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; }; then
28617 wx_cv_func_vsnprintf_decl
=yes
28619 echo "$as_me: failed program was:" >&5
28620 sed 's/^/| /' conftest.
$ac_ext >&5
28622 wx_cv_func_vsnprintf_decl
=no
28625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28629 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28630 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28632 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28633 cat >>confdefs.h
<<\_ACEOF
28634 #define HAVE_VSNPRINTF_DECL 1
28640 if test "$wxUSE_UNICODE" = yes; then
28644 for ac_func
in fputwc wprintf vswprintf
28646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28647 echo "$as_me:$LINENO: checking for $ac_func" >&5
28648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28649 if eval "test \"\${$as_ac_var+set}\" = set"; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28652 cat >conftest.
$ac_ext <<_ACEOF
28655 cat confdefs.h
>>conftest.
$ac_ext
28656 cat >>conftest.
$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28660 #define $ac_func innocuous_$ac_func
28662 /* System header to define __stub macros and hopefully few prototypes,
28663 which can conflict with char $ac_func (); below.
28664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28665 <limits.h> exists even on freestanding compilers. */
28668 # include <limits.h>
28670 # include <assert.h>
28675 /* Override any gcc2 internal prototype to avoid an error. */
28680 /* We use char because int might match the return type of a gcc2
28681 builtin and then its argument prototype would still apply. */
28683 /* The GNU C library defines this for functions which it implements
28684 to always fail with ENOSYS. Some functions are actually named
28685 something starting with __ and the normal name is an alias. */
28686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28689 char (*f) () = $ac_func;
28698 return f != $ac_func;
28703 rm -f conftest.
$ac_objext conftest
$ac_exeext
28704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28705 (eval $ac_link) 2>conftest.er1
28707 grep -v '^ *+' conftest.er1
>conftest.err
28709 cat conftest.err
>&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } &&
28712 { ac_try
='test -z "$ac_cxx_werror_flag"
28713 || test ! -s conftest.err'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; } &&
28719 { ac_try
='test -s conftest$ac_exeext'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; }; then
28725 eval "$as_ac_var=yes"
28727 echo "$as_me: failed program was:" >&5
28728 sed 's/^/| /' conftest.
$ac_ext >&5
28730 eval "$as_ac_var=no"
28732 rm -f conftest.err conftest.
$ac_objext \
28733 conftest
$ac_exeext conftest.
$ac_ext
28735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28737 if test `eval echo '${'$as_ac_var'}'` = yes; then
28738 cat >>confdefs.h
<<_ACEOF
28739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28746 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28747 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28748 cat >conftest.
$ac_ext <<_ACEOF
28751 cat confdefs.h
>>conftest.
$ac_ext
28752 cat >>conftest.
$ac_ext <<_ACEOF
28753 /* end confdefs.h. */
28763 rm -f conftest.
$ac_objext
28764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28765 (eval $ac_compile) 2>conftest.er1
28767 grep -v '^ *+' conftest.er1
>conftest.err
28769 cat conftest.err
>&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } &&
28772 { ac_try
='test -z "$ac_cxx_werror_flag"
28773 || test ! -s conftest.err'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; } &&
28779 { ac_try
='test -s conftest.$ac_objext'
28780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781 (eval $ac_try) 2>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 echo "$as_me:$LINENO: result: yes" >&5
28786 echo "${ECHO_T}yes" >&6
28787 cat >>confdefs.h
<<\_ACEOF
28788 #define HAVE__VSNWPRINTF 1
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.
$ac_ext >&5
28795 echo "$as_me:$LINENO: result: no" >&5
28796 echo "${ECHO_T}no" >&6
28798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
28802 ac_cpp
='$CPP $CPPFLAGS'
28803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28810 if test "$TOOLKIT" != "MSW"; then
28816 ac_cpp
='$CXXCPP $CPPFLAGS'
28817 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28818 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28819 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28824 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28825 if test "${with_libiconv_prefix+set}" = set; then
28826 withval
="$with_libiconv_prefix"
28828 for dir
in `echo "$withval" | tr : ' '`; do
28829 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
28830 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
28835 echo "$as_me:$LINENO: checking for iconv" >&5
28836 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28837 if test "${am_cv_func_iconv+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28841 am_cv_func_iconv
="no, consider installing GNU libiconv"
28843 cat >conftest.
$ac_ext <<_ACEOF
28846 cat confdefs.h
>>conftest.
$ac_ext
28847 cat >>conftest.
$ac_ext <<_ACEOF
28848 /* end confdefs.h. */
28849 #include <stdlib.h>
28854 iconv_t cd = iconv_open("","");
28855 iconv(cd,NULL,NULL,NULL,NULL);
28861 rm -f conftest.
$ac_objext conftest
$ac_exeext
28862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28863 (eval $ac_link) 2>conftest.er1
28865 grep -v '^ *+' conftest.er1
>conftest.err
28867 cat conftest.err
>&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } &&
28870 { ac_try
='test -z "$ac_cxx_werror_flag"
28871 || test ! -s conftest.err'
28872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28873 (eval $ac_try) 2>&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; } &&
28877 { ac_try
='test -s conftest$ac_exeext'
28878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28879 (eval $ac_try) 2>&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); }; }; then
28883 am_cv_func_iconv
=yes
28885 echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.
$ac_ext >&5
28889 rm -f conftest.err conftest.
$ac_objext \
28890 conftest
$ac_exeext conftest.
$ac_ext
28891 if test "$am_cv_func_iconv" != yes; then
28892 am_save_LIBS
="$LIBS"
28893 LIBS
="$LIBS -liconv"
28894 cat >conftest.
$ac_ext <<_ACEOF
28897 cat confdefs.h
>>conftest.
$ac_ext
28898 cat >>conftest.
$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900 #include <stdlib.h>
28905 iconv_t cd = iconv_open("","");
28906 iconv(cd,NULL,NULL,NULL,NULL);
28912 rm -f conftest.
$ac_objext conftest
$ac_exeext
28913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28914 (eval $ac_link) 2>conftest.er1
28916 grep -v '^ *+' conftest.er1
>conftest.err
28918 cat conftest.err
>&5
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); } &&
28921 { ac_try
='test -z "$ac_cxx_werror_flag"
28922 || test ! -s conftest.err'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; } &&
28928 { ac_try
='test -s conftest$ac_exeext'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; }; then
28934 am_cv_lib_iconv
=yes
28935 am_cv_func_iconv
=yes
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.
$ac_ext >&5
28941 rm -f conftest.err conftest.
$ac_objext \
28942 conftest
$ac_exeext conftest.
$ac_ext
28943 LIBS
="$am_save_LIBS"
28947 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28948 echo "${ECHO_T}$am_cv_func_iconv" >&6
28949 if test "$am_cv_func_iconv" = yes; then
28951 cat >>confdefs.h
<<\_ACEOF
28952 #define HAVE_ICONV 1
28955 echo "$as_me:$LINENO: checking if iconv needs const" >&5
28956 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
28957 if test "${wx_cv_func_iconv_const+set}" = set; then
28958 echo $ECHO_N "(cached) $ECHO_C" >&6
28960 cat >conftest.
$ac_ext <<_ACEOF
28963 cat confdefs.h
>>conftest.
$ac_ext
28964 cat >>conftest.
$ac_ext <<_ACEOF
28965 /* end confdefs.h. */
28967 #include <stdlib.h>
28973 #if defined(__STDC__) || defined(__cplusplus)
28974 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28987 rm -f conftest.
$ac_objext
28988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28989 (eval $ac_compile) 2>conftest.er1
28991 grep -v '^ *+' conftest.er1
>conftest.err
28993 cat conftest.err
>&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } &&
28996 { ac_try
='test -z "$ac_cxx_werror_flag"
28997 || test ! -s conftest.err'
28998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28999 (eval $ac_try) 2>&5
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); }; } &&
29003 { ac_try
='test -s conftest.$ac_objext'
29004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29005 (eval $ac_try) 2>&5
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); }; }; then
29009 wx_cv_func_iconv_const
="no"
29011 echo "$as_me: failed program was:" >&5
29012 sed 's/^/| /' conftest.
$ac_ext >&5
29014 wx_cv_func_iconv_const
="yes"
29017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29020 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29021 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29024 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29025 iconv_const
="const"
29029 cat >>confdefs.h
<<_ACEOF
29030 #define ICONV_CONST $iconv_const
29035 if test "$am_cv_lib_iconv" = yes; then
29040 LIBS
="$LIBICONV $LIBS"
29042 ac_cpp
='$CPP $CPPFLAGS'
29043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29048 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29050 for ac_func
in sigaction
29052 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29053 echo "$as_me:$LINENO: checking for $ac_func" >&5
29054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29055 if eval "test \"\${$as_ac_var+set}\" = set"; then
29056 echo $ECHO_N "(cached) $ECHO_C" >&6
29058 cat >conftest.
$ac_ext <<_ACEOF
29061 cat confdefs.h
>>conftest.
$ac_ext
29062 cat >>conftest.
$ac_ext <<_ACEOF
29063 /* end confdefs.h. */
29064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29066 #define $ac_func innocuous_$ac_func
29068 /* System header to define __stub macros and hopefully few prototypes,
29069 which can conflict with char $ac_func (); below.
29070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29071 <limits.h> exists even on freestanding compilers. */
29074 # include <limits.h>
29076 # include <assert.h>
29081 /* Override any gcc2 internal prototype to avoid an error. */
29086 /* We use char because int might match the return type of a gcc2
29087 builtin and then its argument prototype would still apply. */
29089 /* The GNU C library defines this for functions which it implements
29090 to always fail with ENOSYS. Some functions are actually named
29091 something starting with __ and the normal name is an alias. */
29092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29095 char (*f) () = $ac_func;
29104 return f != $ac_func;
29109 rm -f conftest.
$ac_objext conftest
$ac_exeext
29110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29111 (eval $ac_link) 2>conftest.er1
29113 grep -v '^ *+' conftest.er1
>conftest.err
29115 cat conftest.err
>&5
29116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117 (exit $ac_status); } &&
29118 { ac_try
='test -z "$ac_c_werror_flag"
29119 || test ! -s conftest.err'
29120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29121 (eval $ac_try) 2>&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); }; } &&
29125 { ac_try
='test -s conftest$ac_exeext'
29126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127 (eval $ac_try) 2>&5
29129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130 (exit $ac_status); }; }; then
29131 eval "$as_ac_var=yes"
29133 echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.
$ac_ext >&5
29136 eval "$as_ac_var=no"
29138 rm -f conftest.err conftest.
$ac_objext \
29139 conftest
$ac_exeext conftest.
$ac_ext
29141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29143 if test `eval echo '${'$as_ac_var'}'` = yes; then
29144 cat >>confdefs.h
<<_ACEOF
29145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29152 if test "$ac_cv_func_sigaction" = "no"; then
29153 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29154 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29155 wxUSE_ON_FATAL_EXCEPTION
=no
29158 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29162 ac_cpp
='$CXXCPP $CPPFLAGS'
29163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29168 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29169 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29170 if test "${wx_cv_type_sa_handler+set}" = set; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29174 cat >conftest.
$ac_ext <<_ACEOF
29177 cat confdefs.h
>>conftest.
$ac_ext
29178 cat >>conftest.
$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29180 #include <signal.h>
29185 extern void testSigHandler(int);
29187 struct sigaction sa;
29188 sa.sa_handler = testSigHandler;
29194 rm -f conftest.
$ac_objext
29195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29196 (eval $ac_compile) 2>conftest.er1
29198 grep -v '^ *+' conftest.er1
>conftest.err
29200 cat conftest.err
>&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } &&
29203 { ac_try
='test -z "$ac_cxx_werror_flag"
29204 || test ! -s conftest.err'
29205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29206 (eval $ac_try) 2>&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; } &&
29210 { ac_try
='test -s conftest.$ac_objext'
29211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29212 (eval $ac_try) 2>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); }; }; then
29217 wx_cv_type_sa_handler
=int
29220 echo "$as_me: failed program was:" >&5
29221 sed 's/^/| /' conftest.
$ac_ext >&5
29224 wx_cv_type_sa_handler
=void
29227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29230 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29231 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29234 ac_cpp
='$CPP $CPPFLAGS'
29235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29240 cat >>confdefs.h
<<_ACEOF
29241 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29249 for ac_func
in mkstemp mktemp
29251 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29252 echo "$as_me:$LINENO: checking for $ac_func" >&5
29253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29254 if eval "test \"\${$as_ac_var+set}\" = set"; then
29255 echo $ECHO_N "(cached) $ECHO_C" >&6
29257 cat >conftest.
$ac_ext <<_ACEOF
29260 cat confdefs.h
>>conftest.
$ac_ext
29261 cat >>conftest.
$ac_ext <<_ACEOF
29262 /* end confdefs.h. */
29263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29265 #define $ac_func innocuous_$ac_func
29267 /* System header to define __stub macros and hopefully few prototypes,
29268 which can conflict with char $ac_func (); below.
29269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29270 <limits.h> exists even on freestanding compilers. */
29273 # include <limits.h>
29275 # include <assert.h>
29280 /* Override any gcc2 internal prototype to avoid an error. */
29285 /* We use char because int might match the return type of a gcc2
29286 builtin and then its argument prototype would still apply. */
29288 /* The GNU C library defines this for functions which it implements
29289 to always fail with ENOSYS. Some functions are actually named
29290 something starting with __ and the normal name is an alias. */
29291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29294 char (*f) () = $ac_func;
29303 return f != $ac_func;
29308 rm -f conftest.
$ac_objext conftest
$ac_exeext
29309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29310 (eval $ac_link) 2>conftest.er1
29312 grep -v '^ *+' conftest.er1
>conftest.err
29314 cat conftest.err
>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); } &&
29317 { ac_try
='test -z "$ac_c_werror_flag"
29318 || test ! -s conftest.err'
29319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320 (eval $ac_try) 2>&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; } &&
29324 { ac_try
='test -s conftest$ac_exeext'
29325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29326 (eval $ac_try) 2>&5
29328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329 (exit $ac_status); }; }; then
29330 eval "$as_ac_var=yes"
29332 echo "$as_me: failed program was:" >&5
29333 sed 's/^/| /' conftest.
$ac_ext >&5
29335 eval "$as_ac_var=no"
29337 rm -f conftest.err conftest.
$ac_objext \
29338 conftest
$ac_exeext conftest.
$ac_ext
29340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29342 if test `eval echo '${'$as_ac_var'}'` = yes; then
29343 cat >>confdefs.h
<<_ACEOF
29344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29351 echo "$as_me:$LINENO: checking for statfs" >&5
29352 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29353 if test "${wx_cv_func_statfs+set}" = set; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 cat >conftest.
$ac_ext <<_ACEOF
29359 cat confdefs.h
>>conftest.
$ac_ext
29360 cat >>conftest.
$ac_ext <<_ACEOF
29361 /* end confdefs.h. */
29363 #if defined(__BSD__)
29364 #include <sys/param.h>
29365 #include <sys/mount.h>
29367 #include <sys/vfs.h>
29385 rm -f conftest.
$ac_objext
29386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29387 (eval $ac_compile) 2>conftest.er1
29389 grep -v '^ *+' conftest.er1
>conftest.err
29391 cat conftest.err
>&5
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); } &&
29394 { ac_try
='test -z "$ac_c_werror_flag"
29395 || test ! -s conftest.err'
29396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29397 (eval $ac_try) 2>&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); }; } &&
29401 { ac_try
='test -s conftest.$ac_objext'
29402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29403 (eval $ac_try) 2>&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); }; }; then
29408 wx_cv_func_statfs
=yes
29411 echo "$as_me: failed program was:" >&5
29412 sed 's/^/| /' conftest.
$ac_ext >&5
29415 wx_cv_func_statfs
=no
29419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29422 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29423 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29425 if test "$wx_cv_func_statfs" = "yes"; then
29426 wx_cv_type_statvfs_t
="struct statfs"
29427 cat >>confdefs.h
<<\_ACEOF
29428 #define HAVE_STATFS 1
29432 echo "$as_me:$LINENO: checking for statvfs" >&5
29433 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29434 if test "${wx_cv_func_statvfs+set}" = set; then
29435 echo $ECHO_N "(cached) $ECHO_C" >&6
29437 cat >conftest.
$ac_ext <<_ACEOF
29440 cat confdefs.h
>>conftest.
$ac_ext
29441 cat >>conftest.
$ac_ext <<_ACEOF
29442 /* end confdefs.h. */
29444 #include <stddef.h>
29445 #include <sys/statvfs.h>
29451 statvfs("/", NULL);
29457 rm -f conftest.
$ac_objext
29458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29459 (eval $ac_compile) 2>conftest.er1
29461 grep -v '^ *+' conftest.er1
>conftest.err
29463 cat conftest.err
>&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); } &&
29466 { ac_try
='test -z "$ac_c_werror_flag"
29467 || test ! -s conftest.err'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; } &&
29473 { ac_try
='test -s conftest.$ac_objext'
29474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475 (eval $ac_try) 2>&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); }; }; then
29479 wx_cv_func_statvfs
=yes
29481 echo "$as_me: failed program was:" >&5
29482 sed 's/^/| /' conftest.
$ac_ext >&5
29484 wx_cv_func_statvfs
=no
29487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29490 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29491 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29493 if test "$wx_cv_func_statvfs" = "yes"; then
29497 ac_cpp
='$CXXCPP $CPPFLAGS'
29498 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29503 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29504 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29505 if test "${wx_cv_type_statvfs_t+set}" = set; then
29506 echo $ECHO_N "(cached) $ECHO_C" >&6
29508 cat >conftest.
$ac_ext <<_ACEOF
29511 cat confdefs.h
>>conftest.
$ac_ext
29512 cat >>conftest.
$ac_ext <<_ACEOF
29513 /* end confdefs.h. */
29515 #include <sys/statvfs.h>
29532 rm -f conftest.
$ac_objext
29533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29534 (eval $ac_compile) 2>conftest.er1
29536 grep -v '^ *+' conftest.er1
>conftest.err
29538 cat conftest.err
>&5
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); } &&
29541 { ac_try
='test -z "$ac_cxx_werror_flag"
29542 || test ! -s conftest.err'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; } &&
29548 { ac_try
='test -s conftest.$ac_objext'
29549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550 (eval $ac_try) 2>&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); }; }; then
29554 wx_cv_type_statvfs_t
=statvfs_t
29556 echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.
$ac_ext >&5
29560 cat >conftest.
$ac_ext <<_ACEOF
29563 cat confdefs.h
>>conftest.
$ac_ext
29564 cat >>conftest.
$ac_ext <<_ACEOF
29565 /* end confdefs.h. */
29567 #include <sys/statvfs.h>
29584 rm -f conftest.
$ac_objext
29585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29586 (eval $ac_compile) 2>conftest.er1
29588 grep -v '^ *+' conftest.er1
>conftest.err
29590 cat conftest.err
>&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); } &&
29593 { ac_try
='test -z "$ac_cxx_werror_flag"
29594 || test ! -s conftest.err'
29595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29596 (eval $ac_try) 2>&5
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); }; } &&
29600 { ac_try
='test -s conftest.$ac_objext'
29601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29602 (eval $ac_try) 2>&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; }; then
29606 wx_cv_type_statvfs_t
="struct statvfs"
29608 echo "$as_me: failed program was:" >&5
29609 sed 's/^/| /' conftest.
$ac_ext >&5
29611 wx_cv_type_statvfs_t
="unknown"
29614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29621 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29622 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29625 ac_cpp
='$CPP $CPPFLAGS'
29626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29631 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29632 cat >>confdefs.h
<<\_ACEOF
29633 #define HAVE_STATVFS 1
29638 wx_cv_type_statvfs_t
="unknown"
29642 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29643 cat >>confdefs.h
<<_ACEOF
29644 #define WX_STATFS_T $wx_cv_type_statvfs_t
29648 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29649 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29652 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29655 for ac_func
in fcntl flock
29657 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29658 echo "$as_me:$LINENO: checking for $ac_func" >&5
29659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29660 if eval "test \"\${$as_ac_var+set}\" = set"; then
29661 echo $ECHO_N "(cached) $ECHO_C" >&6
29663 cat >conftest.
$ac_ext <<_ACEOF
29666 cat confdefs.h
>>conftest.
$ac_ext
29667 cat >>conftest.
$ac_ext <<_ACEOF
29668 /* end confdefs.h. */
29669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29671 #define $ac_func innocuous_$ac_func
29673 /* System header to define __stub macros and hopefully few prototypes,
29674 which can conflict with char $ac_func (); below.
29675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29676 <limits.h> exists even on freestanding compilers. */
29679 # include <limits.h>
29681 # include <assert.h>
29686 /* Override any gcc2 internal prototype to avoid an error. */
29691 /* We use char because int might match the return type of a gcc2
29692 builtin and then its argument prototype would still apply. */
29694 /* The GNU C library defines this for functions which it implements
29695 to always fail with ENOSYS. Some functions are actually named
29696 something starting with __ and the normal name is an alias. */
29697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29700 char (*f) () = $ac_func;
29709 return f != $ac_func;
29714 rm -f conftest.
$ac_objext conftest
$ac_exeext
29715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29716 (eval $ac_link) 2>conftest.er1
29718 grep -v '^ *+' conftest.er1
>conftest.err
29720 cat conftest.err
>&5
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); } &&
29723 { ac_try
='test -z "$ac_c_werror_flag"
29724 || test ! -s conftest.err'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; } &&
29730 { ac_try
='test -s conftest$ac_exeext'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; }; then
29736 eval "$as_ac_var=yes"
29738 echo "$as_me: failed program was:" >&5
29739 sed 's/^/| /' conftest.
$ac_ext >&5
29741 eval "$as_ac_var=no"
29743 rm -f conftest.err conftest.
$ac_objext \
29744 conftest
$ac_exeext conftest.
$ac_ext
29746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29748 if test `eval echo '${'$as_ac_var'}'` = yes; then
29749 cat >>confdefs.h
<<_ACEOF
29750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29757 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29758 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29759 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29760 wxUSE_SNGLINST_CHECKER
=no
29765 for ac_func
in timegm
29767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29768 echo "$as_me:$LINENO: checking for $ac_func" >&5
29769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29770 if eval "test \"\${$as_ac_var+set}\" = set"; then
29771 echo $ECHO_N "(cached) $ECHO_C" >&6
29773 cat >conftest.
$ac_ext <<_ACEOF
29776 cat confdefs.h
>>conftest.
$ac_ext
29777 cat >>conftest.
$ac_ext <<_ACEOF
29778 /* end confdefs.h. */
29779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29781 #define $ac_func innocuous_$ac_func
29783 /* System header to define __stub macros and hopefully few prototypes,
29784 which can conflict with char $ac_func (); below.
29785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29786 <limits.h> exists even on freestanding compilers. */
29789 # include <limits.h>
29791 # include <assert.h>
29796 /* Override any gcc2 internal prototype to avoid an error. */
29801 /* We use char because int might match the return type of a gcc2
29802 builtin and then its argument prototype would still apply. */
29804 /* The GNU C library defines this for functions which it implements
29805 to always fail with ENOSYS. Some functions are actually named
29806 something starting with __ and the normal name is an alias. */
29807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29810 char (*f) () = $ac_func;
29819 return f != $ac_func;
29824 rm -f conftest.
$ac_objext conftest
$ac_exeext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29826 (eval $ac_link) 2>conftest.er1
29828 grep -v '^ *+' conftest.er1
>conftest.err
29830 cat conftest.err
>&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } &&
29833 { ac_try
='test -z "$ac_c_werror_flag"
29834 || test ! -s conftest.err'
29835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29836 (eval $ac_try) 2>&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); }; } &&
29840 { ac_try
='test -s conftest$ac_exeext'
29841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29842 (eval $ac_try) 2>&5
29844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 (exit $ac_status); }; }; then
29846 eval "$as_ac_var=yes"
29848 echo "$as_me: failed program was:" >&5
29849 sed 's/^/| /' conftest.
$ac_ext >&5
29851 eval "$as_ac_var=no"
29853 rm -f conftest.err conftest.
$ac_objext \
29854 conftest
$ac_exeext conftest.
$ac_ext
29856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29858 if test `eval echo '${'$as_ac_var'}'` = yes; then
29859 cat >>confdefs.h
<<_ACEOF
29860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29869 for ac_func
in putenv setenv
29871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29872 echo "$as_me:$LINENO: checking for $ac_func" >&5
29873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29874 if eval "test \"\${$as_ac_var+set}\" = set"; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29877 cat >conftest.
$ac_ext <<_ACEOF
29880 cat confdefs.h
>>conftest.
$ac_ext
29881 cat >>conftest.
$ac_ext <<_ACEOF
29882 /* end confdefs.h. */
29883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29885 #define $ac_func innocuous_$ac_func
29887 /* System header to define __stub macros and hopefully few prototypes,
29888 which can conflict with char $ac_func (); below.
29889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29890 <limits.h> exists even on freestanding compilers. */
29893 # include <limits.h>
29895 # include <assert.h>
29900 /* Override any gcc2 internal prototype to avoid an error. */
29905 /* We use char because int might match the return type of a gcc2
29906 builtin and then its argument prototype would still apply. */
29908 /* The GNU C library defines this for functions which it implements
29909 to always fail with ENOSYS. Some functions are actually named
29910 something starting with __ and the normal name is an alias. */
29911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29914 char (*f) () = $ac_func;
29923 return f != $ac_func;
29928 rm -f conftest.
$ac_objext conftest
$ac_exeext
29929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29930 (eval $ac_link) 2>conftest.er1
29932 grep -v '^ *+' conftest.er1
>conftest.err
29934 cat conftest.err
>&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); } &&
29937 { ac_try
='test -z "$ac_c_werror_flag"
29938 || test ! -s conftest.err'
29939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940 (eval $ac_try) 2>&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; } &&
29944 { ac_try
='test -s conftest$ac_exeext'
29945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29946 (eval $ac_try) 2>&5
29948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949 (exit $ac_status); }; }; then
29950 eval "$as_ac_var=yes"
29952 echo "$as_me: failed program was:" >&5
29953 sed 's/^/| /' conftest.
$ac_ext >&5
29955 eval "$as_ac_var=no"
29957 rm -f conftest.err conftest.
$ac_objext \
29958 conftest
$ac_exeext conftest.
$ac_ext
29960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29962 if test `eval echo '${'$as_ac_var'}'` = yes; then
29963 cat >>confdefs.h
<<_ACEOF
29964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29971 HAVE_SOME_SLEEP_FUNC
=0
29972 if test "$USE_BEOS" = 1; then
29973 cat >>confdefs.h
<<\_ACEOF
29974 #define HAVE_SLEEP 1
29977 HAVE_SOME_SLEEP_FUNC
=1
29980 if test "$USE_DARWIN" = 1; then
29981 cat >>confdefs.h
<<\_ACEOF
29982 #define HAVE_USLEEP 1
29985 HAVE_SOME_SLEEP_FUNC
=1
29988 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
29991 for ac_func
in nanosleep
29993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29994 echo "$as_me:$LINENO: checking for $ac_func" >&5
29995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29996 if eval "test \"\${$as_ac_var+set}\" = set"; then
29997 echo $ECHO_N "(cached) $ECHO_C" >&6
29999 cat >conftest.
$ac_ext <<_ACEOF
30002 cat confdefs.h
>>conftest.
$ac_ext
30003 cat >>conftest.
$ac_ext <<_ACEOF
30004 /* end confdefs.h. */
30005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30007 #define $ac_func innocuous_$ac_func
30009 /* System header to define __stub macros and hopefully few prototypes,
30010 which can conflict with char $ac_func (); below.
30011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30012 <limits.h> exists even on freestanding compilers. */
30015 # include <limits.h>
30017 # include <assert.h>
30022 /* Override any gcc2 internal prototype to avoid an error. */
30027 /* We use char because int might match the return type of a gcc2
30028 builtin and then its argument prototype would still apply. */
30030 /* The GNU C library defines this for functions which it implements
30031 to always fail with ENOSYS. Some functions are actually named
30032 something starting with __ and the normal name is an alias. */
30033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30036 char (*f) () = $ac_func;
30045 return f != $ac_func;
30050 rm -f conftest.
$ac_objext conftest
$ac_exeext
30051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30052 (eval $ac_link) 2>conftest.er1
30054 grep -v '^ *+' conftest.er1
>conftest.err
30056 cat conftest.err
>&5
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); } &&
30059 { ac_try
='test -z "$ac_c_werror_flag"
30060 || test ! -s conftest.err'
30061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30062 (eval $ac_try) 2>&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); }; } &&
30066 { ac_try
='test -s conftest$ac_exeext'
30067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30068 (eval $ac_try) 2>&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); }; }; then
30072 eval "$as_ac_var=yes"
30074 echo "$as_me: failed program was:" >&5
30075 sed 's/^/| /' conftest.
$ac_ext >&5
30077 eval "$as_ac_var=no"
30079 rm -f conftest.err conftest.
$ac_objext \
30080 conftest
$ac_exeext conftest.
$ac_ext
30082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30084 if test `eval echo '${'$as_ac_var'}'` = yes; then
30085 cat >>confdefs.h
<<_ACEOF
30086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30088 cat >>confdefs.h
<<\_ACEOF
30089 #define HAVE_NANOSLEEP 1
30094 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30095 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30096 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30097 echo $ECHO_N "(cached) $ECHO_C" >&6
30099 ac_check_lib_save_LIBS
=$LIBS
30100 LIBS
="-lposix4 $LIBS"
30101 cat >conftest.
$ac_ext <<_ACEOF
30104 cat confdefs.h
>>conftest.
$ac_ext
30105 cat >>conftest.
$ac_ext <<_ACEOF
30106 /* end confdefs.h. */
30108 /* Override any gcc2 internal prototype to avoid an error. */
30112 /* We use char because int might match the return type of a gcc2
30113 builtin and then its argument prototype would still apply. */
30123 rm -f conftest.
$ac_objext conftest
$ac_exeext
30124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30125 (eval $ac_link) 2>conftest.er1
30127 grep -v '^ *+' conftest.er1
>conftest.err
30129 cat conftest.err
>&5
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); } &&
30132 { ac_try
='test -z "$ac_c_werror_flag"
30133 || test ! -s conftest.err'
30134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30135 (eval $ac_try) 2>&5
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); }; } &&
30139 { ac_try
='test -s conftest$ac_exeext'
30140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30141 (eval $ac_try) 2>&5
30143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30144 (exit $ac_status); }; }; then
30145 ac_cv_lib_posix4_nanosleep
=yes
30147 echo "$as_me: failed program was:" >&5
30148 sed 's/^/| /' conftest.
$ac_ext >&5
30150 ac_cv_lib_posix4_nanosleep
=no
30152 rm -f conftest.err conftest.
$ac_objext \
30153 conftest
$ac_exeext conftest.
$ac_ext
30154 LIBS
=$ac_check_lib_save_LIBS
30156 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30157 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30158 if test $ac_cv_lib_posix4_nanosleep = yes; then
30160 cat >>confdefs.h
<<\_ACEOF
30161 #define HAVE_NANOSLEEP 1
30164 POSIX4_LINK
=" -lposix4"
30169 for ac_func
in usleep
30171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30172 echo "$as_me:$LINENO: checking for $ac_func" >&5
30173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30174 if eval "test \"\${$as_ac_var+set}\" = set"; then
30175 echo $ECHO_N "(cached) $ECHO_C" >&6
30177 cat >conftest.
$ac_ext <<_ACEOF
30180 cat confdefs.h
>>conftest.
$ac_ext
30181 cat >>conftest.
$ac_ext <<_ACEOF
30182 /* end confdefs.h. */
30183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30185 #define $ac_func innocuous_$ac_func
30187 /* System header to define __stub macros and hopefully few prototypes,
30188 which can conflict with char $ac_func (); below.
30189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30190 <limits.h> exists even on freestanding compilers. */
30193 # include <limits.h>
30195 # include <assert.h>
30200 /* Override any gcc2 internal prototype to avoid an error. */
30205 /* We use char because int might match the return type of a gcc2
30206 builtin and then its argument prototype would still apply. */
30208 /* The GNU C library defines this for functions which it implements
30209 to always fail with ENOSYS. Some functions are actually named
30210 something starting with __ and the normal name is an alias. */
30211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30214 char (*f) () = $ac_func;
30223 return f != $ac_func;
30228 rm -f conftest.
$ac_objext conftest
$ac_exeext
30229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30230 (eval $ac_link) 2>conftest.er1
30232 grep -v '^ *+' conftest.er1
>conftest.err
30234 cat conftest.err
>&5
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); } &&
30237 { ac_try
='test -z "$ac_c_werror_flag"
30238 || test ! -s conftest.err'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; } &&
30244 { ac_try
='test -s conftest$ac_exeext'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; }; then
30250 eval "$as_ac_var=yes"
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.
$ac_ext >&5
30255 eval "$as_ac_var=no"
30257 rm -f conftest.err conftest.
$ac_objext \
30258 conftest
$ac_exeext conftest.
$ac_ext
30260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30262 if test `eval echo '${'$as_ac_var'}'` = yes; then
30263 cat >>confdefs.h
<<_ACEOF
30264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30266 cat >>confdefs.h
<<\_ACEOF
30267 #define HAVE_USLEEP 1
30271 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30272 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30290 for ac_func
in uname gethostname
30292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30293 echo "$as_me:$LINENO: checking for $ac_func" >&5
30294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30295 if eval "test \"\${$as_ac_var+set}\" = set"; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 cat >conftest.
$ac_ext <<_ACEOF
30301 cat confdefs.h
>>conftest.
$ac_ext
30302 cat >>conftest.
$ac_ext <<_ACEOF
30303 /* end confdefs.h. */
30304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30306 #define $ac_func innocuous_$ac_func
30308 /* System header to define __stub macros and hopefully few prototypes,
30309 which can conflict with char $ac_func (); below.
30310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30311 <limits.h> exists even on freestanding compilers. */
30314 # include <limits.h>
30316 # include <assert.h>
30321 /* Override any gcc2 internal prototype to avoid an error. */
30326 /* We use char because int might match the return type of a gcc2
30327 builtin and then its argument prototype would still apply. */
30329 /* The GNU C library defines this for functions which it implements
30330 to always fail with ENOSYS. Some functions are actually named
30331 something starting with __ and the normal name is an alias. */
30332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30335 char (*f) () = $ac_func;
30344 return f != $ac_func;
30349 rm -f conftest.
$ac_objext conftest
$ac_exeext
30350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30351 (eval $ac_link) 2>conftest.er1
30353 grep -v '^ *+' conftest.er1
>conftest.err
30355 cat conftest.err
>&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try
='test -z "$ac_c_werror_flag"
30359 || test ! -s conftest.err'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; } &&
30365 { ac_try
='test -s conftest$ac_exeext'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; }; then
30371 eval "$as_ac_var=yes"
30373 echo "$as_me: failed program was:" >&5
30374 sed 's/^/| /' conftest.
$ac_ext >&5
30376 eval "$as_ac_var=no"
30378 rm -f conftest.err conftest.
$ac_objext \
30379 conftest
$ac_exeext conftest.
$ac_ext
30381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30383 if test `eval echo '${'$as_ac_var'}'` = yes; then
30384 cat >>confdefs.h
<<_ACEOF
30385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30395 ac_cpp
='$CXXCPP $CPPFLAGS'
30396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30402 for ac_func
in strtok_r
30404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30405 echo "$as_me:$LINENO: checking for $ac_func" >&5
30406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30407 if eval "test \"\${$as_ac_var+set}\" = set"; then
30408 echo $ECHO_N "(cached) $ECHO_C" >&6
30410 cat >conftest.
$ac_ext <<_ACEOF
30413 cat confdefs.h
>>conftest.
$ac_ext
30414 cat >>conftest.
$ac_ext <<_ACEOF
30415 /* end confdefs.h. */
30416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30418 #define $ac_func innocuous_$ac_func
30420 /* System header to define __stub macros and hopefully few prototypes,
30421 which can conflict with char $ac_func (); below.
30422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30423 <limits.h> exists even on freestanding compilers. */
30426 # include <limits.h>
30428 # include <assert.h>
30433 /* Override any gcc2 internal prototype to avoid an error. */
30438 /* We use char because int might match the return type of a gcc2
30439 builtin and then its argument prototype would still apply. */
30441 /* The GNU C library defines this for functions which it implements
30442 to always fail with ENOSYS. Some functions are actually named
30443 something starting with __ and the normal name is an alias. */
30444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30447 char (*f) () = $ac_func;
30456 return f != $ac_func;
30461 rm -f conftest.
$ac_objext conftest
$ac_exeext
30462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30463 (eval $ac_link) 2>conftest.er1
30465 grep -v '^ *+' conftest.er1
>conftest.err
30467 cat conftest.err
>&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } &&
30470 { ac_try
='test -z "$ac_cxx_werror_flag"
30471 || test ! -s conftest.err'
30472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30473 (eval $ac_try) 2>&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); }; } &&
30477 { ac_try
='test -s conftest$ac_exeext'
30478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479 (eval $ac_try) 2>&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }; }; then
30483 eval "$as_ac_var=yes"
30485 echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.
$ac_ext >&5
30488 eval "$as_ac_var=no"
30490 rm -f conftest.err conftest.
$ac_objext \
30491 conftest
$ac_exeext conftest.
$ac_ext
30493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30495 if test `eval echo '${'$as_ac_var'}'` = yes; then
30496 cat >>confdefs.h
<<_ACEOF
30497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30505 ac_cpp
='$CPP $CPPFLAGS'
30506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30513 for ac_func
in inet_addr
30515 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30516 echo "$as_me:$LINENO: checking for $ac_func" >&5
30517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30518 if eval "test \"\${$as_ac_var+set}\" = set"; then
30519 echo $ECHO_N "(cached) $ECHO_C" >&6
30521 cat >conftest.
$ac_ext <<_ACEOF
30524 cat confdefs.h
>>conftest.
$ac_ext
30525 cat >>conftest.
$ac_ext <<_ACEOF
30526 /* end confdefs.h. */
30527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30529 #define $ac_func innocuous_$ac_func
30531 /* System header to define __stub macros and hopefully few prototypes,
30532 which can conflict with char $ac_func (); below.
30533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30534 <limits.h> exists even on freestanding compilers. */
30537 # include <limits.h>
30539 # include <assert.h>
30544 /* Override any gcc2 internal prototype to avoid an error. */
30549 /* We use char because int might match the return type of a gcc2
30550 builtin and then its argument prototype would still apply. */
30552 /* The GNU C library defines this for functions which it implements
30553 to always fail with ENOSYS. Some functions are actually named
30554 something starting with __ and the normal name is an alias. */
30555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30558 char (*f) () = $ac_func;
30567 return f != $ac_func;
30572 rm -f conftest.
$ac_objext conftest
$ac_exeext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30574 (eval $ac_link) 2>conftest.er1
30576 grep -v '^ *+' conftest.er1
>conftest.err
30578 cat conftest.err
>&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try
='test -z "$ac_c_werror_flag"
30582 || test ! -s conftest.err'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; } &&
30588 { ac_try
='test -s conftest$ac_exeext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594 eval "$as_ac_var=yes"
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.
$ac_ext >&5
30599 eval "$as_ac_var=no"
30601 rm -f conftest.err conftest.
$ac_objext \
30602 conftest
$ac_exeext conftest.
$ac_ext
30604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30606 if test `eval echo '${'$as_ac_var'}'` = yes; then
30607 cat >>confdefs.h
<<_ACEOF
30608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30610 cat >>confdefs.h
<<\_ACEOF
30611 #define HAVE_INET_ADDR 1
30616 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30617 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30618 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30619 echo $ECHO_N "(cached) $ECHO_C" >&6
30621 ac_check_lib_save_LIBS
=$LIBS
30623 cat >conftest.
$ac_ext <<_ACEOF
30626 cat confdefs.h
>>conftest.
$ac_ext
30627 cat >>conftest.
$ac_ext <<_ACEOF
30628 /* end confdefs.h. */
30630 /* Override any gcc2 internal prototype to avoid an error. */
30634 /* We use char because int might match the return type of a gcc2
30635 builtin and then its argument prototype would still apply. */
30645 rm -f conftest.
$ac_objext conftest
$ac_exeext
30646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30647 (eval $ac_link) 2>conftest.er1
30649 grep -v '^ *+' conftest.er1
>conftest.err
30651 cat conftest.err
>&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); } &&
30654 { ac_try
='test -z "$ac_c_werror_flag"
30655 || test ! -s conftest.err'
30656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657 (eval $ac_try) 2>&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); }; } &&
30661 { ac_try
='test -s conftest$ac_exeext'
30662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30663 (eval $ac_try) 2>&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); }; }; then
30667 ac_cv_lib_nsl_inet_addr
=yes
30669 echo "$as_me: failed program was:" >&5
30670 sed 's/^/| /' conftest.
$ac_ext >&5
30672 ac_cv_lib_nsl_inet_addr
=no
30674 rm -f conftest.err conftest.
$ac_objext \
30675 conftest
$ac_exeext conftest.
$ac_ext
30676 LIBS
=$ac_check_lib_save_LIBS
30678 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30679 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30680 if test $ac_cv_lib_nsl_inet_addr = yes; then
30684 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30685 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30686 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30687 echo $ECHO_N "(cached) $ECHO_C" >&6
30689 ac_check_lib_save_LIBS
=$LIBS
30690 LIBS
="-lresolv $LIBS"
30691 cat >conftest.
$ac_ext <<_ACEOF
30694 cat confdefs.h
>>conftest.
$ac_ext
30695 cat >>conftest.
$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30698 /* Override any gcc2 internal prototype to avoid an error. */
30702 /* We use char because int might match the return type of a gcc2
30703 builtin and then its argument prototype would still apply. */
30713 rm -f conftest.
$ac_objext conftest
$ac_exeext
30714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30715 (eval $ac_link) 2>conftest.er1
30717 grep -v '^ *+' conftest.er1
>conftest.err
30719 cat conftest.err
>&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); } &&
30722 { ac_try
='test -z "$ac_c_werror_flag"
30723 || test ! -s conftest.err'
30724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30725 (eval $ac_try) 2>&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); }; } &&
30729 { ac_try
='test -s conftest$ac_exeext'
30730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 (eval $ac_try) 2>&5
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); }; }; then
30735 ac_cv_lib_resolv_inet_addr
=yes
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.
$ac_ext >&5
30740 ac_cv_lib_resolv_inet_addr
=no
30742 rm -f conftest.err conftest.
$ac_objext \
30743 conftest
$ac_exeext conftest.
$ac_ext
30744 LIBS
=$ac_check_lib_save_LIBS
30746 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30747 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30748 if test $ac_cv_lib_resolv_inet_addr = yes; then
30752 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30753 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30754 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30755 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 ac_check_lib_save_LIBS
=$LIBS
30758 LIBS
="-lsocket $LIBS"
30759 cat >conftest.
$ac_ext <<_ACEOF
30762 cat confdefs.h
>>conftest.
$ac_ext
30763 cat >>conftest.
$ac_ext <<_ACEOF
30764 /* end confdefs.h. */
30766 /* Override any gcc2 internal prototype to avoid an error. */
30770 /* We use char because int might match the return type of a gcc2
30771 builtin and then its argument prototype would still apply. */
30781 rm -f conftest.
$ac_objext conftest
$ac_exeext
30782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30783 (eval $ac_link) 2>conftest.er1
30785 grep -v '^ *+' conftest.er1
>conftest.err
30787 cat conftest.err
>&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); } &&
30790 { ac_try
='test -z "$ac_c_werror_flag"
30791 || test ! -s conftest.err'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; } &&
30797 { ac_try
='test -s conftest$ac_exeext'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; }; then
30803 ac_cv_lib_socket_inet_addr
=yes
30805 echo "$as_me: failed program was:" >&5
30806 sed 's/^/| /' conftest.
$ac_ext >&5
30808 ac_cv_lib_socket_inet_addr
=no
30810 rm -f conftest.err conftest.
$ac_objext \
30811 conftest
$ac_exeext conftest.
$ac_ext
30812 LIBS
=$ac_check_lib_save_LIBS
30814 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
30815 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
30816 if test $ac_cv_lib_socket_inet_addr = yes; then
30836 for ac_func
in inet_aton
30838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30839 echo "$as_me:$LINENO: checking for $ac_func" >&5
30840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30841 if eval "test \"\${$as_ac_var+set}\" = set"; then
30842 echo $ECHO_N "(cached) $ECHO_C" >&6
30844 cat >conftest.
$ac_ext <<_ACEOF
30847 cat confdefs.h
>>conftest.
$ac_ext
30848 cat >>conftest.
$ac_ext <<_ACEOF
30849 /* end confdefs.h. */
30850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30852 #define $ac_func innocuous_$ac_func
30854 /* System header to define __stub macros and hopefully few prototypes,
30855 which can conflict with char $ac_func (); below.
30856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30857 <limits.h> exists even on freestanding compilers. */
30860 # include <limits.h>
30862 # include <assert.h>
30867 /* Override any gcc2 internal prototype to avoid an error. */
30872 /* We use char because int might match the return type of a gcc2
30873 builtin and then its argument prototype would still apply. */
30875 /* The GNU C library defines this for functions which it implements
30876 to always fail with ENOSYS. Some functions are actually named
30877 something starting with __ and the normal name is an alias. */
30878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30881 char (*f) () = $ac_func;
30890 return f != $ac_func;
30895 rm -f conftest.
$ac_objext conftest
$ac_exeext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30897 (eval $ac_link) 2>conftest.er1
30899 grep -v '^ *+' conftest.er1
>conftest.err
30901 cat conftest.err
>&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); } &&
30904 { ac_try
='test -z "$ac_c_werror_flag"
30905 || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try
='test -s conftest$ac_exeext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 eval "$as_ac_var=yes"
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.
$ac_ext >&5
30922 eval "$as_ac_var=no"
30924 rm -f conftest.err conftest.
$ac_objext \
30925 conftest
$ac_exeext conftest.
$ac_ext
30927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30929 if test `eval echo '${'$as_ac_var'}'` = yes; then
30930 cat >>confdefs.h
<<_ACEOF
30931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30933 cat >>confdefs.h
<<\_ACEOF
30934 #define HAVE_INET_ATON 1
30939 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
30940 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
30941 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
30942 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
30943 echo $ECHO_N "(cached) $ECHO_C" >&6
30945 ac_check_lib_save_LIBS
=$LIBS
30946 LIBS
="-l$INET_LINK $LIBS"
30947 cat >conftest.
$ac_ext <<_ACEOF
30950 cat confdefs.h
>>conftest.
$ac_ext
30951 cat >>conftest.
$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30954 /* Override any gcc2 internal prototype to avoid an error. */
30958 /* We use char because int might match the return type of a gcc2
30959 builtin and then its argument prototype would still apply. */
30969 rm -f conftest.
$ac_objext conftest
$ac_exeext
30970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30971 (eval $ac_link) 2>conftest.er1
30973 grep -v '^ *+' conftest.er1
>conftest.err
30975 cat conftest.err
>&5
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); } &&
30978 { ac_try
='test -z "$ac_c_werror_flag"
30979 || test ! -s conftest.err'
30980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30981 (eval $ac_try) 2>&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); }; } &&
30985 { ac_try
='test -s conftest$ac_exeext'
30986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30987 (eval $ac_try) 2>&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); }; }; then
30991 eval "$as_ac_Lib=yes"
30993 echo "$as_me: failed program was:" >&5
30994 sed 's/^/| /' conftest.
$ac_ext >&5
30996 eval "$as_ac_Lib=no"
30998 rm -f conftest.err conftest.
$ac_objext \
30999 conftest
$ac_exeext conftest.
$ac_ext
31000 LIBS
=$ac_check_lib_save_LIBS
31002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31003 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31004 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31005 cat >>confdefs.h
<<\_ACEOF
31006 #define HAVE_INET_ATON 1
31016 if test "x$INET_LINK" != "x"; then
31017 cat >>confdefs.h
<<\_ACEOF
31018 #define HAVE_INET_ADDR 1
31021 INET_LINK
=" -l$INET_LINK"
31029 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31030 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31031 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31032 echo $ECHO_N "(cached) $ECHO_C" >&6
31034 ac_check_lib_save_LIBS
=$LIBS
31036 cat >conftest.
$ac_ext <<_ACEOF
31039 cat confdefs.h
>>conftest.
$ac_ext
31040 cat >>conftest.
$ac_ext <<_ACEOF
31041 /* end confdefs.h. */
31043 /* Override any gcc2 internal prototype to avoid an error. */
31047 /* We use char because int might match the return type of a gcc2
31048 builtin and then its argument prototype would still apply. */
31058 rm -f conftest.
$ac_objext conftest
$ac_exeext
31059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31060 (eval $ac_link) 2>conftest.er1
31062 grep -v '^ *+' conftest.er1
>conftest.err
31064 cat conftest.err
>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try
='test -z "$ac_c_werror_flag"
31068 || test ! -s conftest.err'
31069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31070 (eval $ac_try) 2>&5
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); }; } &&
31074 { ac_try
='test -s conftest$ac_exeext'
31075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31076 (eval $ac_try) 2>&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); }; }; then
31080 ac_cv_lib_esd_esd_close
=yes
31082 echo "$as_me: failed program was:" >&5
31083 sed 's/^/| /' conftest.
$ac_ext >&5
31085 ac_cv_lib_esd_esd_close
=no
31087 rm -f conftest.err conftest.
$ac_objext \
31088 conftest
$ac_exeext conftest.
$ac_ext
31089 LIBS
=$ac_check_lib_save_LIBS
31091 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31092 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31093 if test $ac_cv_lib_esd_esd_close = yes; then
31096 for ac_header
in esd.h
31098 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31100 echo "$as_me:$LINENO: checking for $ac_header" >&5
31101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31103 echo $ECHO_N "(cached) $ECHO_C" >&6
31105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31108 # Is the header compilable?
31109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31111 cat >conftest.
$ac_ext <<_ACEOF
31114 cat confdefs.h
>>conftest.
$ac_ext
31115 cat >>conftest.
$ac_ext <<_ACEOF
31116 /* end confdefs.h. */
31117 $ac_includes_default
31118 #include <$ac_header>
31120 rm -f conftest.
$ac_objext
31121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31122 (eval $ac_compile) 2>conftest.er1
31124 grep -v '^ *+' conftest.er1
>conftest.err
31126 cat conftest.err
>&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); } &&
31129 { ac_try
='test -z "$ac_c_werror_flag"
31130 || test ! -s conftest.err'
31131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31132 (eval $ac_try) 2>&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); }; } &&
31136 { ac_try
='test -s conftest.$ac_objext'
31137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31138 (eval $ac_try) 2>&5
31140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31141 (exit $ac_status); }; }; then
31142 ac_header_compiler
=yes
31144 echo "$as_me: failed program was:" >&5
31145 sed 's/^/| /' conftest.
$ac_ext >&5
31147 ac_header_compiler
=no
31149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31151 echo "${ECHO_T}$ac_header_compiler" >&6
31153 # Is the header present?
31154 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31156 cat >conftest.
$ac_ext <<_ACEOF
31159 cat confdefs.h
>>conftest.
$ac_ext
31160 cat >>conftest.
$ac_ext <<_ACEOF
31161 /* end confdefs.h. */
31162 #include <$ac_header>
31164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31167 grep -v '^ *+' conftest.er1
>conftest.err
31169 cat conftest.err
>&5
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); } >/dev
/null
; then
31172 if test -s conftest.err
; then
31173 ac_cpp_err
=$ac_c_preproc_warn_flag
31174 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31181 if test -z "$ac_cpp_err"; then
31182 ac_header_preproc
=yes
31184 echo "$as_me: failed program was:" >&5
31185 sed 's/^/| /' conftest.
$ac_ext >&5
31187 ac_header_preproc
=no
31189 rm -f conftest.err conftest.
$ac_ext
31190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31191 echo "${ECHO_T}$ac_header_preproc" >&6
31193 # So? What about this header?
31194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31200 ac_header_preproc
=yes
31203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31217 ## ----------------------------------------- ##
31218 ## Report this to wx-dev@lists.wxwindows.org ##
31219 ## ----------------------------------------- ##
31222 sed "s/^/$as_me: WARNING: /" >&2
31225 echo "$as_me:$LINENO: checking for $ac_header" >&5
31226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31228 echo $ECHO_N "(cached) $ECHO_C" >&6
31230 eval "$as_ac_Header=\$ac_header_preproc"
31232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31237 cat >>confdefs.h
<<_ACEOF
31238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31241 EXTRALIBS_ESD
="-lesd"
31252 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31253 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31254 cat >conftest.
$ac_ext <<_ACEOF
31257 cat confdefs.h
>>conftest.
$ac_ext
31258 cat >>conftest.
$ac_ext <<_ACEOF
31259 /* end confdefs.h. */
31261 #include <linux/cdrom.h>
31264 #include <sys/cdio.h>
31270 struct cdrom_tocentry entry, old_entry;
31275 rm -f conftest.
$ac_objext
31276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31277 (eval $ac_compile) 2>conftest.er1
31279 grep -v '^ *+' conftest.er1
>conftest.err
31281 cat conftest.err
>&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); } &&
31284 { ac_try
='test -z "$ac_c_werror_flag"
31285 || test ! -s conftest.err'
31286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31287 (eval $ac_try) 2>&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); }; } &&
31291 { ac_try
='test -s conftest.$ac_objext'
31292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31293 (eval $ac_try) 2>&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); }; }; then
31297 echo "$as_me:$LINENO: result: yes" >&5
31298 echo "${ECHO_T}yes" >&6
31299 cat >>confdefs.h
<<\_ACEOF
31300 #define HAVE_KNOWN_CDROM_INTERFACE 1
31304 echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.
$ac_ext >&5
31307 echo "$as_me:$LINENO: result: no" >&5
31308 echo "${ECHO_T}no" >&6
31310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31313 cat >confcache
<<\_ACEOF
31314 # This file is a shell script that caches the results of configure
31315 # tests run on this system so they can be shared between configure
31316 # scripts and configure runs, see configure's option --config-cache.
31317 # It is not useful on other systems. If it contains results you don't
31318 # want to keep, you may remove or edit it.
31320 # config.status only pays attention to the cache file if you give it
31321 # the --recheck option to rerun configure.
31323 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31325 # following values.
31329 # The following way of writing the cache mishandles newlines in values,
31330 # but we know of no workaround that is simple, portable, and efficient.
31331 # So, don't put newlines in cache variables' values.
31332 # Ultrix sh set writes to stderr and can't be redirected directly,
31333 # and sets the high bit in the cache file unless we assign to the vars.
31336 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31338 # `set' does not quote correctly, so add quotes (double-quote
31339 # substitution turns \\\\ into \\, and sed turns \\ into \).
31342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31345 # `set' quotes correctly as required by POSIX, so do not add quotes.
31347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31356 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31358 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31359 if test -w $cache_file; then
31360 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31361 cat confcache
>$cache_file
31363 echo "not updating unwritable cache $cache_file"
31370 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31376 if test "$wxUSE_THREADS" = "yes" ; then
31377 if test "$USE_BEOS" = 1; then
31378 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31379 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31384 if test "$wxUSE_THREADS" = "yes" ; then
31387 THREAD_OPTS
="-pthread"
31389 *-*-solaris2* | *-*-sunos4* )
31390 if test "x$GCC" = "xyes"; then
31391 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31393 THREAD_OPTS
="-mt $THREAD_OPTS"
31397 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31399 *-*-darwin* | *-*-cygwin* )
31403 THREAD_OPTS
="pthreads"
31406 if test "x$GCC" != "xyes"; then
31412 if test "x$GCC" = "xyes"; then
31418 if test "x$GCC" != "xyes"; then
31419 THREAD_OPTS
="-Ethread"
31424 THREAD_OPTS
="$THREAD_OPTS pthread none"
31427 for flag
in $THREAD_OPTS; do
31430 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31431 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31435 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31436 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31437 THREADS_CFLAGS
="$flag"
31441 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31442 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31443 THREADS_LINK
="-l$flag"
31448 save_CFLAGS
="$CFLAGS"
31449 LIBS
="$THREADS_LINK $LIBS"
31450 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31452 cat >conftest.
$ac_ext <<_ACEOF
31455 cat confdefs.h
>>conftest.
$ac_ext
31456 cat >>conftest.
$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31458 #include <pthread.h>
31462 pthread_create(0,0,0,0);
31467 rm -f conftest.
$ac_objext conftest
$ac_exeext
31468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31469 (eval $ac_link) 2>conftest.er1
31471 grep -v '^ *+' conftest.er1
>conftest.err
31473 cat conftest.err
>&5
31474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475 (exit $ac_status); } &&
31476 { ac_try
='test -z "$ac_c_werror_flag"
31477 || test ! -s conftest.err'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; } &&
31483 { ac_try
='test -s conftest$ac_exeext'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; }; then
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.
$ac_ext >&5
31495 rm -f conftest.err conftest.
$ac_objext \
31496 conftest
$ac_exeext conftest.
$ac_ext
31499 CFLAGS
="$save_CFLAGS"
31501 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31502 echo "${ECHO_T}$THREADS_OK" >&6
31503 if test "x$THREADS_OK" = "xyes"; then
31511 if test "x$THREADS_OK" != "xyes"; then
31513 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31514 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31516 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31517 LIBS
="$THREADS_LINK $LIBS"
31519 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31520 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31524 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31525 flag
="-D_THREAD_SAFE"
31528 flag
="-D_THREAD_SAFE"
31531 flag
="-D_REENTRANT"
31532 if test "x$GCC" != "xyes"; then
31533 flag
="$flag -D_RWSTD_MULTI_THREAD"
31536 *solaris
* | alpha
*-osf*)
31537 flag
="-D_REENTRANT"
31540 echo "$as_me:$LINENO: result: ${flag}" >&5
31541 echo "${ECHO_T}${flag}" >&6
31542 if test "x$flag" != xno
; then
31543 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31546 if test "x$THREADS_CFLAGS" != "x"; then
31547 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31548 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31553 if test "$wxUSE_THREADS" = "yes" ; then
31555 for ac_func
in thr_setconcurrency
31557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31558 echo "$as_me:$LINENO: checking for $ac_func" >&5
31559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31560 if eval "test \"\${$as_ac_var+set}\" = set"; then
31561 echo $ECHO_N "(cached) $ECHO_C" >&6
31563 cat >conftest.
$ac_ext <<_ACEOF
31566 cat confdefs.h
>>conftest.
$ac_ext
31567 cat >>conftest.
$ac_ext <<_ACEOF
31568 /* end confdefs.h. */
31569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31571 #define $ac_func innocuous_$ac_func
31573 /* System header to define __stub macros and hopefully few prototypes,
31574 which can conflict with char $ac_func (); below.
31575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31576 <limits.h> exists even on freestanding compilers. */
31579 # include <limits.h>
31581 # include <assert.h>
31586 /* Override any gcc2 internal prototype to avoid an error. */
31591 /* We use char because int might match the return type of a gcc2
31592 builtin and then its argument prototype would still apply. */
31594 /* The GNU C library defines this for functions which it implements
31595 to always fail with ENOSYS. Some functions are actually named
31596 something starting with __ and the normal name is an alias. */
31597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31600 char (*f) () = $ac_func;
31609 return f != $ac_func;
31614 rm -f conftest.
$ac_objext conftest
$ac_exeext
31615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31616 (eval $ac_link) 2>conftest.er1
31618 grep -v '^ *+' conftest.er1
>conftest.err
31620 cat conftest.err
>&5
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); } &&
31623 { ac_try
='test -z "$ac_c_werror_flag"
31624 || test ! -s conftest.err'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; } &&
31630 { ac_try
='test -s conftest$ac_exeext'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; }; then
31636 eval "$as_ac_var=yes"
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.
$ac_ext >&5
31641 eval "$as_ac_var=no"
31643 rm -f conftest.err conftest.
$ac_objext \
31644 conftest
$ac_exeext conftest.
$ac_ext
31646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31648 if test `eval echo '${'$as_ac_var'}'` = yes; then
31649 cat >>confdefs.h
<<_ACEOF
31650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31658 for ac_header
in sched.h
31660 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31662 echo "$as_me:$LINENO: checking for $ac_header" >&5
31663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31665 echo $ECHO_N "(cached) $ECHO_C" >&6
31667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31670 # Is the header compilable?
31671 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31672 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31673 cat >conftest.
$ac_ext <<_ACEOF
31676 cat confdefs.h
>>conftest.
$ac_ext
31677 cat >>conftest.
$ac_ext <<_ACEOF
31678 /* end confdefs.h. */
31679 $ac_includes_default
31680 #include <$ac_header>
31682 rm -f conftest.
$ac_objext
31683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31684 (eval $ac_compile) 2>conftest.er1
31686 grep -v '^ *+' conftest.er1
>conftest.err
31688 cat conftest.err
>&5
31689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31690 (exit $ac_status); } &&
31691 { ac_try
='test -z "$ac_c_werror_flag"
31692 || test ! -s conftest.err'
31693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31694 (eval $ac_try) 2>&5
31696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697 (exit $ac_status); }; } &&
31698 { ac_try
='test -s conftest.$ac_objext'
31699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31700 (eval $ac_try) 2>&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); }; }; then
31704 ac_header_compiler
=yes
31706 echo "$as_me: failed program was:" >&5
31707 sed 's/^/| /' conftest.
$ac_ext >&5
31709 ac_header_compiler
=no
31711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31713 echo "${ECHO_T}$ac_header_compiler" >&6
31715 # Is the header present?
31716 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31717 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31718 cat >conftest.
$ac_ext <<_ACEOF
31721 cat confdefs.h
>>conftest.
$ac_ext
31722 cat >>conftest.
$ac_ext <<_ACEOF
31723 /* end confdefs.h. */
31724 #include <$ac_header>
31726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31727 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
31734 if test -s conftest.err
; then
31735 ac_cpp_err
=$ac_c_preproc_warn_flag
31736 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31743 if test -z "$ac_cpp_err"; then
31744 ac_header_preproc
=yes
31746 echo "$as_me: failed program was:" >&5
31747 sed 's/^/| /' conftest.
$ac_ext >&5
31749 ac_header_preproc
=no
31751 rm -f conftest.err conftest.
$ac_ext
31752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31753 echo "${ECHO_T}$ac_header_preproc" >&6
31755 # So? What about this header?
31756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31758 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31759 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31761 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31762 ac_header_preproc
=yes
31765 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31766 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31767 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31768 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31769 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31770 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31771 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31772 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31775 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31776 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31779 ## ----------------------------------------- ##
31780 ## Report this to wx-dev@lists.wxwindows.org ##
31781 ## ----------------------------------------- ##
31784 sed "s/^/$as_me: WARNING: /" >&2
31787 echo "$as_me:$LINENO: checking for $ac_header" >&5
31788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31790 echo $ECHO_N "(cached) $ECHO_C" >&6
31792 eval "$as_ac_Header=\$ac_header_preproc"
31794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31799 cat >>confdefs.h
<<_ACEOF
31800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31807 if test "$ac_cv_header_sched_h" = "yes"; then
31808 echo "$as_me:$LINENO: checking for sched_yield" >&5
31809 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
31810 if test "${ac_cv_func_sched_yield+set}" = set; then
31811 echo $ECHO_N "(cached) $ECHO_C" >&6
31813 cat >conftest.
$ac_ext <<_ACEOF
31816 cat confdefs.h
>>conftest.
$ac_ext
31817 cat >>conftest.
$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31819 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
31820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31821 #define sched_yield innocuous_sched_yield
31823 /* System header to define __stub macros and hopefully few prototypes,
31824 which can conflict with char sched_yield (); below.
31825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31826 <limits.h> exists even on freestanding compilers. */
31829 # include <limits.h>
31831 # include <assert.h>
31836 /* Override any gcc2 internal prototype to avoid an error. */
31841 /* We use char because int might match the return type of a gcc2
31842 builtin and then its argument prototype would still apply. */
31843 char sched_yield ();
31844 /* The GNU C library defines this for functions which it implements
31845 to always fail with ENOSYS. Some functions are actually named
31846 something starting with __ and the normal name is an alias. */
31847 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
31850 char (*f) () = sched_yield;
31859 return f != sched_yield;
31864 rm -f conftest.
$ac_objext conftest
$ac_exeext
31865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31866 (eval $ac_link) 2>conftest.er1
31868 grep -v '^ *+' conftest.er1
>conftest.err
31870 cat conftest.err
>&5
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); } &&
31873 { ac_try
='test -z "$ac_c_werror_flag"
31874 || test ! -s conftest.err'
31875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31876 (eval $ac_try) 2>&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); }; } &&
31880 { ac_try
='test -s conftest$ac_exeext'
31881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31882 (eval $ac_try) 2>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); }; }; then
31886 ac_cv_func_sched_yield
=yes
31888 echo "$as_me: failed program was:" >&5
31889 sed 's/^/| /' conftest.
$ac_ext >&5
31891 ac_cv_func_sched_yield
=no
31893 rm -f conftest.err conftest.
$ac_objext \
31894 conftest
$ac_exeext conftest.
$ac_ext
31896 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
31897 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
31898 if test $ac_cv_func_sched_yield = yes; then
31899 cat >>confdefs.h
<<\_ACEOF
31900 #define HAVE_SCHED_YIELD 1
31905 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
31906 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
31907 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
31908 echo $ECHO_N "(cached) $ECHO_C" >&6
31910 ac_check_lib_save_LIBS
=$LIBS
31911 LIBS
="-lposix4 $LIBS"
31912 cat >conftest.
$ac_ext <<_ACEOF
31915 cat confdefs.h
>>conftest.
$ac_ext
31916 cat >>conftest.
$ac_ext <<_ACEOF
31917 /* end confdefs.h. */
31919 /* Override any gcc2 internal prototype to avoid an error. */
31923 /* We use char because int might match the return type of a gcc2
31924 builtin and then its argument prototype would still apply. */
31925 char sched_yield ();
31934 rm -f conftest.
$ac_objext conftest
$ac_exeext
31935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31936 (eval $ac_link) 2>conftest.er1
31938 grep -v '^ *+' conftest.er1
>conftest.err
31940 cat conftest.err
>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } &&
31943 { ac_try
='test -z "$ac_c_werror_flag"
31944 || test ! -s conftest.err'
31945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31946 (eval $ac_try) 2>&5
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); }; } &&
31950 { ac_try
='test -s conftest$ac_exeext'
31951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952 (eval $ac_try) 2>&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); }; }; then
31956 ac_cv_lib_posix4_sched_yield
=yes
31958 echo "$as_me: failed program was:" >&5
31959 sed 's/^/| /' conftest.
$ac_ext >&5
31961 ac_cv_lib_posix4_sched_yield
=no
31963 rm -f conftest.err conftest.
$ac_objext \
31964 conftest
$ac_exeext conftest.
$ac_ext
31965 LIBS
=$ac_check_lib_save_LIBS
31967 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
31968 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
31969 if test $ac_cv_lib_posix4_sched_yield = yes; then
31970 cat >>confdefs.h
<<\_ACEOF
31971 #define HAVE_SCHED_YIELD 1
31973 POSIX4_LINK
=" -lposix4"
31975 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
31976 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31987 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
31988 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
31989 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
31990 echo $ECHO_N "(cached) $ECHO_C" >&6
31992 cat >conftest.
$ac_ext <<_ACEOF
31995 cat confdefs.h
>>conftest.
$ac_ext
31996 cat >>conftest.
$ac_ext <<_ACEOF
31997 /* end confdefs.h. */
31998 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
31999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32000 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32002 /* System header to define __stub macros and hopefully few prototypes,
32003 which can conflict with char pthread_attr_getschedpolicy (); below.
32004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32005 <limits.h> exists even on freestanding compilers. */
32008 # include <limits.h>
32010 # include <assert.h>
32013 #undef pthread_attr_getschedpolicy
32015 /* Override any gcc2 internal prototype to avoid an error. */
32020 /* We use char because int might match the return type of a gcc2
32021 builtin and then its argument prototype would still apply. */
32022 char pthread_attr_getschedpolicy ();
32023 /* The GNU C library defines this for functions which it implements
32024 to always fail with ENOSYS. Some functions are actually named
32025 something starting with __ and the normal name is an alias. */
32026 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32029 char (*f) () = pthread_attr_getschedpolicy;
32038 return f != pthread_attr_getschedpolicy;
32043 rm -f conftest.
$ac_objext conftest
$ac_exeext
32044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32045 (eval $ac_link) 2>conftest.er1
32047 grep -v '^ *+' conftest.er1
>conftest.err
32049 cat conftest.err
>&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); } &&
32052 { ac_try
='test -z "$ac_c_werror_flag"
32053 || test ! -s conftest.err'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; } &&
32059 { ac_try
='test -s conftest$ac_exeext'
32060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32061 (eval $ac_try) 2>&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); }; }; then
32065 ac_cv_func_pthread_attr_getschedpolicy
=yes
32067 echo "$as_me: failed program was:" >&5
32068 sed 's/^/| /' conftest.
$ac_ext >&5
32070 ac_cv_func_pthread_attr_getschedpolicy
=no
32072 rm -f conftest.err conftest.
$ac_objext \
32073 conftest
$ac_exeext conftest.
$ac_ext
32075 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32076 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32077 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32078 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32079 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32080 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32083 cat >conftest.
$ac_ext <<_ACEOF
32086 cat confdefs.h
>>conftest.
$ac_ext
32087 cat >>conftest.
$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32089 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32091 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32093 /* System header to define __stub macros and hopefully few prototypes,
32094 which can conflict with char pthread_attr_setschedparam (); below.
32095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32096 <limits.h> exists even on freestanding compilers. */
32099 # include <limits.h>
32101 # include <assert.h>
32104 #undef pthread_attr_setschedparam
32106 /* Override any gcc2 internal prototype to avoid an error. */
32111 /* We use char because int might match the return type of a gcc2
32112 builtin and then its argument prototype would still apply. */
32113 char pthread_attr_setschedparam ();
32114 /* The GNU C library defines this for functions which it implements
32115 to always fail with ENOSYS. Some functions are actually named
32116 something starting with __ and the normal name is an alias. */
32117 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32120 char (*f) () = pthread_attr_setschedparam;
32129 return f != pthread_attr_setschedparam;
32134 rm -f conftest.
$ac_objext conftest
$ac_exeext
32135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32136 (eval $ac_link) 2>conftest.er1
32138 grep -v '^ *+' conftest.er1
>conftest.err
32140 cat conftest.err
>&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); } &&
32143 { ac_try
='test -z "$ac_c_werror_flag"
32144 || test ! -s conftest.err'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; } &&
32150 { ac_try
='test -s conftest$ac_exeext'
32151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32152 (eval $ac_try) 2>&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); }; }; then
32156 ac_cv_func_pthread_attr_setschedparam
=yes
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.
$ac_ext >&5
32161 ac_cv_func_pthread_attr_setschedparam
=no
32163 rm -f conftest.err conftest.
$ac_objext \
32164 conftest
$ac_exeext conftest.
$ac_ext
32166 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32167 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32168 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32169 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32170 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32171 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32172 echo $ECHO_N "(cached) $ECHO_C" >&6
32174 cat >conftest.
$ac_ext <<_ACEOF
32177 cat confdefs.h
>>conftest.
$ac_ext
32178 cat >>conftest.
$ac_ext <<_ACEOF
32179 /* end confdefs.h. */
32180 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32182 #define sched_get_priority_max innocuous_sched_get_priority_max
32184 /* System header to define __stub macros and hopefully few prototypes,
32185 which can conflict with char sched_get_priority_max (); below.
32186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32187 <limits.h> exists even on freestanding compilers. */
32190 # include <limits.h>
32192 # include <assert.h>
32195 #undef sched_get_priority_max
32197 /* Override any gcc2 internal prototype to avoid an error. */
32202 /* We use char because int might match the return type of a gcc2
32203 builtin and then its argument prototype would still apply. */
32204 char sched_get_priority_max ();
32205 /* The GNU C library defines this for functions which it implements
32206 to always fail with ENOSYS. Some functions are actually named
32207 something starting with __ and the normal name is an alias. */
32208 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32211 char (*f) () = sched_get_priority_max;
32220 return f != sched_get_priority_max;
32225 rm -f conftest.
$ac_objext conftest
$ac_exeext
32226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32227 (eval $ac_link) 2>conftest.er1
32229 grep -v '^ *+' conftest.er1
>conftest.err
32231 cat conftest.err
>&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); } &&
32234 { ac_try
='test -z "$ac_c_werror_flag"
32235 || test ! -s conftest.err'
32236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32237 (eval $ac_try) 2>&5
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); }; } &&
32241 { ac_try
='test -s conftest$ac_exeext'
32242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32243 (eval $ac_try) 2>&5
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; }; then
32247 ac_cv_func_sched_get_priority_max
=yes
32249 echo "$as_me: failed program was:" >&5
32250 sed 's/^/| /' conftest.
$ac_ext >&5
32252 ac_cv_func_sched_get_priority_max
=no
32254 rm -f conftest.err conftest.
$ac_objext \
32255 conftest
$ac_exeext conftest.
$ac_ext
32257 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32258 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32259 if test $ac_cv_func_sched_get_priority_max = yes; then
32262 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32263 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32264 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32265 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 ac_check_lib_save_LIBS
=$LIBS
32268 LIBS
="-lposix4 $LIBS"
32269 cat >conftest.
$ac_ext <<_ACEOF
32272 cat confdefs.h
>>conftest.
$ac_ext
32273 cat >>conftest.
$ac_ext <<_ACEOF
32274 /* end confdefs.h. */
32276 /* Override any gcc2 internal prototype to avoid an error. */
32280 /* We use char because int might match the return type of a gcc2
32281 builtin and then its argument prototype would still apply. */
32282 char sched_get_priority_max ();
32286 sched_get_priority_max ();
32291 rm -f conftest.
$ac_objext conftest
$ac_exeext
32292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32293 (eval $ac_link) 2>conftest.er1
32295 grep -v '^ *+' conftest.er1
>conftest.err
32297 cat conftest.err
>&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } &&
32300 { ac_try
='test -z "$ac_c_werror_flag"
32301 || test ! -s conftest.err'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; } &&
32307 { ac_try
='test -s conftest$ac_exeext'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; }; then
32313 ac_cv_lib_posix4_sched_get_priority_max
=yes
32315 echo "$as_me: failed program was:" >&5
32316 sed 's/^/| /' conftest.
$ac_ext >&5
32318 ac_cv_lib_posix4_sched_get_priority_max
=no
32320 rm -f conftest.err conftest.
$ac_objext \
32321 conftest
$ac_exeext conftest.
$ac_ext
32322 LIBS
=$ac_check_lib_save_LIBS
32324 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32325 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32326 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32329 POSIX4_LINK
=" -lposix4"
32343 if test "$HAVE_PRIOR_FUNCS" = 1; then
32344 cat >>confdefs.h
<<\_ACEOF
32345 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32349 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32350 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32353 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32354 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32355 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32356 echo $ECHO_N "(cached) $ECHO_C" >&6
32358 cat >conftest.
$ac_ext <<_ACEOF
32361 cat confdefs.h
>>conftest.
$ac_ext
32362 cat >>conftest.
$ac_ext <<_ACEOF
32363 /* end confdefs.h. */
32364 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32366 #define pthread_cancel innocuous_pthread_cancel
32368 /* System header to define __stub macros and hopefully few prototypes,
32369 which can conflict with char pthread_cancel (); below.
32370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32371 <limits.h> exists even on freestanding compilers. */
32374 # include <limits.h>
32376 # include <assert.h>
32379 #undef pthread_cancel
32381 /* Override any gcc2 internal prototype to avoid an error. */
32386 /* We use char because int might match the return type of a gcc2
32387 builtin and then its argument prototype would still apply. */
32388 char pthread_cancel ();
32389 /* The GNU C library defines this for functions which it implements
32390 to always fail with ENOSYS. Some functions are actually named
32391 something starting with __ and the normal name is an alias. */
32392 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32395 char (*f) () = pthread_cancel;
32404 return f != pthread_cancel;
32409 rm -f conftest.
$ac_objext conftest
$ac_exeext
32410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32411 (eval $ac_link) 2>conftest.er1
32413 grep -v '^ *+' conftest.er1
>conftest.err
32415 cat conftest.err
>&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); } &&
32418 { ac_try
='test -z "$ac_c_werror_flag"
32419 || test ! -s conftest.err'
32420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32421 (eval $ac_try) 2>&5
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); }; } &&
32425 { ac_try
='test -s conftest$ac_exeext'
32426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427 (eval $ac_try) 2>&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); }; }; then
32431 ac_cv_func_pthread_cancel
=yes
32433 echo "$as_me: failed program was:" >&5
32434 sed 's/^/| /' conftest.
$ac_ext >&5
32436 ac_cv_func_pthread_cancel
=no
32438 rm -f conftest.err conftest.
$ac_objext \
32439 conftest
$ac_exeext conftest.
$ac_ext
32441 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32442 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32443 if test $ac_cv_func_pthread_cancel = yes; then
32444 cat >>confdefs.h
<<\_ACEOF
32445 #define HAVE_PTHREAD_CANCEL 1
32449 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32450 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32456 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32457 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32458 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32459 echo $ECHO_N "(cached) $ECHO_C" >&6
32462 cat >conftest.
$ac_ext <<_ACEOF
32465 cat confdefs.h
>>conftest.
$ac_ext
32466 cat >>conftest.
$ac_ext <<_ACEOF
32467 /* end confdefs.h. */
32468 #include <pthread.h>
32473 pthread_mutexattr_t attr;
32474 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32480 rm -f conftest.
$ac_objext
32481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32482 (eval $ac_compile) 2>conftest.er1
32484 grep -v '^ *+' conftest.er1
>conftest.err
32486 cat conftest.err
>&5
32487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32488 (exit $ac_status); } &&
32489 { ac_try
='test -z "$ac_c_werror_flag"
32490 || test ! -s conftest.err'
32491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492 (eval $ac_try) 2>&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; } &&
32496 { ac_try
='test -s conftest.$ac_objext'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; }; then
32503 wx_cv_type_pthread_mutexattr_t
=yes
32506 echo "$as_me: failed program was:" >&5
32507 sed 's/^/| /' conftest.
$ac_ext >&5
32510 wx_cv_type_pthread_mutexattr_t
=no
32514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32517 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32518 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32520 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32521 cat >>confdefs.h
<<\_ACEOF
32522 #define HAVE_PTHREAD_MUTEXATTR_T 1
32526 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32527 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32528 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32529 echo $ECHO_N "(cached) $ECHO_C" >&6
32532 cat >conftest.
$ac_ext <<_ACEOF
32535 cat confdefs.h
>>conftest.
$ac_ext
32536 cat >>conftest.
$ac_ext <<_ACEOF
32537 /* end confdefs.h. */
32538 #include <pthread.h>
32543 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32549 rm -f conftest.
$ac_objext
32550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32551 (eval $ac_compile) 2>conftest.er1
32553 grep -v '^ *+' conftest.er1
>conftest.err
32555 cat conftest.err
>&5
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); } &&
32558 { ac_try
='test -z "$ac_c_werror_flag"
32559 || test ! -s conftest.err'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; } &&
32565 { ac_try
='test -s conftest.$ac_objext'
32566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32567 (eval $ac_try) 2>&5
32569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32570 (exit $ac_status); }; }; then
32572 wx_cv_type_pthread_rec_mutex_init
=yes
32575 echo "$as_me: failed program was:" >&5
32576 sed 's/^/| /' conftest.
$ac_ext >&5
32579 wx_cv_type_pthread_rec_mutex_init
=no
32583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32586 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32587 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32588 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32589 cat >>confdefs.h
<<\_ACEOF
32590 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32594 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32595 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32601 if test "$wxUSE_THREADS" = "yes" ; then
32604 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32605 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32606 if test "${wx_cv_cflags_mthread+set}" = set; then
32607 echo $ECHO_N "(cached) $ECHO_C" >&6
32610 CFLAGS_OLD
="$CFLAGS"
32611 CFLAGS
="$CFLAGS -mthreads"
32612 cat >conftest.
$ac_ext <<_ACEOF
32615 cat confdefs.h
>>conftest.
$ac_ext
32616 cat >>conftest.
$ac_ext <<_ACEOF
32617 /* end confdefs.h. */
32627 rm -f conftest.
$ac_objext
32628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32629 (eval $ac_compile) 2>conftest.er1
32631 grep -v '^ *+' conftest.er1
>conftest.err
32633 cat conftest.err
>&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } &&
32636 { ac_try
='test -z "$ac_c_werror_flag"
32637 || test ! -s conftest.err'
32638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639 (eval $ac_try) 2>&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; } &&
32643 { ac_try
='test -s conftest.$ac_objext'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; }; then
32649 wx_cv_cflags_mthread
=yes
32651 echo "$as_me: failed program was:" >&5
32652 sed 's/^/| /' conftest.
$ac_ext >&5
32654 wx_cv_cflags_mthread
=no
32657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32661 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32662 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32664 if test "$wx_cv_cflags_mthread" = "yes"; then
32665 CXXFLAGS
="$CXXFLAGS -mthreads"
32666 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
32667 LDFLAGS
="$LDFLAGS -mthreads"
32669 CFLAGS
="$CFLAGS_OLD"
32673 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32674 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32675 LDFLAGS
="$LDFLAGS -Zmt"
32681 if test "$wxUSE_THREADS" = "yes"; then
32682 cat >>confdefs.h
<<\_ACEOF
32683 #define wxUSE_THREADS 1
32687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32689 if test "$ac_cv_func_strtok_r" = "yes"; then
32690 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32691 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32692 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32693 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
32694 echo "$as_me:$LINENO: result: yes" >&5
32695 echo "${ECHO_T}yes" >&6
32697 echo "$as_me:$LINENO: result: no" >&5
32698 echo "${ECHO_T}no" >&6
32703 if test "$WXGTK20" = 1 ; then
32704 cat >>confdefs.h
<<_ACEOF
32705 #define __WXGTK20__ $WXGTK20
32711 if test "$WXGTK12" = 1 ; then
32712 cat >>confdefs.h
<<_ACEOF
32713 #define __WXGTK12__ $WXGTK12
32718 if test "$WXGTK127" = 1 ; then
32719 cat >>confdefs.h
<<_ACEOF
32720 #define __WXGTK127__ $WXGTK127
32727 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32732 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32733 wxUSE_DEBUG_INFO
=yes
32737 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32738 cat >>confdefs.h
<<\_ACEOF
32742 WXDEBUG_DEFINE
="-D__WXDEBUG__"
32744 if test "$wxUSE_GTK" = 1 ; then
32745 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
32749 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32750 cat >>confdefs.h
<<\_ACEOF
32751 #define wxUSE_MEMORY_TRACING 1
32754 cat >>confdefs.h
<<\_ACEOF
32755 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32758 cat >>confdefs.h
<<\_ACEOF
32759 #define wxUSE_DEBUG_NEW_ALWAYS 1
32762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32765 if test "$wxUSE_DMALLOC" = "yes" ; then
32766 DMALLOC_LIBS
="-ldmalloc"
32770 if test "$wxUSE_PROFILE" = "yes" ; then
32775 CODE_GEN_FLAGS_CXX
=
32776 if test "$GCC" = "yes" ; then
32777 if test "$wxUSE_NO_RTTI" = "yes" ; then
32778 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
32780 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32781 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
32783 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32784 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
32789 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
32792 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
32798 if test "$wxUSE_OPTIMISE" = "no" ; then
32799 if test "$GCC" = yes ; then
32803 if test "$GCC" = yes ; then
32807 i586
-*-*|i686
-*-* )
32808 OPTIMISE
="${OPTIMISE} "
32817 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
32818 cat >>confdefs.h
<<\_ACEOF
32819 #define WXWIN_COMPATIBILITY_2_2 1
32823 WXWIN_COMPATIBILITY_2_4
="yes"
32826 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
32827 cat >>confdefs.h
<<\_ACEOF
32828 #define WXWIN_COMPATIBILITY_2_4 1
32834 if test "$wxUSE_GUI" = "yes"; then
32835 cat >>confdefs.h
<<\_ACEOF
32836 #define wxUSE_GUI 1
32841 cat >>confdefs.h
<<\_ACEOF
32842 #define wxUSE_NOGUI 1
32848 if test "$wxUSE_UNIX" = "yes"; then
32849 cat >>confdefs.h
<<\_ACEOF
32850 #define wxUSE_UNIX 1
32856 if test "$wxUSE_STL" = "yes"; then
32857 cat >>confdefs.h
<<\_ACEOF
32858 #define wxUSE_STL 1
32863 if test "$wxUSE_APPLE_IEEE" = "yes"; then
32864 cat >>confdefs.h
<<\_ACEOF
32865 #define wxUSE_APPLE_IEEE 1
32870 if test "$wxUSE_TIMER" = "yes"; then
32871 cat >>confdefs.h
<<\_ACEOF
32872 #define wxUSE_TIMER 1
32877 if test "$wxUSE_WAVE" = "yes"; then
32878 cat >>confdefs.h
<<\_ACEOF
32879 #define wxUSE_WAVE 1
32884 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32885 cat >>confdefs.h
<<\_ACEOF
32886 #define wxUSE_CMDLINE_PARSER 1
32891 if test "$wxUSE_STOPWATCH" = "yes"; then
32892 cat >>confdefs.h
<<\_ACEOF
32893 #define wxUSE_STOPWATCH 1
32898 if test "$wxUSE_DATETIME" = "yes"; then
32899 cat >>confdefs.h
<<\_ACEOF
32900 #define wxUSE_DATETIME 1
32905 if test "$wxUSE_FILE" = "yes"; then
32906 cat >>confdefs.h
<<\_ACEOF
32907 #define wxUSE_FILE 1
32912 if test "$wxUSE_FFILE" = "yes"; then
32913 cat >>confdefs.h
<<\_ACEOF
32914 #define wxUSE_FFILE 1
32919 if test "$wxUSE_FILESYSTEM" = "yes"; then
32920 cat >>confdefs.h
<<\_ACEOF
32921 #define wxUSE_FILESYSTEM 1
32926 if test "$wxUSE_FS_ZIP" = "yes"; then
32927 cat >>confdefs.h
<<\_ACEOF
32928 #define wxUSE_FS_ZIP 1
32933 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32934 cat >>confdefs.h
<<\_ACEOF
32935 #define wxUSE_ZIPSTREAM 1
32940 if test "$wxUSE_GZSTREAM" = "yes"; then
32941 cat >>confdefs.h
<<\_ACEOF
32942 #define wxUSE_GZSTREAM 1
32947 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32948 cat >>confdefs.h
<<\_ACEOF
32949 #define wxUSE_ON_FATAL_EXCEPTION 1
32954 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32955 cat >>confdefs.h
<<\_ACEOF
32956 #define wxUSE_SNGLINST_CHECKER 1
32961 if test "$wxUSE_BUSYINFO" = "yes"; then
32962 cat >>confdefs.h
<<\_ACEOF
32963 #define wxUSE_BUSYINFO 1
32968 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32969 cat >>confdefs.h
<<\_ACEOF
32970 #define wxUSE_STD_IOSTREAM 1
32975 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32976 cat >>confdefs.h
<<\_ACEOF
32977 #define wxUSE_TEXTBUFFER 1
32982 if test "$wxUSE_TEXTFILE" = "yes"; then
32983 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32984 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32985 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32987 cat >>confdefs.h
<<\_ACEOF
32988 #define wxUSE_TEXTFILE 1
32994 if test "$wxUSE_CONFIG" = "yes" ; then
32995 if test "$wxUSE_TEXTFILE" != "yes"; then
32996 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32997 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32999 cat >>confdefs.h
<<\_ACEOF
33000 #define wxUSE_CONFIG 1
33003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
33007 if test "$wxUSE_INTL" = "yes" ; then
33008 if test "$wxUSE_FILE" != "yes"; then
33009 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
33010 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
33012 cat >>confdefs.h
<<\_ACEOF
33013 #define wxUSE_INTL 1
33016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
33017 GUIDIST
="$GUIDIST INTL_DIST"
33021 if test "$wxUSE_LOG" = "yes"; then
33022 cat >>confdefs.h
<<\_ACEOF
33023 #define wxUSE_LOG 1
33027 if test "$wxUSE_LOGGUI" = "yes"; then
33028 cat >>confdefs.h
<<\_ACEOF
33029 #define wxUSE_LOGGUI 1
33034 if test "$wxUSE_LOGWINDOW" = "yes"; then
33035 cat >>confdefs.h
<<\_ACEOF
33036 #define wxUSE_LOGWINDOW 1
33041 if test "$wxUSE_LOGDIALOG" = "yes"; then
33042 cat >>confdefs.h
<<\_ACEOF
33043 #define wxUSE_LOG_DIALOG 1
33049 if test "$wxUSE_LONGLONG" = "yes"; then
33050 cat >>confdefs.h
<<\_ACEOF
33051 #define wxUSE_LONGLONG 1
33056 if test "$wxUSE_GEOMETRY" = "yes"; then
33057 cat >>confdefs.h
<<\_ACEOF
33058 #define wxUSE_GEOMETRY 1
33063 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
33064 cat >>confdefs.h
<<\_ACEOF
33065 #define wxUSE_DIALUP_MANAGER 1
33068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
33071 if test "$wxUSE_STREAMS" = "yes" ; then
33072 cat >>confdefs.h
<<\_ACEOF
33073 #define wxUSE_STREAMS 1
33079 if test "$wxUSE_DATETIME" = "yes"; then
33081 for ac_func
in strptime
33083 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33084 echo "$as_me:$LINENO: checking for $ac_func" >&5
33085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33086 if eval "test \"\${$as_ac_var+set}\" = set"; then
33087 echo $ECHO_N "(cached) $ECHO_C" >&6
33089 cat >conftest.
$ac_ext <<_ACEOF
33092 cat confdefs.h
>>conftest.
$ac_ext
33093 cat >>conftest.
$ac_ext <<_ACEOF
33094 /* end confdefs.h. */
33095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33097 #define $ac_func innocuous_$ac_func
33099 /* System header to define __stub macros and hopefully few prototypes,
33100 which can conflict with char $ac_func (); below.
33101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33102 <limits.h> exists even on freestanding compilers. */
33105 # include <limits.h>
33107 # include <assert.h>
33112 /* Override any gcc2 internal prototype to avoid an error. */
33117 /* We use char because int might match the return type of a gcc2
33118 builtin and then its argument prototype would still apply. */
33120 /* The GNU C library defines this for functions which it implements
33121 to always fail with ENOSYS. Some functions are actually named
33122 something starting with __ and the normal name is an alias. */
33123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33126 char (*f) () = $ac_func;
33135 return f != $ac_func;
33140 rm -f conftest.
$ac_objext conftest
$ac_exeext
33141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33142 (eval $ac_link) 2>conftest.er1
33144 grep -v '^ *+' conftest.er1
>conftest.err
33146 cat conftest.err
>&5
33147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33148 (exit $ac_status); } &&
33149 { ac_try
='test -z "$ac_c_werror_flag"
33150 || test ! -s conftest.err'
33151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33152 (eval $ac_try) 2>&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); }; } &&
33156 { ac_try
='test -s conftest$ac_exeext'
33157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33158 (eval $ac_try) 2>&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); }; }; then
33162 eval "$as_ac_var=yes"
33164 echo "$as_me: failed program was:" >&5
33165 sed 's/^/| /' conftest.
$ac_ext >&5
33167 eval "$as_ac_var=no"
33169 rm -f conftest.err conftest.
$ac_objext \
33170 conftest
$ac_exeext conftest.
$ac_ext
33172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33174 if test `eval echo '${'$as_ac_var'}'` = yes; then
33175 cat >>confdefs.h
<<_ACEOF
33176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33183 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
33184 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
33185 if test "${wx_cv_var_timezone+set}" = set; then
33186 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 cat >conftest.
$ac_ext <<_ACEOF
33192 cat confdefs.h
>>conftest.
$ac_ext
33193 cat >>conftest.
$ac_ext <<_ACEOF
33194 /* end confdefs.h. */
33209 rm -f conftest.
$ac_objext
33210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33211 (eval $ac_compile) 2>conftest.er1
33213 grep -v '^ *+' conftest.er1
>conftest.err
33215 cat conftest.err
>&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); } &&
33218 { ac_try
='test -z "$ac_c_werror_flag"
33219 || test ! -s conftest.err'
33220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33221 (eval $ac_try) 2>&5
33223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224 (exit $ac_status); }; } &&
33225 { ac_try
='test -s conftest.$ac_objext'
33226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33227 (eval $ac_try) 2>&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); }; }; then
33232 wx_cv_var_timezone
=timezone
33235 echo "$as_me: failed program was:" >&5
33236 sed 's/^/| /' conftest.
$ac_ext >&5
33239 cat >conftest.
$ac_ext <<_ACEOF
33242 cat confdefs.h
>>conftest.
$ac_ext
33243 cat >>conftest.
$ac_ext <<_ACEOF
33244 /* end confdefs.h. */
33259 rm -f conftest.
$ac_objext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33261 (eval $ac_compile) 2>conftest.er1
33263 grep -v '^ *+' conftest.er1
>conftest.err
33265 cat conftest.err
>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try
='test -z "$ac_c_werror_flag"
33269 || test ! -s conftest.err'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; } &&
33275 { ac_try
='test -s conftest.$ac_objext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33282 wx_cv_var_timezone
=_timezone
33285 echo "$as_me: failed program was:" >&5
33286 sed 's/^/| /' conftest.
$ac_ext >&5
33289 cat >conftest.
$ac_ext <<_ACEOF
33292 cat confdefs.h
>>conftest.
$ac_ext
33293 cat >>conftest.
$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33309 rm -f conftest.
$ac_objext
33310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33311 (eval $ac_compile) 2>conftest.er1
33313 grep -v '^ *+' conftest.er1
>conftest.err
33315 cat conftest.err
>&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); } &&
33318 { ac_try
='test -z "$ac_c_werror_flag"
33319 || test ! -s conftest.err'
33320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33321 (eval $ac_try) 2>&5
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); }; } &&
33325 { ac_try
='test -s conftest.$ac_objext'
33326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33327 (eval $ac_try) 2>&5
33329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330 (exit $ac_status); }; }; then
33332 wx_cv_var_timezone
=__timezone
33335 echo "$as_me: failed program was:" >&5
33336 sed 's/^/| /' conftest.
$ac_ext >&5
33339 if test "$USE_DOS" = 0 ; then
33340 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
33341 echo "$as_me: WARNING: no timezone variable" >&2;}
33346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33358 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
33359 echo "${ECHO_T}$wx_cv_var_timezone" >&6
33361 if test "x$wx_cv_var_timezone" != x
; then
33362 cat >>confdefs.h
<<_ACEOF
33363 #define WX_TIMEZONE $wx_cv_var_timezone
33369 for ac_func
in localtime
33371 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33372 echo "$as_me:$LINENO: checking for $ac_func" >&5
33373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33374 if eval "test \"\${$as_ac_var+set}\" = set"; then
33375 echo $ECHO_N "(cached) $ECHO_C" >&6
33377 cat >conftest.
$ac_ext <<_ACEOF
33380 cat confdefs.h
>>conftest.
$ac_ext
33381 cat >>conftest.
$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33385 #define $ac_func innocuous_$ac_func
33387 /* System header to define __stub macros and hopefully few prototypes,
33388 which can conflict with char $ac_func (); below.
33389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33390 <limits.h> exists even on freestanding compilers. */
33393 # include <limits.h>
33395 # include <assert.h>
33400 /* Override any gcc2 internal prototype to avoid an error. */
33405 /* We use char because int might match the return type of a gcc2
33406 builtin and then its argument prototype would still apply. */
33408 /* The GNU C library defines this for functions which it implements
33409 to always fail with ENOSYS. Some functions are actually named
33410 something starting with __ and the normal name is an alias. */
33411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33414 char (*f) () = $ac_func;
33423 return f != $ac_func;
33428 rm -f conftest.
$ac_objext conftest
$ac_exeext
33429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33430 (eval $ac_link) 2>conftest.er1
33432 grep -v '^ *+' conftest.er1
>conftest.err
33434 cat conftest.err
>&5
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); } &&
33437 { ac_try
='test -z "$ac_c_werror_flag"
33438 || test ! -s conftest.err'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; } &&
33444 { ac_try
='test -s conftest$ac_exeext'
33445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33446 (eval $ac_try) 2>&5
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); }; }; then
33450 eval "$as_ac_var=yes"
33452 echo "$as_me: failed program was:" >&5
33453 sed 's/^/| /' conftest.
$ac_ext >&5
33455 eval "$as_ac_var=no"
33457 rm -f conftest.err conftest.
$ac_objext \
33458 conftest
$ac_exeext conftest.
$ac_ext
33460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33462 if test `eval echo '${'$as_ac_var'}'` = yes; then
33463 cat >>confdefs.h
<<_ACEOF
33464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33471 if test "$ac_cv_func_localtime" = "yes"; then
33472 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
33473 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
33474 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
33475 echo $ECHO_N "(cached) $ECHO_C" >&6
33478 cat >conftest.
$ac_ext <<_ACEOF
33481 cat confdefs.h
>>conftest.
$ac_ext
33482 cat >>conftest.
$ac_ext <<_ACEOF
33483 /* end confdefs.h. */
33498 rm -f conftest.
$ac_objext
33499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33500 (eval $ac_compile) 2>conftest.er1
33502 grep -v '^ *+' conftest.er1
>conftest.err
33504 cat conftest.err
>&5
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); } &&
33507 { ac_try
='test -z "$ac_c_werror_flag"
33508 || test ! -s conftest.err'
33509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33510 (eval $ac_try) 2>&5
33512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513 (exit $ac_status); }; } &&
33514 { ac_try
='test -s conftest.$ac_objext'
33515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33516 (eval $ac_try) 2>&5
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); }; }; then
33521 wx_cv_struct_tm_has_gmtoff
=yes
33524 echo "$as_me: failed program was:" >&5
33525 sed 's/^/| /' conftest.
$ac_ext >&5
33527 wx_cv_struct_tm_has_gmtoff
=no
33530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33533 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
33534 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
33537 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
33538 cat >>confdefs.h
<<\_ACEOF
33539 #define WX_GMTOFF_IN_TM 1
33546 for ac_func
in gettimeofday ftime
33548 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33549 echo "$as_me:$LINENO: checking for $ac_func" >&5
33550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33551 if eval "test \"\${$as_ac_var+set}\" = set"; then
33552 echo $ECHO_N "(cached) $ECHO_C" >&6
33554 cat >conftest.
$ac_ext <<_ACEOF
33557 cat confdefs.h
>>conftest.
$ac_ext
33558 cat >>conftest.
$ac_ext <<_ACEOF
33559 /* end confdefs.h. */
33560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33562 #define $ac_func innocuous_$ac_func
33564 /* System header to define __stub macros and hopefully few prototypes,
33565 which can conflict with char $ac_func (); below.
33566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33567 <limits.h> exists even on freestanding compilers. */
33570 # include <limits.h>
33572 # include <assert.h>
33577 /* Override any gcc2 internal prototype to avoid an error. */
33582 /* We use char because int might match the return type of a gcc2
33583 builtin and then its argument prototype would still apply. */
33585 /* The GNU C library defines this for functions which it implements
33586 to always fail with ENOSYS. Some functions are actually named
33587 something starting with __ and the normal name is an alias. */
33588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33591 char (*f) () = $ac_func;
33600 return f != $ac_func;
33605 rm -f conftest.
$ac_objext conftest
$ac_exeext
33606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33607 (eval $ac_link) 2>conftest.er1
33609 grep -v '^ *+' conftest.er1
>conftest.err
33611 cat conftest.err
>&5
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); } &&
33614 { ac_try
='test -z "$ac_c_werror_flag"
33615 || test ! -s conftest.err'
33616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33617 (eval $ac_try) 2>&5
33619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620 (exit $ac_status); }; } &&
33621 { ac_try
='test -s conftest$ac_exeext'
33622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33623 (eval $ac_try) 2>&5
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); }; }; then
33627 eval "$as_ac_var=yes"
33629 echo "$as_me: failed program was:" >&5
33630 sed 's/^/| /' conftest.
$ac_ext >&5
33632 eval "$as_ac_var=no"
33634 rm -f conftest.err conftest.
$ac_objext \
33635 conftest
$ac_exeext conftest.
$ac_ext
33637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33639 if test `eval echo '${'$as_ac_var'}'` = yes; then
33640 cat >>confdefs.h
<<_ACEOF
33641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33648 if test "$ac_cv_func_gettimeofday" = "yes"; then
33649 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
33650 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
33651 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
33652 echo $ECHO_N "(cached) $ECHO_C" >&6
33658 ac_cpp
='$CXXCPP $CPPFLAGS'
33659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33664 cat >conftest.
$ac_ext <<_ACEOF
33667 cat confdefs.h
>>conftest.
$ac_ext
33668 cat >>conftest.
$ac_ext <<_ACEOF
33669 /* end confdefs.h. */
33671 #include <sys/time.h>
33672 #include <unistd.h>
33679 gettimeofday(&tv, NULL);
33685 rm -f conftest.
$ac_objext
33686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33687 (eval $ac_compile) 2>conftest.er1
33689 grep -v '^ *+' conftest.er1
>conftest.err
33691 cat conftest.err
>&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } &&
33694 { ac_try
='test -z "$ac_cxx_werror_flag"
33695 || test ! -s conftest.err'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; } &&
33701 { ac_try
='test -s conftest.$ac_objext'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; }; then
33707 wx_cv_func_gettimeofday_has_2_args
=yes
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.
$ac_ext >&5
33712 cat >conftest.
$ac_ext <<_ACEOF
33715 cat confdefs.h
>>conftest.
$ac_ext
33716 cat >>conftest.
$ac_ext <<_ACEOF
33717 /* end confdefs.h. */
33719 #include <sys/time.h>
33720 #include <unistd.h>
33733 rm -f conftest.
$ac_objext
33734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33735 (eval $ac_compile) 2>conftest.er1
33737 grep -v '^ *+' conftest.er1
>conftest.err
33739 cat conftest.err
>&5
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); } &&
33742 { ac_try
='test -z "$ac_cxx_werror_flag"
33743 || test ! -s conftest.err'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; } &&
33749 { ac_try
='test -s conftest.$ac_objext'
33750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33751 (eval $ac_try) 2>&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); }; }; then
33755 wx_cv_func_gettimeofday_has_2_args
=no
33757 echo "$as_me: failed program was:" >&5
33758 sed 's/^/| /' conftest.
$ac_ext >&5
33761 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
33762 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
33763 wx_cv_func_gettimeofday_has_2_args
=unknown
33767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33772 ac_cpp
='$CPP $CPPFLAGS'
33773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33779 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
33780 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
33782 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
33783 cat >>confdefs.h
<<\_ACEOF
33784 #define WX_GETTIMEOFDAY_NO_TZ 1
33790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
33794 if test "$wxUSE_SOCKETS" = "yes"; then
33795 if test "$wxUSE_MGL" = "1"; then
33796 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
33797 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
33802 if test "$wxUSE_SOCKETS" = "yes"; then
33803 if test "$TOOLKIT" != "MSW"; then
33804 echo "$as_me:$LINENO: checking for socket" >&5
33805 echo $ECHO_N "checking for socket... $ECHO_C" >&6
33806 if test "${ac_cv_func_socket+set}" = set; then
33807 echo $ECHO_N "(cached) $ECHO_C" >&6
33809 cat >conftest.
$ac_ext <<_ACEOF
33812 cat confdefs.h
>>conftest.
$ac_ext
33813 cat >>conftest.
$ac_ext <<_ACEOF
33814 /* end confdefs.h. */
33815 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
33816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33817 #define socket innocuous_socket
33819 /* System header to define __stub macros and hopefully few prototypes,
33820 which can conflict with char socket (); below.
33821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33822 <limits.h> exists even on freestanding compilers. */
33825 # include <limits.h>
33827 # include <assert.h>
33832 /* Override any gcc2 internal prototype to avoid an error. */
33837 /* We use char because int might match the return type of a gcc2
33838 builtin and then its argument prototype would still apply. */
33840 /* The GNU C library defines this for functions which it implements
33841 to always fail with ENOSYS. Some functions are actually named
33842 something starting with __ and the normal name is an alias. */
33843 #if defined (__stub_socket) || defined (__stub___socket)
33846 char (*f) () = socket;
33855 return f != socket;
33860 rm -f conftest.
$ac_objext conftest
$ac_exeext
33861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33862 (eval $ac_link) 2>conftest.er1
33864 grep -v '^ *+' conftest.er1
>conftest.err
33866 cat conftest.err
>&5
33867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868 (exit $ac_status); } &&
33869 { ac_try
='test -z "$ac_c_werror_flag"
33870 || test ! -s conftest.err'
33871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33872 (eval $ac_try) 2>&5
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; } &&
33876 { ac_try
='test -s conftest$ac_exeext'
33877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33878 (eval $ac_try) 2>&5
33880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881 (exit $ac_status); }; }; then
33882 ac_cv_func_socket
=yes
33884 echo "$as_me: failed program was:" >&5
33885 sed 's/^/| /' conftest.
$ac_ext >&5
33887 ac_cv_func_socket
=no
33889 rm -f conftest.err conftest.
$ac_objext \
33890 conftest
$ac_exeext conftest.
$ac_ext
33892 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
33893 echo "${ECHO_T}$ac_cv_func_socket" >&6
33894 if test $ac_cv_func_socket = yes; then
33898 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
33899 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
33900 if test "${ac_cv_lib_socket_socket+set}" = set; then
33901 echo $ECHO_N "(cached) $ECHO_C" >&6
33903 ac_check_lib_save_LIBS
=$LIBS
33904 LIBS
="-lsocket $LIBS"
33905 cat >conftest.
$ac_ext <<_ACEOF
33908 cat confdefs.h
>>conftest.
$ac_ext
33909 cat >>conftest.
$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33912 /* Override any gcc2 internal prototype to avoid an error. */
33916 /* We use char because int might match the return type of a gcc2
33917 builtin and then its argument prototype would still apply. */
33927 rm -f conftest.
$ac_objext conftest
$ac_exeext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33929 (eval $ac_link) 2>conftest.er1
33931 grep -v '^ *+' conftest.er1
>conftest.err
33933 cat conftest.err
>&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); } &&
33936 { ac_try
='test -z "$ac_c_werror_flag"
33937 || test ! -s conftest.err'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; } &&
33943 { ac_try
='test -s conftest$ac_exeext'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; }; then
33949 ac_cv_lib_socket_socket
=yes
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.
$ac_ext >&5
33954 ac_cv_lib_socket_socket
=no
33956 rm -f conftest.err conftest.
$ac_objext \
33957 conftest
$ac_exeext conftest.
$ac_ext
33958 LIBS
=$ac_check_lib_save_LIBS
33960 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
33961 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
33962 if test $ac_cv_lib_socket_socket = yes; then
33963 if test "$INET_LINK" != " -lsocket"; then
33964 INET_LINK
="$INET_LINK -lsocket"
33968 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
33969 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
33982 if test "$wxUSE_SOCKETS" = "yes" ; then
33983 if test "$TOOLKIT" != "MSW"; then
33984 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
33985 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
33986 if test "${wx_cv_type_getsockname3+set}" = set; then
33987 echo $ECHO_N "(cached) $ECHO_C" >&6
33990 cat >conftest.
$ac_ext <<_ACEOF
33993 cat confdefs.h
>>conftest.
$ac_ext
33994 cat >>conftest.
$ac_ext <<_ACEOF
33995 /* end confdefs.h. */
33997 #include <sys/types.h>
33998 #include <sys/socket.h>
34005 getsockname(0, 0, &len);
34011 rm -f conftest.
$ac_objext
34012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34013 (eval $ac_compile) 2>conftest.er1
34015 grep -v '^ *+' conftest.er1
>conftest.err
34017 cat conftest.err
>&5
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); } &&
34020 { ac_try
='test -z "$ac_c_werror_flag"
34021 || test ! -s conftest.err'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try
='test -s conftest.$ac_objext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 wx_cv_type_getsockname3
=socklen_t
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.
$ac_ext >&5
34039 CFLAGS_OLD
="$CFLAGS"
34040 if test "$GCC" = yes ; then
34041 CFLAGS
="$CFLAGS -Werror"
34044 cat >conftest.
$ac_ext <<_ACEOF
34047 cat confdefs.h
>>conftest.
$ac_ext
34048 cat >>conftest.
$ac_ext <<_ACEOF
34049 /* end confdefs.h. */
34051 #include <sys/types.h>
34052 #include <sys/socket.h>
34059 getsockname(0, 0, &len);
34065 rm -f conftest.
$ac_objext
34066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34067 (eval $ac_compile) 2>conftest.er1
34069 grep -v '^ *+' conftest.er1
>conftest.err
34071 cat conftest.err
>&5
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); } &&
34074 { ac_try
='test -z "$ac_c_werror_flag"
34075 || test ! -s conftest.err'
34076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077 (eval $ac_try) 2>&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); }; } &&
34081 { ac_try
='test -s conftest.$ac_objext'
34082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34083 (eval $ac_try) 2>&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); }; }; then
34087 wx_cv_type_getsockname3
=size_t
34089 echo "$as_me: failed program was:" >&5
34090 sed 's/^/| /' conftest.
$ac_ext >&5
34092 cat >conftest.
$ac_ext <<_ACEOF
34095 cat confdefs.h
>>conftest.
$ac_ext
34096 cat >>conftest.
$ac_ext <<_ACEOF
34097 /* end confdefs.h. */
34099 #include <sys/types.h>
34100 #include <sys/socket.h>
34107 getsockname(0, 0, &len);
34113 rm -f conftest.
$ac_objext
34114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34115 (eval $ac_compile) 2>conftest.er1
34117 grep -v '^ *+' conftest.er1
>conftest.err
34119 cat conftest.err
>&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } &&
34122 { ac_try
='test -z "$ac_c_werror_flag"
34123 || test ! -s conftest.err'
34124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34125 (eval $ac_try) 2>&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); }; } &&
34129 { ac_try
='test -s conftest.$ac_objext'
34130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34131 (eval $ac_try) 2>&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); }; }; then
34135 wx_cv_type_getsockname3
=int
34137 echo "$as_me: failed program was:" >&5
34138 sed 's/^/| /' conftest.
$ac_ext >&5
34140 wx_cv_type_getsockname3
=unknown
34143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34148 CFLAGS
="$CFLAGS_OLD"
34152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34155 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
34156 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
34158 if test "$wx_cv_type_getsockname3" = "unknown"; then
34160 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
34161 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34163 cat >>confdefs.h
<<_ACEOF
34164 #define SOCKLEN_T $wx_cv_type_getsockname3
34171 if test "$wxUSE_SOCKETS" = "yes" ; then
34172 cat >>confdefs.h
<<\_ACEOF
34173 #define wxUSE_SOCKETS 1
34176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
34179 if test "$wxUSE_PROTOCOL" = "yes"; then
34180 if test "$wxUSE_SOCKETS" != "yes"; then
34181 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
34182 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
34187 if test "$wxUSE_PROTOCOL" = "yes"; then
34188 cat >>confdefs.h
<<\_ACEOF
34189 #define wxUSE_PROTOCOL 1
34193 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
34194 cat >>confdefs.h
<<\_ACEOF
34195 #define wxUSE_PROTOCOL_HTTP 1
34199 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
34200 cat >>confdefs.h
<<\_ACEOF
34201 #define wxUSE_PROTOCOL_FTP 1
34205 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
34206 cat >>confdefs.h
<<\_ACEOF
34207 #define wxUSE_PROTOCOL_FILE 1
34212 if test "$wxUSE_FS_INET" = "yes"; then
34213 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
34214 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
34219 if test "$wxUSE_URL" = "yes"; then
34220 if test "$wxUSE_PROTOCOL" != "yes"; then
34221 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
34222 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
34225 if test "$wxUSE_URL" = "yes"; then
34226 cat >>confdefs.h
<<\_ACEOF
34227 #define wxUSE_URL 1
34233 if test "$wxUSE_FS_INET" = "yes"; then
34234 cat >>confdefs.h
<<\_ACEOF
34235 #define wxUSE_FS_INET 1
34241 if test "$wxUSE_GUI" = "yes"; then
34243 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
34244 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
34245 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
34249 if test "$TOOLKIT" != "MSW"; then
34250 if test "$wxUSE_JOYSTICK" = "yes"; then
34252 for ac_header
in linux
/joystick.h
34254 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34256 echo "$as_me:$LINENO: checking for $ac_header" >&5
34257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34264 # Is the header compilable?
34265 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34267 cat >conftest.
$ac_ext <<_ACEOF
34270 cat confdefs.h
>>conftest.
$ac_ext
34271 cat >>conftest.
$ac_ext <<_ACEOF
34272 /* end confdefs.h. */
34273 $ac_includes_default
34274 #include <$ac_header>
34276 rm -f conftest.
$ac_objext
34277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34278 (eval $ac_compile) 2>conftest.er1
34280 grep -v '^ *+' conftest.er1
>conftest.err
34282 cat conftest.err
>&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); } &&
34285 { ac_try
='test -z "$ac_c_werror_flag"
34286 || test ! -s conftest.err'
34287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34288 (eval $ac_try) 2>&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); }; } &&
34292 { ac_try
='test -s conftest.$ac_objext'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; }; then
34298 ac_header_compiler
=yes
34300 echo "$as_me: failed program was:" >&5
34301 sed 's/^/| /' conftest.
$ac_ext >&5
34303 ac_header_compiler
=no
34305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34307 echo "${ECHO_T}$ac_header_compiler" >&6
34309 # Is the header present?
34310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34312 cat >conftest.
$ac_ext <<_ACEOF
34315 cat confdefs.h
>>conftest.
$ac_ext
34316 cat >>conftest.
$ac_ext <<_ACEOF
34317 /* end confdefs.h. */
34318 #include <$ac_header>
34320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34323 grep -v '^ *+' conftest.er1
>conftest.err
34325 cat conftest.err
>&5
34326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34327 (exit $ac_status); } >/dev
/null
; then
34328 if test -s conftest.err
; then
34329 ac_cpp_err
=$ac_c_preproc_warn_flag
34330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34337 if test -z "$ac_cpp_err"; then
34338 ac_header_preproc
=yes
34340 echo "$as_me: failed program was:" >&5
34341 sed 's/^/| /' conftest.
$ac_ext >&5
34343 ac_header_preproc
=no
34345 rm -f conftest.err conftest.
$ac_ext
34346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34347 echo "${ECHO_T}$ac_header_preproc" >&6
34349 # So? What about this header?
34350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34356 ac_header_preproc
=yes
34359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34373 ## ----------------------------------------- ##
34374 ## Report this to wx-dev@lists.wxwindows.org ##
34375 ## ----------------------------------------- ##
34378 sed "s/^/$as_me: WARNING: /" >&2
34381 echo "$as_me:$LINENO: checking for $ac_header" >&5
34382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34386 eval "$as_ac_Header=\$ac_header_preproc"
34388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34393 cat >>confdefs.h
<<_ACEOF
34394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34401 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
34403 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
34404 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
34409 if test "$wxUSE_JOYSTICK" = "yes"; then
34410 cat >>confdefs.h
<<\_ACEOF
34411 #define wxUSE_JOYSTICK 1
34414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
34419 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34423 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34424 if test "$USE_DARWIN" = 1; then
34428 for ac_func
in dlopen
34430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34431 echo "$as_me:$LINENO: checking for $ac_func" >&5
34432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34433 if eval "test \"\${$as_ac_var+set}\" = set"; then
34434 echo $ECHO_N "(cached) $ECHO_C" >&6
34436 cat >conftest.
$ac_ext <<_ACEOF
34439 cat confdefs.h
>>conftest.
$ac_ext
34440 cat >>conftest.
$ac_ext <<_ACEOF
34441 /* end confdefs.h. */
34442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34444 #define $ac_func innocuous_$ac_func
34446 /* System header to define __stub macros and hopefully few prototypes,
34447 which can conflict with char $ac_func (); below.
34448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34449 <limits.h> exists even on freestanding compilers. */
34452 # include <limits.h>
34454 # include <assert.h>
34459 /* Override any gcc2 internal prototype to avoid an error. */
34464 /* We use char because int might match the return type of a gcc2
34465 builtin and then its argument prototype would still apply. */
34467 /* The GNU C library defines this for functions which it implements
34468 to always fail with ENOSYS. Some functions are actually named
34469 something starting with __ and the normal name is an alias. */
34470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34473 char (*f) () = $ac_func;
34482 return f != $ac_func;
34487 rm -f conftest.
$ac_objext conftest
$ac_exeext
34488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34489 (eval $ac_link) 2>conftest.er1
34491 grep -v '^ *+' conftest.er1
>conftest.err
34493 cat conftest.err
>&5
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); } &&
34496 { ac_try
='test -z "$ac_c_werror_flag"
34497 || test ! -s conftest.err'
34498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34499 (eval $ac_try) 2>&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; } &&
34503 { ac_try
='test -s conftest$ac_exeext'
34504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34505 (eval $ac_try) 2>&5
34507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508 (exit $ac_status); }; }; then
34509 eval "$as_ac_var=yes"
34511 echo "$as_me: failed program was:" >&5
34512 sed 's/^/| /' conftest.
$ac_ext >&5
34514 eval "$as_ac_var=no"
34516 rm -f conftest.err conftest.
$ac_objext \
34517 conftest
$ac_exeext conftest.
$ac_ext
34519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34521 if test `eval echo '${'$as_ac_var'}'` = yes; then
34522 cat >>confdefs.h
<<_ACEOF
34523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34526 cat >>confdefs.h
<<\_ACEOF
34527 #define HAVE_DLOPEN 1
34534 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34535 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34536 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34537 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 ac_check_lib_save_LIBS
=$LIBS
34541 cat >conftest.
$ac_ext <<_ACEOF
34544 cat confdefs.h
>>conftest.
$ac_ext
34545 cat >>conftest.
$ac_ext <<_ACEOF
34546 /* end confdefs.h. */
34548 /* Override any gcc2 internal prototype to avoid an error. */
34552 /* We use char because int might match the return type of a gcc2
34553 builtin and then its argument prototype would still apply. */
34563 rm -f conftest.
$ac_objext conftest
$ac_exeext
34564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34565 (eval $ac_link) 2>conftest.er1
34567 grep -v '^ *+' conftest.er1
>conftest.err
34569 cat conftest.err
>&5
34570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 (exit $ac_status); } &&
34572 { ac_try
='test -z "$ac_c_werror_flag"
34573 || test ! -s conftest.err'
34574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34575 (eval $ac_try) 2>&5
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); }; } &&
34579 { ac_try
='test -s conftest$ac_exeext'
34580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34581 (eval $ac_try) 2>&5
34583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34584 (exit $ac_status); }; }; then
34585 ac_cv_lib_dl_dlopen
=yes
34587 echo "$as_me: failed program was:" >&5
34588 sed 's/^/| /' conftest.
$ac_ext >&5
34590 ac_cv_lib_dl_dlopen
=no
34592 rm -f conftest.err conftest.
$ac_objext \
34593 conftest
$ac_exeext conftest.
$ac_ext
34594 LIBS
=$ac_check_lib_save_LIBS
34596 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34597 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34598 if test $ac_cv_lib_dl_dlopen = yes; then
34600 cat >>confdefs.h
<<\_ACEOF
34601 #define HAVE_DLOPEN 1
34605 DL_LINK
=" -ldl$DL_LINK"
34610 for ac_func
in shl_load
34612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34613 echo "$as_me:$LINENO: checking for $ac_func" >&5
34614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34615 if eval "test \"\${$as_ac_var+set}\" = set"; then
34616 echo $ECHO_N "(cached) $ECHO_C" >&6
34618 cat >conftest.
$ac_ext <<_ACEOF
34621 cat confdefs.h
>>conftest.
$ac_ext
34622 cat >>conftest.
$ac_ext <<_ACEOF
34623 /* end confdefs.h. */
34624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34626 #define $ac_func innocuous_$ac_func
34628 /* System header to define __stub macros and hopefully few prototypes,
34629 which can conflict with char $ac_func (); below.
34630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34631 <limits.h> exists even on freestanding compilers. */
34634 # include <limits.h>
34636 # include <assert.h>
34641 /* Override any gcc2 internal prototype to avoid an error. */
34646 /* We use char because int might match the return type of a gcc2
34647 builtin and then its argument prototype would still apply. */
34649 /* The GNU C library defines this for functions which it implements
34650 to always fail with ENOSYS. Some functions are actually named
34651 something starting with __ and the normal name is an alias. */
34652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34655 char (*f) () = $ac_func;
34664 return f != $ac_func;
34669 rm -f conftest.
$ac_objext conftest
$ac_exeext
34670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34671 (eval $ac_link) 2>conftest.er1
34673 grep -v '^ *+' conftest.er1
>conftest.err
34675 cat conftest.err
>&5
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } &&
34678 { ac_try
='test -z "$ac_c_werror_flag"
34679 || test ! -s conftest.err'
34680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34681 (eval $ac_try) 2>&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); }; } &&
34685 { ac_try
='test -s conftest$ac_exeext'
34686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34687 (eval $ac_try) 2>&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); }; }; then
34691 eval "$as_ac_var=yes"
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.
$ac_ext >&5
34696 eval "$as_ac_var=no"
34698 rm -f conftest.err conftest.
$ac_objext \
34699 conftest
$ac_exeext conftest.
$ac_ext
34701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34703 if test `eval echo '${'$as_ac_var'}'` = yes; then
34704 cat >>confdefs.h
<<_ACEOF
34705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34708 cat >>confdefs.h
<<\_ACEOF
34709 #define HAVE_SHL_LOAD 1
34716 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34717 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34718 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34719 echo $ECHO_N "(cached) $ECHO_C" >&6
34721 ac_check_lib_save_LIBS
=$LIBS
34722 LIBS
="-lshl_load $LIBS"
34723 cat >conftest.
$ac_ext <<_ACEOF
34726 cat confdefs.h
>>conftest.
$ac_ext
34727 cat >>conftest.
$ac_ext <<_ACEOF
34728 /* end confdefs.h. */
34730 /* Override any gcc2 internal prototype to avoid an error. */
34734 /* We use char because int might match the return type of a gcc2
34735 builtin and then its argument prototype would still apply. */
34745 rm -f conftest.
$ac_objext conftest
$ac_exeext
34746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34747 (eval $ac_link) 2>conftest.er1
34749 grep -v '^ *+' conftest.er1
>conftest.err
34751 cat conftest.err
>&5
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); } &&
34754 { ac_try
='test -z "$ac_c_werror_flag"
34755 || test ! -s conftest.err'
34756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34757 (eval $ac_try) 2>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); }; } &&
34761 { ac_try
='test -s conftest$ac_exeext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 ac_cv_lib_shl_load_dld
=yes
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.
$ac_ext >&5
34772 ac_cv_lib_shl_load_dld
=no
34774 rm -f conftest.err conftest.
$ac_objext \
34775 conftest
$ac_exeext conftest.
$ac_ext
34776 LIBS
=$ac_check_lib_save_LIBS
34778 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34779 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34780 if test $ac_cv_lib_shl_load_dld = yes; then
34783 DL_LINK
=" -ldld$DL_LINK"
34799 if test "$HAVE_DL_FUNCS" = 1; then
34801 for ac_func
in dlerror
34803 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34804 echo "$as_me:$LINENO: checking for $ac_func" >&5
34805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34806 if eval "test \"\${$as_ac_var+set}\" = set"; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 cat >conftest.
$ac_ext <<_ACEOF
34812 cat confdefs.h
>>conftest.
$ac_ext
34813 cat >>conftest.
$ac_ext <<_ACEOF
34814 /* end confdefs.h. */
34815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34817 #define $ac_func innocuous_$ac_func
34819 /* System header to define __stub macros and hopefully few prototypes,
34820 which can conflict with char $ac_func (); below.
34821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34822 <limits.h> exists even on freestanding compilers. */
34825 # include <limits.h>
34827 # include <assert.h>
34832 /* Override any gcc2 internal prototype to avoid an error. */
34837 /* We use char because int might match the return type of a gcc2
34838 builtin and then its argument prototype would still apply. */
34840 /* The GNU C library defines this for functions which it implements
34841 to always fail with ENOSYS. Some functions are actually named
34842 something starting with __ and the normal name is an alias. */
34843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34846 char (*f) () = $ac_func;
34855 return f != $ac_func;
34860 rm -f conftest.
$ac_objext conftest
$ac_exeext
34861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34862 (eval $ac_link) 2>conftest.er1
34864 grep -v '^ *+' conftest.er1
>conftest.err
34866 cat conftest.err
>&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); } &&
34869 { ac_try
='test -z "$ac_c_werror_flag"
34870 || test ! -s conftest.err'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; } &&
34876 { ac_try
='test -s conftest$ac_exeext'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }; then
34882 eval "$as_ac_var=yes"
34884 echo "$as_me: failed program was:" >&5
34885 sed 's/^/| /' conftest.
$ac_ext >&5
34887 eval "$as_ac_var=no"
34889 rm -f conftest.err conftest.
$ac_objext \
34890 conftest
$ac_exeext conftest.
$ac_ext
34892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34894 if test `eval echo '${'$as_ac_var'}'` = yes; then
34895 cat >>confdefs.h
<<_ACEOF
34896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34898 cat >>confdefs.h
<<\_ACEOF
34899 #define HAVE_DLERROR 1
34904 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34905 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34906 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34907 echo $ECHO_N "(cached) $ECHO_C" >&6
34909 ac_check_lib_save_LIBS
=$LIBS
34911 cat >conftest.
$ac_ext <<_ACEOF
34914 cat confdefs.h
>>conftest.
$ac_ext
34915 cat >>conftest.
$ac_ext <<_ACEOF
34916 /* end confdefs.h. */
34918 /* Override any gcc2 internal prototype to avoid an error. */
34922 /* We use char because int might match the return type of a gcc2
34923 builtin and then its argument prototype would still apply. */
34933 rm -f conftest.
$ac_objext conftest
$ac_exeext
34934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34935 (eval $ac_link) 2>conftest.er1
34937 grep -v '^ *+' conftest.er1
>conftest.err
34939 cat conftest.err
>&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); } &&
34942 { ac_try
='test -z "$ac_c_werror_flag"
34943 || test ! -s conftest.err'
34944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34945 (eval $ac_try) 2>&5
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); }; } &&
34949 { ac_try
='test -s conftest$ac_exeext'
34950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34951 (eval $ac_try) 2>&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); }; }; then
34955 ac_cv_lib_dl_dlerror
=yes
34957 echo "$as_me: failed program was:" >&5
34958 sed 's/^/| /' conftest.
$ac_ext >&5
34960 ac_cv_lib_dl_dlerror
=no
34962 rm -f conftest.err conftest.
$ac_objext \
34963 conftest
$ac_exeext conftest.
$ac_ext
34964 LIBS
=$ac_check_lib_save_LIBS
34966 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34967 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34968 if test $ac_cv_lib_dl_dlerror = yes; then
34969 cat >>confdefs.h
<<\_ACEOF
34970 #define HAVE_DLERROR 1
34983 if test "$HAVE_DL_FUNCS" = 0; then
34984 if test "$HAVE_SHL_FUNCS" = 0; then
34985 if test "$USE_UNIX" = 1; then
34986 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34987 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34988 wxUSE_DYNAMIC_LOADER
=no
34989 wxUSE_DYNLIB_CLASS
=no
34991 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34992 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34999 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35000 cat >>confdefs.h
<<\_ACEOF
35001 #define wxUSE_DYNAMIC_LOADER 1
35005 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35006 cat >>confdefs.h
<<\_ACEOF
35007 #define wxUSE_DYNLIB_CLASS 1
35013 if test "$wxUSE_FONTMAP" = "yes" ; then
35014 cat >>confdefs.h
<<\_ACEOF
35015 #define wxUSE_FONTMAP 1
35020 if test "$wxUSE_UNICODE" = "yes" ; then
35021 cat >>confdefs.h
<<\_ACEOF
35022 #define wxUSE_UNICODE 1
35026 if test "$USE_WIN32" != 1; then
35027 wxUSE_UNICODE_MSLU
=no
35030 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35031 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35032 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35033 if test "${ac_cv_lib_unicows_main+set}" = set; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35036 ac_check_lib_save_LIBS
=$LIBS
35037 LIBS
="-lunicows $LIBS"
35038 cat >conftest.
$ac_ext <<_ACEOF
35041 cat confdefs.h
>>conftest.
$ac_ext
35042 cat >>conftest.
$ac_ext <<_ACEOF
35043 /* end confdefs.h. */
35054 rm -f conftest.
$ac_objext conftest
$ac_exeext
35055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35056 (eval $ac_link) 2>conftest.er1
35058 grep -v '^ *+' conftest.er1
>conftest.err
35060 cat conftest.err
>&5
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); } &&
35063 { ac_try
='test -z "$ac_c_werror_flag"
35064 || test ! -s conftest.err'
35065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35066 (eval $ac_try) 2>&5
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); }; } &&
35070 { ac_try
='test -s conftest$ac_exeext'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; }; then
35076 ac_cv_lib_unicows_main
=yes
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.
$ac_ext >&5
35081 ac_cv_lib_unicows_main
=no
35083 rm -f conftest.err conftest.
$ac_objext \
35084 conftest
$ac_exeext conftest.
$ac_ext
35085 LIBS
=$ac_check_lib_save_LIBS
35087 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35088 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35089 if test $ac_cv_lib_unicows_main = yes; then
35091 cat >>confdefs.h
<<\_ACEOF
35092 #define wxUSE_UNICODE_MSLU 1
35098 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35099 Applications will only run on Windows NT/2000/XP!" >&5
35100 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35101 Applications will only run on Windows NT/2000/XP!" >&2;}
35102 wxUSE_UNICODE_MSLU
=no
35109 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35110 cat >>confdefs.h
<<\_ACEOF
35111 #define wxUSE_EXPERIMENTAL_PRINTF 1
35117 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35118 cat >>confdefs.h
<<\_ACEOF
35119 #define wxUSE_POSTSCRIPT 1
35124 cat >>confdefs.h
<<\_ACEOF
35125 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35129 cat >>confdefs.h
<<\_ACEOF
35130 #define wxUSE_NORMALIZED_PS_FONTS 1
35135 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35136 cat >>confdefs.h
<<\_ACEOF
35137 #define wxUSE_CONSTRAINTS 1
35140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35143 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35144 cat >>confdefs.h
<<\_ACEOF
35145 #define wxUSE_MDI_ARCHITECTURE 1
35148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35151 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35152 cat >>confdefs.h
<<\_ACEOF
35153 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35157 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
35162 if test "$wxUSE_HELP" = "yes"; then
35163 cat >>confdefs.h
<<\_ACEOF
35164 #define wxUSE_HELP 1
35167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35169 if test "$wxUSE_MSW" = 1; then
35170 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35171 cat >>confdefs.h
<<\_ACEOF
35172 #define wxUSE_MS_HTML_HELP 1
35178 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35179 if test "$wxUSE_HTML" = "yes"; then
35180 cat >>confdefs.h
<<\_ACEOF
35181 #define wxUSE_WXHTML_HELP 1
35185 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35186 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35187 wxUSE_WXHTML_HELP
=no
35192 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35193 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35194 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35195 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35197 cat >>confdefs.h
<<\_ACEOF
35198 #define wxUSE_PRINTING_ARCHITECTURE 1
35202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35205 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35206 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35207 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35208 { (exit 1); exit 1; }; }
35212 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35213 -o "$wxUSE_CLIPBOARD" = "yes" \
35214 -o "$wxUSE_OLE" = "yes" \
35215 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35217 for ac_header
in ole2.h
35219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35221 echo "$as_me:$LINENO: checking for $ac_header" >&5
35222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35224 echo $ECHO_N "(cached) $ECHO_C" >&6
35226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35229 # Is the header compilable?
35230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35232 cat >conftest.
$ac_ext <<_ACEOF
35235 cat confdefs.h
>>conftest.
$ac_ext
35236 cat >>conftest.
$ac_ext <<_ACEOF
35237 /* end confdefs.h. */
35238 $ac_includes_default
35239 #include <$ac_header>
35241 rm -f conftest.
$ac_objext
35242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35243 (eval $ac_compile) 2>conftest.er1
35245 grep -v '^ *+' conftest.er1
>conftest.err
35247 cat conftest.err
>&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); } &&
35250 { ac_try
='test -z "$ac_c_werror_flag"
35251 || test ! -s conftest.err'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; } &&
35257 { ac_try
='test -s conftest.$ac_objext'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; }; then
35263 ac_header_compiler
=yes
35265 echo "$as_me: failed program was:" >&5
35266 sed 's/^/| /' conftest.
$ac_ext >&5
35268 ac_header_compiler
=no
35270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35272 echo "${ECHO_T}$ac_header_compiler" >&6
35274 # Is the header present?
35275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35277 cat >conftest.
$ac_ext <<_ACEOF
35280 cat confdefs.h
>>conftest.
$ac_ext
35281 cat >>conftest.
$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35283 #include <$ac_header>
35285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35288 grep -v '^ *+' conftest.er1
>conftest.err
35290 cat conftest.err
>&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); } >/dev
/null
; then
35293 if test -s conftest.err
; then
35294 ac_cpp_err
=$ac_c_preproc_warn_flag
35295 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35302 if test -z "$ac_cpp_err"; then
35303 ac_header_preproc
=yes
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.
$ac_ext >&5
35308 ac_header_preproc
=no
35310 rm -f conftest.err conftest.
$ac_ext
35311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35312 echo "${ECHO_T}$ac_header_preproc" >&6
35314 # So? What about this header?
35315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35321 ac_header_preproc
=yes
35324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35338 ## ----------------------------------------- ##
35339 ## Report this to wx-dev@lists.wxwindows.org ##
35340 ## ----------------------------------------- ##
35343 sed "s/^/$as_me: WARNING: /" >&2
35346 echo "$as_me:$LINENO: checking for $ac_header" >&5
35347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35349 echo $ECHO_N "(cached) $ECHO_C" >&6
35351 eval "$as_ac_Header=\$ac_header_preproc"
35353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35358 cat >>confdefs.h
<<_ACEOF
35359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35367 if test "$ac_cv_header_ole2_h" = "yes" ; then
35368 if test "$GCC" = yes ; then
35372 ac_cpp
='$CXXCPP $CPPFLAGS'
35373 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35374 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35375 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35378 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
35379 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
35380 cat >conftest.
$ac_ext <<_ACEOF
35383 cat confdefs.h
>>conftest.
$ac_ext
35384 cat >>conftest.
$ac_ext <<_ACEOF
35385 /* end confdefs.h. */
35386 #include <windows.h>
35396 rm -f conftest.
$ac_objext
35397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35398 (eval $ac_compile) 2>conftest.er1
35400 grep -v '^ *+' conftest.er1
>conftest.err
35402 cat conftest.err
>&5
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); } &&
35405 { ac_try
='test -z "$ac_cxx_werror_flag"
35406 || test ! -s conftest.err'
35407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35408 (eval $ac_try) 2>&5
35410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411 (exit $ac_status); }; } &&
35412 { ac_try
='test -s conftest.$ac_objext'
35413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35414 (eval $ac_try) 2>&5
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); }; }; then
35418 echo "$as_me:$LINENO: result: no" >&5
35419 echo "${ECHO_T}no" >&6
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.
$ac_ext >&5
35424 echo "$as_me:$LINENO: result: yes" >&5
35425 echo "${ECHO_T}yes" >&6
35426 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
35428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35430 ac_cpp
='$CPP $CPPFLAGS'
35431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35435 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
35436 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35437 cat >>confdefs.h
<<\_ACEOF
35438 #define wxUSE_OLE 1
35444 cat >>confdefs.h
<<\_ACEOF
35445 #define wxUSE_DATAOBJ 1
35449 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
35450 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35453 wxUSE_DRAG_AND_DROP
=no
35458 if test "$wxUSE_METAFILE" = "yes"; then
35459 cat >>confdefs.h
<<\_ACEOF
35460 #define wxUSE_METAFILE 1
35464 cat >>confdefs.h
<<\_ACEOF
35465 #define wxUSE_ENH_METAFILE 1
35471 if test "$wxUSE_IPC" = "yes"; then
35472 if test "$wxUSE_SOCKETS" != "yes"; then
35473 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
35474 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
35477 cat >>confdefs.h
<<\_ACEOF
35478 #define wxUSE_IPC 1
35483 if test "$wxUSE_CLIPBOARD" = "yes"; then
35484 if test "$wxUSE_MGL" = 1; then
35485 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
35486 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
35490 if test "$wxUSE_CLIPBOARD" = "yes"; then
35491 cat >>confdefs.h
<<\_ACEOF
35492 #define wxUSE_CLIPBOARD 1
35496 cat >>confdefs.h
<<\_ACEOF
35497 #define wxUSE_DATAOBJ 1
35503 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35504 if test "$wxUSE_GTK" = 1; then
35505 if test "$WXGTK12" != 1; then
35506 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
35507 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
35508 wxUSE_DRAG_AND_DROP
=no
35512 if test "$wxUSE_MOTIF" = 1; then
35513 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
35514 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
35515 wxUSE_DRAG_AND_DROP
=no
35518 if test "$wxUSE_X11" = 1; then
35519 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
35520 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
35521 wxUSE_DRAG_AND_DROP
=no
35524 if test "$wxUSE_MGL" = 1; then
35525 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
35526 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
35527 wxUSE_DRAG_AND_DROP
=no
35530 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35531 cat >>confdefs.h
<<\_ACEOF
35532 #define wxUSE_DRAG_AND_DROP 1
35535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35540 if test "$wxUSE_SPLINES" = "yes" ; then
35541 cat >>confdefs.h
<<\_ACEOF
35542 #define wxUSE_SPLINES 1
35549 if test "$wxUSE_CONTROLS" = "yes"; then
35553 if test "$wxUSE_ACCEL" = "yes"; then
35554 cat >>confdefs.h
<<\_ACEOF
35555 #define wxUSE_ACCEL 1
35561 if test "$wxUSE_BUTTON" = "yes"; then
35562 cat >>confdefs.h
<<\_ACEOF
35563 #define wxUSE_BUTTON 1
35569 if test "$wxUSE_BMPBUTTON" = "yes"; then
35570 cat >>confdefs.h
<<\_ACEOF
35571 #define wxUSE_BMPBUTTON 1
35577 if test "$wxUSE_CALCTRL" = "yes"; then
35578 cat >>confdefs.h
<<\_ACEOF
35579 #define wxUSE_CALENDARCTRL 1
35583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35586 if test "$wxUSE_CARET" = "yes"; then
35587 cat >>confdefs.h
<<\_ACEOF
35588 #define wxUSE_CARET 1
35592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35595 if test "$wxUSE_COMBOBOX" = "yes"; then
35596 cat >>confdefs.h
<<\_ACEOF
35597 #define wxUSE_COMBOBOX 1
35603 if test "$wxUSE_CHOICE" = "yes"; then
35604 cat >>confdefs.h
<<\_ACEOF
35605 #define wxUSE_CHOICE 1
35611 if test "$wxUSE_CHECKBOX" = "yes"; then
35612 cat >>confdefs.h
<<\_ACEOF
35613 #define wxUSE_CHECKBOX 1
35619 if test "$wxUSE_CHECKLST" = "yes"; then
35620 cat >>confdefs.h
<<\_ACEOF
35621 #define wxUSE_CHECKLISTBOX 1
35625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
35628 if test "$wxUSE_DISPLAY" = "yes"; then
35629 cat >>confdefs.h
<<\_ACEOF
35630 #define wxUSE_DISPLAY 1
35633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35636 if test "$wxUSE_GAUGE" = "yes"; then
35637 cat >>confdefs.h
<<\_ACEOF
35638 #define wxUSE_GAUGE 1
35644 if test "$wxUSE_GRID" = "yes"; then
35645 cat >>confdefs.h
<<\_ACEOF
35646 #define wxUSE_GRID 1
35650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35653 if test "$wxUSE_IMAGLIST" = "yes"; then
35654 cat >>confdefs.h
<<\_ACEOF
35655 #define wxUSE_IMAGLIST 1
35660 if test "$wxUSE_LISTBOOK" = "yes"; then
35661 cat >>confdefs.h
<<\_ACEOF
35662 #define wxUSE_LISTBOOK 1
35668 if test "$wxUSE_LISTBOX" = "yes"; then
35669 cat >>confdefs.h
<<\_ACEOF
35670 #define wxUSE_LISTBOX 1
35676 if test "$wxUSE_LISTCTRL" = "yes"; then
35677 if test "$wxUSE_IMAGLIST" = "yes"; then
35678 cat >>confdefs.h
<<\_ACEOF
35679 #define wxUSE_LISTCTRL 1
35683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
35685 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35686 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35690 if test "$wxUSE_NOTEBOOK" = "yes"; then
35691 cat >>confdefs.h
<<\_ACEOF
35692 #define wxUSE_NOTEBOOK 1
35696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
35700 if test "$wxUSE_RADIOBOX" = "yes"; then
35701 cat >>confdefs.h
<<\_ACEOF
35702 #define wxUSE_RADIOBOX 1
35708 if test "$wxUSE_RADIOBTN" = "yes"; then
35709 cat >>confdefs.h
<<\_ACEOF
35710 #define wxUSE_RADIOBTN 1
35716 if test "$wxUSE_SASH" = "yes"; then
35717 cat >>confdefs.h
<<\_ACEOF
35718 #define wxUSE_SASH 1
35721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
35724 if test "$wxUSE_SCROLLBAR" = "yes"; then
35725 cat >>confdefs.h
<<\_ACEOF
35726 #define wxUSE_SCROLLBAR 1
35730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
35733 if test "$wxUSE_SLIDER" = "yes"; then
35734 cat >>confdefs.h
<<\_ACEOF
35735 #define wxUSE_SLIDER 1
35741 if test "$wxUSE_SPINBTN" = "yes"; then
35742 cat >>confdefs.h
<<\_ACEOF
35743 #define wxUSE_SPINBTN 1
35749 if test "$wxUSE_SPINCTRL" = "yes"; then
35750 cat >>confdefs.h
<<\_ACEOF
35751 #define wxUSE_SPINCTRL 1
35757 if test "$wxUSE_SPLITTER" = "yes"; then
35758 cat >>confdefs.h
<<\_ACEOF
35759 #define wxUSE_SPLITTER 1
35762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
35765 if test "$wxUSE_STATBMP" = "yes"; then
35766 cat >>confdefs.h
<<\_ACEOF
35767 #define wxUSE_STATBMP 1
35773 if test "$wxUSE_STATBOX" = "yes"; then
35774 cat >>confdefs.h
<<\_ACEOF
35775 #define wxUSE_STATBOX 1
35781 if test "$wxUSE_STATTEXT" = "yes"; then
35782 cat >>confdefs.h
<<\_ACEOF
35783 #define wxUSE_STATTEXT 1
35789 if test "$wxUSE_STATLINE" = "yes"; then
35790 cat >>confdefs.h
<<\_ACEOF
35791 #define wxUSE_STATLINE 1
35797 if test "$wxUSE_STATUSBAR" = "yes"; then
35798 cat >>confdefs.h
<<\_ACEOF
35799 #define wxUSE_STATUSBAR 1
35804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
35807 if test "$wxUSE_TABDIALOG" = "yes"; then
35808 cat >>confdefs.h
<<\_ACEOF
35809 #define wxUSE_TAB_DIALOG 1
35812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
35815 if test "$wxUSE_TEXTCTRL" = "yes"; then
35816 cat >>confdefs.h
<<\_ACEOF
35817 #define wxUSE_TEXTCTRL 1
35821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
35824 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35825 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
35826 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35827 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35830 if test "$wxUSE_UNIVERSAL" = "yes"; then
35831 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
35832 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
35836 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35837 cat >>confdefs.h
<<\_ACEOF
35838 #define wxUSE_TOGGLEBTN 1
35845 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
35846 cat >>confdefs.h
<<\_ACEOF
35847 #define wxUSE_TOOLBAR_SIMPLE 1
35850 wxUSE_TOOLBAR
="yes"
35854 if test "$wxUSE_TOOLBAR" = "yes"; then
35855 cat >>confdefs.h
<<\_ACEOF
35856 #define wxUSE_TOOLBAR 1
35861 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
35862 wxUSE_TOOLBAR_NATIVE
="yes"
35865 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
35866 cat >>confdefs.h
<<\_ACEOF
35867 #define wxUSE_TOOLBAR_NATIVE 1
35873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
35876 if test "$wxUSE_TOOLTIPS" = "yes"; then
35877 if test "$wxUSE_MOTIF" = 1; then
35878 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35879 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35881 if test "$wxUSE_UNIVERSAL" = "yes"; then
35882 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35883 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35885 cat >>confdefs.h
<<\_ACEOF
35886 #define wxUSE_TOOLTIPS 1
35893 if test "$wxUSE_TREECTRL" = "yes"; then
35894 if test "$wxUSE_IMAGLIST" = "yes"; then
35895 cat >>confdefs.h
<<\_ACEOF
35896 #define wxUSE_TREECTRL 1
35900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
35902 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35903 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35907 if test "$wxUSE_POPUPWIN" = "yes"; then
35908 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
35909 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35910 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35912 if test "$wxUSE_PM" = 1; then
35913 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35914 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35916 cat >>confdefs.h
<<\_ACEOF
35917 #define wxUSE_POPUPWIN 1
35926 if test "$wxUSE_TIPWINDOW" = "yes"; then
35927 if test "$wxUSE_PM" = 1; then
35928 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35929 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35931 cat >>confdefs.h
<<\_ACEOF
35932 #define wxUSE_TIPWINDOW 1
35938 if test "$USES_CONTROLS" = 1; then
35939 cat >>confdefs.h
<<\_ACEOF
35940 #define wxUSE_CONTROLS 1
35946 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35947 cat >>confdefs.h
<<\_ACEOF
35948 #define wxUSE_ACCESSIBILITY 1
35951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
35954 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35955 cat >>confdefs.h
<<\_ACEOF
35956 #define wxUSE_DRAGIMAGE 1
35959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
35962 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35963 cat >>confdefs.h
<<\_ACEOF
35964 #define wxUSE_EXCEPTIONS 1
35970 if test "$wxUSE_HTML" = "yes"; then
35971 cat >>confdefs.h
<<\_ACEOF
35972 #define wxUSE_HTML 1
35976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35979 if test "$wxUSE_MENUS" = "yes"; then
35980 cat >>confdefs.h
<<\_ACEOF
35981 #define wxUSE_MENUS 1
35984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
35987 if test "$wxUSE_METAFILE" = "yes"; then
35988 cat >>confdefs.h
<<\_ACEOF
35989 #define wxUSE_METAFILE 1
35994 if test "$wxUSE_MIMETYPE" = "yes"; then
35995 cat >>confdefs.h
<<\_ACEOF
35996 #define wxUSE_MIMETYPE 1
36001 if test "$wxUSE_MINIFRAME" = "yes"; then
36002 cat >>confdefs.h
<<\_ACEOF
36003 #define wxUSE_MINIFRAME 1
36006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36009 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36010 cat >>confdefs.h
<<\_ACEOF
36011 #define wxUSE_SYSTEM_OPTIONS 1
36014 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36015 "$TOOLKIT" = "MOTIF"; then
36016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36021 if test "$wxUSE_VALIDATORS" = "yes"; then
36022 cat >>confdefs.h
<<\_ACEOF
36023 #define wxUSE_VALIDATORS 1
36026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36029 if test "$wxUSE_PALETTE" = "yes" ; then
36030 cat >>confdefs.h
<<\_ACEOF
36031 #define wxUSE_PALETTE 1
36036 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36037 LIBS
=" -lunicows $LIBS"
36041 if test "$wxUSE_IMAGE" = "yes" ; then
36042 cat >>confdefs.h
<<\_ACEOF
36043 #define wxUSE_IMAGE 1
36047 if test "$wxUSE_GIF" = "yes" ; then
36048 cat >>confdefs.h
<<\_ACEOF
36049 #define wxUSE_GIF 1
36054 if test "$wxUSE_PCX" = "yes" ; then
36055 cat >>confdefs.h
<<\_ACEOF
36056 #define wxUSE_PCX 1
36061 if test "$wxUSE_IFF" = "yes" ; then
36062 cat >>confdefs.h
<<\_ACEOF
36063 #define wxUSE_IFF 1
36068 if test "$wxUSE_PNM" = "yes" ; then
36069 cat >>confdefs.h
<<\_ACEOF
36070 #define wxUSE_PNM 1
36075 if test "$wxUSE_XPM" = "yes" ; then
36076 cat >>confdefs.h
<<\_ACEOF
36077 #define wxUSE_XPM 1
36082 if test "$wxUSE_ICO_CUR" = "yes" ; then
36083 cat >>confdefs.h
<<\_ACEOF
36084 #define wxUSE_ICO_CUR 1
36091 if test "$wxUSE_CHOICEDLG" = "yes"; then
36092 cat >>confdefs.h
<<\_ACEOF
36093 #define wxUSE_CHOICEDLG 1
36098 if test "$wxUSE_COLOURDLG" = "yes"; then
36099 cat >>confdefs.h
<<\_ACEOF
36100 #define wxUSE_COLOURDLG 1
36105 if test "$wxUSE_FILEDLG" = "yes"; then
36106 cat >>confdefs.h
<<\_ACEOF
36107 #define wxUSE_FILEDLG 1
36112 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36113 cat >>confdefs.h
<<\_ACEOF
36114 #define wxUSE_FINDREPLDLG 1
36119 if test "$wxUSE_FONTDLG" = "yes"; then
36120 cat >>confdefs.h
<<\_ACEOF
36121 #define wxUSE_FONTDLG 1
36126 if test "$wxUSE_DIRDLG" = "yes"; then
36127 if test "$wxUSE_TREECTRL" != "yes"; then
36128 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36129 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36131 cat >>confdefs.h
<<\_ACEOF
36132 #define wxUSE_DIRDLG 1
36138 if test "$wxUSE_MSGDLG" = "yes"; then
36139 cat >>confdefs.h
<<\_ACEOF
36140 #define wxUSE_MSGDLG 1
36145 if test "$wxUSE_NUMBERDLG" = "yes"; then
36146 cat >>confdefs.h
<<\_ACEOF
36147 #define wxUSE_NUMBERDLG 1
36152 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36153 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36154 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36155 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36157 cat >>confdefs.h
<<\_ACEOF
36158 #define wxUSE_PROGRESSDLG 1
36164 if test "$wxUSE_SPLASH" = "yes"; then
36165 cat >>confdefs.h
<<\_ACEOF
36166 #define wxUSE_SPLASH 1
36171 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36172 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36173 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36174 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36176 cat >>confdefs.h
<<\_ACEOF
36177 #define wxUSE_STARTUP_TIPS 1
36183 if test "$wxUSE_TEXTDLG" = "yes"; then
36184 cat >>confdefs.h
<<\_ACEOF
36185 #define wxUSE_TEXTDLG 1
36190 if test "$wxUSE_WIZARDDLG" = "yes"; then
36191 cat >>confdefs.h
<<\_ACEOF
36192 #define wxUSE_WIZARDDLG 1
36195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36199 if test "$cross_compiling" = "yes"; then
36202 OSINFO
=`uname -s -r -m`
36203 OSINFO
="\"$OSINFO\""
36206 cat >>confdefs.h
<<_ACEOF
36207 #define WXWIN_OS_DESCRIPTION $OSINFO
36212 if test "x$prefix" != "xNONE"; then
36215 wxPREFIX
=$ac_default_prefix
36218 cat >>confdefs.h
<<_ACEOF
36219 #define wxINSTALL_PREFIX "$wxPREFIX"
36223 top_builddir_wxconfig
=`pwd`
36227 CORE_BASE_LIBS
="net base"
36228 CORE_GUI_LIBS
="adv core"
36230 if test "$wxUSE_XML" = "yes" ; then
36231 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
36233 if test "$wxUSE_ODBC" != "no" ; then
36234 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
36235 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
36237 if test "$wxUSE_HTML" = "yes" ; then
36238 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
36241 if test "$wxUSE_GUI" != "yes"; then
36252 if test "$wxUSE_MAC" = 1 ; then
36253 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
36255 if test "$wxUSE_COCOA" = 1 ; then
36256 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
36260 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
36267 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36268 echo "$as_me:$LINENO: checking for $ac_func" >&5
36269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36270 if eval "test \"\${$as_ac_var+set}\" = set"; then
36271 echo $ECHO_N "(cached) $ECHO_C" >&6
36273 cat >conftest.
$ac_ext <<_ACEOF
36276 cat confdefs.h
>>conftest.
$ac_ext
36277 cat >>conftest.
$ac_ext <<_ACEOF
36278 /* end confdefs.h. */
36279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36281 #define $ac_func innocuous_$ac_func
36283 /* System header to define __stub macros and hopefully few prototypes,
36284 which can conflict with char $ac_func (); below.
36285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36286 <limits.h> exists even on freestanding compilers. */
36289 # include <limits.h>
36291 # include <assert.h>
36296 /* Override any gcc2 internal prototype to avoid an error. */
36301 /* We use char because int might match the return type of a gcc2
36302 builtin and then its argument prototype would still apply. */
36304 /* The GNU C library defines this for functions which it implements
36305 to always fail with ENOSYS. Some functions are actually named
36306 something starting with __ and the normal name is an alias. */
36307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36310 char (*f) () = $ac_func;
36319 return f != $ac_func;
36324 rm -f conftest.
$ac_objext conftest
$ac_exeext
36325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36326 (eval $ac_link) 2>conftest.er1
36328 grep -v '^ *+' conftest.er1
>conftest.err
36330 cat conftest.err
>&5
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); } &&
36333 { ac_try
='test -z "$ac_c_werror_flag"
36334 || test ! -s conftest.err'
36335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36336 (eval $ac_try) 2>&5
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); }; } &&
36340 { ac_try
='test -s conftest$ac_exeext'
36341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36342 (eval $ac_try) 2>&5
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); }; }; then
36346 eval "$as_ac_var=yes"
36348 echo "$as_me: failed program was:" >&5
36349 sed 's/^/| /' conftest.
$ac_ext >&5
36351 eval "$as_ac_var=no"
36353 rm -f conftest.err conftest.
$ac_objext \
36354 conftest
$ac_exeext conftest.
$ac_ext
36356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36358 if test `eval echo '${'$as_ac_var'}'` = yes; then
36359 cat >>confdefs.h
<<_ACEOF
36360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36367 for ac_func
in floor
36369 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 echo "$as_me:$LINENO: checking for $ac_func" >&5
36371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36372 if eval "test \"\${$as_ac_var+set}\" = set"; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36375 cat >conftest.
$ac_ext <<_ACEOF
36378 cat confdefs.h
>>conftest.
$ac_ext
36379 cat >>conftest.
$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36383 #define $ac_func innocuous_$ac_func
36385 /* System header to define __stub macros and hopefully few prototypes,
36386 which can conflict with char $ac_func (); below.
36387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36388 <limits.h> exists even on freestanding compilers. */
36391 # include <limits.h>
36393 # include <assert.h>
36398 /* Override any gcc2 internal prototype to avoid an error. */
36403 /* We use char because int might match the return type of a gcc2
36404 builtin and then its argument prototype would still apply. */
36406 /* The GNU C library defines this for functions which it implements
36407 to always fail with ENOSYS. Some functions are actually named
36408 something starting with __ and the normal name is an alias. */
36409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36412 char (*f) () = $ac_func;
36421 return f != $ac_func;
36426 rm -f conftest.
$ac_objext conftest
$ac_exeext
36427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36428 (eval $ac_link) 2>conftest.er1
36430 grep -v '^ *+' conftest.er1
>conftest.err
36432 cat conftest.err
>&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); } &&
36435 { ac_try
='test -z "$ac_c_werror_flag"
36436 || test ! -s conftest.err'
36437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36438 (eval $ac_try) 2>&5
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); }; } &&
36442 { ac_try
='test -s conftest$ac_exeext'
36443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36444 (eval $ac_try) 2>&5
36446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36447 (exit $ac_status); }; }; then
36448 eval "$as_ac_var=yes"
36450 echo "$as_me: failed program was:" >&5
36451 sed 's/^/| /' conftest.
$ac_ext >&5
36453 eval "$as_ac_var=no"
36455 rm -f conftest.err conftest.
$ac_objext \
36456 conftest
$ac_exeext conftest.
$ac_ext
36458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36460 if test `eval echo '${'$as_ac_var'}'` = yes; then
36461 cat >>confdefs.h
<<_ACEOF
36462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36468 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
36469 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
36470 if test "$have_cos" = 1 -a "$have_floor" = 1; then
36471 echo "$as_me:$LINENO: result: yes" >&5
36472 echo "${ECHO_T}yes" >&6
36474 echo "$as_me:$LINENO: result: no" >&5
36475 echo "${ECHO_T}no" >&6
36477 # use different functions to avoid configure caching
36483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36484 echo "$as_me:$LINENO: checking for $ac_func" >&5
36485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36486 if eval "test \"\${$as_ac_var+set}\" = set"; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 cat >conftest.
$ac_ext <<_ACEOF
36492 cat confdefs.h
>>conftest.
$ac_ext
36493 cat >>conftest.
$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36497 #define $ac_func innocuous_$ac_func
36499 /* System header to define __stub macros and hopefully few prototypes,
36500 which can conflict with char $ac_func (); below.
36501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36502 <limits.h> exists even on freestanding compilers. */
36505 # include <limits.h>
36507 # include <assert.h>
36512 /* Override any gcc2 internal prototype to avoid an error. */
36517 /* We use char because int might match the return type of a gcc2
36518 builtin and then its argument prototype would still apply. */
36520 /* The GNU C library defines this for functions which it implements
36521 to always fail with ENOSYS. Some functions are actually named
36522 something starting with __ and the normal name is an alias. */
36523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36526 char (*f) () = $ac_func;
36535 return f != $ac_func;
36540 rm -f conftest.
$ac_objext conftest
$ac_exeext
36541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36542 (eval $ac_link) 2>conftest.er1
36544 grep -v '^ *+' conftest.er1
>conftest.err
36546 cat conftest.err
>&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); } &&
36549 { ac_try
='test -z "$ac_c_werror_flag"
36550 || test ! -s conftest.err'
36551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36552 (eval $ac_try) 2>&5
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); }; } &&
36556 { ac_try
='test -s conftest$ac_exeext'
36557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36558 (eval $ac_try) 2>&5
36560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561 (exit $ac_status); }; }; then
36562 eval "$as_ac_var=yes"
36564 echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.
$ac_ext >&5
36567 eval "$as_ac_var=no"
36569 rm -f conftest.err conftest.
$ac_objext \
36570 conftest
$ac_exeext conftest.
$ac_ext
36572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36574 if test `eval echo '${'$as_ac_var'}'` = yes; then
36575 cat >>confdefs.h
<<_ACEOF
36576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36583 for ac_func
in ceil
36585 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36586 echo "$as_me:$LINENO: checking for $ac_func" >&5
36587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36588 if eval "test \"\${$as_ac_var+set}\" = set"; then
36589 echo $ECHO_N "(cached) $ECHO_C" >&6
36591 cat >conftest.
$ac_ext <<_ACEOF
36594 cat confdefs.h
>>conftest.
$ac_ext
36595 cat >>conftest.
$ac_ext <<_ACEOF
36596 /* end confdefs.h. */
36597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36599 #define $ac_func innocuous_$ac_func
36601 /* System header to define __stub macros and hopefully few prototypes,
36602 which can conflict with char $ac_func (); below.
36603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36604 <limits.h> exists even on freestanding compilers. */
36607 # include <limits.h>
36609 # include <assert.h>
36614 /* Override any gcc2 internal prototype to avoid an error. */
36619 /* We use char because int might match the return type of a gcc2
36620 builtin and then its argument prototype would still apply. */
36622 /* The GNU C library defines this for functions which it implements
36623 to always fail with ENOSYS. Some functions are actually named
36624 something starting with __ and the normal name is an alias. */
36625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36628 char (*f) () = $ac_func;
36637 return f != $ac_func;
36642 rm -f conftest.
$ac_objext conftest
$ac_exeext
36643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36644 (eval $ac_link) 2>conftest.er1
36646 grep -v '^ *+' conftest.er1
>conftest.err
36648 cat conftest.err
>&5
36649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650 (exit $ac_status); } &&
36651 { ac_try
='test -z "$ac_c_werror_flag"
36652 || test ! -s conftest.err'
36653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36654 (eval $ac_try) 2>&5
36656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36657 (exit $ac_status); }; } &&
36658 { ac_try
='test -s conftest$ac_exeext'
36659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36660 (eval $ac_try) 2>&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); }; }; then
36664 eval "$as_ac_var=yes"
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.
$ac_ext >&5
36669 eval "$as_ac_var=no"
36671 rm -f conftest.err conftest.
$ac_objext \
36672 conftest
$ac_exeext conftest.
$ac_ext
36674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36676 if test `eval echo '${'$as_ac_var'}'` = yes; then
36677 cat >>confdefs.h
<<_ACEOF
36678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36684 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
36685 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
36686 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
36687 echo "$as_me:$LINENO: result: yes" >&5
36688 echo "${ECHO_T}yes" >&6
36690 echo "$as_me:$LINENO: result: no" >&5
36691 echo "${ECHO_T}no" >&6
36692 # not sure we should warn the user, crash, etc.
36696 if test "$wxUSE_GUI" = "yes"; then
36699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
36700 drawing dynamic erase event exec font image \
36701 minimal propsize rotate shaped widgets render"
36703 if test "$wxUSE_MONOLITHIC" != "yes"; then
36704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
36707 SAMPLES_SUBDIRS
="console"
36711 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
36712 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
36714 if test "$GXX" = yes ; then
36715 CXXWARNINGS
="-Wall"
36718 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
36720 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
36721 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
36722 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
36725 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
36726 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
36727 EXTRALIBS_XML
="$EXPAT_LINK"
36728 EXTRALIBS_HTML
="$MSPACK_LINK"
36729 EXTRALIBS_ODBC
="$ODBC_LINK"
36730 if test "$wxUSE_GUI" = "yes"; then
36731 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
36733 if test "$wxUSE_OPENGL" = "yes"; then
36734 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
36737 LDFLAGS
="$LDFLAGS $PROFILE"
36739 if test "$wxUSE_GTK" = 1; then
36742 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
36745 WXCONFIG_EXTRALIBS
="$LIBS"
36747 if test "$wxUSE_REGEX" = "builtin" ; then
36748 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
36750 if test "$wxUSE_EXPAT" = "builtin" ; then
36751 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
36753 if test "$wxUSE_ODBC" = "builtin" ; then
36754 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
36756 if test "$wxUSE_LIBTIFF" = "builtin" ; then
36757 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
36759 if test "$wxUSE_LIBJPEG" = "builtin" ; then
36760 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
36762 if test "$wxUSE_LIBPNG" = "builtin" ; then
36763 wxconfig_3rdparty
="$wxconfig_3rdparty png"
36765 if test "$wxUSE_ZLIB" = "builtin" ; then
36766 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
36768 if test "$wxUSE_ODBC" = "builtin" ; then
36769 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
36772 for i
in $wxconfig_3rdparty ; do
36773 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
36777 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
36791 if test $wxUSE_MONOLITHIC = "yes" ; then
36797 if test $wxUSE_ODBC != "no" ; then
36803 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
36826 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
36834 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
36836 if test -n "$ac_tool_prefix"; then
36837 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
36838 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
36839 echo "$as_me:$LINENO: checking for $ac_word" >&5
36840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36841 if test "${ac_cv_prog_RANLIB+set}" = set; then
36842 echo $ECHO_N "(cached) $ECHO_C" >&6
36844 if test -n "$RANLIB"; then
36845 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
36847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36848 for as_dir
in $PATH
36851 test -z "$as_dir" && as_dir
=.
36852 for ac_exec_ext
in '' $ac_executable_extensions; do
36853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36854 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
36855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36863 RANLIB
=$ac_cv_prog_RANLIB
36864 if test -n "$RANLIB"; then
36865 echo "$as_me:$LINENO: result: $RANLIB" >&5
36866 echo "${ECHO_T}$RANLIB" >&6
36868 echo "$as_me:$LINENO: result: no" >&5
36869 echo "${ECHO_T}no" >&6
36873 if test -z "$ac_cv_prog_RANLIB"; then
36874 ac_ct_RANLIB
=$RANLIB
36875 # Extract the first word of "ranlib", so it can be a program name with args.
36876 set dummy ranlib
; ac_word
=$2
36877 echo "$as_me:$LINENO: checking for $ac_word" >&5
36878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36879 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
36880 echo $ECHO_N "(cached) $ECHO_C" >&6
36882 if test -n "$ac_ct_RANLIB"; then
36883 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
36885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36886 for as_dir
in $PATH
36889 test -z "$as_dir" && as_dir
=.
36890 for ac_exec_ext
in '' $ac_executable_extensions; do
36891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36892 ac_cv_prog_ac_ct_RANLIB
="ranlib"
36893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36899 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
36902 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
36903 if test -n "$ac_ct_RANLIB"; then
36904 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
36905 echo "${ECHO_T}$ac_ct_RANLIB" >&6
36907 echo "$as_me:$LINENO: result: no" >&5
36908 echo "${ECHO_T}no" >&6
36911 RANLIB
=$ac_ct_RANLIB
36913 RANLIB
="$ac_cv_prog_RANLIB"
36916 # Find a good install program. We prefer a C program (faster),
36917 # so one script is as good as another. But avoid the broken or
36918 # incompatible versions:
36919 # SysV /etc/install, /usr/sbin/install
36920 # SunOS /usr/etc/install
36921 # IRIX /sbin/install
36923 # AmigaOS /C/install, which installs bootblocks on floppy discs
36924 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
36925 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
36926 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
36927 # OS/2's system install, which has a completely different semantic
36928 # ./install, which can be erroneously created by make from ./install.sh.
36929 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
36930 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
36931 if test -z "$INSTALL"; then
36932 if test "${ac_cv_path_install+set}" = set; then
36933 echo $ECHO_N "(cached) $ECHO_C" >&6
36935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36936 for as_dir
in $PATH
36939 test -z "$as_dir" && as_dir
=.
36940 # Account for people who put trailing slashes in PATH elements.
36942 .
/ | .
// | /cC
/* | \
36943 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
36944 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
36947 # OSF1 and SCO ODT 3.0 have their own names for install.
36948 # Don't use installbsd from OSF since it installs stuff as root
36950 for ac_prog
in ginstall scoinst
install; do
36951 for ac_exec_ext
in '' $ac_executable_extensions; do
36952 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
36953 if test $ac_prog = install &&
36954 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
36955 # AIX install. It has an incompatible calling convention.
36957 elif test $ac_prog = install &&
36958 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
36959 # program-specific install script used by HP pwplus--don't use.
36962 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
36974 if test "${ac_cv_path_install+set}" = set; then
36975 INSTALL
=$ac_cv_path_install
36977 # As a last resort, use the slow shell script. We don't cache a
36978 # path for INSTALL within a source directory, because that will
36979 # break other packages using the cache if that directory is
36980 # removed, or if the path is relative.
36981 INSTALL
=$ac_install_sh
36984 echo "$as_me:$LINENO: result: $INSTALL" >&5
36985 echo "${ECHO_T}$INSTALL" >&6
36987 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
36988 # It thinks the first close brace ends the variable substitution.
36989 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
36991 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
36993 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
36995 echo "$as_me:$LINENO: checking whether ln -s works" >&5
36996 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
36998 if test "$LN_S" = "ln -s"; then
36999 echo "$as_me:$LINENO: result: yes" >&5
37000 echo "${ECHO_T}yes" >&6
37002 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37003 echo "${ECHO_T}no, using $LN_S" >&6
37007 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37008 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37009 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
37010 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37013 cat >conftest.
make <<\_ACEOF
37015 @
echo 'ac_maketemp="$(MAKE)"'
37017 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37018 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37019 if test -n "$ac_maketemp"; then
37020 eval ac_cv_prog_make_
${ac_make}_set
=yes
37022 eval ac_cv_prog_make_
${ac_make}_set
=no
37024 rm -f conftest.
make
37026 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37027 echo "$as_me:$LINENO: result: yes" >&5
37028 echo "${ECHO_T}yes" >&6
37031 echo "$as_me:$LINENO: result: no" >&5
37032 echo "${ECHO_T}no" >&6
37033 SET_MAKE
="MAKE=${MAKE-make}"
37038 if test -n "$ac_tool_prefix"; then
37039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37040 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37041 echo "$as_me:$LINENO: checking for $ac_word" >&5
37042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37043 if test "${ac_cv_prog_AR+set}" = set; then
37044 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 if test -n "$AR"; then
37047 ac_cv_prog_AR
="$AR" # Let the user override the test.
37049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37050 for as_dir
in $PATH
37053 test -z "$as_dir" && as_dir
=.
37054 for ac_exec_ext
in '' $ac_executable_extensions; do
37055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37056 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37066 if test -n "$AR"; then
37067 echo "$as_me:$LINENO: result: $AR" >&5
37068 echo "${ECHO_T}$AR" >&6
37070 echo "$as_me:$LINENO: result: no" >&5
37071 echo "${ECHO_T}no" >&6
37075 if test -z "$ac_cv_prog_AR"; then
37077 # Extract the first word of "ar", so it can be a program name with args.
37078 set dummy
ar; ac_word
=$2
37079 echo "$as_me:$LINENO: checking for $ac_word" >&5
37080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37081 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37084 if test -n "$ac_ct_AR"; then
37085 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37088 for as_dir
in $PATH
37091 test -z "$as_dir" && as_dir
=.
37092 for ac_exec_ext
in '' $ac_executable_extensions; do
37093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37094 ac_cv_prog_ac_ct_AR
="ar"
37095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37101 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
37104 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37105 if test -n "$ac_ct_AR"; then
37106 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37107 echo "${ECHO_T}$ac_ct_AR" >&6
37109 echo "$as_me:$LINENO: result: no" >&5
37110 echo "${ECHO_T}no" >&6
37115 AR
="$ac_cv_prog_AR"
37118 if test -n "$ac_tool_prefix"; then
37119 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37120 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37121 echo "$as_me:$LINENO: checking for $ac_word" >&5
37122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37123 if test "${ac_cv_prog_STRIP+set}" = set; then
37124 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 if test -n "$STRIP"; then
37127 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
37129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37130 for as_dir
in $PATH
37133 test -z "$as_dir" && as_dir
=.
37134 for ac_exec_ext
in '' $ac_executable_extensions; do
37135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37136 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37145 STRIP
=$ac_cv_prog_STRIP
37146 if test -n "$STRIP"; then
37147 echo "$as_me:$LINENO: result: $STRIP" >&5
37148 echo "${ECHO_T}$STRIP" >&6
37150 echo "$as_me:$LINENO: result: no" >&5
37151 echo "${ECHO_T}no" >&6
37155 if test -z "$ac_cv_prog_STRIP"; then
37157 # Extract the first word of "strip", so it can be a program name with args.
37158 set dummy strip
; ac_word
=$2
37159 echo "$as_me:$LINENO: checking for $ac_word" >&5
37160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37161 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
37162 echo $ECHO_N "(cached) $ECHO_C" >&6
37164 if test -n "$ac_ct_STRIP"; then
37165 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
37167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37168 for as_dir
in $PATH
37171 test -z "$as_dir" && as_dir
=.
37172 for ac_exec_ext
in '' $ac_executable_extensions; do
37173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37174 ac_cv_prog_ac_ct_STRIP
="strip"
37175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37181 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
37184 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
37185 if test -n "$ac_ct_STRIP"; then
37186 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
37187 echo "${ECHO_T}$ac_ct_STRIP" >&6
37189 echo "$as_me:$LINENO: result: no" >&5
37190 echo "${ECHO_T}no" >&6
37195 STRIP
="$ac_cv_prog_STRIP"
37198 if test -n "$ac_tool_prefix"; then
37199 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37200 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
37201 echo "$as_me:$LINENO: checking for $ac_word" >&5
37202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37203 if test "${ac_cv_prog_NM+set}" = set; then
37204 echo $ECHO_N "(cached) $ECHO_C" >&6
37206 if test -n "$NM"; then
37207 ac_cv_prog_NM
="$NM" # Let the user override the test.
37209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37210 for as_dir
in $PATH
37213 test -z "$as_dir" && as_dir
=.
37214 for ac_exec_ext
in '' $ac_executable_extensions; do
37215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37216 ac_cv_prog_NM
="${ac_tool_prefix}nm"
37217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37226 if test -n "$NM"; then
37227 echo "$as_me:$LINENO: result: $NM" >&5
37228 echo "${ECHO_T}$NM" >&6
37230 echo "$as_me:$LINENO: result: no" >&5
37231 echo "${ECHO_T}no" >&6
37235 if test -z "$ac_cv_prog_NM"; then
37237 # Extract the first word of "nm", so it can be a program name with args.
37238 set dummy nm
; ac_word
=$2
37239 echo "$as_me:$LINENO: checking for $ac_word" >&5
37240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37241 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
37242 echo $ECHO_N "(cached) $ECHO_C" >&6
37244 if test -n "$ac_ct_NM"; then
37245 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
37247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37248 for as_dir
in $PATH
37251 test -z "$as_dir" && as_dir
=.
37252 for ac_exec_ext
in '' $ac_executable_extensions; do
37253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37254 ac_cv_prog_ac_ct_NM
="nm"
37255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37261 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
37264 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
37265 if test -n "$ac_ct_NM"; then
37266 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
37267 echo "${ECHO_T}$ac_ct_NM" >&6
37269 echo "$as_me:$LINENO: result: no" >&5
37270 echo "${ECHO_T}no" >&6
37275 NM
="$ac_cv_prog_NM"
37281 INSTALL_DIR
="mkdir"
37283 *) INSTALL_DIR
="$INSTALL -d"
37290 *-*-cygwin* | *-*-mingw32* )
37291 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
37297 echo "$as_me:$LINENO: checking if make is GNU make" >&5
37298 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
37299 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
37300 echo $ECHO_N "(cached) $ECHO_C" >&6
37303 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
37304 egrep -s GNU
> /dev
/null
); then
37305 bakefile_cv_prog_makeisgnu
="yes"
37307 bakefile_cv_prog_makeisgnu
="no"
37311 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
37312 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
37314 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37330 *-*-cygwin* | *-*-mingw32* )
37336 *-pc-os2_emx | *-pc-os2-emx )
37339 powerpc
-*-darwin* )
37357 SO_SUFFIX_MODULE
="so"
37366 SO_SUFFIX_MODULE
="sl"
37370 SO_SUFFIX_MODULE
="a"
37372 *-*-cygwin* | *-*-mingw32* )
37374 SO_SUFFIX_MODULE
="dll"
37382 *-pc-os2_emx | *-pc-os2-emx )
37387 powerpc
-*-darwin* )
37389 SO_SUFFIX_MODULE
="bundle"
37401 SHARED_LD_CC
="\$(CC) -shared -o"
37402 SHARED_LD_CXX
="\$(CXX) -shared -o"
37404 if test "x$GCC" = "xyes"; then
37410 if test "x$GCC" = "xyes"; then
37411 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
37412 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
37414 LDFLAGS
="$LDFLAGS -L/usr/lib"
37416 SHARED_LD_CC
="${CC} -b -o"
37417 SHARED_LD_CXX
="${CXX} -b -o"
37423 if test "x$GCC" != "xyes"; then
37424 echo "$as_me:$LINENO: checking for Intel compiler" >&5
37425 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
37426 if test "${bakefile_cv_prog_icc+set}" = set; then
37427 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 cat >conftest.
$ac_ext <<_ACEOF
37433 cat confdefs.h
>>conftest.
$ac_ext
37434 cat >>conftest.
$ac_ext <<_ACEOF
37435 /* end confdefs.h. */
37441 #ifndef __INTEL_COMPILER
37449 rm -f conftest.
$ac_objext
37450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37451 (eval $ac_compile) 2>conftest.er1
37453 grep -v '^ *+' conftest.er1
>conftest.err
37455 cat conftest.err
>&5
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); } &&
37458 { ac_try
='test -z "$ac_c_werror_flag"
37459 || test ! -s conftest.err'
37460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37461 (eval $ac_try) 2>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); }; } &&
37465 { ac_try
='test -s conftest.$ac_objext'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; }; then
37471 bakefile_cv_prog_icc
=yes
37473 echo "$as_me: failed program was:" >&5
37474 sed 's/^/| /' conftest.
$ac_ext >&5
37476 bakefile_cv_prog_icc
=no
37479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37482 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
37483 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
37484 if test "$bakefile_cv_prog_icc" = "yes"; then
37491 if test "x$GCC" != xyes
; then
37492 SHARED_LD_CC
="${CC} -G -o"
37493 SHARED_LD_CXX
="${CXX} -G -o"
37499 CFLAGS
="$CFLAGS -fno-common"
37500 CXXFLAGS
="$CXXFLAGS -fno-common"
37503 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
37504 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
37505 if test "${wx_cv_gcc31+set}" = set; then
37506 echo $ECHO_N "(cached) $ECHO_C" >&6
37509 cat >conftest.
$ac_ext <<_ACEOF
37512 cat confdefs.h
>>conftest.
$ac_ext
37513 cat >>conftest.
$ac_ext <<_ACEOF
37514 /* end confdefs.h. */
37520 #if (__GNUC__ < 3) || \
37521 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
37529 rm -f conftest.
$ac_objext
37530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37531 (eval $ac_compile) 2>conftest.er1
37533 grep -v '^ *+' conftest.er1
>conftest.err
37535 cat conftest.err
>&5
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); } &&
37538 { ac_try
='test -z "$ac_c_werror_flag"
37539 || test ! -s conftest.err'
37540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37541 (eval $ac_try) 2>&5
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); }; } &&
37545 { ac_try
='test -s conftest.$ac_objext'
37546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37547 (eval $ac_try) 2>&5
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); }; }; then
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.
$ac_ext >&5
37563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37566 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
37567 echo "${ECHO_T}$wx_cv_gcc31" >&6
37568 if test "$wx_cv_gcc31" = "no"; then
37569 cat <<EOF >shared-ld-sh
37571 #-----------------------------------------------------------------------------
37572 #-- Name: distrib/mac/shared-ld-sh
37573 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
37574 #-- Author: Gilles Depeyrot
37575 #-- Copyright: (c) 2002 Gilles Depeyrot
37576 #-- Licence: any use permitted
37577 #-----------------------------------------------------------------------------
37582 linking_flag="-dynamiclib"
37584 while test \${#} -gt 0; do
37591 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
37592 # collect these options and values
37593 args="\${args} \${1} \${2}"
37597 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
37598 # collect these options
37599 args="\${args} \${1}"
37602 -dynamiclib|-bundle)
37603 linking_flag="\${1}"
37607 echo "shared-ld: unhandled option '\${1}'"
37611 *.o | *.a | *.dylib)
37612 # collect object files
37613 objects="\${objects} \${1}"
37617 echo "shared-ld: unhandled argument '\${1}'"
37626 # Link one module containing all the others
37628 if test \${verbose} = 1; then
37629 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
37631 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
37633 if test \${status} != 0; then
37638 # Link the shared library from the single module created
37640 if test \${verbose} = 1; then
37641 echo "cc \${linking_flag} master.\$\$.o \${args}"
37643 c++ \${linking_flag} master.\$\$.o \${args}
37645 if test \${status} != 0; then
37650 # Remove intermediate module
37652 rm -f master.\$\$.o
37656 chmod +x shared
-ld-sh
37658 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
37659 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
37660 SHARED_LD_CXX
="$SHARED_LD_CC"
37661 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
37663 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
37664 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
37665 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
37666 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
37669 PIC_FLAG
="-dynamic -fPIC"
37673 if test "x$GCC" != "xyes"; then
37674 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
37675 set dummy makeC
++SharedLib
; ac_word
=$2
37676 echo "$as_me:$LINENO: checking for $ac_word" >&5
37677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37678 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37681 if test -n "$AIX_CXX_LD"; then
37682 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
37684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37685 for as_dir
in $PATH
37688 test -z "$as_dir" && as_dir
=.
37689 for ac_exec_ext
in '' $ac_executable_extensions; do
37690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37691 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
37692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37698 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
37701 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
37702 if test -n "$AIX_CXX_LD"; then
37703 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
37704 echo "${ECHO_T}$AIX_CXX_LD" >&6
37706 echo "$as_me:$LINENO: result: no" >&5
37707 echo "${ECHO_T}no" >&6
37710 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
37711 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
37716 SHARED_LD_CC
="${LD} -shared -o"
37717 SHARED_LD_CXX
="${LD} -shared -o"
37721 if test "x$GCC" != "xyes"; then
37726 *-*-cygwin* | *-*-mingw32* )
37730 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
37734 *-pc-os2_emx | *-pc-os2-emx | \
37739 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
37740 echo "$as_me: error: unknown system type $host." >&2;}
37741 { (exit 1); exit 1; }; }
37744 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
37745 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
37747 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
37748 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
37767 SONAME_FLAG
="-Wl,-soname,"
37795 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
37796 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
37799 if test "x$GCC" = "xyes"; then
37803 powerpc
-*-darwin* )
37804 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
37807 DEPSFLAG_GCC
="-MMD"
37810 echo "$as_me:$LINENO: result: gcc" >&5
37811 echo "${ECHO_T}gcc" >&6
37813 echo "$as_me:$LINENO: result: none" >&5
37814 echo "${ECHO_T}none" >&6
37817 if test $DEPS_TRACKING = 1 ; then
37821 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37822 # script. It is used to track C/C++ files dependencies in portable way.
37824 # Permission is given to use this file in any way.
37828 DEPSFLAG_GCC="$DEPSFLAG_GCC"
37832 if test \$DEPSMODE = gcc ; then
37833 \${*} \${DEPSFLAG_GCC}
37835 if test \${status} != 0 ; then
37838 # move created file to the location we want it in:
37839 while test \${#} -gt 0; do
37853 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
37854 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
37855 if test -f \$depfile ; then
37856 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
37859 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
37860 if test -f \$depfile ; then
37861 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
37881 *-*-cygwin* | *-*-mingw32* )
37882 if test "$build" != "$host" ; then
37883 RESCOMP
=$host_alias-windres
37885 # Extract the first word of "windres", so it can be a program name with args.
37886 set dummy windres
; ac_word
=$2
37887 echo "$as_me:$LINENO: checking for $ac_word" >&5
37888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37889 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37892 if test -n "$RESCOMP"; then
37893 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
37895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37896 for as_dir
in $PATH
37899 test -z "$as_dir" && as_dir
=.
37900 for ac_exec_ext
in '' $ac_executable_extensions; do
37901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37902 ac_cv_prog_RESCOMP
="windres"
37903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37909 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
37912 RESCOMP
=$ac_cv_prog_RESCOMP
37913 if test -n "$RESCOMP"; then
37914 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37915 echo "${ECHO_T}$RESCOMP" >&6
37917 echo "$as_me:$LINENO: result: no" >&5
37918 echo "${ECHO_T}no" >&6
37925 # Extract the first word of "Rez", so it can be a program name with args.
37926 set dummy Rez
; ac_word
=$2
37927 echo "$as_me:$LINENO: checking for $ac_word" >&5
37928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37929 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37930 echo $ECHO_N "(cached) $ECHO_C" >&6
37932 if test -n "$RESCOMP"; then
37933 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
37935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37936 for as_dir
in $PATH
37939 test -z "$as_dir" && as_dir
=.
37940 for ac_exec_ext
in '' $ac_executable_extensions; do
37941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37942 ac_cv_prog_RESCOMP
="Rez"
37943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37949 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
37952 RESCOMP
=$ac_cv_prog_RESCOMP
37953 if test -n "$RESCOMP"; then
37954 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37955 echo "${ECHO_T}$RESCOMP" >&6
37957 echo "$as_me:$LINENO: result: no" >&5
37958 echo "${ECHO_T}no" >&6
37961 # Extract the first word of "SetFile", so it can be a program name with args.
37962 set dummy SetFile
; ac_word
=$2
37963 echo "$as_me:$LINENO: checking for $ac_word" >&5
37964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37965 if test "${ac_cv_prog_SETFILE+set}" = set; then
37966 echo $ECHO_N "(cached) $ECHO_C" >&6
37968 if test -n "$SETFILE"; then
37969 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
37971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37972 for as_dir
in $PATH
37975 test -z "$as_dir" && as_dir
=.
37976 for ac_exec_ext
in '' $ac_executable_extensions; do
37977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37978 ac_cv_prog_SETFILE
="SetFile"
37979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37985 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
37988 SETFILE
=$ac_cv_prog_SETFILE
37989 if test -n "$SETFILE"; then
37990 echo "$as_me:$LINENO: result: $SETFILE" >&5
37991 echo "${ECHO_T}$SETFILE" >&6
37993 echo "$as_me:$LINENO: result: no" >&5
37994 echo "${ECHO_T}no" >&6
38009 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
38010 if test "${enable_precomp_headers+set}" = set; then
38011 enableval
="$enable_precomp_headers"
38012 bk_use_pch
="$enableval"
38017 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
38018 if test "x$GCC" = "xyes"; then
38019 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
38020 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
38021 cat >conftest.
$ac_ext <<_ACEOF
38024 cat confdefs.h
>>conftest.
$ac_ext
38025 cat >>conftest.
$ac_ext <<_ACEOF
38026 /* end confdefs.h. */
38032 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
38033 #error "no pch support"
38036 #error "no pch support"
38038 #if (__GNUC__ == 3) && \
38039 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
38040 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
38041 #error "no pch support"
38048 rm -f conftest.
$ac_objext
38049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38050 (eval $ac_compile) 2>conftest.er1
38052 grep -v '^ *+' conftest.er1
>conftest.err
38054 cat conftest.err
>&5
38055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38056 (exit $ac_status); } &&
38057 { ac_try
='test -z "$ac_c_werror_flag"
38058 || test ! -s conftest.err'
38059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38060 (eval $ac_try) 2>&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); }; } &&
38064 { ac_try
='test -s conftest.$ac_objext'
38065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38066 (eval $ac_try) 2>&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); }; }; then
38071 echo "$as_me:$LINENO: result: yes" >&5
38072 echo "${ECHO_T}yes" >&6
38073 CPPFLAGS
="-fpch-deps $CPPFLAGS"
38077 echo "$as_me: failed program was:" >&5
38078 sed 's/^/| /' conftest.
$ac_ext >&5
38081 echo "$as_me:$LINENO: result: no" >&5
38082 echo "${ECHO_T}no" >&6
38085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38086 if test $GCC_PCH = 1 ; then
38087 cat <<EOF >bk-make-pch
38090 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38091 # script. It is used to generated precompiled headers.
38093 # Permission is given to use this file in any way.
38102 while test \${#} -gt 0; do
38105 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
38106 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
38107 headerfile="\${incdir}/\${header}"
38111 compiler="\${compiler} \${1}"
38115 if test "x\${headerfile}" = "x" ; then
38116 echo "error: can't find header \${header} in include paths" >2
38118 if test -f \${outfile} ; then
38121 mkdir -p \`dirname \${outfile}\`
38123 depsfile=".deps/\`basename \${outfile}\`.d"
38125 # can do this because gcc is >= 3.4:
38126 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
38130 chmod +x bk
-make-pch
38139 COND_BUILD_DEBUG
="#"
38140 if test "x$BUILD" = "xdebug" ; then
38141 COND_BUILD_DEBUG
=""
38144 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
38145 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
38146 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
38149 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
38150 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
38151 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
38154 COND_BUILD_RELEASE
="#"
38155 if test "x$BUILD" = "xrelease" ; then
38156 COND_BUILD_RELEASE
=""
38159 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
38160 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
38161 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
38164 COND_DEBUG_FLAG_1
="#"
38165 if test "x$DEBUG_FLAG" = "x1" ; then
38166 COND_DEBUG_FLAG_1
=""
38169 COND_DEBUG_INFO_0
="#"
38170 if test "x$DEBUG_INFO" = "x0" ; then
38171 COND_DEBUG_INFO_0
=""
38174 COND_DEBUG_INFO_1
="#"
38175 if test "x$DEBUG_INFO" = "x1" ; then
38176 COND_DEBUG_INFO_1
=""
38179 COND_DEPS_TRACKING_0
="#"
38180 if test "x$DEPS_TRACKING" = "x0" ; then
38181 COND_DEPS_TRACKING_0
=""
38184 COND_DEPS_TRACKING_1
="#"
38185 if test "x$DEPS_TRACKING" = "x1" ; then
38186 COND_DEPS_TRACKING_1
=""
38190 if test "x$GCC_PCH" = "x1" ; then
38194 COND_MONOLITHIC_0
="#"
38195 if test "x$MONOLITHIC" = "x0" ; then
38196 COND_MONOLITHIC_0
=""
38199 COND_MONOLITHIC_0_SHARED_0
="#"
38200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
38201 COND_MONOLITHIC_0_SHARED_0
=""
38204 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
38205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
38206 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
38209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
38210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38211 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
38214 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
38215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
38216 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
38219 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
38220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
38221 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
38224 COND_MONOLITHIC_0_SHARED_1
="#"
38225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
38226 COND_MONOLITHIC_0_SHARED_1
=""
38229 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
38230 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
38231 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
38234 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
38235 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38236 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
38239 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
38240 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
38241 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
38244 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
38245 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
38246 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
38249 COND_MONOLITHIC_1
="#"
38250 if test "x$MONOLITHIC" = "x1" ; then
38251 COND_MONOLITHIC_1
=""
38254 COND_MONOLITHIC_1_SHARED_0
="#"
38255 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
38256 COND_MONOLITHIC_1_SHARED_0
=""
38259 COND_MONOLITHIC_1_SHARED_1
="#"
38260 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
38261 COND_MONOLITHIC_1_SHARED_1
=""
38264 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
38265 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38266 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
38269 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
38270 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38271 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
38274 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
38275 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38276 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
38279 COND_PLATFORM_MACOSX_1
="#"
38280 if test "x$PLATFORM_MACOSX" = "x1" ; then
38281 COND_PLATFORM_MACOSX_1
=""
38284 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
38285 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38286 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
38289 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
38290 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38291 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
38294 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
38295 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38296 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
38299 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
38300 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38301 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
38304 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
38305 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38306 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
38309 COND_PLATFORM_MAC_1
="#"
38310 if test "x$PLATFORM_MAC" = "x1" ; then
38311 COND_PLATFORM_MAC_1
=""
38314 COND_PLATFORM_OS2_1
="#"
38315 if test "x$PLATFORM_OS2" = "x1" ; then
38316 COND_PLATFORM_OS2_1
=""
38319 COND_PLATFORM_UNIX_0
="#"
38320 if test "x$PLATFORM_UNIX" = "x0" ; then
38321 COND_PLATFORM_UNIX_0
=""
38324 COND_PLATFORM_UNIX_1
="#"
38325 if test "x$PLATFORM_UNIX" = "x1" ; then
38326 COND_PLATFORM_UNIX_1
=""
38329 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
38330 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38331 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
38334 COND_PLATFORM_WIN32_0
="#"
38335 if test "x$PLATFORM_WIN32" = "x0" ; then
38336 COND_PLATFORM_WIN32_0
=""
38339 COND_PLATFORM_WIN32_1
="#"
38340 if test "x$PLATFORM_WIN32" = "x1" ; then
38341 COND_PLATFORM_WIN32_1
=""
38345 if test "x$SHARED" = "x0" ; then
38349 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
38350 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38351 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
38354 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
38355 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38356 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
38359 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
38360 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38361 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
38364 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
38365 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38366 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
38369 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
38370 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38371 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
38374 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
38375 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38376 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
38379 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
38380 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38381 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
38384 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
38385 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38386 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
38390 if test "x$SHARED" = "x1" ; then
38394 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
38395 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38396 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
38399 COND_TOOLKIT_COCOA
="#"
38400 if test "x$TOOLKIT" = "xCOCOA" ; then
38401 COND_TOOLKIT_COCOA
=""
38404 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
38405 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38406 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
38409 COND_TOOLKIT_GTK
="#"
38410 if test "x$TOOLKIT" = "xGTK" ; then
38411 COND_TOOLKIT_GTK
=""
38414 COND_TOOLKIT_GTK_USE_GUI_1
="#"
38415 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38416 COND_TOOLKIT_GTK_USE_GUI_1
=""
38419 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
38420 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38421 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
38424 COND_TOOLKIT_MAC
="#"
38425 if test "x$TOOLKIT" = "xMAC" ; then
38426 COND_TOOLKIT_MAC
=""
38429 COND_TOOLKIT_MAC_USE_GUI_1
="#"
38430 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38431 COND_TOOLKIT_MAC_USE_GUI_1
=""
38434 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
38435 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38436 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
38439 COND_TOOLKIT_MGL
="#"
38440 if test "x$TOOLKIT" = "xMGL" ; then
38441 COND_TOOLKIT_MGL
=""
38444 COND_TOOLKIT_MGL_USE_GUI_1
="#"
38445 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38446 COND_TOOLKIT_MGL_USE_GUI_1
=""
38449 COND_TOOLKIT_MOTIF
="#"
38450 if test "x$TOOLKIT" = "xMOTIF" ; then
38451 COND_TOOLKIT_MOTIF
=""
38454 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
38455 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
38456 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
38459 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
38460 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38461 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
38464 COND_TOOLKIT_MSW
="#"
38465 if test "x$TOOLKIT" = "xMSW" ; then
38466 COND_TOOLKIT_MSW
=""
38469 COND_TOOLKIT_MSW_USE_GUI_1
="#"
38470 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
38471 COND_TOOLKIT_MSW_USE_GUI_1
=""
38474 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
38475 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38476 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
38479 COND_TOOLKIT_PM
="#"
38480 if test "x$TOOLKIT" = "xPM" ; then
38484 COND_TOOLKIT_PM_USE_GUI_1
="#"
38485 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
38486 COND_TOOLKIT_PM_USE_GUI_1
=""
38489 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
38490 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38491 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
38494 COND_TOOLKIT_X11
="#"
38495 if test "x$TOOLKIT" = "xX11" ; then
38496 COND_TOOLKIT_X11
=""
38499 COND_TOOLKIT_X11_USE_GUI_1
="#"
38500 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
38501 COND_TOOLKIT_X11_USE_GUI_1
=""
38505 if test "x$UNICODE" = "x1" ; then
38509 COND_USE_EXCEPTIONS_0
="#"
38510 if test "x$USE_EXCEPTIONS" = "x0" ; then
38511 COND_USE_EXCEPTIONS_0
=""
38514 COND_USE_EXCEPTIONS_1
="#"
38515 if test "x$USE_EXCEPTIONS" = "x1" ; then
38516 COND_USE_EXCEPTIONS_1
=""
38520 if test "x$USE_GUI" = "x0" ; then
38525 if test "x$USE_GUI" = "x1" ; then
38529 COND_USE_GUI_1_WXUNIV_0
="#"
38530 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38531 COND_USE_GUI_1_WXUNIV_0
=""
38534 COND_USE_GUI_1_WXUNIV_1
="#"
38535 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
38536 COND_USE_GUI_1_WXUNIV_1
=""
38539 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
38540 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38541 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
38544 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
38545 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38546 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
38549 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
38550 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38551 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
38554 COND_USE_ODBC_1
="#"
38555 if test "x$USE_ODBC" = "x1" ; then
38559 COND_USE_SOSYMLINKS_1
="#"
38560 if test "x$USE_SOSYMLINKS" = "x1" ; then
38561 COND_USE_SOSYMLINKS_1
=""
38564 COND_USE_SOVERLINUX_1
="#"
38565 if test "x$USE_SOVERLINUX" = "x1" ; then
38566 COND_USE_SOVERLINUX_1
=""
38569 COND_USE_SOVERSION_0
="#"
38570 if test "x$USE_SOVERSION" = "x0" ; then
38571 COND_USE_SOVERSION_0
=""
38574 COND_USE_SOVERSOLARIS_1
="#"
38575 if test "x$USE_SOVERSOLARIS" = "x1" ; then
38576 COND_USE_SOVERSOLARIS_1
=""
38580 if test "x$WXUNIV" = "x1" ; then
38584 COND_WXUSE_EXPAT_BUILTIN
="#"
38585 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
38586 COND_WXUSE_EXPAT_BUILTIN
=""
38589 COND_WXUSE_LIBJPEG_BUILTIN
="#"
38590 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38591 COND_WXUSE_LIBJPEG_BUILTIN
=""
38594 COND_WXUSE_LIBPNG_BUILTIN
="#"
38595 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38596 COND_WXUSE_LIBPNG_BUILTIN
=""
38599 COND_WXUSE_LIBTIFF_BUILTIN
="#"
38600 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38601 COND_WXUSE_LIBTIFF_BUILTIN
=""
38604 COND_WXUSE_ODBC_BUILTIN
="#"
38605 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
38606 COND_WXUSE_ODBC_BUILTIN
=""
38609 COND_WXUSE_REGEX_BUILTIN
="#"
38610 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
38611 COND_WXUSE_REGEX_BUILTIN
=""
38614 COND_WXUSE_ZLIB_BUILTIN
="#"
38615 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
38616 COND_WXUSE_ZLIB_BUILTIN
=""
38623 if test $GCC_PCH = 1 ; then
38624 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38625 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
38628 powerpc
-*-darwin* )
38629 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38630 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
38636 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
38737 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38738 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38739 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38740 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38743 cat >conftest.
make <<\_ACEOF
38745 @
echo 'ac_maketemp="$(MAKE)"'
38747 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38748 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38749 if test -n "$ac_maketemp"; then
38750 eval ac_cv_prog_make_
${ac_make}_set
=yes
38752 eval ac_cv_prog_make_
${ac_make}_set
=no
38754 rm -f conftest.
make
38756 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38757 echo "$as_me:$LINENO: result: yes" >&5
38758 echo "${ECHO_T}yes" >&6
38761 echo "$as_me:$LINENO: result: no" >&5
38762 echo "${ECHO_T}no" >&6
38763 SET_MAKE
="MAKE=${MAKE-make}"
38767 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
38768 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
38771 ac_config_headers
="$ac_config_headers setup.h"
38774 ac_config_files
="$ac_config_files wx-config version-script Makefile"
38777 ac_config_commands
="$ac_config_commands default"
38781 if test "$wxUSE_GUI" = "yes"; then
38782 SUBDIRS
="samples demos utils contrib"
38783 else SUBDIRS
="samples utils"
38786 for subdir
in `echo $SUBDIRS`; do
38787 if test -d ${srcdir}/${subdir} ; then
38788 if test "$wxUSE_GUI" = "yes"; then
38789 if test ${subdir} = "samples"; then
38790 makefiles
="samples/Makefile.in $makefiles"
38791 for sample
in `echo $SAMPLES_SUBDIRS`; do
38792 if test -d $srcdir/samples
/$sample; then
38793 makefiles
="samples/$sample/Makefile.in $makefiles"
38796 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
38798 else if test ${subdir} = "samples"; then
38799 makefiles
="samples/Makefile.in samples/console/Makefile.in"
38800 else makefiles
="utils/HelpGen/Makefile.in \
38801 utils/HelpGen/src/Makefile.in \
38802 utils/tex2rtf/Makefile.in \
38803 utils/tex2rtf/src/Makefile.in"
38807 for mkin
in $makefiles ; do
38808 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
38809 ac_config_files
="$ac_config_files $mk"
38816 cat >confcache
<<\_ACEOF
38817 # This file is a shell script that caches the results of configure
38818 # tests run on this system so they can be shared between configure
38819 # scripts and configure runs, see configure's option --config-cache.
38820 # It is not useful on other systems. If it contains results you don't
38821 # want to keep, you may remove or edit it.
38823 # config.status only pays attention to the cache file if you give it
38824 # the --recheck option to rerun configure.
38826 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38828 # following values.
38832 # The following way of writing the cache mishandles newlines in values,
38833 # but we know of no workaround that is simple, portable, and efficient.
38834 # So, don't put newlines in cache variables' values.
38835 # Ultrix sh set writes to stderr and can't be redirected directly,
38836 # and sets the high bit in the cache file unless we assign to the vars.
38839 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38841 # `set' does not quote correctly, so add quotes (double-quote
38842 # substitution turns \\\\ into \\, and sed turns \\ into \).
38845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38848 # `set' quotes correctly as required by POSIX, so do not add quotes.
38850 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38859 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38861 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38862 if test -w $cache_file; then
38863 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38864 cat confcache
>$cache_file
38866 echo "not updating unwritable cache $cache_file"
38871 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
38872 # Let make expand exec_prefix.
38873 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
38875 # VPATH may cause trouble with some makes, so we remove $(srcdir),
38876 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38877 # trailing colons and then remove the whole line if VPATH becomes empty
38878 # (actually we leave an empty line to preserve line numbers).
38879 if test "x$srcdir" = x.
; then
38880 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
38881 s/:*\$(srcdir):*/:/;
38882 s/:*\${srcdir}:*/:/;
38884 s/^\([^=]*=[ ]*\):*/\1/;
38890 DEFS
=-DHAVE_CONFIG_H
38894 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
38895 # 1. Remove the extension, and $U if already installed.
38896 ac_i
=`echo "$ac_i" |
38897 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
38899 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
38900 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
38902 LIBOBJS
=$ac_libobjs
38904 LTLIBOBJS
=$ac_ltlibobjs
38908 : ${CONFIG_STATUS=./config.status}
38909 ac_clean_files_save
=$ac_clean_files
38910 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
38911 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
38912 echo "$as_me: creating $CONFIG_STATUS" >&6;}
38913 cat >$CONFIG_STATUS <<_ACEOF
38915 # Generated by $as_me.
38916 # Run this file to recreate the current configuration.
38917 # Compiler output produced by configure, useful for debugging
38918 # configure, is in config.log if it exists.
38921 ac_cs_recheck=false
38923 SHELL=\${CONFIG_SHELL-$SHELL}
38926 cat >>$CONFIG_STATUS <<\_ACEOF
38927 ## --------------------- ##
38928 ## M4sh Initialization. ##
38929 ## --------------------- ##
38931 # Be Bourne compatible
38932 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
38935 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
38936 # is contrary to our usage. Disable this feature.
38937 alias -g '${1+"$@"}'='"$@"'
38938 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
38941 DUALCASE
=1; export DUALCASE
# for MKS sh
38943 # Support unset when possible.
38944 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
38951 # Work around bugs in pre-3.0 UWIN ksh.
38952 $as_unset ENV MAIL MAILPATH
38959 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
38960 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
38961 LC_TELEPHONE LC_TIME
38963 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
38964 eval $as_var=C
; export $as_var
38970 # Required to use basename.
38971 if expr a
: '\(a\)' >/dev
/null
2>&1; then
38977 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
38978 as_basename
=basename
38984 # Name of the executable.
38985 as_me
=`$as_basename "$0" ||
38986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
38987 X"$0" : 'X\(//\)$' \| \
38988 X"$0" : 'X\(/\)$' \| \
38989 . : '\(.\)' 2>/dev/null ||
38991 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
38992 /^X\/\(\/\/\)$/{ s//\1/; q; }
38993 /^X\/\(\/\).*/{ s//\1/; q; }
38997 # PATH needs CR, and LINENO needs CR and PATH.
38998 # Avoid depending upon Character Ranges.
38999 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
39000 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39001 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39002 as_cr_digits
='0123456789'
39003 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39005 # The user is always right.
39006 if test "${PATH_SEPARATOR+set}" != set; then
39007 echo "#! /bin/sh" >conf$$.sh
39008 echo "exit 0" >>conf$$.sh
39010 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
39019 as_lineno_1
=$LINENO
39020 as_lineno_2
=$LINENO
39021 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
39022 test "x$as_lineno_1" != "x$as_lineno_2" &&
39023 test "x$as_lineno_3" = "x$as_lineno_2" || {
39024 # Find who we are. Look in the path if we contain no path at all
39027 *[\\/]* ) as_myself
=$0 ;;
39028 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39029 for as_dir
in $PATH
39032 test -z "$as_dir" && as_dir
=.
39033 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
39038 # We did not find ourselves, most probably we were run as `sh COMMAND'
39039 # in which case we are not to be found in the path.
39040 if test "x$as_myself" = x
; then
39043 if test ! -f "$as_myself"; then
39044 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39045 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39046 { (exit 1); exit 1; }; }
39048 case $CONFIG_SHELL in
39050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39051 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
39054 test -z "$as_dir" && as_dir
=.
39055 for as_base
in sh bash ksh sh5
; do
39058 if ("$as_dir/$as_base" -c '
39059 as_lineno_1=$LINENO
39060 as_lineno_2=$LINENO
39061 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39062 test "x$as_lineno_1" != "x$as_lineno_2" &&
39063 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
39064 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
39065 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
39066 CONFIG_SHELL
=$as_dir/$as_base
39067 export CONFIG_SHELL
39068 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39076 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39077 # uniformly replaced by the line number. The first 'sed' inserts a
39078 # line-number line before each line; the second 'sed' does the real
39079 # work. The second script uses 'N' to pair each line-number line
39080 # with the numbered line, and appends trailing '-' during
39081 # substitution so that $LINENO is not a special case at line end.
39082 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39083 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39084 sed '=' <$as_myself |
39089 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39092 s,^['$as_cr_digits']*\n,,
39093 ' >$as_me.lineno
&&
39094 chmod +x
$as_me.lineno
||
39095 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39096 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39097 { (exit 1); exit 1; }; }
39099 # Don't try to exec as it changes $[0], causing all sort of problems
39100 # (the dirname of $[0] is not the place where we might find the
39101 # original and so on. Autoconf is especially sensible to this).
39103 # Exit status is that of the last command.
39108 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39109 *c
*,-n*) ECHO_N
= ECHO_C
='
39111 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
39112 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
39115 if expr a
: '\(a\)' >/dev
/null
2>&1; then
39121 rm -f conf$$ conf$$.exe conf$$.
file
39123 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
39124 # We could just check for DJGPP; but this test a) works b) is more generic
39125 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39126 if test -f conf$$.exe
; then
39127 # Don't use ln at all; we don't have any links
39132 elif ln conf$$.
file conf$$
2>/dev
/null
; then
39137 rm -f conf$$ conf$$.exe conf$$.
file
39139 if mkdir -p .
2>/dev
/null
; then
39142 test -d .
/-p && rmdir .
/-p
39146 as_executable_p
="test -f"
39148 # Sed expression to map a string onto a valid CPP name.
39149 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39151 # Sed expression to map a string onto a valid variable name.
39152 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39156 # We need space, tab and new line, in precisely that order.
39166 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39167 # report actual input values of CONFIG_FILES etc. instead of their
39168 # values after options handling. Logging --version etc. is OK.
39172 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39173 ## Running $as_me. ##
39178 This file was extended by wxWindows $as_me 2.5.1, which was
39179 generated by GNU Autoconf 2.58. Invocation command line was
39181 CONFIG_FILES = $CONFIG_FILES
39182 CONFIG_HEADERS = $CONFIG_HEADERS
39183 CONFIG_LINKS = $CONFIG_LINKS
39184 CONFIG_COMMANDS = $CONFIG_COMMANDS
39188 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39192 # Files that config.status was made for.
39193 if test -n "$ac_config_files"; then
39194 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39197 if test -n "$ac_config_headers"; then
39198 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39201 if test -n "$ac_config_links"; then
39202 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39205 if test -n "$ac_config_commands"; then
39206 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39209 cat >>$CONFIG_STATUS <<\_ACEOF
39212 \`$as_me' instantiates files from templates according to the
39213 current configuration.
39215 Usage: $0 [OPTIONS] [FILE]...
39217 -h, --help print this help, then exit
39218 -V, --version print version number, then exit
39219 -q, --quiet do not print progress messages
39220 -d, --debug don't remove temporary files
39221 --recheck update $as_me by reconfiguring in the same conditions
39222 --file=FILE[:TEMPLATE]
39223 instantiate the configuration file FILE
39224 --header=FILE[:TEMPLATE]
39225 instantiate the configuration header FILE
39227 Configuration files:
39230 Configuration headers:
39233 Configuration commands:
39236 Report bugs to <bug-autoconf@gnu.org>."
39239 cat >>$CONFIG_STATUS <<_ACEOF
39241 wxWindows config.status 2.5.1
39242 configured by $0, generated by GNU Autoconf 2.58,
39243 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39245 Copyright (C) 2003 Free Software Foundation, Inc.
39246 This config.status script is free software; the Free Software Foundation
39247 gives unlimited permission to copy, distribute and modify it."
39252 cat >>$CONFIG_STATUS <<\_ACEOF
39253 # If no file are specified by the user, then we need to provide default
39254 # value. By we need to know if files were specified by the user.
39260 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
39261 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
39269 *) # This is not an option, so the user has probably given explicit
39272 ac_need_defaults
=false
;;
39276 # Handling of the options.
39278 cat >>$CONFIG_STATUS <<\_ACEOF
39279 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39281 --version | --vers* | -V )
39282 echo "$ac_cs_version"; exit 0 ;;
39284 # Conflict between --help and --header
39285 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39286 Try \`$0 --help' for more information." >&5
39287 echo "$as_me: error: ambiguous option: $1
39288 Try \`$0 --help' for more information." >&2;}
39289 { (exit 1); exit 1; }; };;
39290 --help | --hel | -h )
39291 echo "$ac_cs_usage"; exit 0 ;;
39292 --debug | --d* | -d )
39294 --file | --fil | --fi | --f )
39296 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
39297 ac_need_defaults
=false
;;
39298 --header | --heade | --head | --hea )
39300 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
39301 ac_need_defaults
=false
;;
39302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39303 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39306 # This is an error.
39307 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39308 Try \`$0 --help' for more information." >&5
39309 echo "$as_me: error: unrecognized option: $1
39310 Try \`$0 --help' for more information." >&2;}
39311 { (exit 1); exit 1; }; } ;;
39313 *) ac_config_targets
="$ac_config_targets $1" ;;
39319 ac_configure_extra_args
=
39321 if $ac_cs_silent; then
39323 ac_configure_extra_args
="$ac_configure_extra_args --silent"
39327 cat >>$CONFIG_STATUS <<_ACEOF
39328 if \$ac_cs_recheck; then
39329 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39330 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39335 cat >>$CONFIG_STATUS <<_ACEOF
39337 # INIT-COMMANDS section.
39341 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
39350 cat >>$CONFIG_STATUS <<\_ACEOF
39351 for ac_config_target
in $ac_config_targets
39353 case "$ac_config_target" in
39354 # Handling of arguments.
39355 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
39356 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
39357 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
39358 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
39359 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
39360 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
39361 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39362 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39363 { (exit 1); exit 1; }; };;
39367 # If the user did not use the arguments to specify the items to instantiate,
39368 # then the envvar interface is used. Set only those that are not.
39369 # We use the long form for the default assignment because of an extremely
39370 # bizarre bug on SunOS 4.1.3.
39371 if $ac_need_defaults; then
39372 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
39373 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
39374 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
39377 # Have a temporary directory for convenience. Make it in the build tree
39378 # simply because there is no reason to put it here, and in addition,
39379 # creating and moving files from /tmp can sometimes cause problems.
39380 # Create a temporary directory, and hook for its removal unless debugging.
39383 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39384 trap '{ (exit 1); exit 1; }' 1 2 13 15
39387 # Create a (secure) tmp directory for tmp files.
39390 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39391 test -n "$tmp" && test -d "$tmp"
39394 tmp
=.
/confstat$$
-$RANDOM
39395 (umask 077 && mkdir $tmp)
39398 echo "$me: cannot create a temporary directory in ." >&2
39399 { (exit 1); exit 1; }
39404 cat >>$CONFIG_STATUS <<_ACEOF
39407 # CONFIG_FILES section.
39410 # No need to generate the scripts if there are no CONFIG_FILES.
39411 # This happens for instance when ./config.status config.h
39412 if test -n "\$CONFIG_FILES"; then
39413 # Protect against being on the right side of a sed subst in config.status.
39414 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39415 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39416 s,@SHELL@,$SHELL,;t t
39417 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39418 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39419 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39420 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39421 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39422 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39423 s,@exec_prefix@,$exec_prefix,;t t
39424 s,@prefix@,$prefix,;t t
39425 s,@program_transform_name@,$program_transform_name,;t t
39426 s,@bindir@,$bindir,;t t
39427 s,@sbindir@,$sbindir,;t t
39428 s,@libexecdir@,$libexecdir,;t t
39429 s,@datadir@,$datadir,;t t
39430 s,@sysconfdir@,$sysconfdir,;t t
39431 s,@sharedstatedir@,$sharedstatedir,;t t
39432 s,@localstatedir@,$localstatedir,;t t
39433 s,@libdir@,$libdir,;t t
39434 s,@includedir@,$includedir,;t t
39435 s,@oldincludedir@,$oldincludedir,;t t
39436 s,@infodir@,$infodir,;t t
39437 s,@mandir@,$mandir,;t t
39438 s,@build_alias@,$build_alias,;t t
39439 s,@host_alias@,$host_alias,;t t
39440 s,@target_alias@,$target_alias,;t t
39441 s,@DEFS@,$DEFS,;t t
39442 s,@ECHO_C@,$ECHO_C,;t t
39443 s,@ECHO_N@,$ECHO_N,;t t
39444 s,@ECHO_T@,$ECHO_T,;t t
39445 s,@LIBS@,$LIBS,;t t
39446 s,@build@,$build,;t t
39447 s,@build_cpu@,$build_cpu,;t t
39448 s,@build_vendor@,$build_vendor,;t t
39449 s,@build_os@,$build_os,;t t
39450 s,@host@,$host,;t t
39451 s,@host_cpu@,$host_cpu,;t t
39452 s,@host_vendor@,$host_vendor,;t t
39453 s,@host_os@,$host_os,;t t
39454 s,@target@,$target,;t t
39455 s,@target_cpu@,$target_cpu,;t t
39456 s,@target_vendor@,$target_vendor,;t t
39457 s,@target_os@,$target_os,;t t
39459 s,@CFLAGS@,$CFLAGS,;t t
39460 s,@LDFLAGS@,$LDFLAGS,;t t
39461 s,@CPPFLAGS@,$CPPFLAGS,;t t
39462 s,@ac_ct_CC@,$ac_ct_CC,;t t
39463 s,@EXEEXT@,$EXEEXT,;t t
39464 s,@OBJEXT@,$OBJEXT,;t t
39466 s,@EGREP@,$EGREP,;t t
39468 s,@CXXFLAGS@,$CXXFLAGS,;t t
39469 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
39470 s,@RANLIB@,$RANLIB,;t t
39471 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
39473 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
39474 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
39475 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
39476 s,@STRIP@,$STRIP,;t t
39477 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
39478 s,@LN_S@,$LN_S,;t t
39479 s,@CXXCPP@,$CXXCPP,;t t
39480 s,@subdirs@,$subdirs,;t t
39481 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
39482 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
39483 s,@GTK_LIBS@,$GTK_LIBS,;t t
39484 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
39485 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
39486 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
39487 s,@X_CFLAGS@,$X_CFLAGS,;t t
39488 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
39489 s,@X_LIBS@,$X_LIBS,;t t
39490 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
39491 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
39492 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
39493 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
39494 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
39495 s,@RESCOMP@,$RESCOMP,;t t
39496 s,@DEREZ@,$DEREZ,;t t
39497 s,@SETFILE@,$SETFILE,;t t
39498 s,@LIBICONV@,$LIBICONV,;t t
39499 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
39500 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
39501 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
39502 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
39503 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
39504 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
39505 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
39506 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
39507 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
39508 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
39509 s,@VENDOR@,$VENDOR,;t t
39510 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
39511 s,@WXUNIV@,$WXUNIV,;t t
39512 s,@MONOLITHIC@,$MONOLITHIC,;t t
39513 s,@EXTRALIBS@,$EXTRALIBS,;t t
39514 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
39515 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
39516 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
39517 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
39518 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
39519 s,@UNICODE@,$UNICODE,;t t
39520 s,@BUILD@,$BUILD,;t t
39521 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
39522 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
39523 s,@SHARED@,$SHARED,;t t
39524 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
39525 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
39526 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
39527 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
39528 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
39529 s,@SET_MAKE@,$SET_MAKE,;t t
39530 s,@MAKE_SET@,$MAKE_SET,;t t
39531 s,@ac_ct_AR@,$ac_ct_AR,;t t
39532 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
39534 s,@ac_ct_NM@,$ac_ct_NM,;t t
39535 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
39536 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
39537 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
39538 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
39539 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
39540 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
39541 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
39542 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
39543 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
39544 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
39545 s,@LIBPREFIX@,$LIBPREFIX,;t t
39546 s,@DLLPREFIX@,$DLLPREFIX,;t t
39547 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
39548 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
39549 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
39550 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
39551 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
39552 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
39553 s,@PIC_FLAG@,$PIC_FLAG,;t t
39554 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
39555 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
39556 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
39557 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
39558 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
39559 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
39560 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
39561 s,@GCC_PCH@,$GCC_PCH,;t t
39562 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
39563 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
39564 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
39565 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
39566 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
39567 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
39568 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
39569 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
39570 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
39571 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
39572 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
39573 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
39574 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
39575 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
39576 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
39577 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
39578 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
39579 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
39580 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
39581 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
39582 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
39583 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
39584 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
39585 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
39586 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
39587 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
39588 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
39589 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
39590 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
39591 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
39592 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
39593 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
39594 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
39595 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
39596 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
39597 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
39598 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
39599 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
39600 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
39601 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
39602 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
39603 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
39604 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
39605 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
39606 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
39607 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
39608 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
39609 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
39610 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
39611 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
39612 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
39613 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
39614 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
39615 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
39616 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
39617 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
39618 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
39619 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
39620 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
39621 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
39622 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
39623 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
39624 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
39625 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
39626 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
39627 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
39628 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
39629 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
39630 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
39631 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
39632 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
39633 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
39634 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
39635 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
39636 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
39637 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
39638 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
39639 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
39640 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
39641 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
39642 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
39643 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
39644 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
39645 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
39646 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
39647 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
39648 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
39649 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
39650 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
39651 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
39652 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
39653 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
39654 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
39655 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
39656 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
39657 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
39658 s,@PATH_IFS@,$PATH_IFS,;t t
39659 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
39660 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
39661 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
39662 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
39663 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
39664 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
39665 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
39666 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
39667 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
39668 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
39669 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
39670 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
39671 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
39672 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
39673 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
39674 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
39675 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
39676 s,@WX_ALL@,$WX_ALL,;t t
39677 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
39678 s,@SHARED_LD@,$SHARED_LD,;t t
39679 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
39680 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
39681 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
39682 s,@USE_GUI@,$USE_GUI,;t t
39683 s,@AFMINSTALL@,$AFMINSTALL,;t t
39684 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
39685 s,@TOOLKIT@,$TOOLKIT,;t t
39686 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
39687 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
39688 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
39689 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
39690 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
39691 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
39692 s,@cross_compiling@,$cross_compiling,;t t
39693 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
39694 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
39695 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
39696 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
39697 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
39698 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
39699 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
39700 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
39701 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
39702 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
39703 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
39704 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
39705 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
39706 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
39707 s,@GUIDIST@,$GUIDIST,;t t
39708 s,@PORT_FILES@,$PORT_FILES,;t t
39709 s,@DISTDIR@,$DISTDIR,;t t
39710 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
39711 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
39712 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
39713 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
39714 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
39715 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
39716 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
39717 s,@RESFLAGS@,$RESFLAGS,;t t
39718 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
39719 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
39720 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
39721 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
39722 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
39723 s,@MACRESCOMP@,$MACRESCOMP,;t t
39724 s,@MACSETFILE@,$MACSETFILE,;t t
39725 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
39727 s,@DLLTOOL@,$DLLTOOL,;t t
39730 s,@MAKEINFO@,$MAKEINFO,;t t
39731 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
39732 s,@LIBOBJS@,$LIBOBJS,;t t
39733 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
39738 cat >>$CONFIG_STATUS <<\_ACEOF
39739 # Split the substitutions into bite-sized pieces for seds with
39740 # small command number limits, like on Digital OSF/1 and HP-UX.
39741 ac_max_sed_lines
=48
39742 ac_sed_frag
=1 # Number of current file.
39743 ac_beg
=1 # First line for current file.
39744 ac_end
=$ac_max_sed_lines # Line after last line for current file.
39747 while $ac_more_lines; do
39748 if test $ac_beg -gt 1; then
39749 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
39751 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
39753 if test ! -s $tmp/subs.frag
; then
39754 ac_more_lines
=false
39756 # The purpose of the label and of the branching condition is to
39757 # speed up the sed processing (if there are no `@' at all, there
39758 # is no need to browse any of the substitutions).
39759 # These are the two extra sed commands mentioned above.
39761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
39762 if test -z "$ac_sed_cmds"; then
39763 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
39765 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
39767 ac_sed_frag
=`expr $ac_sed_frag + 1`
39769 ac_end
=`expr $ac_end + $ac_max_sed_lines`
39772 if test -z "$ac_sed_cmds"; then
39775 fi # test -n "$CONFIG_FILES"
39778 cat >>$CONFIG_STATUS <<\_ACEOF
39779 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
39780 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39782 - | *:- | *:-:* ) # input from stdin
39784 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39785 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39786 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39787 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39788 * ) ac_file_in
=$ac_file.
in ;;
39791 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
39792 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
39793 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39794 X"$ac_file" : 'X\(//\)[^/]' \| \
39795 X"$ac_file" : 'X\(//\)$' \| \
39796 X"$ac_file" : 'X\(/\)' \| \
39797 . : '\(.\)' 2>/dev/null ||
39799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39800 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39801 /^X\(\/\/\)$/{ s//\1/; q; }
39802 /^X\(\/\).*/{ s//\1/; q; }
39804 { if $as_mkdir_p; then
39809 while test ! -d "$as_dir"; do
39810 as_dirs
="$as_dir $as_dirs"
39811 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
39812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39813 X"$as_dir" : 'X\(//\)[^/]' \| \
39814 X"$as_dir" : 'X\(//\)$' \| \
39815 X"$as_dir" : 'X\(/\)' \| \
39816 . : '\(.\)' 2>/dev/null ||
39818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39819 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39820 /^X\(\/\/\)$/{ s//\1/; q; }
39821 /^X\(\/\).*/{ s//\1/; q; }
39824 test ! -n "$as_dirs" || mkdir $as_dirs
39825 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
39826 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
39827 { (exit 1); exit 1; }; }; }
39831 if test "$ac_dir" != .
; then
39832 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
39833 # A "../" for each directory in $ac_dir_suffix.
39834 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
39836 ac_dir_suffix
= ac_top_builddir
=
39840 .
) # No --srcdir option. We are building in place.
39842 if test -z "$ac_top_builddir"; then
39845 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
39847 [\\/]* | ?
:[\\/]* ) # Absolute path.
39848 ac_srcdir
=$srcdir$ac_dir_suffix;
39849 ac_top_srcdir
=$srcdir ;;
39850 *) # Relative path.
39851 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
39852 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
39855 .
) ac_abs_builddir
=$ac_builddir;;
39857 case $ac_builddir in
39858 .
) ac_abs_builddir
="$ac_dir";;
39859 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
=$ac_builddir;;
39860 *) ac_abs_builddir
="$ac_dir"/$ac_builddir;;
39864 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
39866 case ${ac_top_builddir}.
in
39867 .
) ac_abs_top_builddir
="$ac_dir";;
39868 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
39869 *) ac_abs_top_builddir
="$ac_dir"/${ac_top_builddir}.
;;
39873 .
) ac_abs_srcdir
=$ac_srcdir;;
39876 .
) ac_abs_srcdir
="$ac_dir";;
39877 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
39878 *) ac_abs_srcdir
="$ac_dir"/$ac_srcdir;;
39882 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
39884 case $ac_top_srcdir in
39885 .
) ac_abs_top_srcdir
="$ac_dir";;
39886 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
39887 *) ac_abs_top_srcdir
="$ac_dir"/$ac_top_srcdir;;
39893 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
39894 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
39897 if test x
"$ac_file" != x
-; then
39898 { echo "$as_me:$LINENO: creating $ac_file" >&5
39899 echo "$as_me: creating $ac_file" >&6;}
39902 # Let's still pretend it is `configure' which instantiates (i.e., don't
39903 # use $as_me), people would be surprised to read:
39904 # /* config.h. Generated by config.status. */
39905 if test x
"$ac_file" = x
-; then
39908 configure_input
="$ac_file. "
39910 configure_input
=$configure_input"Generated from `echo $ac_file_in |
39911 sed 's,.*/,,'` by configure."
39913 # First look for the input files in the build tree, otherwise in the
39915 ac_file_inputs
=`IFS=:
39916 for f in $ac_file_in; do
39918 -) echo $tmp/stdin ;;
39920 # Absolute (can't be DOS-style, as IFS=:)
39921 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39922 echo "$as_me: error: cannot find input file: $f" >&2;}
39923 { (exit 1); exit 1; }; }
39926 if test -f "$f"; then
39929 elif test -f "$srcdir/$f"; then
39934 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39935 echo "$as_me: error: cannot find input file: $f" >&2;}
39936 { (exit 1); exit 1; }; }
39939 done` || { (exit 1); exit 1; }
39941 cat >>$CONFIG_STATUS <<_ACEOF
39945 cat >>$CONFIG_STATUS <<\_ACEOF
39947 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
39948 s
,@configure_input@
,$configure_input,;t t
39949 s
,@srcdir@
,$ac_srcdir,;t t
39950 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
39951 s
,@top_srcdir@
,$ac_top_srcdir,;t t
39952 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
39953 s
,@builddir@
,$ac_builddir,;t t
39954 s
,@abs_builddir@
,$ac_abs_builddir,;t t
39955 s
,@top_builddir@
,$ac_top_builddir,;t t
39956 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
39957 s
,@INSTALL@
,$ac_INSTALL,;t t
39958 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
39960 if test x"$ac_file" != x-; then
39961 mv $tmp/out $ac_file
39969 cat >>$CONFIG_STATUS <<\_ACEOF
39972 # CONFIG_HEADER section.
39975 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
39976 # NAME is the cpp macro being defined and VALUE is the value it is being given.
39978 # ac_d sets the value in "#define NAME VALUE" lines.
39979 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
39980 ac_dB
='[ ].*$,\1#\2'
39983 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
39984 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
39985 ac_uB
='$,\1#\2define\3'
39989 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
39990 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39992 - | *:- | *:-:* ) # input from stdin
39994 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39995 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39996 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39997 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39998 * ) ac_file_in
=$ac_file.
in ;;
40001 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40002 echo "$as_me: creating $ac_file" >&6;}
40004 # First look for the input files in the build tree, otherwise in the
40006 ac_file_inputs
=`IFS=:
40007 for f in $ac_file_in; do
40009 -) echo $tmp/stdin ;;
40011 # Absolute (can't be DOS-style, as IFS=:)
40012 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40013 echo "$as_me: error: cannot find input file: $f" >&2;}
40014 { (exit 1); exit 1; }; }
40015 # Do quote $f, to prevent DOS paths from being IFS'd.
40018 if test -f "$f"; then
40021 elif test -f "$srcdir/$f"; then
40026 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40027 echo "$as_me: error: cannot find input file: $f" >&2;}
40028 { (exit 1); exit 1; }; }
40031 done` || { (exit 1); exit 1; }
40032 # Remove the trailing spaces.
40033 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40037 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40038 # `conftest.undefs', that substitutes the proper values into
40039 # config.h.in to produce config.h. The first handles `#define'
40040 # templates, and the second `#undef' templates.
40041 # And first: Protect against being on the right side of a sed subst in
40042 # config.status. Protect against being in an unquoted here document
40043 # in config.status.
40044 rm -f conftest.defines conftest.undefs
40045 # Using a here document instead of a string reduces the quoting nightmare.
40046 # Putting comments in sed scripts is not portable.
40048 # `end' is used to avoid that the second main sed command (meant for
40049 # 0-ary CPP macros) applies to n-ary macro definitions.
40050 # See the Autoconf documentation for `clear'.
40051 cat >confdef2sed.
sed <<\_ACEOF
40056 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40058 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40061 # If some macros were called several times there might be several times
40062 # the same #defines, which is useless. Nevertheless, we may not want to
40063 # sort them, since we want the *last* AC-DEFINE to be honored.
40064 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40065 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40066 rm -f confdef2sed.sed
40068 # This sed command replaces #undef with comments. This is necessary, for
40069 # example, in the case of _POSIX_SOURCE, which is predefined and required
40070 # on some systems where configure will not decide to define it.
40071 cat >>conftest.undefs <<\_ACEOF
40072 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40075 # Break up conftest.defines because some shells have a limit on the size
40076 # of here documents, and old seds have small limits too (100 cmds).
40077 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40078 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40079 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40080 echo ' :' >>$CONFIG_STATUS
40081 rm -f conftest.tail
40082 while grep . conftest.defines >/dev/null
40084 # Write a limited-size here document to $tmp/defines.sed.
40085 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40086 # Speed up: don't consider the non `#define' lines.
40087 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40088 # Work around the forget-to-reset-the-flag bug.
40089 echo 't clr' >>$CONFIG_STATUS
40090 echo ': clr' >>$CONFIG_STATUS
40091 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
40093 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40095 mv $tmp/out $tmp/in
40097 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
40098 rm -f conftest.defines
40099 mv conftest.
tail conftest.defines
40101 rm -f conftest.defines
40102 echo ' fi # grep' >>$CONFIG_STATUS
40103 echo >>$CONFIG_STATUS
40105 # Break up conftest.undefs because some shells have a limit on the size
40106 # of here documents, and old seds have small limits too (100 cmds).
40107 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40108 rm -f conftest.
tail
40109 while grep . conftest.undefs
>/dev
/null
40111 # Write a limited-size here document to $tmp/undefs.sed.
40112 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40113 # Speed up: don't consider the non
`#undef'
40114 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40115 # Work around the forget-to-reset-the-flag bug.
40116 echo 't clr' >>$CONFIG_STATUS
40117 echo ': clr' >>$CONFIG_STATUS
40118 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40120 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40122 mv $tmp/out $tmp/in
40124 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40125 rm -f conftest.undefs
40126 mv conftest.tail conftest.undefs
40128 rm -f conftest.undefs
40130 cat >>$CONFIG_STATUS <<\_ACEOF
40131 # Let's still pretend it is `configure
' which instantiates (i.e., don't
40132 # use $as_me), people would be surprised to read:
40133 # /* config.h. Generated by config.status. */
40134 if test x
"$ac_file" = x
-; then
40135 echo "/* Generated by configure. */" >$tmp/config.h
40137 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40139 cat $tmp/in >>$tmp/config.h
40141 if test x
"$ac_file" != x
-; then
40142 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
40143 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40144 echo "$as_me: $ac_file is unchanged" >&6;}
40146 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40147 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40148 X"$ac_file" : 'X\(//\)[^/]' \| \
40149 X"$ac_file" : 'X\(//\)$' \| \
40150 X"$ac_file" : 'X\(/\)' \| \
40151 . : '\(.\)' 2>/dev/null ||
40153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40154 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40155 /^X\(\/\/\)$/{ s//\1/; q; }
40156 /^X\(\/\).*/{ s//\1/; q; }
40158 { if $as_mkdir_p; then
40163 while test ! -d "$as_dir"; do
40164 as_dirs
="$as_dir $as_dirs"
40165 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40167 X"$as_dir" : 'X\(//\)[^/]' \| \
40168 X"$as_dir" : 'X\(//\)$' \| \
40169 X"$as_dir" : 'X\(/\)' \| \
40170 . : '\(.\)' 2>/dev/null ||
40172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40174 /^X\(\/\/\)$/{ s//\1/; q; }
40175 /^X\(\/\).*/{ s//\1/; q; }
40178 test ! -n "$as_dirs" || mkdir $as_dirs
40179 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40180 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40181 { (exit 1); exit 1; }; }; }
40184 mv $tmp/config.h
$ac_file
40188 rm -f $tmp/config.h
40192 cat >>$CONFIG_STATUS <<\_ACEOF
40195 # CONFIG_COMMANDS section.
40197 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
40198 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
40199 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40200 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
40201 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40202 X"$ac_dest" : 'X\(//\)[^/]' \| \
40203 X"$ac_dest" : 'X\(//\)$' \| \
40204 X"$ac_dest" : 'X\(/\)' \| \
40205 . : '\(.\)' 2>/dev/null ||
40207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40208 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40209 /^X\(\/\/\)$/{ s//\1/; q; }
40210 /^X\(\/\).*/{ s//\1/; q; }
40212 { if $as_mkdir_p; then
40217 while test ! -d "$as_dir"; do
40218 as_dirs
="$as_dir $as_dirs"
40219 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40220 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40221 X"$as_dir" : 'X\(//\)[^/]' \| \
40222 X"$as_dir" : 'X\(//\)$' \| \
40223 X"$as_dir" : 'X\(/\)' \| \
40224 . : '\(.\)' 2>/dev/null ||
40226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40228 /^X\(\/\/\)$/{ s//\1/; q; }
40229 /^X\(\/\).*/{ s//\1/; q; }
40232 test ! -n "$as_dirs" || mkdir $as_dirs
40233 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40234 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40235 { (exit 1); exit 1; }; }; }
40239 if test "$ac_dir" != .
; then
40240 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40241 # A "../" for each directory in $ac_dir_suffix.
40242 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40244 ac_dir_suffix
= ac_top_builddir
=
40248 .
) # No --srcdir option. We are building in place.
40250 if test -z "$ac_top_builddir"; then
40253 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40255 [\\/]* | ?
:[\\/]* ) # Absolute path.
40256 ac_srcdir
=$srcdir$ac_dir_suffix;
40257 ac_top_srcdir
=$srcdir ;;
40258 *) # Relative path.
40259 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40260 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40263 .
) ac_abs_builddir
=$ac_builddir;;
40265 case $ac_builddir in
40266 .
) ac_abs_builddir
="$ac_dir";;
40267 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
=$ac_builddir;;
40268 *) ac_abs_builddir
="$ac_dir"/$ac_builddir;;
40272 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40274 case ${ac_top_builddir}.
in
40275 .
) ac_abs_top_builddir
="$ac_dir";;
40276 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40277 *) ac_abs_top_builddir
="$ac_dir"/${ac_top_builddir}.
;;
40281 .
) ac_abs_srcdir
=$ac_srcdir;;
40284 .
) ac_abs_srcdir
="$ac_dir";;
40285 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
40286 *) ac_abs_srcdir
="$ac_dir"/$ac_srcdir;;
40290 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
40292 case $ac_top_srcdir in
40293 .
) ac_abs_top_srcdir
="$ac_dir";;
40294 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
40295 *) ac_abs_top_srcdir
="$ac_dir"/$ac_top_srcdir;;
40300 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40301 echo "$as_me: executing $ac_dest commands" >&6;}
40304 if test ! -h wx
-config; then
40306 mv wx
-config wx
${TOOLCHAIN_NAME}-config
40307 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
40310 if test ! -d lib
; then
40313 if test ! -d lib
/wx
; then
40316 if test ! -d lib
/wx
/include
; then
40317 mkdir lib
/wx
/include
40319 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
40320 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
40322 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
40323 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
40325 if test -f setup.h
; then
40326 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
40333 cat >>$CONFIG_STATUS <<\_ACEOF
40335 { (exit 0); exit 0; }
40337 chmod +x
$CONFIG_STATUS
40338 ac_clean_files
=$ac_clean_files_save
40341 # configure is writing to config.log, and then calls config.status.
40342 # config.status does its own redirection, appending to config.log.
40343 # Unfortunately, on DOS this fails, as config.log is still kept open
40344 # by configure, so config.status won't be able to write to it; its
40345 # output is simply discarded. So we exec the FD to /dev/null,
40346 # effectively closing config.log, so it can be properly (re)opened and
40347 # appended to by config.status. When coming back to configure, we
40348 # need to make the FD available again.
40349 if test "$no_create" != yes; then
40351 ac_config_status_args
=
40352 test "$silent" = yes &&
40353 ac_config_status_args
="$ac_config_status_args --quiet"
40355 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
40357 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40358 # would make configure fail if this is the last instruction.
40359 $ac_cs_success || { (exit 1); exit 1; }
40363 # CONFIG_SUBDIRS section.
40365 if test "$no_recursion" != yes; then
40367 # Remove --cache-file and --srcdir arguments so they do not pile up.
40368 ac_sub_configure_args
=
40370 for ac_arg
in $ac_configure_args; do
40371 if test -n "$ac_prev"; then
40376 -cache-file | --cache-file | --cache-fil | --cache-fi \
40377 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
40378 ac_prev
=cache_file
;;
40379 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40380 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
40383 --config-cache | -C)
40385 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
40387 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40389 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
40391 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40393 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
40397 # Always prepend --prefix to ensure using the same prefix
40398 # in subdir configurations.
40399 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
40402 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
40404 # Do not complain, so a configure script can configure whichever
40405 # parts of a large source tree are present.
40406 test -d $srcdir/$ac_dir || continue
40408 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
40409 echo "$as_me: configuring in $ac_dir" >&6;}
40410 { if $as_mkdir_p; then
40415 while test ! -d "$as_dir"; do
40416 as_dirs
="$as_dir $as_dirs"
40417 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40418 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40419 X"$as_dir" : 'X\(//\)[^/]' \| \
40420 X"$as_dir" : 'X\(//\)$' \| \
40421 X"$as_dir" : 'X\(/\)' \| \
40422 . : '\(.\)' 2>/dev/null ||
40424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40426 /^X\(\/\/\)$/{ s//\1/; q; }
40427 /^X\(\/\).*/{ s//\1/; q; }
40430 test ! -n "$as_dirs" || mkdir $as_dirs
40431 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40432 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40433 { (exit 1); exit 1; }; }; }
40437 if test "$ac_dir" != .
; then
40438 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40439 # A "../" for each directory in $ac_dir_suffix.
40440 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40442 ac_dir_suffix
= ac_top_builddir
=
40446 .
) # No --srcdir option. We are building in place.
40448 if test -z "$ac_top_builddir"; then
40451 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40453 [\\/]* | ?
:[\\/]* ) # Absolute path.
40454 ac_srcdir
=$srcdir$ac_dir_suffix;
40455 ac_top_srcdir
=$srcdir ;;
40456 *) # Relative path.
40457 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40458 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40461 .
) ac_abs_builddir
=$ac_builddir;;
40463 case $ac_builddir in
40464 .
) ac_abs_builddir
="$ac_dir";;
40465 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
=$ac_builddir;;
40466 *) ac_abs_builddir
="$ac_dir"/$ac_builddir;;
40470 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40472 case ${ac_top_builddir}.
in
40473 .
) ac_abs_top_builddir
="$ac_dir";;
40474 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40475 *) ac_abs_top_builddir
="$ac_dir"/${ac_top_builddir}.
;;
40479 .
) ac_abs_srcdir
=$ac_srcdir;;
40482 .
) ac_abs_srcdir
="$ac_dir";;
40483 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
40484 *) ac_abs_srcdir
="$ac_dir"/$ac_srcdir;;
40488 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
40490 case $ac_top_srcdir in
40491 .
) ac_abs_top_srcdir
="$ac_dir";;
40492 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
40493 *) ac_abs_top_srcdir
="$ac_dir"/$ac_top_srcdir;;
40500 # Check for guested configure; otherwise get Cygnus style configure.
40501 if test -f $ac_srcdir/configure.gnu
; then
40502 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
40503 elif test -f $ac_srcdir/configure
; then
40504 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
40505 elif test -f $ac_srcdir/configure.
in; then
40506 ac_sub_configure
=$ac_configure
40508 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
40509 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
40513 # The recursion is here.
40514 if test -n "$ac_sub_configure"; then
40515 # Make the cache file name correct relative to the subdirectory.
40516 case $cache_file in
40517 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
40518 *) # Relative path.
40519 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
40522 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
40523 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
40524 # The eval makes quoting arguments work.
40525 eval $ac_sub_configure $ac_sub_configure_args \
40526 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
40527 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
40528 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
40529 { (exit 1); exit 1; }; }
40538 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
40540 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
40541 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
40543 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
40544 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
40545 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
40547 echo " What level of wxWindows compatibility should be enabled?"
40548 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
40549 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
40551 echo " Which libraries should wxWindows use?"
40552 echo " jpeg ${wxUSE_LIBJPEG-none}"
40553 echo " png ${wxUSE_LIBPNG-none}"
40554 echo " regex ${wxUSE_REGEX}"
40555 echo " tiff ${wxUSE_LIBTIFF-none}"
40556 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
40557 echo " xpm ${wxUSE_LIBXPM-none}"
40559 echo " zlib ${wxUSE_ZLIB}"
40560 echo " odbc ${wxUSE_ODBC}"
40561 echo " expat ${wxUSE_EXPAT}"
40562 echo " libmspack ${wxUSE_LIBMSPACK}"