2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="main.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
313 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
314 ac_subdirs_all
="$ac_subdirs_all gdbtk"
315 ac_subdirs_all
="$ac_subdirs_all multi-ice"
316 ac_subdirs_all
="$ac_subdirs_all gdbserver"
317 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT localedir GL_COND_LIBTOOL_TRUE GL_COND_LIBTOOL_FALSE GNULIB_MEMMEM GNULIB_MEMPCPY GNULIB_MEMRCHR GNULIB_STPCPY GNULIB_STPNCPY GNULIB_STRCHRNUL GNULIB_STRDUP GNULIB_STRNDUP GNULIB_STRNLEN GNULIB_STRPBRK GNULIB_STRSEP GNULIB_STRSTR GNULIB_STRCASESTR GNULIB_STRTOK_R GNULIB_MBSLEN GNULIB_MBSNLEN GNULIB_MBSCHR GNULIB_MBSRCHR GNULIB_MBSSTR GNULIB_MBSCASECMP GNULIB_MBSNCASECMP GNULIB_MBSPCASECMP GNULIB_MBSCASESTR GNULIB_MBSCSPN GNULIB_MBSPBRK GNULIB_MBSSPN GNULIB_MBSSEP GNULIB_MBSTOK_R GNULIB_STRERROR GNULIB_STRSIGNAL HAVE_DECL_MEMMEM HAVE_MEMPCPY HAVE_DECL_MEMRCHR HAVE_STPCPY HAVE_STPNCPY HAVE_STRCHRNUL HAVE_DECL_STRDUP HAVE_STRNDUP HAVE_DECL_STRNDUP HAVE_DECL_STRNLEN HAVE_STRPBRK HAVE_STRSEP HAVE_STRCASESTR HAVE_DECL_STRTOK_R HAVE_DECL_STRERROR HAVE_DECL_STRSIGNAL REPLACE_STRERROR REPLACE_STRSIGNAL REPLACE_MEMMEM REPLACE_STRCASESTR REPLACE_STRSTR HAVE_LONG_LONG_INT HAVE_UNSIGNED_LONG_LONG_INT HAVE_INTTYPES_H HAVE_SYS_TYPES_H INCLUDE_NEXT NEXT_STDINT_H HAVE_STDINT_H HAVE_SYS_INTTYPES_H HAVE_SYS_BITYPES_H BITSIZEOF_PTRDIFF_T BITSIZEOF_SIG_ATOMIC_T BITSIZEOF_SIZE_T BITSIZEOF_WCHAR_T BITSIZEOF_WINT_T HAVE_SIGNED_SIG_ATOMIC_T HAVE_SIGNED_WCHAR_T HAVE_SIGNED_WINT_T PTRDIFF_T_SUFFIX SIG_ATOMIC_T_SUFFIX SIZE_T_SUFFIX WCHAR_T_SUFFIX WINT_T_SUFFIX STDINT_H NEXT_STRING_H GNULIB_WCWIDTH HAVE_DECL_WCWIDTH REPLACE_WCWIDTH WCHAR_H HAVE_WCHAR_H NEXT_WCHAR_H LIBGNU_LIBDEPS LIBGNU_LTLIBDEPS PACKAGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE subdirs TARGET_OBS LN_S YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG READLINE READLINE_DEPS READLINE_CFLAGS HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR SIM SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags nm_h LIBICONV LIBOBJS LTLIBOBJS gl_LIBOBJS gl_LTLIBOBJS gltests_LIBOBJS gltests_LTLIBOBJS'
318 ac_subst_files
='host_makefile_frag'
320 # Initialize some variables set by options.
322 ac_init_version
=false
323 # The variables have the same names as the options, with
324 # dashes changed to underlines.
332 program_transform_name
=s
,x
,x
,
340 # Installation directory options.
341 # These are left unexpanded so users can "make install exec_prefix=/foo"
342 # and all the variables that are supposed to be based on exec_prefix
343 # by default will actually change.
344 # Use braces instead of parens because sh, perl, etc. also accept them.
345 bindir
='${exec_prefix}/bin'
346 sbindir
='${exec_prefix}/sbin'
347 libexecdir
='${exec_prefix}/libexec'
348 datadir
='${prefix}/share'
349 sysconfdir
='${prefix}/etc'
350 sharedstatedir
='${prefix}/com'
351 localstatedir
='${prefix}/var'
352 libdir
='${exec_prefix}/lib'
353 includedir
='${prefix}/include'
354 oldincludedir
='/usr/include'
355 infodir
='${prefix}/info'
356 mandir
='${prefix}/man'
361 # If the previous option needs an argument, assign it.
362 if test -n "$ac_prev"; then
363 eval "$ac_prev=\$ac_option"
368 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
370 # Accept the important Cygnus configure options, so we can diagnose typos.
374 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
376 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
379 -build |
--build |
--buil |
--bui |
--bu)
380 ac_prev
=build_alias
;;
381 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
382 build_alias
=$ac_optarg ;;
384 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
385 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
386 ac_prev
=cache_file
;;
387 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
388 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
389 cache_file
=$ac_optarg ;;
392 cache_file
=config.cache
;;
394 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
396 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
398 datadir
=$ac_optarg ;;
400 -disable-* |
--disable-*)
401 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
407 eval "enable_$ac_feature=no" ;;
409 -enable-* |
--enable-*)
410 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
411 # Reject names that are not valid shell variable names.
412 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
413 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
414 { (exit 1); exit 1; }; }
415 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
417 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
420 eval "enable_$ac_feature='$ac_optarg'" ;;
422 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
423 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
424 |
--exec |
--exe |
--ex)
425 ac_prev
=exec_prefix
;;
426 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
427 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
428 |
--exec=* |
--exe=* |
--ex=*)
429 exec_prefix
=$ac_optarg ;;
431 -gas |
--gas |
--ga |
--g)
432 # Obsolete; use --with-gas.
435 -help |
--help |
--hel |
--he |
-h)
437 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
438 ac_init_help
=recursive
;;
439 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
440 ac_init_help
=short
;;
442 -host |
--host |
--hos |
--ho)
443 ac_prev
=host_alias
;;
444 -host=* |
--host=* |
--hos=* |
--ho=*)
445 host_alias
=$ac_optarg ;;
447 -includedir |
--includedir |
--includedi |
--included |
--include \
448 |
--includ |
--inclu |
--incl |
--inc)
449 ac_prev
=includedir
;;
450 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
451 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
452 includedir
=$ac_optarg ;;
454 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
456 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
457 infodir
=$ac_optarg ;;
459 -libdir |
--libdir |
--libdi |
--libd)
461 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
464 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
465 |
--libexe |
--libex |
--libe)
466 ac_prev
=libexecdir
;;
467 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
468 |
--libexe=* |
--libex=* |
--libe=*)
469 libexecdir
=$ac_optarg ;;
471 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
472 |
--localstate |
--localstat |
--localsta |
--localst \
473 |
--locals |
--local |
--loca |
--loc |
--lo)
474 ac_prev
=localstatedir
;;
475 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
476 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
477 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
478 localstatedir
=$ac_optarg ;;
480 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
482 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
486 # Obsolete; use --without-fp.
489 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
490 |
--no-cr |
--no-c |
-n)
493 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
494 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
497 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
498 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
499 |
--oldin |
--oldi |
--old |
--ol |
--o)
500 ac_prev
=oldincludedir
;;
501 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
502 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
503 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
504 oldincludedir
=$ac_optarg ;;
506 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
508 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
511 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
512 |
--program-pre |
--program-pr |
--program-p)
513 ac_prev
=program_prefix
;;
514 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
515 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
516 program_prefix
=$ac_optarg ;;
518 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
519 |
--program-suf |
--program-su |
--program-s)
520 ac_prev
=program_suffix
;;
521 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
522 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
523 program_suffix
=$ac_optarg ;;
525 -program-transform-name |
--program-transform-name \
526 |
--program-transform-nam |
--program-transform-na \
527 |
--program-transform-n |
--program-transform- \
528 |
--program-transform |
--program-transfor \
529 |
--program-transfo |
--program-transf \
530 |
--program-trans |
--program-tran \
531 |
--progr-tra |
--program-tr |
--program-t)
532 ac_prev
=program_transform_name
;;
533 -program-transform-name=* |
--program-transform-name=* \
534 |
--program-transform-nam=* |
--program-transform-na=* \
535 |
--program-transform-n=* |
--program-transform-=* \
536 |
--program-transform=* |
--program-transfor=* \
537 |
--program-transfo=* |
--program-transf=* \
538 |
--program-trans=* |
--program-tran=* \
539 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
540 program_transform_name
=$ac_optarg ;;
542 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
543 |
-silent |
--silent |
--silen |
--sile |
--sil)
546 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
548 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
550 sbindir
=$ac_optarg ;;
552 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
553 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
554 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
556 ac_prev
=sharedstatedir
;;
557 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
558 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
559 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
561 sharedstatedir
=$ac_optarg ;;
563 -site |
--site |
--sit)
565 -site=* |
--site=* |
--sit=*)
568 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
570 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
573 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
574 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
575 ac_prev
=sysconfdir
;;
576 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
577 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
578 sysconfdir
=$ac_optarg ;;
580 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
581 ac_prev
=target_alias
;;
582 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
583 target_alias
=$ac_optarg ;;
585 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
588 -version |
--version |
--versio |
--versi |
--vers |
-V)
592 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
593 # Reject names that are not valid shell variable names.
594 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
595 { echo "$as_me: error: invalid package name: $ac_package" >&2
596 { (exit 1); exit 1; }; }
597 ac_package
=`echo $ac_package| sed 's/-/_/g'`
599 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
602 eval "with_$ac_package='$ac_optarg'" ;;
604 -without-* |
--without-*)
605 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
606 # Reject names that are not valid shell variable names.
607 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
608 { echo "$as_me: error: invalid package name: $ac_package" >&2
609 { (exit 1); exit 1; }; }
610 ac_package
=`echo $ac_package | sed 's/-/_/g'`
611 eval "with_$ac_package=no" ;;
614 # Obsolete; use --with-x.
617 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
618 |
--x-incl |
--x-inc |
--x-in |
--x-i)
619 ac_prev
=x_includes
;;
620 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
621 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
622 x_includes
=$ac_optarg ;;
624 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
625 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
626 ac_prev
=x_libraries
;;
627 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
628 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
629 x_libraries
=$ac_optarg ;;
631 -*) { echo "$as_me: error: unrecognized option: $ac_option
632 Try \`$0 --help' for more information." >&2
633 { (exit 1); exit 1; }; }
637 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
638 # Reject names that are not valid shell variable names.
639 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
640 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
641 { (exit 1); exit 1; }; }
642 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
643 eval "$ac_envvar='$ac_optarg'"
647 # FIXME: should be removed in autoconf 3.0.
648 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
649 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
650 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
651 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
657 if test -n "$ac_prev"; then
658 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
659 { echo "$as_me: error: missing argument to $ac_option" >&2
660 { (exit 1); exit 1; }; }
663 # Be sure to have absolute paths.
664 for ac_var
in exec_prefix prefix
666 eval ac_val
=$
`echo $ac_var`
668 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
669 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
670 { (exit 1); exit 1; }; };;
674 # Be sure to have absolute paths.
675 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
676 localstatedir libdir includedir oldincludedir infodir mandir
678 eval ac_val
=$
`echo $ac_var`
680 [\\/$
]* | ?
:[\\/]* ) ;;
681 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
682 { (exit 1); exit 1; }; };;
686 # There might be people who depend on the old broken behavior: `$host'
687 # used to hold the argument of --host etc.
688 # FIXME: To remove some day.
693 # FIXME: To remove some day.
694 if test "x$host_alias" != x
; then
695 if test "x$build_alias" = x
; then
696 cross_compiling
=maybe
697 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
698 If a cross compiler is detected then cross compile mode will be used." >&2
699 elif test "x$build_alias" != "x$host_alias"; then
705 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
707 test "$silent" = yes && exec 6>/dev
/null
710 # Find the source files, if location was not specified.
711 if test -z "$srcdir"; then
712 ac_srcdir_defaulted
=yes
713 # Try the directory containing this script, then its parent.
714 ac_confdir
=`(dirname "$0") 2>/dev/null ||
715 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
716 X"$0" : 'X\(//\)[^/]' \| \
717 X"$0" : 'X\(//\)$' \| \
718 X"$0" : 'X\(/\)' \| \
719 . : '\(.\)' 2>/dev/null ||
721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
723 /^X\(\/\/\)$/{ s//\1/; q; }
724 /^X\(\/\).*/{ s//\1/; q; }
727 if test ! -r $srcdir/$ac_unique_file; then
731 ac_srcdir_defaulted
=no
733 if test ! -r $srcdir/$ac_unique_file; then
734 if test "$ac_srcdir_defaulted" = yes; then
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
736 { (exit 1); exit 1; }; }
738 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
739 { (exit 1); exit 1; }; }
742 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
743 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
744 { (exit 1); exit 1; }; }
745 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
746 ac_env_build_alias_set
=${build_alias+set}
747 ac_env_build_alias_value
=$build_alias
748 ac_cv_env_build_alias_set
=${build_alias+set}
749 ac_cv_env_build_alias_value
=$build_alias
750 ac_env_host_alias_set
=${host_alias+set}
751 ac_env_host_alias_value
=$host_alias
752 ac_cv_env_host_alias_set
=${host_alias+set}
753 ac_cv_env_host_alias_value
=$host_alias
754 ac_env_target_alias_set
=${target_alias+set}
755 ac_env_target_alias_value
=$target_alias
756 ac_cv_env_target_alias_set
=${target_alias+set}
757 ac_cv_env_target_alias_value
=$target_alias
758 ac_env_CC_set
=${CC+set}
760 ac_cv_env_CC_set
=${CC+set}
761 ac_cv_env_CC_value
=$CC
762 ac_env_CFLAGS_set
=${CFLAGS+set}
763 ac_env_CFLAGS_value
=$CFLAGS
764 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
765 ac_cv_env_CFLAGS_value
=$CFLAGS
766 ac_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_env_LDFLAGS_value
=$LDFLAGS
768 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
769 ac_cv_env_LDFLAGS_value
=$LDFLAGS
770 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
773 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 ac_env_CPP_set
=${CPP+set}
775 ac_env_CPP_value
=$CPP
776 ac_cv_env_CPP_set
=${CPP+set}
777 ac_cv_env_CPP_value
=$CPP
780 # Report the --help message.
782 if test "$ac_init_help" = "long"; then
783 # Omit some internal or obsolete options to make the list less imposing.
784 # This message is too long to be a string in the A/UX 3.1 sh.
786 \`configure' configures this package to adapt to many kinds of systems.
788 Usage: $0 [OPTION]... [VAR=VALUE]...
790 To assign environment variables (e.g., CC, CFLAGS...), specify them as
791 VAR=VALUE. See below for descriptions of some of the useful variables.
793 Defaults for the options are specified in brackets.
796 -h, --help display this help and exit
797 --help=short display options specific to this package
798 --help=recursive display the short help of all the included packages
799 -V, --version display version information and exit
800 -q, --quiet, --silent do not print \`checking...' messages
801 --cache-file=FILE cache test results in FILE [disabled]
802 -C, --config-cache alias for \`--cache-file=config.cache'
803 -n, --no-create do not create output files
804 --srcdir=DIR find the sources in DIR [configure dir or \`..']
809 Installation directories:
810 --prefix=PREFIX install architecture-independent files in PREFIX
812 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
815 By default, \`make install' will install all the files in
816 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
817 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
818 for instance \`--prefix=\$HOME'.
820 For better control, use the options below.
822 Fine tuning of the installation directories:
823 --bindir=DIR user executables [EPREFIX/bin]
824 --sbindir=DIR system admin executables [EPREFIX/sbin]
825 --libexecdir=DIR program executables [EPREFIX/libexec]
826 --datadir=DIR read-only architecture-independent data [PREFIX/share]
827 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
828 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
829 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
830 --libdir=DIR object code libraries [EPREFIX/lib]
831 --includedir=DIR C header files [PREFIX/include]
832 --oldincludedir=DIR C header files for non-gcc [/usr/include]
833 --infodir=DIR info documentation [PREFIX/info]
834 --mandir=DIR man documentation [PREFIX/man]
840 --program-prefix=PREFIX prepend PREFIX to installed program names
841 --program-suffix=SUFFIX append SUFFIX to installed program names
842 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
845 --x-includes=DIR X include files are
in DIR
846 --x-libraries=DIR X library files are
in DIR
849 --build=BUILD configure
for building on BUILD
[guessed
]
850 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
851 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
855 if test -n "$ac_init_help"; then
860 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
861 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
862 --enable-maintainer-mode enable make rules and dependencies not useful
863 (and sometimes confusing
) to the casual installer
864 --disable-dependency-tracking speeds up one-time build
865 --enable-dependency-tracking do not reject slow dependency extractors
866 --enable-targets alternative target configurations
867 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
868 --disable-gdbcli disable command-line interface
(CLI
)
869 --disable-gdbmi disable machine-interface
(MI
)
870 --enable-tui enable full-screen terminal user interface
(TUI
)
871 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
872 --enable-profiling enable profiling of GDB
873 --disable-rpath do not hardcode runtime library paths
874 --enable-werror treat compile warnings as errors
875 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
876 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
877 --enable-sim Link gdb with simulator
878 --enable-multi-ice build the multi-ice-gdb-server
881 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
882 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
883 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
884 --with-libunwind Use libunwind frame unwinding support
885 --with-system-readline use installed readline library
886 --with-expat include expat support
(auto
/yes
/no
)
887 --with-gnu-ld assume the C compiler uses GNU ld default
=no
888 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
889 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
890 --without-included-regex don't use included regex
; this is the default
891 on systems with version
2 of the GNU C library
892 (use with caution on other system
)
893 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
894 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
895 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
896 --with-tclinclude=DIR Directory where tcl private headers are
897 --with-tkinclude=DIR Directory where tk private headers are
898 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
899 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
900 --with-x use the X Window System
901 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
903 Some influential environment variables
:
904 CC C compiler
command
905 CFLAGS C compiler flags
906 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
907 nonstandard directory
<lib dir
>
908 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
909 headers
in a nonstandard directory
<include dir
>
912 Use these variables to override the choices made by
`configure' or to help
913 it to find libraries and programs with nonstandard names/locations.
918 if test "$ac_init_help" = "recursive"; then
919 # If there are subdirs, report their specific --help.
921 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
922 test -d $ac_dir || continue
925 if test "$ac_dir" != .; then
926 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
927 # A "../" for each directory in $ac_dir_suffix.
928 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
930 ac_dir_suffix= ac_top_builddir=
934 .) # No --srcdir option. We are building in place.
936 if test -z "$ac_top_builddir"; then
939 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
941 [\\/]* | ?:[\\/]* ) # Absolute path.
942 ac_srcdir=$srcdir$ac_dir_suffix;
943 ac_top_srcdir=$srcdir ;;
945 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
946 ac_top_srcdir=$ac_top_builddir$srcdir ;;
949 # Do not use `cd foo
&& pwd` to compute absolute paths, because
950 # the directories may not exist.
952 .) ac_abs_builddir="$ac_dir";;
955 .) ac_abs_builddir=`pwd`;;
956 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
957 *) ac_abs_builddir=`pwd`/"$ac_dir";;
960 case $ac_abs_builddir in
961 .) ac_abs_top_builddir=${ac_top_builddir}.;;
963 case ${ac_top_builddir}. in
964 .) ac_abs_top_builddir=$ac_abs_builddir;;
965 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
966 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
969 case $ac_abs_builddir in
970 .) ac_abs_srcdir=$ac_srcdir;;
973 .) ac_abs_srcdir=$ac_abs_builddir;;
974 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
975 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
978 case $ac_abs_builddir in
979 .) ac_abs_top_srcdir=$ac_top_srcdir;;
981 case $ac_top_srcdir in
982 .) ac_abs_top_srcdir=$ac_abs_builddir;;
983 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
984 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
989 # Check for guested configure; otherwise get Cygnus style configure.
990 if test -f $ac_srcdir/configure.gnu; then
992 $SHELL $ac_srcdir/configure.gnu --help=recursive
993 elif test -f $ac_srcdir/configure; then
995 $SHELL $ac_srcdir/configure --help=recursive
996 elif test -f $ac_srcdir/configure.ac ||
997 test -f $ac_srcdir/configure.in; then
1001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1007 test -n "$ac_init_help" && exit 0
1008 if $ac_init_version; then
1011 Copyright (C) 2003 Free Software Foundation, Inc.
1012 This configure script is free software; the Free Software Foundation
1013 gives unlimited permission to copy, distribute and modify it.
1019 This file contains any messages produced by compilers while
1020 running configure, to aid debugging if configure makes a mistake.
1022 It was created by $as_me, which was
1023 generated by GNU Autoconf 2.59. Invocation command line was
1034 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1035 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1036 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1037 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1038 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1040 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1041 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1043 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1044 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1045 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1046 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1047 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1048 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1049 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1057 test -z "$as_dir" && as_dir=.
1058 echo "PATH: $as_dir"
1073 # Keep a trace of the command line.
1074 # Strip out --no-create and --no-recursion so they do not pile up.
1075 # Strip out --silent because we don't want to record it for future runs.
1076 # Also quote any args containing shell meta-characters.
1077 # Make two passes to allow for proper duplicate-argument suppression.
1082 ac_must_keep_next=false
1088 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090 | -silent | --silent | --silen | --sile | --sil)
1092 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1093 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1096 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1098 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1099 if test $ac_must_keep_next = true; then
1100 ac_must_keep_next=false # Got value, back to normal.
1103 *=* | --config-cache | -C | -disable-* | --disable-* \
1104 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1105 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1106 | -with-* | --with-* | -without-* | --without-* | --x)
1107 case "$ac_configure_args0 " in
1108 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1111 -* ) ac_must_keep_next=true ;;
1114 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1115 # Get rid of the leading space.
1121 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1122 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1124 # When interrupted or exit'd, cleanup temporary files, and complete
1125 # config.log. We remove comments because anyway the quotes in there
1126 # would cause problems or look ugly.
1127 # WARNING: Be sure not to use single quotes in there, as some shells,
1128 # such as our DU 5.0 friend, will then `close
' the trap.
1129 trap 'exit_status
=$?
1130 # Save into config.log some information that might help in debugging.
1135 ## ---------------- ##
1136 ## Cache variables. ##
1137 ## ---------------- ##
1140 # The following way of writing the cache mishandles newlines in values,
1143 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1146 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1151 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1158 ## ----------------- ##
1159 ## Output variables. ##
1160 ## ----------------- ##
1163 for ac_var
in $ac_subst_vars
1165 eval ac_val
=$
`echo $ac_var`
1166 echo "$ac_var='"'"'$ac_val'"'"'"
1170 if test -n "$ac_subst_files"; then
1177 for ac_var
in $ac_subst_files
1179 eval ac_val
=$
`echo $ac_var`
1180 echo "$ac_var='"'"'$ac_val'"'"'"
1185 if test -s confdefs.h
; then
1192 sed "/^$/d" confdefs.h |
sort
1195 test "$ac_signal" != 0 &&
1196 echo "$as_me: caught signal $ac_signal"
1197 echo "$as_me: exit $exit_status"
1199 rm -f core
*.core
&&
1200 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1203 for ac_signal in 1 2 13 15; do
1204 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1208 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1209 rm -rf conftest* confdefs.h
1210 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1213 # Predefined preprocessor variables.
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_NAME "$PACKAGE_NAME"
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_STRING "$PACKAGE_STRING"
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1240 # Let the site file select an alternate cache file if it wants to.
1241 # Prefer explicitly selected file to automatically selected ones.
1242 if test -z "$CONFIG_SITE"; then
1243 if test "x$prefix" != xNONE; then
1244 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1246 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1249 for ac_site_file in $CONFIG_SITE; do
1250 if test -r "$ac_site_file"; then
1251 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1252 echo "$as_me: loading site script $ac_site_file" >&6;}
1253 sed 's
/^
/|
/' "$ac_site_file" >&5
1258 if test -r "$cache_file"; then
1259 # Some versions of bash will fail to source /dev/null (special
1260 # files actually), so we avoid doing that.
1261 if test -f "$cache_file"; then
1262 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1263 echo "$as_me: loading cache $cache_file" >&6;}
1265 [\\/]* | ?:[\\/]* ) . $cache_file;;
1266 *) . ./$cache_file;;
1270 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1271 echo "$as_me: creating cache $cache_file" >&6;}
1275 # Check that the precious variables saved in the cache have kept the same
1277 ac_cache_corrupted=false
1278 for ac_var in `(set) 2>&1 |
1279 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1280 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1281 eval ac_new_set=\$ac_env_${ac_var}_set
1282 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1283 eval ac_new_val="\$ac_env_${ac_var}_value"
1284 case $ac_old_set,$ac_new_set in
1286 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1287 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1288 ac_cache_corrupted=: ;;
1290 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1291 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1292 ac_cache_corrupted=: ;;
1295 if test "x$ac_old_val" != "x$ac_new_val"; then
1296 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1297 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1298 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1299 echo "$as_me: former value: $ac_old_val" >&2;}
1300 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1301 echo "$as_me: current value: $ac_new_val" >&2;}
1302 ac_cache_corrupted=:
1305 # Pass precious variables to config.status.
1306 if test "$ac_new_set" = set; then
1308 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1309 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1310 *) ac_arg=$ac_var=$ac_new_val ;;
1312 case " $ac_configure_args " in
1313 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1314 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1318 if $ac_cache_corrupted; then
1319 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1320 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1321 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1322 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1323 { (exit 1); exit 1; }; }
1327 ac_cpp='$CPP $CPPFLAGS'
1328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1329 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1333 gl_header_list="$gl_header_list stdint.h"
1334 gl_header_list="$gl_header_list wchar.h"
1335 gl_header_list="$gl_header_list string.h"
1353 ac_config_headers="$ac_config_headers config.h:config.in"
1355 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1356 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1357 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1358 if test "${enable_maintainer_mode+set}" = set; then
1359 enableval="$enable_maintainer_mode"
1360 USE_MAINTAINER_MODE=$enableval
1362 USE_MAINTAINER_MODE=no
1364 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1365 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1368 if test $USE_MAINTAINER_MODE = yes; then
1369 MAINTAINER_MODE_TRUE=
1370 MAINTAINER_MODE_FALSE='#'
1372 MAINTAINER_MODE_TRUE
='#'
1373 MAINTAINER_MODE_FALSE
=
1376 MAINT
=$MAINTAINER_MODE_TRUE
1381 ac_cpp
='$CPP $CPPFLAGS'
1382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1385 if test -n "$ac_tool_prefix"; then
1386 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1387 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1388 echo "$as_me:$LINENO: checking for $ac_word" >&5
1389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1390 if test "${ac_cv_prog_CC+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1393 if test -n "$CC"; then
1394 ac_cv_prog_CC
="$CC" # Let the user override the test.
1396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1400 test -z "$as_dir" && as_dir
=.
1401 for ac_exec_ext
in '' $ac_executable_extensions; do
1402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1403 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1413 if test -n "$CC"; then
1414 echo "$as_me:$LINENO: result: $CC" >&5
1415 echo "${ECHO_T}$CC" >&6
1417 echo "$as_me:$LINENO: result: no" >&5
1418 echo "${ECHO_T}no" >&6
1422 if test -z "$ac_cv_prog_CC"; then
1424 # Extract the first word of "gcc", so it can be a program name with args.
1425 set dummy gcc
; ac_word
=$2
1426 echo "$as_me:$LINENO: checking for $ac_word" >&5
1427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 if test -n "$ac_ct_CC"; then
1432 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1438 test -z "$as_dir" && as_dir
=.
1439 for ac_exec_ext
in '' $ac_executable_extensions; do
1440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1441 ac_cv_prog_ac_ct_CC
="gcc"
1442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1450 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1451 if test -n "$ac_ct_CC"; then
1452 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1453 echo "${ECHO_T}$ac_ct_CC" >&6
1455 echo "$as_me:$LINENO: result: no" >&5
1456 echo "${ECHO_T}no" >&6
1464 if test -z "$CC"; then
1465 if test -n "$ac_tool_prefix"; then
1466 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1467 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1468 echo "$as_me:$LINENO: checking for $ac_word" >&5
1469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470 if test "${ac_cv_prog_CC+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 if test -n "$CC"; then
1474 ac_cv_prog_CC
="$CC" # Let the user override the test.
1476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir
=.
1481 for ac_exec_ext
in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1493 if test -n "$CC"; then
1494 echo "$as_me:$LINENO: result: $CC" >&5
1495 echo "${ECHO_T}$CC" >&6
1497 echo "$as_me:$LINENO: result: no" >&5
1498 echo "${ECHO_T}no" >&6
1502 if test -z "$ac_cv_prog_CC"; then
1504 # Extract the first word of "cc", so it can be a program name with args.
1505 set dummy cc
; ac_word
=$2
1506 echo "$as_me:$LINENO: checking for $ac_word" >&5
1507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 if test -n "$ac_ct_CC"; then
1512 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1518 test -z "$as_dir" && as_dir
=.
1519 for ac_exec_ext
in '' $ac_executable_extensions; do
1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1521 ac_cv_prog_ac_ct_CC
="cc"
1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1530 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1531 if test -n "$ac_ct_CC"; then
1532 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1533 echo "${ECHO_T}$ac_ct_CC" >&6
1535 echo "$as_me:$LINENO: result: no" >&5
1536 echo "${ECHO_T}no" >&6
1545 if test -z "$CC"; then
1546 # Extract the first word of "cc", so it can be a program name with args.
1547 set dummy cc
; ac_word
=$2
1548 echo "$as_me:$LINENO: checking for $ac_word" >&5
1549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1550 if test "${ac_cv_prog_CC+set}" = set; then
1551 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 if test -n "$CC"; then
1554 ac_cv_prog_CC
="$CC" # Let the user override the test.
1557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1561 test -z "$as_dir" && as_dir
=.
1562 for ac_exec_ext
in '' $ac_executable_extensions; do
1563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1564 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1565 ac_prog_rejected
=yes
1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 if test $ac_prog_rejected = yes; then
1576 # We found a bogon in the path, so make sure we never use it.
1577 set dummy
$ac_cv_prog_CC
1579 if test $# != 0; then
1580 # We chose a different compiler from the bogus one.
1581 # However, it has the same basename, so the bogon will be chosen
1582 # first if we set CC to just the basename; use the full file name.
1584 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1590 if test -n "$CC"; then
1591 echo "$as_me:$LINENO: result: $CC" >&5
1592 echo "${ECHO_T}$CC" >&6
1594 echo "$as_me:$LINENO: result: no" >&5
1595 echo "${ECHO_T}no" >&6
1599 if test -z "$CC"; then
1600 if test -n "$ac_tool_prefix"; then
1603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1604 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1605 echo "$as_me:$LINENO: checking for $ac_word" >&5
1606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1607 if test "${ac_cv_prog_CC+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 if test -n "$CC"; then
1611 ac_cv_prog_CC
="$CC" # Let the user override the test.
1613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1617 test -z "$as_dir" && as_dir
=.
1618 for ac_exec_ext
in '' $ac_executable_extensions; do
1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1620 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 if test -n "$CC"; then
1631 echo "$as_me:$LINENO: result: $CC" >&5
1632 echo "${ECHO_T}$CC" >&6
1634 echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6
1638 test -n "$CC" && break
1641 if test -z "$CC"; then
1645 # Extract the first word of "$ac_prog", so it can be a program name with args.
1646 set dummy
$ac_prog; ac_word
=$2
1647 echo "$as_me:$LINENO: checking for $ac_word" >&5
1648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 if test -n "$ac_ct_CC"; then
1653 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1659 test -z "$as_dir" && as_dir
=.
1660 for ac_exec_ext
in '' $ac_executable_extensions; do
1661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1662 ac_cv_prog_ac_ct_CC
="$ac_prog"
1663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1671 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1672 if test -n "$ac_ct_CC"; then
1673 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1674 echo "${ECHO_T}$ac_ct_CC" >&6
1676 echo "$as_me:$LINENO: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1680 test -n "$ac_ct_CC" && break
1689 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1690 See \`config.log' for more details." >&5
1691 echo "$as_me: error: no acceptable C compiler found in \$PATH
1692 See \`config.log' for more details." >&2;}
1693 { (exit 1); exit 1; }; }
1695 # Provide some information about the compiler.
1696 echo "$as_me:$LINENO:" \
1697 "checking for C compiler version" >&5
1698 ac_compiler
=`set X $ac_compile; echo $2`
1699 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1700 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703 (exit $ac_status); }
1704 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1705 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1708 (exit $ac_status); }
1709 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1710 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 (exit $ac_status); }
1715 cat >conftest.
$ac_ext <<_ACEOF
1718 cat confdefs.h
>>conftest.
$ac_ext
1719 cat >>conftest.
$ac_ext <<_ACEOF
1720 /* end confdefs.h. */
1730 ac_clean_files_save
=$ac_clean_files
1731 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1732 # Try to create an executable without -o first, disregard a.out.
1733 # It will help us diagnose broken compilers, and finding out an intuition
1735 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1736 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1737 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1738 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1739 (eval $ac_link_default) 2>&5
1741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1742 (exit $ac_status); }; then
1743 # Find the output, starting from the most likely. This scheme is
1744 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1747 # Be careful to initialize this variable, since it used to be cached.
1748 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1750 # b.out is created by i960 compilers.
1751 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1753 test -f "$ac_file" ||
continue
1755 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1758 # This is the source file.
1761 # We found the default executable, but exeext='' is most
1765 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1766 # FIXME: I believe we export ac_cv_exeext for Libtool,
1767 # but it would be cool to find out if it's true. Does anybody
1768 # maintain Libtool? --akim.
1776 echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.
$ac_ext >&5
1779 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1780 See \`config.log' for more details." >&5
1781 echo "$as_me: error: C compiler cannot create executables
1782 See \`config.log' for more details." >&2;}
1783 { (exit 77); exit 77; }; }
1786 ac_exeext
=$ac_cv_exeext
1787 echo "$as_me:$LINENO: result: $ac_file" >&5
1788 echo "${ECHO_T}$ac_file" >&6
1790 # Check the compiler produces executables we can run. If not, either
1791 # the compiler is broken, or we cross compile.
1792 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1793 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1794 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1795 # If not cross compiling, check that we can run a simple program.
1796 if test "$cross_compiling" != yes; then
1797 if { ac_try
='./$ac_file'
1798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1802 (exit $ac_status); }; }; then
1805 if test "$cross_compiling" = maybe
; then
1808 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1809 If you meant to cross compile, use \`--host'.
1810 See \`config.log' for more details." >&5
1811 echo "$as_me: error: cannot run C compiled programs.
1812 If you meant to cross compile, use \`--host'.
1813 See \`config.log' for more details." >&2;}
1814 { (exit 1); exit 1; }; }
1818 echo "$as_me:$LINENO: result: yes" >&5
1819 echo "${ECHO_T}yes" >&6
1821 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1822 ac_clean_files
=$ac_clean_files_save
1823 # Check the compiler produces executables we can run. If not, either
1824 # the compiler is broken, or we cross compile.
1825 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1826 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1827 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1828 echo "${ECHO_T}$cross_compiling" >&6
1830 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1831 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1833 (eval $ac_link) 2>&5
1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1836 (exit $ac_status); }; then
1837 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1838 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1839 # work properly (i.e., refer to `conftest.exe'), while it won't with
1841 for ac_file
in conftest.exe conftest conftest.
*; do
1842 test -f "$ac_file" ||
continue
1844 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1845 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1852 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1853 See \`config.log' for more details." >&5
1854 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1855 See \`config.log' for more details." >&2;}
1856 { (exit 1); exit 1; }; }
1859 rm -f conftest
$ac_cv_exeext
1860 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1861 echo "${ECHO_T}$ac_cv_exeext" >&6
1863 rm -f conftest.
$ac_ext
1864 EXEEXT
=$ac_cv_exeext
1866 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1867 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1868 if test "${ac_cv_objext+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 cat >conftest.
$ac_ext <<_ACEOF
1874 cat confdefs.h
>>conftest.
$ac_ext
1875 cat >>conftest.
$ac_ext <<_ACEOF
1876 /* end confdefs.h. */
1886 rm -f conftest.o conftest.obj
1887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1888 (eval $ac_compile) 2>&5
1890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 (exit $ac_status); }; then
1892 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1895 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1900 echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.
$ac_ext >&5
1903 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1904 See \`config.log' for more details." >&5
1905 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1906 See \`config.log' for more details." >&2;}
1907 { (exit 1); exit 1; }; }
1910 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1912 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1913 echo "${ECHO_T}$ac_cv_objext" >&6
1914 OBJEXT
=$ac_cv_objext
1916 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1917 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1918 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 cat >conftest.
$ac_ext <<_ACEOF
1924 cat confdefs.h
>>conftest.
$ac_ext
1925 cat >>conftest.
$ac_ext <<_ACEOF
1926 /* end confdefs.h. */
1939 rm -f conftest.
$ac_objext
1940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1941 (eval $ac_compile) 2>conftest.er1
1943 grep -v '^ *+' conftest.er1
>conftest.err
1945 cat conftest.err
>&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); } &&
1948 { ac_try
='test -z "$ac_c_werror_flag"
1949 || test ! -s conftest.err'
1950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); }; } &&
1955 { ac_try
='test -s conftest.$ac_objext'
1956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); }; }; then
1963 echo "$as_me: failed program was:" >&5
1964 sed 's/^/| /' conftest.
$ac_ext >&5
1968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1969 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1972 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1973 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1974 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1975 ac_test_CFLAGS
=${CFLAGS+set}
1976 ac_save_CFLAGS
=$CFLAGS
1978 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1979 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1980 if test "${ac_cv_prog_cc_g+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 cat >conftest.
$ac_ext <<_ACEOF
1986 cat confdefs.h
>>conftest.
$ac_ext
1987 cat >>conftest.
$ac_ext <<_ACEOF
1988 /* end confdefs.h. */
1998 rm -f conftest.
$ac_objext
1999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2000 (eval $ac_compile) 2>conftest.er1
2002 grep -v '^ *+' conftest.er1
>conftest.err
2004 cat conftest.err
>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); } &&
2007 { ac_try
='test -z "$ac_c_werror_flag"
2008 || test ! -s conftest.err'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; } &&
2014 { ac_try
='test -s conftest.$ac_objext'
2015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); }; }; then
2022 echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.
$ac_ext >&5
2027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2029 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2031 if test "$ac_test_CFLAGS" = set; then
2032 CFLAGS
=$ac_save_CFLAGS
2033 elif test $ac_cv_prog_cc_g = yes; then
2034 if test "$GCC" = yes; then
2040 if test "$GCC" = yes; then
2046 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2047 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2048 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 ac_cv_prog_cc_stdc
=no
2053 cat >conftest.
$ac_ext <<_ACEOF
2056 cat confdefs.h
>>conftest.
$ac_ext
2057 cat >>conftest.
$ac_ext <<_ACEOF
2058 /* end confdefs.h. */
2061 #include <sys/types.h>
2062 #include <sys/stat.h>
2063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2064 struct buf { int x; };
2065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2066 static char *e (p, i)
2072 static char *f (char * (*g) (char **, int), char **p, ...)
2077 s = g (p, va_arg (v,int));
2082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2083 function prototypes and stuff, but not '\xHH' hex character constants.
2084 These don't provoke an error unfortunately, instead are silently treated
2085 as 'x'. The following induces an error, until -std1 is added to get
2086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2087 array size at least. It's necessary to write '\x00'==0 to get something
2088 that's true only with -std1. */
2089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2091 int test (int i, double x);
2092 struct s1 {int (*f) (int a);};
2093 struct s2 {int (*f) (double a);};
2094 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2100 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2105 # Don't try gcc -ansi; that turns off useful extensions and
2106 # breaks some systems' header files.
2107 # AIX -qlanglvl=ansi
2108 # Ultrix and OSF/1 -std1
2109 # HP-UX 10.20 and later -Ae
2110 # HP-UX older versions -Aa -D_HPUX_SOURCE
2111 # SVR4 -Xc -D__EXTENSIONS__
2112 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2114 CC
="$ac_save_CC $ac_arg"
2115 rm -f conftest.
$ac_objext
2116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2117 (eval $ac_compile) 2>conftest.er1
2119 grep -v '^ *+' conftest.er1
>conftest.err
2121 cat conftest.err
>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); } &&
2124 { ac_try
='test -z "$ac_c_werror_flag"
2125 || test ! -s conftest.err'
2126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }; } &&
2131 { ac_try
='test -s conftest.$ac_objext'
2132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; }; then
2137 ac_cv_prog_cc_stdc
=$ac_arg
2140 echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.
$ac_ext >&5
2144 rm -f conftest.err conftest.
$ac_objext
2146 rm -f conftest.
$ac_ext conftest.
$ac_objext
2151 case "x$ac_cv_prog_cc_stdc" in
2153 echo "$as_me:$LINENO: result: none needed" >&5
2154 echo "${ECHO_T}none needed" >&6 ;;
2156 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2157 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2158 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2161 # Some people use a C++ compiler to compile C. Since we use `exit',
2162 # in C++ we need to declare it. In case someone uses the same compiler
2163 # for both compiling C and C++ we need to have the C++ compiler decide
2164 # the declaration of exit, since it's the most demanding environment.
2165 cat >conftest.
$ac_ext <<_ACEOF
2170 rm -f conftest.
$ac_objext
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>conftest.er1
2174 grep -v '^ *+' conftest.er1
>conftest.err
2176 cat conftest.err
>&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); } &&
2179 { ac_try
='test -z "$ac_c_werror_flag"
2180 || test ! -s conftest.err'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; } &&
2186 { ac_try
='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2192 for ac_declaration
in \
2194 'extern "C" void std::exit (int) throw (); using std::exit;' \
2195 'extern "C" void std::exit (int); using std::exit;' \
2196 'extern "C" void exit (int) throw ();' \
2197 'extern "C" void exit (int);' \
2200 cat >conftest.
$ac_ext <<_ACEOF
2203 cat confdefs.h
>>conftest.
$ac_ext
2204 cat >>conftest.
$ac_ext <<_ACEOF
2205 /* end confdefs.h. */
2216 rm -f conftest.
$ac_objext
2217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2218 (eval $ac_compile) 2>conftest.er1
2220 grep -v '^ *+' conftest.er1
>conftest.err
2222 cat conftest.err
>&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); } &&
2225 { ac_try
='test -z "$ac_c_werror_flag"
2226 || test ! -s conftest.err'
2227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; } &&
2232 { ac_try
='test -s conftest.$ac_objext'
2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; }; then
2240 echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.
$ac_ext >&5
2245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2246 cat >conftest.
$ac_ext <<_ACEOF
2249 cat confdefs.h
>>conftest.
$ac_ext
2250 cat >>conftest.
$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2261 rm -f conftest.
$ac_objext
2262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 (eval $ac_compile) 2>conftest.er1
2265 grep -v '^ *+' conftest.er1
>conftest.err
2267 cat conftest.err
>&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); } &&
2270 { ac_try
='test -z "$ac_c_werror_flag"
2271 || test ! -s conftest.err'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; } &&
2277 { ac_try
='test -s conftest.$ac_objext'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; }; then
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.
$ac_ext >&5
2289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2292 if test -n "$ac_declaration"; then
2293 echo '#ifdef __cplusplus' >>confdefs.h
2294 echo $ac_declaration >>confdefs.h
2295 echo '#endif' >>confdefs.h
2299 echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.
$ac_ext >&5
2303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2305 ac_cpp
='$CPP $CPPFLAGS'
2306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2311 cat >>confdefs.h
<<\_ACEOF
2312 #define _GNU_SOURCE 1
2318 ac_cpp
='$CPP $CPPFLAGS'
2319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2322 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2323 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2324 # On Suns, sometimes $CPP names a directory.
2325 if test -n "$CPP" && test -d "$CPP"; then
2328 if test -z "$CPP"; then
2329 if test "${ac_cv_prog_CPP+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2332 # Double quotes because CPP needs to be expanded
2333 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2336 for ac_c_preproc_warn_flag
in '' yes
2338 # Use a header file that comes with gcc, so configuring glibc
2339 # with a fresh cross-compiler works.
2340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2341 # <limits.h> exists even on freestanding compilers.
2342 # On the NeXT, cc -E runs the code through the compiler's parser,
2343 # not just through cpp. "Syntax error" is here to catch this case.
2344 cat >conftest.
$ac_ext <<_ACEOF
2347 cat confdefs.h
>>conftest.
$ac_ext
2348 cat >>conftest.
$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2351 # include <limits.h>
2353 # include <assert.h>
2357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2360 grep -v '^ *+' conftest.er1
>conftest.err
2362 cat conftest.err
>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); } >/dev
/null
; then
2365 if test -s conftest.err
; then
2366 ac_cpp_err
=$ac_c_preproc_warn_flag
2367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2374 if test -z "$ac_cpp_err"; then
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2380 # Broken: fails on valid input.
2383 rm -f conftest.err conftest.
$ac_ext
2385 # OK, works on sane cases. Now check whether non-existent headers
2386 # can be detected and how.
2387 cat >conftest.
$ac_ext <<_ACEOF
2390 cat confdefs.h
>>conftest.
$ac_ext
2391 cat >>conftest.
$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2393 #include <ac_nonexistent.h>
2395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2398 grep -v '^ *+' conftest.er1
>conftest.err
2400 cat conftest.err
>&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); } >/dev
/null
; then
2403 if test -s conftest.err
; then
2404 ac_cpp_err
=$ac_c_preproc_warn_flag
2405 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2412 if test -z "$ac_cpp_err"; then
2413 # Broken: success on invalid input.
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.
$ac_ext >&5
2419 # Passes both tests.
2423 rm -f conftest.err conftest.
$ac_ext
2426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2427 rm -f conftest.err conftest.
$ac_ext
2428 if $ac_preproc_ok; then
2440 echo "$as_me:$LINENO: result: $CPP" >&5
2441 echo "${ECHO_T}$CPP" >&6
2443 for ac_c_preproc_warn_flag
in '' yes
2445 # Use a header file that comes with gcc, so configuring glibc
2446 # with a fresh cross-compiler works.
2447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2448 # <limits.h> exists even on freestanding compilers.
2449 # On the NeXT, cc -E runs the code through the compiler's parser,
2450 # not just through cpp. "Syntax error" is here to catch this case.
2451 cat >conftest.
$ac_ext <<_ACEOF
2454 cat confdefs.h
>>conftest.
$ac_ext
2455 cat >>conftest.
$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2458 # include <limits.h>
2460 # include <assert.h>
2464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2467 grep -v '^ *+' conftest.er1
>conftest.err
2469 cat conftest.err
>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } >/dev
/null
; then
2472 if test -s conftest.err
; then
2473 ac_cpp_err
=$ac_c_preproc_warn_flag
2474 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2481 if test -z "$ac_cpp_err"; then
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.
$ac_ext >&5
2487 # Broken: fails on valid input.
2490 rm -f conftest.err conftest.
$ac_ext
2492 # OK, works on sane cases. Now check whether non-existent headers
2493 # can be detected and how.
2494 cat >conftest.
$ac_ext <<_ACEOF
2497 cat confdefs.h
>>conftest.
$ac_ext
2498 cat >>conftest.
$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2500 #include <ac_nonexistent.h>
2502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2505 grep -v '^ *+' conftest.er1
>conftest.err
2507 cat conftest.err
>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); } >/dev
/null
; then
2510 if test -s conftest.err
; then
2511 ac_cpp_err
=$ac_c_preproc_warn_flag
2512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2519 if test -z "$ac_cpp_err"; then
2520 # Broken: success on invalid input.
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2526 # Passes both tests.
2530 rm -f conftest.err conftest.
$ac_ext
2533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2534 rm -f conftest.err conftest.
$ac_ext
2535 if $ac_preproc_ok; then
2538 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2539 See \`config.log' for more details." >&5
2540 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2541 See \`config.log' for more details." >&2;}
2542 { (exit 1); exit 1; }; }
2546 ac_cpp
='$CPP $CPPFLAGS'
2547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2552 echo "$as_me:$LINENO: checking for egrep" >&5
2553 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2554 if test "${ac_cv_prog_egrep+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2558 then ac_cv_prog_egrep
='grep -E'
2559 else ac_cv_prog_egrep
='egrep'
2562 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2563 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2564 EGREP
=$ac_cv_prog_egrep
2568 echo "$as_me:$LINENO: checking for AIX" >&5
2569 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2570 cat >conftest.
$ac_ext <<_ACEOF
2573 cat confdefs.h
>>conftest.
$ac_ext
2574 cat >>conftest.
$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2582 $EGREP "yes" >/dev
/null
2>&1; then
2583 echo "$as_me:$LINENO: result: yes" >&5
2584 echo "${ECHO_T}yes" >&6
2585 cat >>confdefs.h
<<\_ACEOF
2586 #define _ALL_SOURCE 1
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2596 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2597 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2598 if test "${ac_cv_search_strerror+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 ac_func_search_save_LIBS
=$LIBS
2602 ac_cv_search_strerror
=no
2603 cat >conftest.
$ac_ext <<_ACEOF
2606 cat confdefs.h
>>conftest.
$ac_ext
2607 cat >>conftest.
$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2610 /* Override any gcc2 internal prototype to avoid an error. */
2614 /* We use char because int might match the return type of a gcc2
2615 builtin and then its argument prototype would still apply. */
2625 rm -f conftest.
$ac_objext conftest
$ac_exeext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2627 (eval $ac_link) 2>conftest.er1
2629 grep -v '^ *+' conftest.er1
>conftest.err
2631 cat conftest.err
>&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try
='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try
='test -s conftest$ac_exeext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_cv_search_strerror
="none required"
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.
$ac_ext >&5
2653 rm -f conftest.err conftest.
$ac_objext \
2654 conftest
$ac_exeext conftest.
$ac_ext
2655 if test "$ac_cv_search_strerror" = no
; then
2656 for ac_lib
in cposix
; do
2657 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2658 cat >conftest.
$ac_ext <<_ACEOF
2661 cat confdefs.h
>>conftest.
$ac_ext
2662 cat >>conftest.
$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2665 /* Override any gcc2 internal prototype to avoid an error. */
2669 /* We use char because int might match the return type of a gcc2
2670 builtin and then its argument prototype would still apply. */
2680 rm -f conftest.
$ac_objext conftest
$ac_exeext
2681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2682 (eval $ac_link) 2>conftest.er1
2684 grep -v '^ *+' conftest.er1
>conftest.err
2686 cat conftest.err
>&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } &&
2689 { ac_try
='test -z "$ac_c_werror_flag"
2690 || test ! -s conftest.err'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; } &&
2696 { ac_try
='test -s conftest$ac_exeext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2702 ac_cv_search_strerror
="-l$ac_lib"
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.
$ac_ext >&5
2709 rm -f conftest.err conftest.
$ac_objext \
2710 conftest
$ac_exeext conftest.
$ac_ext
2713 LIBS
=$ac_func_search_save_LIBS
2715 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2716 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2717 if test "$ac_cv_search_strerror" != no
; then
2718 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2722 if test -n "$ac_tool_prefix"; then
2723 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2724 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2725 echo "$as_me:$LINENO: checking for $ac_word" >&5
2726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2727 if test "${ac_cv_prog_RANLIB+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2730 if test -n "$RANLIB"; then
2731 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir
=.
2738 for ac_exec_ext
in '' $ac_executable_extensions; do
2739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 RANLIB
=$ac_cv_prog_RANLIB
2750 if test -n "$RANLIB"; then
2751 echo "$as_me:$LINENO: result: $RANLIB" >&5
2752 echo "${ECHO_T}$RANLIB" >&6
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2759 if test -z "$ac_cv_prog_RANLIB"; then
2760 ac_ct_RANLIB
=$RANLIB
2761 # Extract the first word of "ranlib", so it can be a program name with args.
2762 set dummy ranlib
; ac_word
=$2
2763 echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2765 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 if test -n "$ac_ct_RANLIB"; then
2769 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir
=.
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2788 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2789 if test -n "$ac_ct_RANLIB"; then
2790 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2791 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2793 echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6
2797 RANLIB
=$ac_ct_RANLIB
2799 RANLIB
="$ac_cv_prog_RANLIB"
2802 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2803 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2804 if test "${ac_cv_header_stdc+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 cat >conftest.
$ac_ext <<_ACEOF
2810 cat confdefs.h
>>conftest.
$ac_ext
2811 cat >>conftest.
$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2826 rm -f conftest.
$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>conftest.er1
2830 grep -v '^ *+' conftest.er1
>conftest.err
2832 cat conftest.err
>&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try
='test -z "$ac_c_werror_flag"
2836 || test ! -s conftest.err'
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; } &&
2842 { ac_try
='test -s conftest.$ac_objext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2848 ac_cv_header_stdc
=yes
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.
$ac_ext >&5
2853 ac_cv_header_stdc
=no
2855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2857 if test $ac_cv_header_stdc = yes; then
2858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2859 cat >conftest.
$ac_ext <<_ACEOF
2862 cat confdefs.h
>>conftest.
$ac_ext
2863 cat >>conftest.
$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2869 $EGREP "memchr" >/dev
/null
2>&1; then
2872 ac_cv_header_stdc
=no
2878 if test $ac_cv_header_stdc = yes; then
2879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2880 cat >conftest.
$ac_ext <<_ACEOF
2883 cat confdefs.h
>>conftest.
$ac_ext
2884 cat >>conftest.
$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2890 $EGREP "free" >/dev
/null
2>&1; then
2893 ac_cv_header_stdc
=no
2899 if test $ac_cv_header_stdc = yes; then
2900 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2901 if test "$cross_compiling" = yes; then
2904 cat >conftest.
$ac_ext <<_ACEOF
2907 cat confdefs.h
>>conftest.
$ac_ext
2908 cat >>conftest.
$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2911 #if ((' ' & 0x0FF) == 0x020)
2912 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2913 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2915 # define ISLOWER(c) \
2916 (('a' <= (c) && (c) <= 'i') \
2917 || ('j' <= (c) && (c) <= 'r') \
2918 || ('s' <= (c) && (c) <= 'z'))
2919 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2922 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2927 for (i = 0; i < 256; i++)
2928 if (XOR (islower (i), ISLOWER (i))
2929 || toupper (i) != TOUPPER (i))
2934 rm -f conftest
$ac_exeext
2935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2936 (eval $ac_link) 2>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2947 echo "$as_me: program exited with status $ac_status" >&5
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2952 ac_cv_header_stdc
=no
2954 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2958 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2959 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2960 if test $ac_cv_header_stdc = yes; then
2962 cat >>confdefs.h
<<\_ACEOF
2963 #define STDC_HEADERS 1
2968 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2978 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2979 inttypes.h stdint.h unistd.h
2981 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2982 echo "$as_me:$LINENO: checking for $ac_header" >&5
2983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 cat >conftest.
$ac_ext <<_ACEOF
2990 cat confdefs.h
>>conftest.
$ac_ext
2991 cat >>conftest.
$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2993 $ac_includes_default
2995 #include <$ac_header>
2997 rm -f conftest.
$ac_objext
2998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2999 (eval $ac_compile) 2>conftest.er1
3001 grep -v '^ *+' conftest.er1
>conftest.err
3003 cat conftest.err
>&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } &&
3006 { ac_try
='test -z "$ac_c_werror_flag"
3007 || test ! -s conftest.err'
3008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }; } &&
3013 { ac_try
='test -s conftest.$ac_objext'
3014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; }; then
3019 eval "$as_ac_Header=yes"
3021 echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.
$ac_ext >&5
3024 eval "$as_ac_Header=no"
3026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3031 cat >>confdefs.h
<<_ACEOF
3032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3041 if test "${ac_cv_header_minix_config_h+set}" = set; then
3042 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3043 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3044 if test "${ac_cv_header_minix_config_h+set}" = set; then
3045 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3048 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3050 # Is the header compilable?
3051 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3052 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3053 cat >conftest.
$ac_ext <<_ACEOF
3056 cat confdefs.h
>>conftest.
$ac_ext
3057 cat >>conftest.
$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3059 $ac_includes_default
3060 #include <minix/config.h>
3062 rm -f conftest.
$ac_objext
3063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3064 (eval $ac_compile) 2>conftest.er1
3066 grep -v '^ *+' conftest.er1
>conftest.err
3068 cat conftest.err
>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } &&
3071 { ac_try
='test -z "$ac_c_werror_flag"
3072 || test ! -s conftest.err'
3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; } &&
3078 { ac_try
='test -s conftest.$ac_objext'
3079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); }; }; then
3084 ac_header_compiler
=yes
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3089 ac_header_compiler
=no
3091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3093 echo "${ECHO_T}$ac_header_compiler" >&6
3095 # Is the header present?
3096 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3097 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3098 cat >conftest.
$ac_ext <<_ACEOF
3101 cat confdefs.h
>>conftest.
$ac_ext
3102 cat >>conftest.
$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3104 #include <minix/config.h>
3106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3109 grep -v '^ *+' conftest.er1
>conftest.err
3111 cat conftest.err
>&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); } >/dev
/null
; then
3114 if test -s conftest.err
; then
3115 ac_cpp_err
=$ac_c_preproc_warn_flag
3116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3123 if test -z "$ac_cpp_err"; then
3124 ac_header_preproc
=yes
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.
$ac_ext >&5
3129 ac_header_preproc
=no
3131 rm -f conftest.err conftest.
$ac_ext
3132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3133 echo "${ECHO_T}$ac_header_preproc" >&6
3135 # So? What about this header?
3136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3138 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3139 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3140 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3141 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3142 ac_header_preproc
=yes
3145 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3146 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3147 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3148 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3149 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3150 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3151 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3152 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3153 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3154 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3155 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3156 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3159 ## ------------------------------------------ ##
3160 ## Report this to the AC_PACKAGE_NAME lists. ##
3161 ## ------------------------------------------ ##
3164 sed "s/^/$as_me: WARNING: /" >&2
3167 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3168 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3169 if test "${ac_cv_header_minix_config_h+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 ac_cv_header_minix_config_h
=$ac_header_preproc
3174 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3175 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3178 if test $ac_cv_header_minix_config_h = yes; then
3185 if test "$MINIX" = yes; then
3187 cat >>confdefs.h
<<\_ACEOF
3188 #define _POSIX_SOURCE 1
3192 cat >>confdefs.h
<<\_ACEOF
3193 #define _POSIX_1_SOURCE 2
3197 cat >>confdefs.h
<<\_ACEOF
3205 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3206 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
3207 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 cat >conftest.
$ac_ext <<_ACEOF
3213 cat confdefs.h
>>conftest.
$ac_ext
3214 cat >>conftest.
$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3217 # define __EXTENSIONS__ 1
3218 $ac_includes_default
3227 rm -f conftest.
$ac_objext
3228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3229 (eval $ac_compile) 2>conftest.er1
3231 grep -v '^ *+' conftest.er1
>conftest.err
3233 cat conftest.err
>&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } &&
3236 { ac_try
='test -z "$ac_c_werror_flag"
3237 || test ! -s conftest.err'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; } &&
3243 { ac_try
='test -s conftest.$ac_objext'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; }; then
3249 ac_cv_safe_to_define___extensions__
=yes
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.
$ac_ext >&5
3254 ac_cv_safe_to_define___extensions__
=no
3256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3258 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3259 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
3260 test $ac_cv_safe_to_define___extensions__ = yes &&
3261 cat >>confdefs.h
<<\_ACEOF
3262 #define __EXTENSIONS__ 1
3265 cat >>confdefs.h
<<\_ACEOF
3266 #define _ALL_SOURCE 1
3269 cat >>confdefs.h
<<\_ACEOF
3270 #define _GNU_SOURCE 1
3273 cat >>confdefs.h
<<\_ACEOF
3274 #define _POSIX_PTHREAD_SEMANTICS 1
3277 cat >>confdefs.h
<<\_ACEOF
3278 #define _TANDEM_SOURCE 1
3290 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3291 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3292 if test "${am_cv_prog_cc_stdc+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3295 am_cv_prog_cc_stdc
=no
3297 # Don't try gcc -ansi; that turns off useful extensions and
3298 # breaks some systems' header files.
3299 # AIX -qlanglvl=ansi
3300 # Ultrix and OSF/1 -std1
3301 # HP-UX 10.20 and later -Ae
3302 # HP-UX older versions -Aa -D_HPUX_SOURCE
3303 # SVR4 -Xc -D__EXTENSIONS__
3304 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3306 CC
="$ac_save_CC $ac_arg"
3307 cat >conftest.
$ac_ext <<_ACEOF
3310 cat confdefs.h
>>conftest.
$ac_ext
3311 cat >>conftest.
$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3315 #include <sys/types.h>
3316 #include <sys/stat.h>
3317 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3318 struct buf { int x; };
3319 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3320 static char *e (p, i)
3326 static char *f (char * (*g) (char **, int), char **p, ...)
3331 s = g (p, va_arg (v,int));
3335 int test (int i, double x);
3336 struct s1 {int (*f) (int a);};
3337 struct s2 {int (*f) (double a);};
3338 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3346 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3352 rm -f conftest.
$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3356 grep -v '^ *+' conftest.er1
>conftest.err
3358 cat conftest.err
>&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try
='test -z "$ac_c_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try
='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3374 am_cv_prog_cc_stdc
="$ac_arg"; break
3376 echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.
$ac_ext >&5
3380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3386 if test -z "$am_cv_prog_cc_stdc"; then
3387 echo "$as_me:$LINENO: result: none needed" >&5
3388 echo "${ECHO_T}none needed" >&6
3390 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3391 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3393 case "x$am_cv_prog_cc_stdc" in
3395 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3400 for ac_dir
in ..
$srcdir/..
; do
3401 if test -f $ac_dir/install-sh
; then
3403 ac_install_sh
="$ac_aux_dir/install-sh -c"
3405 elif test -f $ac_dir/install.sh
; then
3407 ac_install_sh
="$ac_aux_dir/install.sh -c"
3409 elif test -f $ac_dir/shtool
; then
3411 ac_install_sh
="$ac_aux_dir/shtool install -c"
3415 if test -z "$ac_aux_dir"; then
3416 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
3417 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
3418 { (exit 1); exit 1; }; }
3420 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
3421 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
3422 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3424 # Make sure we can run config.sub.
3425 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3426 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3427 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3428 { (exit 1); exit 1; }; }
3430 echo "$as_me:$LINENO: checking build system type" >&5
3431 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3432 if test "${ac_cv_build+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 ac_cv_build_alias
=$build_alias
3436 test -z "$ac_cv_build_alias" &&
3437 ac_cv_build_alias
=`$ac_config_guess`
3438 test -z "$ac_cv_build_alias" &&
3439 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3440 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3441 { (exit 1); exit 1; }; }
3442 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3443 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3444 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3445 { (exit 1); exit 1; }; }
3448 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3449 echo "${ECHO_T}$ac_cv_build" >&6
3451 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3452 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3453 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3456 echo "$as_me:$LINENO: checking host system type" >&5
3457 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3458 if test "${ac_cv_host+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 ac_cv_host_alias
=$host_alias
3462 test -z "$ac_cv_host_alias" &&
3463 ac_cv_host_alias
=$ac_cv_build_alias
3464 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3465 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3466 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3467 { (exit 1); exit 1; }; }
3470 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3471 echo "${ECHO_T}$ac_cv_host" >&6
3473 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3474 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3475 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3478 echo "$as_me:$LINENO: checking target system type" >&5
3479 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3480 if test "${ac_cv_target+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 ac_cv_target_alias
=$target_alias
3484 test "x$ac_cv_target_alias" = "x" &&
3485 ac_cv_target_alias
=$ac_cv_host_alias
3486 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
3487 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3488 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3489 { (exit 1); exit 1; }; }
3492 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3493 echo "${ECHO_T}$ac_cv_target" >&6
3494 target
=$ac_cv_target
3495 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3496 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3497 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3500 # The aliases save the names the user supplied, while $host etc.
3501 # will get canonicalized.
3502 test -n "$target_alias" &&
3503 test "$program_prefix$program_suffix$program_transform_name" = \
3505 program_prefix
=${target_alias}-
3518 # If we haven't got the data from the intl directory,
3519 # assume NLS is disabled.
3528 if test -f ..
/intl
/config.intl
; then
3529 . ..
/intl
/config.intl
3531 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3532 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3533 if test x
"$USE_NLS" != xyes
; then
3534 echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6
3537 echo "$as_me:$LINENO: result: yes" >&5
3538 echo "${ECHO_T}yes" >&6
3540 cat >>confdefs.h
<<\_ACEOF
3541 #define ENABLE_NLS 1
3545 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3546 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3547 # Look for .po and .gmo files in the source directory.
3550 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3551 # If there aren't any .gmo files the shell will give us the
3552 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3554 case "$cat" in *\
**)
3557 # The quadruple backslash is collapsed to a double backslash
3558 # by the backticks, then collapsed again by the double quotes,
3559 # leaving us with one backslash in the sed expression (right
3560 # before the dot that mustn't act as a wildcard).
3561 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3562 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3563 # The user is allowed to set LINGUAS to a list of languages to
3564 # install catalogs for. If it's empty that means "all of them."
3565 if test "x$LINGUAS" = x
; then
3566 CATALOGS
="$CATALOGS $cat"
3567 XLINGUAS
="$XLINGUAS $lang"
3569 case "$LINGUAS" in *$lang*)
3570 CATALOGS
="$CATALOGS $cat"
3571 XLINGUAS
="$XLINGUAS $lang"
3577 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3578 echo "${ECHO_T}$LINGUAS" >&6
3591 localedir
='${datadir}/locale'
3594 if test x
"$USE_NLS" = xyes
; then
3595 CONFIG_ALL
="$CONFIG_ALL all-po"
3596 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3597 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3598 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3614 GNULIB_STRCASESTR
=0;
3621 GNULIB_MBSCASECMP
=0;
3622 GNULIB_MBSNCASECMP
=0;
3623 GNULIB_MBSPCASECMP
=0;
3624 GNULIB_MBSCASESTR
=0;
3634 HAVE_DECL_MEMRCHR
=1;
3640 HAVE_DECL_STRNDUP
=1;
3641 HAVE_DECL_STRNLEN
=1;
3645 HAVE_DECL_STRTOK_R
=1;
3646 HAVE_DECL_STRERROR
=1;
3647 HAVE_DECL_STRSIGNAL
=1;
3649 REPLACE_STRSIGNAL
=0;
3651 REPLACE_STRCASESTR
=0;
3655 echo "$as_me:$LINENO: checking whether memmem is declared" >&5
3656 echo $ECHO_N "checking whether memmem is declared... $ECHO_C" >&6
3657 if test "${ac_cv_have_decl_memmem+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 cat >conftest.
$ac_ext <<_ACEOF
3663 cat confdefs.h
>>conftest.
$ac_ext
3664 cat >>conftest.
$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3666 $ac_includes_default
3671 char *p = (char *) memmem;
3678 rm -f conftest.
$ac_objext
3679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3680 (eval $ac_compile) 2>conftest.er1
3682 grep -v '^ *+' conftest.er1
>conftest.err
3684 cat conftest.err
>&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } &&
3687 { ac_try
='test -z "$ac_c_werror_flag"
3688 || test ! -s conftest.err'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; } &&
3694 { ac_try
='test -s conftest.$ac_objext'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; }; then
3700 ac_cv_have_decl_memmem
=yes
3702 echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.
$ac_ext >&5
3705 ac_cv_have_decl_memmem
=no
3707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3709 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memmem" >&5
3710 echo "${ECHO_T}$ac_cv_have_decl_memmem" >&6
3711 if test $ac_cv_have_decl_memmem = yes; then
3713 cat >>confdefs.h
<<_ACEOF
3714 #define HAVE_DECL_MEMMEM 1
3719 cat >>confdefs.h
<<_ACEOF
3720 #define HAVE_DECL_MEMMEM 0
3740 for ac_func
in memmem
3742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3743 echo "$as_me:$LINENO: checking for $ac_func" >&5
3744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3745 if eval "test \"\${$as_ac_var+set}\" = set"; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 cat >conftest.
$ac_ext <<_ACEOF
3751 cat confdefs.h
>>conftest.
$ac_ext
3752 cat >>conftest.
$ac_ext <<_ACEOF
3753 /* end confdefs.h. */
3754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3756 #define $ac_func innocuous_$ac_func
3758 /* System header to define __stub macros and hopefully few prototypes,
3759 which can conflict with char $ac_func (); below.
3760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3761 <limits.h> exists even on freestanding compilers. */
3764 # include <limits.h>
3766 # include <assert.h>
3771 /* Override any gcc2 internal prototype to avoid an error. */
3776 /* We use char because int might match the return type of a gcc2
3777 builtin and then its argument prototype would still apply. */
3779 /* The GNU C library defines this for functions which it implements
3780 to always fail with ENOSYS. Some functions are actually named
3781 something starting with __ and the normal name is an alias. */
3782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3785 char (*f) () = $ac_func;
3794 return f != $ac_func;
3799 rm -f conftest.
$ac_objext conftest
$ac_exeext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3801 (eval $ac_link) 2>conftest.er1
3803 grep -v '^ *+' conftest.er1
>conftest.err
3805 cat conftest.err
>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try
='test -z "$ac_c_werror_flag"
3809 || test ! -s conftest.err'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; } &&
3815 { ac_try
='test -s conftest$ac_exeext'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; }; then
3821 eval "$as_ac_var=yes"
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.
$ac_ext >&5
3826 eval "$as_ac_var=no"
3828 rm -f conftest.err conftest.
$ac_objext \
3829 conftest
$ac_exeext conftest.
$ac_ext
3831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3833 if test `eval echo '${'$as_ac_var'}'` = yes; then
3834 cat >>confdefs.h
<<_ACEOF
3835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3840 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
3853 if test $ac_cv_have_decl_memmem = no
; then
3859 echo "$as_me:$LINENO: checking for long long int" >&5
3860 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
3861 if test "${ac_cv_type_long_long_int+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 cat >conftest.
$ac_ext <<_ACEOF
3868 cat confdefs.h
>>conftest.
$ac_ext
3869 cat >>conftest.
$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3871 /* For now, do not test the preprocessor; as of 2007 there are too many
3872 implementations with broken preprocessors. Perhaps this can
3873 be revisited in 2012. In the meantime, code should not expect
3874 #if to work with literals wider than 32 bits. */
3875 /* Test literals. */
3876 long long int ll = 9223372036854775807ll;
3877 long long int nll = -9223372036854775807LL;
3878 unsigned long long int ull = 18446744073709551615ULL;
3879 /* Test constant expressions. */
3880 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
3882 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
3888 /* Test availability of runtime routines for shift and division. */
3889 long long int llmax = 9223372036854775807ll;
3890 unsigned long long int ullmax = 18446744073709551615ull;
3891 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
3892 | (llmax / ll) | (llmax % ll)
3893 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
3894 | (ullmax / ull) | (ullmax % ull));
3900 rm -f conftest.
$ac_objext conftest
$ac_exeext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3902 (eval $ac_link) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -z "$ac_c_werror_flag"
3910 || test ! -s conftest.err'
3911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); }; } &&
3916 { ac_try
='test -s conftest$ac_exeext'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; }; then
3922 if test "$cross_compiling" = yes; then
3923 ac_cv_type_long_long_int
=yes
3925 cat >conftest.
$ac_ext <<_ACEOF
3928 cat confdefs.h
>>conftest.
$ac_ext
3929 cat >>conftest.
$ac_ext <<_ACEOF
3930 /* end confdefs.h. */
3934 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
3935 # define LLONG_MAX (HALF - 1 + HALF)
3940 long long int n = 1;
3944 long long int m = n << i;
3947 if (LLONG_MAX / 2 < m)
3955 rm -f conftest
$ac_exeext
3956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3957 (eval $ac_link) 2>&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); }; }; then
3966 ac_cv_type_long_long_int
=yes
3968 echo "$as_me: program exited with status $ac_status" >&5
3969 echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.
$ac_ext >&5
3973 ac_cv_type_long_long_int
=no
3975 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3981 ac_cv_type_long_long_int
=no
3983 rm -f conftest.err conftest.
$ac_objext \
3984 conftest
$ac_exeext conftest.
$ac_ext
3986 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
3987 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
3988 if test $ac_cv_type_long_long_int = yes; then
3990 cat >>confdefs.h
<<\_ACEOF
3991 #define HAVE_LONG_LONG_INT 1
3997 echo "$as_me:$LINENO: checking for unsigned long long int" >&5
3998 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6
3999 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 cat >conftest.
$ac_ext <<_ACEOF
4006 cat confdefs.h
>>conftest.
$ac_ext
4007 cat >>conftest.
$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4009 /* For now, do not test the preprocessor; as of 2007 there are too many
4010 implementations with broken preprocessors. Perhaps this can
4011 be revisited in 2012. In the meantime, code should not expect
4012 #if to work with literals wider than 32 bits. */
4013 /* Test literals. */
4014 long long int ll = 9223372036854775807ll;
4015 long long int nll = -9223372036854775807LL;
4016 unsigned long long int ull = 18446744073709551615ULL;
4017 /* Test constant expressions. */
4018 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4020 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4026 /* Test availability of runtime routines for shift and division. */
4027 long long int llmax = 9223372036854775807ll;
4028 unsigned long long int ullmax = 18446744073709551615ull;
4029 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4030 | (llmax / ll) | (llmax % ll)
4031 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4032 | (ullmax / ull) | (ullmax % ull));
4038 rm -f conftest.
$ac_objext conftest
$ac_exeext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4040 (eval $ac_link) 2>conftest.er1
4042 grep -v '^ *+' conftest.er1
>conftest.err
4044 cat conftest.err
>&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try
='test -z "$ac_c_werror_flag"
4048 || test ! -s conftest.err'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; } &&
4054 { ac_try
='test -s conftest$ac_exeext'
4055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); }; }; then
4060 ac_cv_type_unsigned_long_long_int
=yes
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.
$ac_ext >&5
4065 ac_cv_type_unsigned_long_long_int
=no
4067 rm -f conftest.err conftest.
$ac_objext \
4068 conftest
$ac_exeext conftest.
$ac_ext
4070 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
4071 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6
4072 if test $ac_cv_type_unsigned_long_long_int = yes; then
4074 cat >>confdefs.h
<<\_ACEOF
4075 #define HAVE_UNSIGNED_LONG_LONG_INT 1
4082 echo "$as_me:$LINENO: checking whether the preprocessor supports include_next" >&5
4083 echo $ECHO_N "checking whether the preprocessor supports include_next... $ECHO_C" >&6
4084 if test "${gl_cv_have_include_next+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 rm -rf conftestd1 conftestd2
4088 mkdir conftestd1 conftestd2
4089 cat <<EOF > conftestd1/conftest.h
4090 #define DEFINED_IN_CONFTESTD1
4091 #include_next <conftest.h>
4092 #ifdef DEFINED_IN_CONFTESTD2
4095 #error "include_next doesn't work"
4098 cat <<EOF > conftestd2/conftest.h
4099 #ifndef DEFINED_IN_CONFTESTD1
4100 #error "include_next test doesn't work"
4102 #define DEFINED_IN_CONFTESTD2
4104 save_CPPFLAGS
="$CPPFLAGS"
4105 CPPFLAGS
="$CPPFLAGS -Iconftestd1 -Iconftestd2"
4106 cat >conftest.
$ac_ext <<_ACEOF
4107 #include <conftest.h>
4109 rm -f conftest.
$ac_objext
4110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4111 (eval $ac_compile) 2>conftest.er1
4113 grep -v '^ *+' conftest.er1
>conftest.err
4115 cat conftest.err
>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } &&
4118 { ac_try
='test -z "$ac_c_werror_flag"
4119 || test ! -s conftest.err'
4120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); }; } &&
4125 { ac_try
='test -s conftest.$ac_objext'
4126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }; }; then
4131 gl_cv_have_include_next
=yes
4133 echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.
$ac_ext >&5
4136 gl_cv_have_include_next
=no
4138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4139 CPPFLAGS
="$save_CPPFLAGS"
4140 rm -rf conftestd1 conftestd2
4143 echo "$as_me:$LINENO: result: $gl_cv_have_include_next" >&5
4144 echo "${ECHO_T}$gl_cv_have_include_next" >&6
4145 if test $gl_cv_have_include_next = yes; then
4148 cat >>confdefs.h
<<\_ACEOF
4149 #define HAVE_INCLUDE_NEXT 1
4153 INCLUDE_NEXT
=include_next
4155 INCLUDE_NEXT
=include
4164 for ac_header
in $gl_header_list
4166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4168 echo "$as_me:$LINENO: checking for $ac_header" >&5
4169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4176 # Is the header compilable?
4177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4179 cat >conftest.
$ac_ext <<_ACEOF
4182 cat confdefs.h
>>conftest.
$ac_ext
4183 cat >>conftest.
$ac_ext <<_ACEOF
4184 /* end confdefs.h. */
4185 $ac_includes_default
4186 #include <$ac_header>
4188 rm -f conftest.
$ac_objext
4189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4190 (eval $ac_compile) 2>conftest.er1
4192 grep -v '^ *+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try
='test -z "$ac_c_werror_flag"
4198 || test ! -s conftest.err'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; } &&
4204 { ac_try
='test -s conftest.$ac_objext'
4205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); }; }; then
4210 ac_header_compiler
=yes
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.
$ac_ext >&5
4215 ac_header_compiler
=no
4217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4219 echo "${ECHO_T}$ac_header_compiler" >&6
4221 # Is the header present?
4222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4224 cat >conftest.
$ac_ext <<_ACEOF
4227 cat confdefs.h
>>conftest.
$ac_ext
4228 cat >>conftest.
$ac_ext <<_ACEOF
4229 /* end confdefs.h. */
4230 #include <$ac_header>
4232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4235 grep -v '^ *+' conftest.er1
>conftest.err
4237 cat conftest.err
>&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } >/dev
/null
; then
4240 if test -s conftest.err
; then
4241 ac_cpp_err
=$ac_c_preproc_warn_flag
4242 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4249 if test -z "$ac_cpp_err"; then
4250 ac_header_preproc
=yes
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4255 ac_header_preproc
=no
4257 rm -f conftest.err conftest.
$ac_ext
4258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4259 echo "${ECHO_T}$ac_header_preproc" >&6
4261 # So? What about this header?
4262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4268 ac_header_preproc
=yes
4271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4285 ## ------------------------------------------ ##
4286 ## Report this to the AC_PACKAGE_NAME lists. ##
4287 ## ------------------------------------------ ##
4290 sed "s/^/$as_me: WARNING: /" >&2
4293 echo "$as_me:$LINENO: checking for $ac_header" >&5
4294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 eval "$as_ac_Header=\$ac_header_preproc"
4300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4305 cat >>confdefs.h
<<_ACEOF
4306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4324 echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
4325 echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6
4326 if test "${ac_cv_c_restrict+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 # The order here caters to the fact that C++ does not require restrict.
4331 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
4332 cat >conftest.
$ac_ext <<_ACEOF
4335 cat confdefs.h
>>conftest.
$ac_ext
4336 cat >>conftest.
$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4338 typedef int * int_ptr;
4339 int foo (int_ptr $ac_kw ip) {
4353 rm -f conftest.
$ac_objext
4354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4355 (eval $ac_compile) 2>conftest.er1
4357 grep -v '^ *+' conftest.er1
>conftest.err
4359 cat conftest.err
>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } &&
4362 { ac_try
='test -z "$ac_c_werror_flag"
4363 || test ! -s conftest.err'
4364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; } &&
4369 { ac_try
='test -s conftest.$ac_objext'
4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 ac_cv_c_restrict
=$ac_kw
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.
$ac_ext >&5
4381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4382 test "$ac_cv_c_restrict" != no
&& break
4386 echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
4387 echo "${ECHO_T}$ac_cv_c_restrict" >&6
4390 case $ac_cv_c_restrict in
4392 no
) cat >>confdefs.h
<<\_ACEOF
4396 *) cat >>confdefs.h
<<_ACEOF
4397 #define restrict $ac_cv_c_restrict
4422 if test $gl_cv_have_include_next = yes; then
4423 gl_cv_next_string_h
='<'string.h
'>'
4425 echo "$as_me:$LINENO: checking absolute name of <string.h>" >&5
4426 echo $ECHO_N "checking absolute name of <string.h>... $ECHO_C" >&6
4427 if test "${gl_cv_next_string_h+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test $ac_cv_header_string_h = yes; then
4432 cat >conftest.
$ac_ext <<_ACEOF
4435 cat confdefs.h
>>conftest.
$ac_ext
4436 cat >>conftest.
$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4441 gl_cv_next_string_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4442 sed -n '\#/string.h#{
4443 s#.*"\(.*/string.h\)".*#\1#
4449 gl_cv_next_string_h
='<'string.h
'>'
4453 echo "$as_me:$LINENO: result: $gl_cv_next_string_h" >&5
4454 echo "${ECHO_T}$gl_cv_next_string_h" >&6
4456 NEXT_STRING_H
=$gl_cv_next_string_h
4463 HAVE_DECL_WCWIDTH
=1;
4472 GL_COND_LIBTOOL_TRUE
=
4473 GL_COND_LIBTOOL_FALSE
='#'
4475 GL_COND_LIBTOOL_TRUE
='#'
4476 GL_COND_LIBTOOL_FALSE
=
4479 gl_cond_libtool
=false
4485 gl_source_base
='gnulib'
4495 for ac_func
in memchr
4497 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4498 echo "$as_me:$LINENO: checking for $ac_func" >&5
4499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4500 if eval "test \"\${$as_ac_var+set}\" = set"; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 cat >conftest.
$ac_ext <<_ACEOF
4506 cat confdefs.h
>>conftest.
$ac_ext
4507 cat >>conftest.
$ac_ext <<_ACEOF
4508 /* end confdefs.h. */
4509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4511 #define $ac_func innocuous_$ac_func
4513 /* System header to define __stub macros and hopefully few prototypes,
4514 which can conflict with char $ac_func (); below.
4515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4516 <limits.h> exists even on freestanding compilers. */
4519 # include <limits.h>
4521 # include <assert.h>
4526 /* Override any gcc2 internal prototype to avoid an error. */
4531 /* We use char because int might match the return type of a gcc2
4532 builtin and then its argument prototype would still apply. */
4534 /* The GNU C library defines this for functions which it implements
4535 to always fail with ENOSYS. Some functions are actually named
4536 something starting with __ and the normal name is an alias. */
4537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4540 char (*f) () = $ac_func;
4549 return f != $ac_func;
4554 rm -f conftest.
$ac_objext conftest
$ac_exeext
4555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4556 (eval $ac_link) 2>conftest.er1
4558 grep -v '^ *+' conftest.er1
>conftest.err
4560 cat conftest.err
>&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try
='test -z "$ac_c_werror_flag"
4564 || test ! -s conftest.err'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; } &&
4570 { ac_try
='test -s conftest$ac_exeext'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4576 eval "$as_ac_var=yes"
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.
$ac_ext >&5
4581 eval "$as_ac_var=no"
4583 rm -f conftest.err conftest.
$ac_objext \
4584 conftest
$ac_exeext conftest.
$ac_ext
4586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4588 if test `eval echo '${'$as_ac_var'}'` = yes; then
4589 cat >>confdefs.h
<<_ACEOF
4590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4595 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
4601 if test $ac_cv_func_memchr = no
; then
4604 for ac_header
in bp-sym.h
4606 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4608 echo "$as_me:$LINENO: checking for $ac_header" >&5
4609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4616 # Is the header compilable?
4617 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4618 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4619 cat >conftest.
$ac_ext <<_ACEOF
4622 cat confdefs.h
>>conftest.
$ac_ext
4623 cat >>conftest.
$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 $ac_includes_default
4626 #include <$ac_header>
4628 rm -f conftest.
$ac_objext
4629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4630 (eval $ac_compile) 2>conftest.er1
4632 grep -v '^ *+' conftest.er1
>conftest.err
4634 cat conftest.err
>&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } &&
4637 { ac_try
='test -z "$ac_c_werror_flag"
4638 || test ! -s conftest.err'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; } &&
4644 { ac_try
='test -s conftest.$ac_objext'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; }; then
4650 ac_header_compiler
=yes
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.
$ac_ext >&5
4655 ac_header_compiler
=no
4657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4659 echo "${ECHO_T}$ac_header_compiler" >&6
4661 # Is the header present?
4662 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4664 cat >conftest.
$ac_ext <<_ACEOF
4667 cat confdefs.h
>>conftest.
$ac_ext
4668 cat >>conftest.
$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4670 #include <$ac_header>
4672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4675 grep -v '^ *+' conftest.er1
>conftest.err
4677 cat conftest.err
>&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } >/dev
/null
; then
4680 if test -s conftest.err
; then
4681 ac_cpp_err
=$ac_c_preproc_warn_flag
4682 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4689 if test -z "$ac_cpp_err"; then
4690 ac_header_preproc
=yes
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.
$ac_ext >&5
4695 ac_header_preproc
=no
4697 rm -f conftest.err conftest.
$ac_ext
4698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4699 echo "${ECHO_T}$ac_header_preproc" >&6
4701 # So? What about this header?
4702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4707 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4708 ac_header_preproc
=yes
4711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4712 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4714 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4715 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4716 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4717 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4718 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4721 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4722 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4725 ## ------------------------------------------ ##
4726 ## Report this to the AC_PACKAGE_NAME lists. ##
4727 ## ------------------------------------------ ##
4730 sed "s/^/$as_me: WARNING: /" >&2
4733 echo "$as_me:$LINENO: checking for $ac_header" >&5
4734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 eval "$as_ac_Header=\$ac_header_preproc"
4740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4745 cat >>confdefs.h
<<_ACEOF
4746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4757 echo "$as_me:$LINENO: checking for working memcmp" >&5
4758 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4759 if test "${ac_cv_func_memcmp_working+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 if test "$cross_compiling" = yes; then
4763 ac_cv_func_memcmp_working
=no
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 $ac_includes_default
4776 /* Some versions of memcmp are not 8-bit clean. */
4777 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4778 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4781 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4782 or more and with at least one buffer not starting on a 4-byte boundary.
4783 William Lewis provided this test program. */
4788 for (i = 0; i < 4; i++)
4792 strcpy (a, "--------01111111");
4793 strcpy (b, "--------10000000");
4794 if (memcmp (a, b, 16) >= 0)
4804 rm -f conftest
$ac_exeext
4805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4806 (eval $ac_link) 2>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); }; }; then
4815 ac_cv_func_memcmp_working
=yes
4817 echo "$as_me: program exited with status $ac_status" >&5
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.
$ac_ext >&5
4822 ac_cv_func_memcmp_working
=no
4824 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4827 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4828 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4829 test $ac_cv_func_memcmp_working = no
&&
4836 gl_LIBOBJS
="$gl_LIBOBJS memcmp.$ac_objext"
4839 if test $ac_cv_func_memcmp_working = no
; then
4841 cat >>confdefs.h
<<\_ACEOF
4842 #define memcmp rpl_memcmp
4850 if test $ac_cv_have_decl_memmem = yes; then
4851 echo "$as_me:$LINENO: checking whether memmem works in linear time" >&5
4852 echo $ECHO_N "checking whether memmem works in linear time... $ECHO_C" >&6
4853 if test "${gl_cv_func_memmem_works+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 if test "$cross_compiling" = yes; then
4857 gl_cv_func_memmem_works
="guessing no"
4859 cat >conftest.
$ac_ext <<_ACEOF
4862 cat confdefs.h
>>conftest.
$ac_ext
4863 cat >>conftest.
$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4866 #include <string.h> /* for memmem */
4867 #include <stdlib.h> /* for malloc */
4868 #include <unistd.h> /* for alarm */
4874 char *haystack = (char *) malloc (2 * m + 1);
4875 char *needle = (char *) malloc (m + 1);
4877 /* Failure to compile this test due to missing alarm is okay,
4878 since all such platforms (mingw) also lack memmem. */
4880 /* Check for quadratic performance. */
4881 if (haystack && needle)
4883 memset (haystack, 'A', 2 * m);
4884 haystack[2 * m] = 'B';
4885 memset (needle, 'A', m);
4887 result = memmem (haystack, 2 * m + 1, needle, m + 1);
4889 /* Check for empty needle behavior. */
4890 return !result || !memmem ("a", 1, 0, 0);
4895 rm -f conftest
$ac_exeext
4896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4897 (eval $ac_link) 2>&5
4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; }; then
4906 gl_cv_func_memmem_works
=yes
4908 echo "$as_me: program exited with status $ac_status" >&5
4909 echo "$as_me: failed program was:" >&5
4910 sed 's/^/| /' conftest.
$ac_ext >&5
4913 gl_cv_func_memmem_works
=no
4915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4918 echo "$as_me:$LINENO: result: $gl_cv_func_memmem_works" >&5
4919 echo "${ECHO_T}$gl_cv_func_memmem_works" >&6
4920 if test "$gl_cv_func_memmem_works" != yes; then
4929 gl_LIBOBJS
="$gl_LIBOBJS memmem.$ac_objext"
4946 for ac_func
in memmem
4948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4949 echo "$as_me:$LINENO: checking for $ac_func" >&5
4950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4951 if eval "test \"\${$as_ac_var+set}\" = set"; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 cat >conftest.
$ac_ext <<_ACEOF
4957 cat confdefs.h
>>conftest.
$ac_ext
4958 cat >>conftest.
$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4962 #define $ac_func innocuous_$ac_func
4964 /* System header to define __stub macros and hopefully few prototypes,
4965 which can conflict with char $ac_func (); below.
4966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4967 <limits.h> exists even on freestanding compilers. */
4970 # include <limits.h>
4972 # include <assert.h>
4977 /* Override any gcc2 internal prototype to avoid an error. */
4982 /* We use char because int might match the return type of a gcc2
4983 builtin and then its argument prototype would still apply. */
4985 /* The GNU C library defines this for functions which it implements
4986 to always fail with ENOSYS. Some functions are actually named
4987 something starting with __ and the normal name is an alias. */
4988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4991 char (*f) () = $ac_func;
5000 return f != $ac_func;
5005 rm -f conftest.
$ac_objext conftest
$ac_exeext
5006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5007 (eval $ac_link) 2>conftest.er1
5009 grep -v '^ *+' conftest.er1
>conftest.err
5011 cat conftest.err
>&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); } &&
5014 { ac_try
='test -z "$ac_c_werror_flag"
5015 || test ! -s conftest.err'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; } &&
5021 { ac_try
='test -s conftest$ac_exeext'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; }; then
5027 eval "$as_ac_var=yes"
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.
$ac_ext >&5
5032 eval "$as_ac_var=no"
5034 rm -f conftest.err conftest.
$ac_objext \
5035 conftest
$ac_exeext conftest.
$ac_ext
5037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5039 if test `eval echo '${'$as_ac_var'}'` = yes; then
5040 cat >>confdefs.h
<<_ACEOF
5041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5046 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
5059 if test $ac_cv_have_decl_memmem = no
; then
5071 if test $ac_cv_type_long_long_int = yes; then
5072 HAVE_LONG_LONG_INT
=1
5074 HAVE_LONG_LONG_INT
=0
5078 if test $ac_cv_type_unsigned_long_long_int = yes; then
5079 HAVE_UNSIGNED_LONG_LONG_INT
=1
5081 HAVE_UNSIGNED_LONG_LONG_INT
=0
5085 if test $ac_cv_header_inttypes_h = yes; then
5092 if test $ac_cv_header_sys_types_h = yes; then
5110 if test $gl_cv_have_include_next = yes; then
5111 gl_cv_next_stdint_h
='<'stdint.h
'>'
5113 echo "$as_me:$LINENO: checking absolute name of <stdint.h>" >&5
5114 echo $ECHO_N "checking absolute name of <stdint.h>... $ECHO_C" >&6
5115 if test "${gl_cv_next_stdint_h+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 if test $ac_cv_header_stdint_h = yes; then
5120 cat >conftest.
$ac_ext <<_ACEOF
5123 cat confdefs.h
>>conftest.
$ac_ext
5124 cat >>conftest.
$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5129 gl_cv_next_stdint_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5130 sed -n '\#/stdint.h#{
5131 s#.*"\(.*/stdint.h\)".*#\1#
5137 gl_cv_next_stdint_h
='<'stdint.h
'>'
5141 echo "$as_me:$LINENO: result: $gl_cv_next_stdint_h" >&5
5142 echo "${ECHO_T}$gl_cv_next_stdint_h" >&6
5144 NEXT_STDINT_H
=$gl_cv_next_stdint_h
5148 if test $ac_cv_header_stdint_h = yes; then
5155 if test $ac_cv_header_stdint_h = yes; then
5156 echo "$as_me:$LINENO: checking whether stdint.h conforms to C99" >&5
5157 echo $ECHO_N "checking whether stdint.h conforms to C99... $ECHO_C" >&6
5158 if test "${gl_cv_header_working_stdint_h+set}" = set; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 gl_cv_header_working_stdint_h
=no
5162 cat >conftest.
$ac_ext <<_ACEOF
5166 cat confdefs.h
>>conftest.
$ac_ext
5167 cat >>conftest.
$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5170 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
5171 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
5172 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
5174 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
5175 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
5176 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
5180 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5181 included before <wchar.h>. */
5192 int8_t a1 = INT8_MAX;
5193 int8_t a1min = INT8_MIN;
5196 int16_t a2 = INT16_MAX;
5197 int16_t a2min = INT16_MIN;
5200 int32_t a3 = INT32_MAX;
5201 int32_t a3min = INT32_MIN;
5204 int64_t a4 = INT64_MAX;
5205 int64_t a4min = INT64_MIN;
5208 uint8_t b1 = UINT8_MAX;
5210 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
5213 uint16_t b2 = UINT16_MAX;
5216 uint32_t b3 = UINT32_MAX;
5219 uint64_t b4 = UINT64_MAX;
5221 int_least8_t c1 = INT8_C (0x7f);
5222 int_least8_t c1max = INT_LEAST8_MAX;
5223 int_least8_t c1min = INT_LEAST8_MIN;
5224 int_least16_t c2 = INT16_C (0x7fff);
5225 int_least16_t c2max = INT_LEAST16_MAX;
5226 int_least16_t c2min = INT_LEAST16_MIN;
5227 int_least32_t c3 = INT32_C (0x7fffffff);
5228 int_least32_t c3max = INT_LEAST32_MAX;
5229 int_least32_t c3min = INT_LEAST32_MIN;
5230 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
5231 int_least64_t c4max = INT_LEAST64_MAX;
5232 int_least64_t c4min = INT_LEAST64_MIN;
5233 uint_least8_t d1 = UINT8_C (0xff);
5234 uint_least8_t d1max = UINT_LEAST8_MAX;
5235 uint_least16_t d2 = UINT16_C (0xffff);
5236 uint_least16_t d2max = UINT_LEAST16_MAX;
5237 uint_least32_t d3 = UINT32_C (0xffffffff);
5238 uint_least32_t d3max = UINT_LEAST32_MAX;
5239 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
5240 uint_least64_t d4max = UINT_LEAST64_MAX;
5241 int_fast8_t e1 = INT_FAST8_MAX;
5242 int_fast8_t e1min = INT_FAST8_MIN;
5243 int_fast16_t e2 = INT_FAST16_MAX;
5244 int_fast16_t e2min = INT_FAST16_MIN;
5245 int_fast32_t e3 = INT_FAST32_MAX;
5246 int_fast32_t e3min = INT_FAST32_MIN;
5247 int_fast64_t e4 = INT_FAST64_MAX;
5248 int_fast64_t e4min = INT_FAST64_MIN;
5249 uint_fast8_t f1 = UINT_FAST8_MAX;
5250 uint_fast16_t f2 = UINT_FAST16_MAX;
5251 uint_fast32_t f3 = UINT_FAST32_MAX;
5252 uint_fast64_t f4 = UINT_FAST64_MAX;
5254 intptr_t g = INTPTR_MAX;
5255 intptr_t gmin = INTPTR_MIN;
5258 uintptr_t h = UINTPTR_MAX;
5260 intmax_t i = INTMAX_MAX;
5261 uintmax_t j = UINTMAX_MAX;
5263 #include <limits.h> /* for CHAR_BIT */
5264 #define TYPE_MINIMUM(t) \
5265 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
5266 #define TYPE_MAXIMUM(t) \
5267 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
5270 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
5271 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
5273 /* Detect bug in FreeBSD 6.0 / ia64. */
5274 int check_SIG_ATOMIC:
5275 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
5276 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
5278 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
5280 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
5281 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
5283 /* Detect bug in mingw. */
5285 WINT_MIN == TYPE_MINIMUM (wint_t)
5286 && WINT_MAX == TYPE_MAXIMUM (wint_t)
5289 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
5291 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
5293 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
5295 /* Detect bugs in OpenBSD 3.9 stdint.h. */
5297 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
5300 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
5303 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
5306 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
5308 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
5309 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
5310 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
5311 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
5312 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
5313 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
5314 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
5315 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
5316 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
5317 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
5318 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
5329 rm -f conftest.
$ac_objext
5330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5331 (eval $ac_compile) 2>conftest.er1
5333 grep -v '^ *+' conftest.er1
>conftest.err
5335 cat conftest.err
>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try
='test -z "$ac_c_werror_flag"
5339 || test ! -s conftest.err'
5340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); }; } &&
5345 { ac_try
='test -s conftest.$ac_objext'
5346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); }; }; then
5351 gl_cv_header_working_stdint_h
=yes
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.
$ac_ext >&5
5357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5359 echo "$as_me:$LINENO: result: $gl_cv_header_working_stdint_h" >&5
5360 echo "${ECHO_T}$gl_cv_header_working_stdint_h" >&6
5362 if test "$gl_cv_header_working_stdint_h" = yes; then
5367 for ac_header
in sys
/inttypes.h sys
/bitypes.h
5369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5371 echo "$as_me:$LINENO: checking for $ac_header" >&5
5372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5374 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5379 # Is the header compilable?
5380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5382 cat >conftest.
$ac_ext <<_ACEOF
5385 cat confdefs.h
>>conftest.
$ac_ext
5386 cat >>conftest.
$ac_ext <<_ACEOF
5387 /* end confdefs.h. */
5388 $ac_includes_default
5389 #include <$ac_header>
5391 rm -f conftest.
$ac_objext
5392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5393 (eval $ac_compile) 2>conftest.er1
5395 grep -v '^ *+' conftest.er1
>conftest.err
5397 cat conftest.err
>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); } &&
5400 { ac_try
='test -z "$ac_c_werror_flag"
5401 || test ! -s conftest.err'
5402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; } &&
5407 { ac_try
='test -s conftest.$ac_objext'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; }; then
5413 ac_header_compiler
=yes
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.
$ac_ext >&5
5418 ac_header_compiler
=no
5420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5422 echo "${ECHO_T}$ac_header_compiler" >&6
5424 # Is the header present?
5425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5427 cat >conftest.
$ac_ext <<_ACEOF
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 #include <$ac_header>
5435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5438 grep -v '^ *+' conftest.er1
>conftest.err
5440 cat conftest.err
>&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } >/dev
/null
; then
5443 if test -s conftest.err
; then
5444 ac_cpp_err
=$ac_c_preproc_warn_flag
5445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5452 if test -z "$ac_cpp_err"; then
5453 ac_header_preproc
=yes
5455 echo "$as_me: failed program was:" >&5
5456 sed 's/^/| /' conftest.
$ac_ext >&5
5458 ac_header_preproc
=no
5460 rm -f conftest.err conftest.
$ac_ext
5461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5462 echo "${ECHO_T}$ac_header_preproc" >&6
5464 # So? What about this header?
5465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5471 ac_header_preproc
=yes
5474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5488 ## ------------------------------------------ ##
5489 ## Report this to the AC_PACKAGE_NAME lists. ##
5490 ## ------------------------------------------ ##
5493 sed "s/^/$as_me: WARNING: /" >&2
5496 echo "$as_me:$LINENO: checking for $ac_header" >&5
5497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 eval "$as_ac_Header=\$ac_header_preproc"
5503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5508 cat >>confdefs.h
<<_ACEOF
5509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5516 if test $ac_cv_header_sys_inttypes_h = yes; then
5517 HAVE_SYS_INTTYPES_H
=1
5519 HAVE_SYS_INTTYPES_H
=0
5522 if test $ac_cv_header_sys_bitypes_h = yes; then
5523 HAVE_SYS_BITYPES_H
=1
5525 HAVE_SYS_BITYPES_H
=0
5545 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
5546 echo "$as_me:$LINENO: checking for bit size of $gltype" >&5
5547 echo $ECHO_N "checking for bit size of $gltype... $ECHO_C" >&6
5548 if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\" = set"; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 if test "$cross_compiling" = yes; then
5552 # Depending upon the size, compute the lo and hi bounds.
5553 cat >conftest.
$ac_ext <<_ACEOF
5556 cat confdefs.h
>>conftest.
$ac_ext
5557 cat >>conftest.
$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5560 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5561 included before <wchar.h>. */
5574 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= 0)];
5581 rm -f conftest.
$ac_objext
5582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5583 (eval $ac_compile) 2>conftest.er1
5585 grep -v '^ *+' conftest.er1
>conftest.err
5587 cat conftest.err
>&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } &&
5590 { ac_try
='test -z "$ac_c_werror_flag"
5591 || test ! -s conftest.err'
5592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }; } &&
5597 { ac_try
='test -s conftest.$ac_objext'
5598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); }; }; then
5605 cat >conftest.
$ac_ext <<_ACEOF
5608 cat confdefs.h
>>conftest.
$ac_ext
5609 cat >>conftest.
$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5612 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5613 included before <wchar.h>. */
5626 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5633 rm -f conftest.
$ac_objext
5634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5635 (eval $ac_compile) 2>conftest.er1
5637 grep -v '^ *+' conftest.er1
>conftest.err
5639 cat conftest.err
>&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } &&
5642 { ac_try
='test -z "$ac_c_werror_flag"
5643 || test ! -s conftest.err'
5644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }; } &&
5649 { ac_try
='test -s conftest.$ac_objext'
5650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; }; then
5655 ac_hi
=$ac_mid; break
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.
$ac_ext >&5
5660 ac_lo
=`expr $ac_mid + 1`
5661 if test $ac_lo -le $ac_mid; then
5665 ac_mid
=`expr 2 '*' $ac_mid + 1`
5667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5670 echo "$as_me: failed program was:" >&5
5671 sed 's/^/| /' conftest.
$ac_ext >&5
5673 cat >conftest.
$ac_ext <<_ACEOF
5676 cat confdefs.h
>>conftest.
$ac_ext
5677 cat >>conftest.
$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5680 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5681 included before <wchar.h>. */
5694 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) < 0)];
5701 rm -f conftest.
$ac_objext
5702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5703 (eval $ac_compile) 2>conftest.er1
5705 grep -v '^ *+' conftest.er1
>conftest.err
5707 cat conftest.err
>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); } &&
5710 { ac_try
='test -z "$ac_c_werror_flag"
5711 || test ! -s conftest.err'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; } &&
5717 { ac_try
='test -s conftest.$ac_objext'
5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; }; then
5725 cat >conftest.
$ac_ext <<_ACEOF
5728 cat confdefs.h
>>conftest.
$ac_ext
5729 cat >>conftest.
$ac_ext <<_ACEOF
5730 /* end confdefs.h. */
5732 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5733 included before <wchar.h>. */
5746 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= $ac_mid)];
5753 rm -f conftest.
$ac_objext
5754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5755 (eval $ac_compile) 2>conftest.er1
5757 grep -v '^ *+' conftest.er1
>conftest.err
5759 cat conftest.err
>&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } &&
5762 { ac_try
='test -z "$ac_c_werror_flag"
5763 || test ! -s conftest.err'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; } &&
5769 { ac_try
='test -s conftest.$ac_objext'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5775 ac_lo
=$ac_mid; break
5777 echo "$as_me: failed program was:" >&5
5778 sed 's/^/| /' conftest.
$ac_ext >&5
5780 ac_hi
=`expr '(' $ac_mid ')' - 1`
5781 if test $ac_mid -le $ac_hi; then
5785 ac_mid
=`expr 2 '*' $ac_mid`
5787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.
$ac_ext >&5
5795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5798 # Binary search between lo and hi bounds.
5799 while test "x$ac_lo" != "x$ac_hi"; do
5800 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5801 cat >conftest.
$ac_ext <<_ACEOF
5804 cat confdefs.h
>>conftest.
$ac_ext
5805 cat >>conftest.
$ac_ext <<_ACEOF
5806 /* end confdefs.h. */
5808 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5809 included before <wchar.h>. */
5822 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5829 rm -f conftest.
$ac_objext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5831 (eval $ac_compile) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1
>conftest.err
5835 cat conftest.err
>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try
='test -z "$ac_c_werror_flag"
5839 || test ! -s conftest.err'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; } &&
5845 { ac_try
='test -s conftest.$ac_objext'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; }; then
5853 echo "$as_me: failed program was:" >&5
5854 sed 's/^/| /' conftest.
$ac_ext >&5
5856 ac_lo
=`expr '(' $ac_mid ')' + 1`
5858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5862 '') result
=unknown
;;
5865 if test "$cross_compiling" = yes; then
5866 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5867 See \`config.log' for more details." >&5
5868 echo "$as_me: error: cannot run test program while cross compiling
5869 See \`config.log' for more details." >&2;}
5870 { (exit 1); exit 1; }; }
5872 cat >conftest.
$ac_ext <<_ACEOF
5875 cat confdefs.h
>>conftest.
$ac_ext
5876 cat >>conftest.
$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5879 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5880 included before <wchar.h>. */
5890 long longval () { return sizeof ($gltype) * CHAR_BIT; }
5891 unsigned long ulongval () { return sizeof ($gltype) * CHAR_BIT; }
5898 FILE *f = fopen ("conftest.val", "w");
5901 if ((sizeof ($gltype) * CHAR_BIT) < 0)
5903 long i = longval ();
5904 if (i != (sizeof ($gltype) * CHAR_BIT))
5906 fprintf (f, "%ld\n", i);
5910 unsigned long i = ulongval ();
5911 if (i != (sizeof ($gltype) * CHAR_BIT))
5913 fprintf (f, "%lu\n", i);
5915 exit (ferror (f) || fclose (f) != 0);
5921 rm -f conftest
$ac_exeext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5923 (eval $ac_link) 2>&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; }; then
5932 result
=`cat conftest.val`
5934 echo "$as_me: program exited with status $ac_status" >&5
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.
$ac_ext >&5
5941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5945 eval gl_cv_bitsizeof_
${gltype}=\
$result
5948 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&5
5949 echo "${ECHO_T}`eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&6
5950 eval result
=\
$gl_cv_bitsizeof_${gltype}
5951 if test $result = unknown
; then
5954 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5955 cat >>confdefs.h
<<_ACEOF
5956 #define BITSIZEOF_${GLTYPE} $result
5959 eval BITSIZEOF_
${GLTYPE}=\
$result
5968 for gltype
in sig_atomic_t wchar_t wint_t
; do
5969 echo "$as_me:$LINENO: checking whether $gltype is signed" >&5
5970 echo $ECHO_N "checking whether $gltype is signed... $ECHO_C" >&6
5971 if eval "test \"\${gl_cv_type_${gltype}_signed+set}\" = set"; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 cat >conftest.
$ac_ext <<_ACEOF
5977 cat confdefs.h
>>conftest.
$ac_ext
5978 cat >>conftest.
$ac_ext <<_ACEOF
5979 /* end confdefs.h. */
5981 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5982 included before <wchar.h>. */
5991 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
6000 rm -f conftest.
$ac_objext
6001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6002 (eval $ac_compile) 2>conftest.er1
6004 grep -v '^ *+' conftest.er1
>conftest.err
6006 cat conftest.err
>&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); } &&
6009 { ac_try
='test -z "$ac_c_werror_flag"
6010 || test ! -s conftest.err'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; } &&
6016 { ac_try
='test -s conftest.$ac_objext'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; }; then
6024 echo "$as_me: failed program was:" >&5
6025 sed 's/^/| /' conftest.
$ac_ext >&5
6029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 eval gl_cv_type_
${gltype}_signed
=\
$result
6033 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&5
6034 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&6
6035 eval result
=\
$gl_cv_type_${gltype}_signed
6036 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6037 if test "$result" = yes; then
6038 cat >>confdefs.h
<<_ACEOF
6039 #define HAVE_SIGNED_${GLTYPE} 1
6042 eval HAVE_SIGNED_
${GLTYPE}=1
6044 eval HAVE_SIGNED_
${GLTYPE}=0
6049 gl_cv_type_ptrdiff_t_signed
=yes
6050 gl_cv_type_size_t_signed
=no
6058 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
6059 echo "$as_me:$LINENO: checking for $gltype integer literal suffix" >&5
6060 echo $ECHO_N "checking for $gltype integer literal suffix... $ECHO_C" >&6
6061 if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\" = set"; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 eval gl_cv_type_
${gltype}_suffix
=no
6065 eval result
=\
$gl_cv_type_${gltype}_signed
6066 if test "$result" = yes; then
6071 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
6074 l
) gltype1
='long int';;
6075 ll
) gltype1
='long long int';;
6076 i64
) gltype1
='__int64';;
6077 u
) gltype1
='unsigned int';;
6078 ul
) gltype1
='unsigned long int';;
6079 ull
) gltype1
='unsigned long long int';;
6080 ui64
)gltype1
='unsigned __int64';;
6082 cat >conftest.
$ac_ext <<_ACEOF
6085 cat confdefs.h
>>conftest.
$ac_ext
6086 cat >>conftest.
$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6089 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6090 included before <wchar.h>. */
6100 extern $gltype1 foo;
6109 rm -f conftest.
$ac_objext
6110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6111 (eval $ac_compile) 2>conftest.er1
6113 grep -v '^ *+' conftest.er1
>conftest.err
6115 cat conftest.err
>&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } &&
6118 { ac_try
='test -z "$ac_c_werror_flag"
6119 || test ! -s conftest.err'
6120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); }; } &&
6125 { ac_try
='test -s conftest.$ac_objext'
6126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6130 (exit $ac_status); }; }; then
6131 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
6133 echo "$as_me: failed program was:" >&5
6134 sed 's/^/| /' conftest.
$ac_ext >&5
6137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6138 eval result
=\
$gl_cv_type_${gltype}_suffix
6139 test "$result" != no
&& break
6142 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&5
6143 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&6
6144 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6145 eval result
=\
$gl_cv_type_${gltype}_suffix
6146 test "$result" = no
&& result
=
6147 eval ${GLTYPE}_SUFFIX
=\
$result
6148 cat >>confdefs.h
<<_ACEOF
6149 #define ${GLTYPE}_SUFFIX $result
6165 echo "$as_me:$LINENO: checking whether <wchar.h> is standalone" >&5
6166 echo $ECHO_N "checking whether <wchar.h> is standalone... $ECHO_C" >&6
6167 if test "${gl_cv_header_wchar_h_standalone+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 cat >conftest.
$ac_ext <<_ACEOF
6174 rm -f conftest.
$ac_objext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176 (eval $ac_compile) 2>conftest.er1
6178 grep -v '^ *+' conftest.er1
>conftest.err
6180 cat conftest.err
>&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try
='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try
='test -s conftest.$ac_objext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 gl_cv_header_wchar_h_standalone
=yes
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.
$ac_ext >&5
6201 gl_cv_header_wchar_h_standalone
=no
6203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6205 echo "$as_me:$LINENO: result: $gl_cv_header_wchar_h_standalone" >&5
6206 echo "${ECHO_T}$gl_cv_header_wchar_h_standalone" >&6
6207 if test $gl_cv_header_wchar_h_standalone != yes; then
6218 if test $ac_cv_header_wchar_h = yes; then
6235 if test $gl_cv_have_include_next = yes; then
6236 gl_cv_next_wchar_h
='<'wchar.h
'>'
6238 echo "$as_me:$LINENO: checking absolute name of <wchar.h>" >&5
6239 echo $ECHO_N "checking absolute name of <wchar.h>... $ECHO_C" >&6
6240 if test "${gl_cv_next_wchar_h+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 if test $ac_cv_header_wchar_h = yes; then
6245 cat >conftest.
$ac_ext <<_ACEOF
6248 cat confdefs.h
>>conftest.
$ac_ext
6249 cat >>conftest.
$ac_ext <<_ACEOF
6250 /* end confdefs.h. */
6254 gl_cv_next_wchar_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6255 sed -n '\#/wchar.h#{
6256 s#.*"\(.*/wchar.h\)".*#\1#
6262 gl_cv_next_wchar_h
='<'wchar.h
'>'
6266 echo "$as_me:$LINENO: result: $gl_cv_next_wchar_h" >&5
6267 echo "${ECHO_T}$gl_cv_next_wchar_h" >&6
6269 NEXT_WCHAR_H
=$gl_cv_next_wchar_h
6283 gl_source_base
='tests'
6288 LIBGNU_LIBDEPS
="$gl_libdeps"
6290 LIBGNU_LTLIBDEPS
="$gl_ltlibdeps"
6296 cat >>confdefs.h
<<_ACEOF
6297 #define PACKAGE "$PACKAGE"
6302 # GDB does not use automake, but gnulib does. This line lets us
6303 # generate its Makefile.in.
6304 am__api_version
="1.9"
6305 # Find a good install program. We prefer a C program (faster),
6306 # so one script is as good as another. But avoid the broken or
6307 # incompatible versions:
6308 # SysV /etc/install, /usr/sbin/install
6309 # SunOS /usr/etc/install
6310 # IRIX /sbin/install
6312 # AmigaOS /C/install, which installs bootblocks on floppy discs
6313 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6314 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6315 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6316 # OS/2's system install, which has a completely different semantic
6317 # ./install, which can be erroneously created by make from ./install.sh.
6318 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6319 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6320 if test -z "$INSTALL"; then
6321 if test "${ac_cv_path_install+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir
=.
6329 # Account for people who put trailing slashes in PATH elements.
6331 .
/ | .
// |
/cC
/* | \
6332 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6333 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6336 # OSF1 and SCO ODT 3.0 have their own names for install.
6337 # Don't use installbsd from OSF since it installs stuff as root
6339 for ac_prog
in ginstall scoinst
install; do
6340 for ac_exec_ext
in '' $ac_executable_extensions; do
6341 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6342 if test $ac_prog = install &&
6343 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6344 # AIX install. It has an incompatible calling convention.
6346 elif test $ac_prog = install &&
6347 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6348 # program-specific install script used by HP pwplus--don't use.
6351 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6363 if test "${ac_cv_path_install+set}" = set; then
6364 INSTALL
=$ac_cv_path_install
6366 # As a last resort, use the slow shell script. We don't cache a
6367 # path for INSTALL within a source directory, because that will
6368 # break other packages using the cache if that directory is
6369 # removed, or if the path is relative.
6370 INSTALL
=$ac_install_sh
6373 echo "$as_me:$LINENO: result: $INSTALL" >&5
6374 echo "${ECHO_T}$INSTALL" >&6
6376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6377 # It thinks the first close brace ends the variable substitution.
6378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6382 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6384 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
6385 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
6388 echo timestamp
> conftest.
file
6389 # Do `set' in a subshell so we don't clobber the current shell's
6390 # arguments. Must try -L first in case configure is actually a
6391 # symlink; some systems play weird games with the mod time of symlinks
6392 # (eg FreeBSD returns the mod time of the symlink's containing
6395 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6396 if test "$*" = "X"; then
6398 set X
`ls -t $srcdir/configure conftest.file`
6401 if test "$*" != "X $srcdir/configure conftest.file" \
6402 && test "$*" != "X conftest.file $srcdir/configure"; then
6404 # If neither matched, then we have a broken ls. This can happen
6405 # if, for instance, CONFIG_SHELL is bash and it inherits a
6406 # broken ls alias from the environment. This has actually
6407 # happened. Such a system could not be considered "sane".
6408 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
6409 alias in your environment" >&5
6410 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
6411 alias in your environment" >&2;}
6412 { (exit 1); exit 1; }; }
6415 test "$2" = conftest.
file
6421 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
6422 Check your system clock" >&5
6423 echo "$as_me: error: newly created file is older than distributed files!
6424 Check your system clock" >&2;}
6425 { (exit 1); exit 1; }; }
6427 echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6
6429 test "$program_prefix" != NONE
&&
6430 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
6431 # Use a double $ so make ignores it.
6432 test "$program_suffix" != NONE
&&
6433 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
6434 # Double any \ or $. echo might interpret backslashes.
6435 # By default was `s,x,x', remove it if useless.
6436 cat <<\_ACEOF
>conftest.
sed
6437 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
6439 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
6442 # expand $ac_aux_dir to an absolute path
6443 am_aux_dir
=`cd $ac_aux_dir && pwd`
6445 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
6446 # Use eval to expand $SHELL
6447 if eval "$MISSING --run true"; then
6448 am_missing_run
="$MISSING --run "
6451 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
6452 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
6455 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
6456 # We used to keeping the `.' as first argument, in order to
6457 # allow $(mkdir_p) to be used without argument. As in
6458 # $(mkdir_p) $(somedir)
6459 # where $(somedir) is conditionally defined. However this is wrong
6461 # 1. if the package is installed by a user who cannot write `.'
6462 # make install will fail,
6463 # 2. the above comment should most certainly read
6464 # $(mkdir_p) $(DESTDIR)$(somedir)
6465 # so it does not work when $(somedir) is undefined and
6466 # $(DESTDIR) is not.
6467 # To support the latter case, we have to write
6468 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
6469 # so the `.' trick is pointless.
6470 mkdir_p
='mkdir -p --'
6472 # On NextStep and OpenStep, the `mkdir' command does not
6473 # recognize any option. It will interpret all options as
6474 # directories to create, and then abort because `.' already
6476 for d
in .
/-p .
/--version;
6478 test -d $d && rmdir $d
6480 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6481 if test -f "$ac_aux_dir/mkinstalldirs"; then
6482 mkdir_p
='$(mkinstalldirs)'
6484 mkdir_p
='$(install_sh) -d'
6488 for ac_prog
in gawk mawk nawk
awk
6490 # Extract the first word of "$ac_prog", so it can be a program name with args.
6491 set dummy
$ac_prog; ac_word
=$2
6492 echo "$as_me:$LINENO: checking for $ac_word" >&5
6493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6494 if test "${ac_cv_prog_AWK+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 if test -n "$AWK"; then
6498 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6504 test -z "$as_dir" && as_dir
=.
6505 for ac_exec_ext
in '' $ac_executable_extensions; do
6506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6507 ac_cv_prog_AWK
="$ac_prog"
6508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 if test -n "$AWK"; then
6518 echo "$as_me:$LINENO: result: $AWK" >&5
6519 echo "${ECHO_T}$AWK" >&6
6521 echo "$as_me:$LINENO: result: no" >&5
6522 echo "${ECHO_T}no" >&6
6525 test -n "$AWK" && break
6528 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6529 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6530 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
6531 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 cat >conftest.
make <<\_ACEOF
6536 @
echo 'ac_maketemp="$(MAKE)"'
6538 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6539 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6540 if test -n "$ac_maketemp"; then
6541 eval ac_cv_prog_make_
${ac_make}_set
=yes
6543 eval ac_cv_prog_make_
${ac_make}_set
=no
6547 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6548 echo "$as_me:$LINENO: result: yes" >&5
6549 echo "${ECHO_T}yes" >&6
6552 echo "$as_me:$LINENO: result: no" >&5
6553 echo "${ECHO_T}no" >&6
6554 SET_MAKE
="MAKE=${MAKE-make}"
6557 rm -rf .tst
2>/dev
/null
6558 mkdir .tst
2>/dev
/null
6559 if test -d .tst
; then
6564 rmdir .tst
2>/dev
/null
6566 DEPDIR
="${am__leading_dot}deps"
6568 ac_config_commands
="$ac_config_commands depfiles"
6571 am_make
=${MAKE-make}
6572 cat > confinc
<< 'END'
6577 # If we don't find an include directive, just comment out the code.
6578 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6579 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
6583 # First try GNU make style include.
6584 echo "include confinc" > confmf
6585 # We grep out `Entering directory' and `Leaving directory'
6586 # messages which can occur if `w' ends up in MAKEFLAGS.
6587 # In particular we don't look at `^make:' because GNU make might
6588 # be invoked under some other name (usually "gmake"), in which
6589 # case it prints its new name instead of `make'.
6590 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6595 # Now try BSD make style include.
6596 if test "$am__include" = "#"; then
6597 echo '.include "confinc"' > confmf
6598 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6599 am__include
=.include
6606 echo "$as_me:$LINENO: result: $_am_result" >&5
6607 echo "${ECHO_T}$_am_result" >&6
6608 rm -f confinc confmf
6610 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
6611 if test "${enable_dependency_tracking+set}" = set; then
6612 enableval
="$enable_dependency_tracking"
6615 if test "x$enable_dependency_tracking" != xno
; then
6616 am_depcomp
="$ac_aux_dir/depcomp"
6621 if test "x$enable_dependency_tracking" != xno; then
6631 # test to see if srcdir already configured
6632 if test "`cd $srcdir && pwd`" != "`pwd`" &&
6633 test -f $srcdir/config.status
; then
6634 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
6635 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
6636 { (exit 1); exit 1; }; }
6639 # test whether we have cygpath
6640 if test -z "$CYGPATH_W"; then
6641 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
6642 CYGPATH_W
='cygpath -w'
6649 # Define the identity of the package.
6651 VERSION
=UNUSED-VERSION
6654 # Some tools Automake needs.
6656 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6659 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6662 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6665 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6668 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6670 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
6672 # Installed binaries are usually stripped using `strip' when the user
6673 # run `make install-strip'. However `strip' might not be the right
6674 # tool to use in cross-compilation environments, therefore Automake
6675 # will honor the `STRIP' environment variable to overrule this program.
6676 if test "$cross_compiling" != no
; then
6677 if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6679 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6680 echo "$as_me:$LINENO: checking for $ac_word" >&5
6681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6682 if test "${ac_cv_prog_STRIP+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 if test -n "$STRIP"; then
6686 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir
=.
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 STRIP
=$ac_cv_prog_STRIP
6705 if test -n "$STRIP"; then
6706 echo "$as_me:$LINENO: result: $STRIP" >&5
6707 echo "${ECHO_T}$STRIP" >&6
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6714 if test -z "$ac_cv_prog_STRIP"; then
6716 # Extract the first word of "strip", so it can be a program name with args.
6717 set dummy strip
; ac_word
=$2
6718 echo "$as_me:$LINENO: checking for $ac_word" >&5
6719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6720 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6723 if test -n "$ac_ct_STRIP"; then
6724 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir
=.
6731 for ac_exec_ext
in '' $ac_executable_extensions; do
6732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_ac_ct_STRIP
="strip"
6734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6743 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6744 if test -n "$ac_ct_STRIP"; then
6745 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6746 echo "${ECHO_T}$ac_ct_STRIP" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 STRIP
="$ac_cv_prog_STRIP"
6758 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
6760 # We need awk for the "check" target. The system "awk" is bad on
6762 # Always define AMTAR for backward compatibility.
6764 AMTAR
=${AMTAR-"${am_missing_run}tar"}
6766 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
6771 depcc
="$CC" am_compiler_list
=
6773 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6774 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6775 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6776 echo $ECHO_N "(cached) $ECHO_C" >&6
6778 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6779 # We make a subdir and do the tests there. Otherwise we can end up
6780 # making bogus files that we don't know about and never remove. For
6781 # instance it was reported that on HP-UX the gcc test will end up
6782 # making a dummy file named `D' -- because `-MD' means `put the output
6785 # Copy depcomp to subdir because otherwise we won't find it if we're
6786 # using a relative directory.
6787 cp "$am_depcomp" conftest.dir
6789 # We will build objects and dependencies in a subdirectory because
6790 # it helps to detect inapplicable dependency modes. For instance
6791 # both Tru64's cc and ICC support -MD to output dependencies as a
6792 # side effect of compilation, but ICC will put the dependencies in
6793 # the current directory while Tru64 will put them in the object
6797 am_cv_CC_dependencies_compiler_type
=none
6798 if test "$am_compiler_list" = ""; then
6799 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6801 for depmode
in $am_compiler_list; do
6802 # Setup a source with many dependencies, because some compilers
6803 # like to wrap large dependency lists on column 80 (with \), and
6804 # we should not choose a depcomp mode which is confused by this.
6806 # We need to recreate these files for each test, as the compiler may
6807 # overwrite some of them when testing with obscure command lines.
6808 # This happens at least with the AIX C compiler.
6810 for i
in 1 2 3 4 5 6; do
6811 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6812 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6813 # Solaris 8's {/usr,}/bin/sh.
6814 touch sub
/conftst
$i.h
6816 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6820 # after this tag, mechanisms are not by side-effect, so they'll
6821 # only be used when explicitly requested
6822 if test "x$enable_dependency_tracking" = xyes
; then
6830 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6831 # mode. It turns out that the SunPro C++ compiler does not properly
6832 # handle `-M -o', and we need to detect this.
6833 if depmode
=$depmode \
6834 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6835 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6836 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6837 >/dev
/null
2>conftest.err
&&
6838 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6839 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6840 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6841 # icc doesn't choke on unknown options, it will just issue warnings
6842 # or remarks (even with -Werror). So we grep stderr for any message
6843 # that says an option was ignored or not supported.
6844 # When given -MP, icc 7.0 and 7.1 complain thusly:
6845 # icc: Command line warning: ignoring option '-M'; no argument required
6846 # The diagnosis changed in icc 8.0:
6847 # icc: Command line remark: option '-MP' not supported
6848 if (grep 'ignoring option' conftest.err ||
6849 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6850 am_cv_CC_dependencies_compiler_type
=$depmode
6859 am_cv_CC_dependencies_compiler_type
=none
6863 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6864 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6865 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6870 test "x$enable_dependency_tracking" != xno \
6871 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6873 am__fastdepCC_FALSE
='#'
6875 am__fastdepCC_TRUE
='#'
6876 am__fastdepCC_FALSE
=
6882 debugdir
=${libdir}/debug
6885 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
6886 if test "${with_separate_debug_dir+set}" = set; then
6887 withval
="$with_separate_debug_dir"
6888 debugdir
="${withval}"
6892 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
6893 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6894 ac_define_dir
=`eval echo $debugdir`
6895 ac_define_dir
=`eval echo $ac_define_dir`
6897 cat >>confdefs.h
<<_ACEOF
6898 #define DEBUGDIR "$ac_define_dir"
6902 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
6904 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
6905 if test "x$prefix" = xNONE
; then
6906 test_prefix
=/usr
/local
6911 test_prefix
=$exec_prefix
6914 "${test_prefix}"|
"${test_prefix}/"*|\
6915 '${exec_prefix}'|
'${exec_prefix}/'*)
6917 cat >>confdefs.h
<<\_ACEOF
6918 #define DEBUGDIR_RELOCATABLE 1
6926 subdirs
="$subdirs doc testsuite"
6929 # Check whether to support alternative target configurations
6930 # Check whether --enable-targets or --disable-targets was given.
6931 if test "${enable_targets+set}" = set; then
6932 enableval
="$enable_targets"
6933 case "${enableval}" in
6934 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
6935 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
6936 { (exit 1); exit 1; }; }
6938 no
) enable_targets
= ;;
6939 *) enable_targets
=$enableval ;;
6943 # Check whether to enable 64-bit support on 32-bit hosts
6944 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
6945 if test "${enable_64_bit_bfd+set}" = set; then
6946 enableval
="$enable_64_bit_bfd"
6947 case "${enableval}" in
6950 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
6951 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
6952 { (exit 1); exit 1; }; } ;;
6957 # Provide defaults for some variables set by the per-host and per-target
6959 gdb_host_obs
=posix-hdep.o
6961 if test "${target}" = "${host}"; then
6967 .
$srcdir/configure.
host
6969 # Accumulate some settings from configure.tgt over all enabled targets
6974 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
6976 if test "$targ_alias" = "all"; then
6979 # Canonicalize the secondary target names.
6980 result
=`$ac_config_sub $targ_alias 2>/dev/null`
6981 if test -n "$result"; then
6987 .
${srcdir}/configure.tgt
6989 # Target-specific object files
6990 for i
in ${gdb_target_obs}; do
6991 case " $TARGET_OBS " in
6994 TARGET_OBS
="$TARGET_OBS ${i}"
6999 # Check whether this target needs 64-bit CORE_ADDR
7000 if test x
${want64} = xfalse
; then
7001 .
${srcdir}/..
/bfd
/config.bfd
7006 if test x
${all_targets} = xtrue
; then
7008 # We want all 64-bit targets if we either:
7009 # - run on a 64-bit host or
7010 # - already require 64-bit support for some other target or
7011 # - the --enable-64-bit-bfd option was supplied
7012 # Otherwise we only support all 32-bit targets.
7014 # NOTE: This test must be in sync with the corresponding
7017 if test x
${want64} = xfalse
; then
7018 echo "$as_me:$LINENO: checking for long" >&5
7019 echo $ECHO_N "checking for long... $ECHO_C" >&6
7020 if test "${ac_cv_type_long+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7023 cat >conftest.
$ac_ext <<_ACEOF
7026 cat confdefs.h
>>conftest.
$ac_ext
7027 cat >>conftest.
$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7029 $ac_includes_default
7041 rm -f conftest.
$ac_objext
7042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7043 (eval $ac_compile) 2>conftest.er1
7045 grep -v '^ *+' conftest.er1
>conftest.err
7047 cat conftest.err
>&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } &&
7050 { ac_try
='test -z "$ac_c_werror_flag"
7051 || test ! -s conftest.err'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; } &&
7057 { ac_try
='test -s conftest.$ac_objext'
7058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; }; then
7065 echo "$as_me: failed program was:" >&5
7066 sed 's/^/| /' conftest.
$ac_ext >&5
7070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7072 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7073 echo "${ECHO_T}$ac_cv_type_long" >&6
7075 echo "$as_me:$LINENO: checking size of long" >&5
7076 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7077 if test "${ac_cv_sizeof_long+set}" = set; then
7078 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 if test "$ac_cv_type_long" = yes; then
7081 # The cast to unsigned long works around a bug in the HP C Compiler
7082 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7083 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7084 # This bug is HP SR number 8606223364.
7085 if test "$cross_compiling" = yes; then
7086 # Depending upon the size, compute the lo and hi bounds.
7087 cat >conftest.
$ac_ext <<_ACEOF
7090 cat confdefs.h
>>conftest.
$ac_ext
7091 cat >>conftest.
$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7093 $ac_includes_default
7097 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7104 rm -f conftest.
$ac_objext
7105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7106 (eval $ac_compile) 2>conftest.er1
7108 grep -v '^ *+' conftest.er1
>conftest.err
7110 cat conftest.err
>&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); } &&
7113 { ac_try
='test -z "$ac_c_werror_flag"
7114 || test ! -s conftest.err'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; } &&
7120 { ac_try
='test -s conftest.$ac_objext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7128 cat >conftest.
$ac_ext <<_ACEOF
7131 cat confdefs.h
>>conftest.
$ac_ext
7132 cat >>conftest.
$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7134 $ac_includes_default
7138 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7145 rm -f conftest.
$ac_objext
7146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7147 (eval $ac_compile) 2>conftest.er1
7149 grep -v '^ *+' conftest.er1
>conftest.err
7151 cat conftest.err
>&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } &&
7154 { ac_try
='test -z "$ac_c_werror_flag"
7155 || test ! -s conftest.err'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; } &&
7161 { ac_try
='test -s conftest.$ac_objext'
7162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; }; then
7167 ac_hi
=$ac_mid; break
7169 echo "$as_me: failed program was:" >&5
7170 sed 's/^/| /' conftest.
$ac_ext >&5
7172 ac_lo
=`expr $ac_mid + 1`
7173 if test $ac_lo -le $ac_mid; then
7177 ac_mid
=`expr 2 '*' $ac_mid + 1`
7179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7182 echo "$as_me: failed program was:" >&5
7183 sed 's/^/| /' conftest.
$ac_ext >&5
7185 cat >conftest.
$ac_ext <<_ACEOF
7188 cat confdefs.h
>>conftest.
$ac_ext
7189 cat >>conftest.
$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
7191 $ac_includes_default
7195 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7202 rm -f conftest.
$ac_objext
7203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7204 (eval $ac_compile) 2>conftest.er1
7206 grep -v '^ *+' conftest.er1
>conftest.err
7208 cat conftest.err
>&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); } &&
7211 { ac_try
='test -z "$ac_c_werror_flag"
7212 || test ! -s conftest.err'
7213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); }; } &&
7218 { ac_try
='test -s conftest.$ac_objext'
7219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); }; }; then
7226 cat >conftest.
$ac_ext <<_ACEOF
7229 cat confdefs.h
>>conftest.
$ac_ext
7230 cat >>conftest.
$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7232 $ac_includes_default
7236 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7243 rm -f conftest.
$ac_objext
7244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7245 (eval $ac_compile) 2>conftest.er1
7247 grep -v '^ *+' conftest.er1
>conftest.err
7249 cat conftest.err
>&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); } &&
7252 { ac_try
='test -z "$ac_c_werror_flag"
7253 || test ! -s conftest.err'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; } &&
7259 { ac_try
='test -s conftest.$ac_objext'
7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; }; then
7265 ac_lo
=$ac_mid; break
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.
$ac_ext >&5
7270 ac_hi
=`expr '(' $ac_mid ')' - 1`
7271 if test $ac_mid -le $ac_hi; then
7275 ac_mid
=`expr 2 '*' $ac_mid`
7277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.
$ac_ext >&5
7285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7288 # Binary search between lo and hi bounds.
7289 while test "x$ac_lo" != "x$ac_hi"; do
7290 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7291 cat >conftest.
$ac_ext <<_ACEOF
7294 cat confdefs.h
>>conftest.
$ac_ext
7295 cat >>conftest.
$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 $ac_includes_default
7301 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7308 rm -f conftest.
$ac_objext
7309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7310 (eval $ac_compile) 2>conftest.er1
7312 grep -v '^ *+' conftest.er1
>conftest.err
7314 cat conftest.err
>&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } &&
7317 { ac_try
='test -z "$ac_c_werror_flag"
7318 || test ! -s conftest.err'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; } &&
7324 { ac_try
='test -s conftest.$ac_objext'
7325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; }; then
7332 echo "$as_me: failed program was:" >&5
7333 sed 's/^/| /' conftest.
$ac_ext >&5
7335 ac_lo
=`expr '(' $ac_mid ')' + 1`
7337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7340 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7341 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7342 See \`config.log' for more details." >&5
7343 echo "$as_me: error: cannot compute sizeof (long), 77
7344 See \`config.log' for more details." >&2;}
7345 { (exit 1); exit 1; }; } ;;
7348 if test "$cross_compiling" = yes; then
7349 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7350 See \`config.log' for more details." >&5
7351 echo "$as_me: error: cannot run test program while cross compiling
7352 See \`config.log' for more details." >&2;}
7353 { (exit 1); exit 1; }; }
7355 cat >conftest.
$ac_ext <<_ACEOF
7358 cat confdefs.h
>>conftest.
$ac_ext
7359 cat >>conftest.
$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 $ac_includes_default
7362 long longval () { return (long) (sizeof (long)); }
7363 unsigned long ulongval () { return (long) (sizeof (long)); }
7370 FILE *f = fopen ("conftest.val", "w");
7373 if (((long) (sizeof (long))) < 0)
7375 long i = longval ();
7376 if (i != ((long) (sizeof (long))))
7378 fprintf (f, "%ld\n", i);
7382 unsigned long i = ulongval ();
7383 if (i != ((long) (sizeof (long))))
7385 fprintf (f, "%lu\n", i);
7387 exit (ferror (f) || fclose (f) != 0);
7393 rm -f conftest
$ac_exeext
7394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7395 (eval $ac_link) 2>&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); }; }; then
7404 ac_cv_sizeof_long
=`cat conftest.val`
7406 echo "$as_me: program exited with status $ac_status" >&5
7407 echo "$as_me: failed program was:" >&5
7408 sed 's/^/| /' conftest.
$ac_ext >&5
7411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7412 See \`config.log' for more details." >&5
7413 echo "$as_me: error: cannot compute sizeof (long), 77
7414 See \`config.log' for more details." >&2;}
7415 { (exit 1); exit 1; }; }
7417 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7426 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7427 cat >>confdefs.h
<<_ACEOF
7428 #define SIZEOF_LONG $ac_cv_sizeof_long
7432 if test "x${ac_cv_sizeof_long}" = "x8"; then
7436 if test x
${want64} = xtrue
; then
7437 TARGET_OBS
='$(ALL_TARGET_OBS) $(ALL_64_TARGET_OBS)'
7439 TARGET_OBS
='$(ALL_TARGET_OBS)'
7445 # For other settings, only the main target counts.
7449 targ
=$target; .
${srcdir}/configure.tgt
7451 # Fetch the default architecture and default target vector from BFD.
7452 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
7454 # We only want the first architecture, so strip off the others if
7455 # there is more than one.
7456 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
7458 if test "x$targ_archs" != x
; then
7460 cat >>confdefs.h
<<_ACEOF
7461 #define DEFAULT_BFD_ARCH $targ_archs
7465 if test "x$targ_defvec" != x
; then
7467 cat >>confdefs.h
<<_ACEOF
7468 #define DEFAULT_BFD_VEC $targ_defvec
7473 # The CLI cannot be disabled yet, but may be in the future.
7476 # Check whether --enable-gdbcli or --disable-gdbcli was given.
7477 if test "${enable_gdbcli+set}" = set; then
7478 enableval
="$enable_gdbcli"
7483 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
7484 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
7485 { (exit 1); exit 1; }; } ;;
7487 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
7488 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
7489 { (exit 1); exit 1; }; } ;;
7494 if test x
"$enable_gdbcli" = xyes
; then
7495 if test -d $srcdir/cli
; then
7496 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
7497 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
7498 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
7499 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
7504 # Check whether --enable-gdbmi or --disable-gdbmi was given.
7505 if test "${enable_gdbmi+set}" = set; then
7506 enableval
="$enable_gdbmi"
7511 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
7512 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
7513 { (exit 1); exit 1; }; } ;;
7518 if test x
"$enable_gdbmi" = xyes
; then
7519 if test -d $srcdir/mi
; then
7520 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
7521 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
7522 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
7523 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
7528 # Check whether --enable-tui or --disable-tui was given.
7529 if test "${enable_tui+set}" = set; then
7530 enableval
="$enable_tui"
7535 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
7536 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
7537 { (exit 1); exit 1; }; } ;;
7544 # Check whether --enable-gdbtk or --disable-gdbtk was given.
7545 if test "${enable_gdbtk+set}" = set; then
7546 enableval
="$enable_gdbtk"
7551 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
7552 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
7553 { (exit 1); exit 1; }; } ;;
7556 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
7562 # We unconditionally disable gdbtk tests on selected platforms.
7565 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
7566 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
7570 # Libunwind support.
7572 # Check whether --with-libunwind or --without-libunwind was given.
7573 if test "${with_libunwind+set}" = set; then
7574 withval
="$with_libunwind"
7575 case "${withval}" in
7576 yes) enable_libunwind
=yes ;;
7577 no
) enable_libunwind
=no
;;
7578 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
7579 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
7580 { (exit 1); exit 1; }; } ;;
7585 for ac_header
in libunwind.h
7587 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7589 echo "$as_me:$LINENO: checking for $ac_header" >&5
7590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7597 # Is the header compilable?
7598 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7600 cat >conftest.
$ac_ext <<_ACEOF
7603 cat confdefs.h
>>conftest.
$ac_ext
7604 cat >>conftest.
$ac_ext <<_ACEOF
7605 /* end confdefs.h. */
7606 $ac_includes_default
7607 #include <$ac_header>
7609 rm -f conftest.
$ac_objext
7610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7611 (eval $ac_compile) 2>conftest.er1
7613 grep -v '^ *+' conftest.er1
>conftest.err
7615 cat conftest.err
>&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); } &&
7618 { ac_try
='test -z "$ac_c_werror_flag"
7619 || test ! -s conftest.err'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; } &&
7625 { ac_try
='test -s conftest.$ac_objext'
7626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); }; }; then
7631 ac_header_compiler
=yes
7633 echo "$as_me: failed program was:" >&5
7634 sed 's/^/| /' conftest.
$ac_ext >&5
7636 ac_header_compiler
=no
7638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7640 echo "${ECHO_T}$ac_header_compiler" >&6
7642 # Is the header present?
7643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7645 cat >conftest.
$ac_ext <<_ACEOF
7648 cat confdefs.h
>>conftest.
$ac_ext
7649 cat >>conftest.
$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 #include <$ac_header>
7653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7656 grep -v '^ *+' conftest.er1
>conftest.err
7658 cat conftest.err
>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } >/dev
/null
; then
7661 if test -s conftest.err
; then
7662 ac_cpp_err
=$ac_c_preproc_warn_flag
7663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7670 if test -z "$ac_cpp_err"; then
7671 ac_header_preproc
=yes
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.
$ac_ext >&5
7676 ac_header_preproc
=no
7678 rm -f conftest.err conftest.
$ac_ext
7679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7680 echo "${ECHO_T}$ac_header_preproc" >&6
7682 # So? What about this header?
7683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7689 ac_header_preproc
=yes
7692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7696 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7698 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7706 ## ------------------------------------------ ##
7707 ## Report this to the AC_PACKAGE_NAME lists. ##
7708 ## ------------------------------------------ ##
7711 sed "s/^/$as_me: WARNING: /" >&2
7714 echo "$as_me:$LINENO: checking for $ac_header" >&5
7715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 eval "$as_ac_Header=\$ac_header_preproc"
7721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7726 cat >>confdefs.h
<<_ACEOF
7727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 for ac_header
in libunwind-ia64.h
7737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7739 echo "$as_me:$LINENO: checking for $ac_header" >&5
7740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7742 echo $ECHO_N "(cached) $ECHO_C" >&6
7744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7747 # Is the header compilable?
7748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7750 cat >conftest.
$ac_ext <<_ACEOF
7753 cat confdefs.h
>>conftest.
$ac_ext
7754 cat >>conftest.
$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7756 $ac_includes_default
7757 #include <$ac_header>
7759 rm -f conftest.
$ac_objext
7760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7761 (eval $ac_compile) 2>conftest.er1
7763 grep -v '^ *+' conftest.er1
>conftest.err
7765 cat conftest.err
>&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); } &&
7768 { ac_try
='test -z "$ac_c_werror_flag"
7769 || test ! -s conftest.err'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; } &&
7775 { ac_try
='test -s conftest.$ac_objext'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7781 ac_header_compiler
=yes
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.
$ac_ext >&5
7786 ac_header_compiler
=no
7788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7790 echo "${ECHO_T}$ac_header_compiler" >&6
7792 # Is the header present?
7793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7795 cat >conftest.
$ac_ext <<_ACEOF
7798 cat confdefs.h
>>conftest.
$ac_ext
7799 cat >>conftest.
$ac_ext <<_ACEOF
7800 /* end confdefs.h. */
7801 #include <$ac_header>
7803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7806 grep -v '^ *+' conftest.er1
>conftest.err
7808 cat conftest.err
>&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } >/dev
/null
; then
7811 if test -s conftest.err
; then
7812 ac_cpp_err
=$ac_c_preproc_warn_flag
7813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7820 if test -z "$ac_cpp_err"; then
7821 ac_header_preproc
=yes
7823 echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.
$ac_ext >&5
7826 ac_header_preproc
=no
7828 rm -f conftest.err conftest.
$ac_ext
7829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7830 echo "${ECHO_T}$ac_header_preproc" >&6
7832 # So? What about this header?
7833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7839 ac_header_preproc
=yes
7842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7856 ## ------------------------------------------ ##
7857 ## Report this to the AC_PACKAGE_NAME lists. ##
7858 ## ------------------------------------------ ##
7861 sed "s/^/$as_me: WARNING: /" >&2
7864 echo "$as_me:$LINENO: checking for $ac_header" >&5
7865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 eval "$as_ac_Header=\$ac_header_preproc"
7871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7876 cat >>confdefs.h
<<_ACEOF
7877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7884 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
7885 enable_libunwind
=yes;
7890 if test x
"$enable_libunwind" = xyes
; then
7892 for ac_header
in libunwind.h
7894 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7896 echo "$as_me:$LINENO: checking for $ac_header" >&5
7897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7904 # Is the header compilable?
7905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7907 cat >conftest.
$ac_ext <<_ACEOF
7910 cat confdefs.h
>>conftest.
$ac_ext
7911 cat >>conftest.
$ac_ext <<_ACEOF
7912 /* end confdefs.h. */
7913 $ac_includes_default
7914 #include <$ac_header>
7916 rm -f conftest.
$ac_objext
7917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7918 (eval $ac_compile) 2>conftest.er1
7920 grep -v '^ *+' conftest.er1
>conftest.err
7922 cat conftest.err
>&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); } &&
7925 { ac_try
='test -z "$ac_c_werror_flag"
7926 || test ! -s conftest.err'
7927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); }; } &&
7932 { ac_try
='test -s conftest.$ac_objext'
7933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; }; then
7938 ac_header_compiler
=yes
7940 echo "$as_me: failed program was:" >&5
7941 sed 's/^/| /' conftest.
$ac_ext >&5
7943 ac_header_compiler
=no
7945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7947 echo "${ECHO_T}$ac_header_compiler" >&6
7949 # Is the header present?
7950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7952 cat >conftest.
$ac_ext <<_ACEOF
7955 cat confdefs.h
>>conftest.
$ac_ext
7956 cat >>conftest.
$ac_ext <<_ACEOF
7957 /* end confdefs.h. */
7958 #include <$ac_header>
7960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7961 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7963 grep -v '^ *+' conftest.er1
>conftest.err
7965 cat conftest.err
>&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } >/dev
/null
; then
7968 if test -s conftest.err
; then
7969 ac_cpp_err
=$ac_c_preproc_warn_flag
7970 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7977 if test -z "$ac_cpp_err"; then
7978 ac_header_preproc
=yes
7980 echo "$as_me: failed program was:" >&5
7981 sed 's/^/| /' conftest.
$ac_ext >&5
7983 ac_header_preproc
=no
7985 rm -f conftest.err conftest.
$ac_ext
7986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7987 echo "${ECHO_T}$ac_header_preproc" >&6
7989 # So? What about this header?
7990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7996 ac_header_preproc
=yes
7999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8013 ## ------------------------------------------ ##
8014 ## Report this to the AC_PACKAGE_NAME lists. ##
8015 ## ------------------------------------------ ##
8018 sed "s/^/$as_me: WARNING: /" >&2
8021 echo "$as_me:$LINENO: checking for $ac_header" >&5
8022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8024 echo $ECHO_N "(cached) $ECHO_C" >&6
8026 eval "$as_ac_Header=\$ac_header_preproc"
8028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8033 cat >>confdefs.h
<<_ACEOF
8034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8042 for ac_header
in libunwind-ia64.h
8044 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8046 echo "$as_me:$LINENO: checking for $ac_header" >&5
8047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8054 # Is the header compilable?
8055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8057 cat >conftest.
$ac_ext <<_ACEOF
8060 cat confdefs.h
>>conftest.
$ac_ext
8061 cat >>conftest.
$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8063 $ac_includes_default
8064 #include <$ac_header>
8066 rm -f conftest.
$ac_objext
8067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8068 (eval $ac_compile) 2>conftest.er1
8070 grep -v '^ *+' conftest.er1
>conftest.err
8072 cat conftest.err
>&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } &&
8075 { ac_try
='test -z "$ac_c_werror_flag"
8076 || test ! -s conftest.err'
8077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; } &&
8082 { ac_try
='test -s conftest.$ac_objext'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; }; then
8088 ac_header_compiler
=yes
8090 echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.
$ac_ext >&5
8093 ac_header_compiler
=no
8095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8097 echo "${ECHO_T}$ac_header_compiler" >&6
8099 # Is the header present?
8100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8102 cat >conftest.
$ac_ext <<_ACEOF
8105 cat confdefs.h
>>conftest.
$ac_ext
8106 cat >>conftest.
$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8108 #include <$ac_header>
8110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8113 grep -v '^ *+' conftest.er1
>conftest.err
8115 cat conftest.err
>&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); } >/dev
/null
; then
8118 if test -s conftest.err
; then
8119 ac_cpp_err
=$ac_c_preproc_warn_flag
8120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8127 if test -z "$ac_cpp_err"; then
8128 ac_header_preproc
=yes
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.
$ac_ext >&5
8133 ac_header_preproc
=no
8135 rm -f conftest.err conftest.
$ac_ext
8136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8137 echo "${ECHO_T}$ac_header_preproc" >&6
8139 # So? What about this header?
8140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8146 ac_header_preproc
=yes
8149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8163 ## ------------------------------------------ ##
8164 ## Report this to the AC_PACKAGE_NAME lists. ##
8165 ## ------------------------------------------ ##
8168 sed "s/^/$as_me: WARNING: /" >&2
8171 echo "$as_me:$LINENO: checking for $ac_header" >&5
8172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 eval "$as_ac_Header=\$ac_header_preproc"
8178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8183 cat >>confdefs.h
<<_ACEOF
8184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8192 cat >>confdefs.h
<<\_ACEOF
8193 #define HAVE_LIBUNWIND 1
8196 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
8197 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
8198 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
8201 # Profiling support.
8202 # Check whether --enable-profiling or --disable-profiling was given.
8203 if test "${enable_profiling+set}" = set; then
8204 enableval
="$enable_profiling"
8209 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
8210 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
8211 { (exit 1); exit 1; }; } ;;
8219 for ac_func
in monstartup _mcleanup
8221 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8222 echo "$as_me:$LINENO: checking for $ac_func" >&5
8223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8224 if eval "test \"\${$as_ac_var+set}\" = set"; then
8225 echo $ECHO_N "(cached) $ECHO_C" >&6
8227 cat >conftest.
$ac_ext <<_ACEOF
8230 cat confdefs.h
>>conftest.
$ac_ext
8231 cat >>conftest.
$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8235 #define $ac_func innocuous_$ac_func
8237 /* System header to define __stub macros and hopefully few prototypes,
8238 which can conflict with char $ac_func (); below.
8239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8240 <limits.h> exists even on freestanding compilers. */
8243 # include <limits.h>
8245 # include <assert.h>
8250 /* Override any gcc2 internal prototype to avoid an error. */
8255 /* We use char because int might match the return type of a gcc2
8256 builtin and then its argument prototype would still apply. */
8258 /* The GNU C library defines this for functions which it implements
8259 to always fail with ENOSYS. Some functions are actually named
8260 something starting with __ and the normal name is an alias. */
8261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8264 char (*f) () = $ac_func;
8273 return f != $ac_func;
8278 rm -f conftest.
$ac_objext conftest
$ac_exeext
8279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8280 (eval $ac_link) 2>conftest.er1
8282 grep -v '^ *+' conftest.er1
>conftest.err
8284 cat conftest.err
>&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); } &&
8287 { ac_try
='test -z "$ac_c_werror_flag"
8288 || test ! -s conftest.err'
8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); }; } &&
8294 { ac_try
='test -s conftest$ac_exeext'
8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; }; then
8300 eval "$as_ac_var=yes"
8302 echo "$as_me: failed program was:" >&5
8303 sed 's/^/| /' conftest.
$ac_ext >&5
8305 eval "$as_ac_var=no"
8307 rm -f conftest.err conftest.
$ac_objext \
8308 conftest
$ac_exeext conftest.
$ac_ext
8310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8312 if test `eval echo '${'$as_ac_var'}'` = yes; then
8313 cat >>confdefs.h
<<_ACEOF
8314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8320 echo "$as_me:$LINENO: checking for _etext" >&5
8321 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
8322 if test "${ac_cv_var__etext+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8325 cat >conftest.
$ac_ext <<_ACEOF
8328 cat confdefs.h
>>conftest.
$ac_ext
8329 cat >>conftest.
$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8342 rm -f conftest.
$ac_objext conftest
$ac_exeext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344 (eval $ac_link) 2>conftest.er1
8346 grep -v '^ *+' conftest.er1
>conftest.err
8348 cat conftest.err
>&5
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); } &&
8351 { ac_try
='test -z "$ac_c_werror_flag"
8352 || test ! -s conftest.err'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; } &&
8358 { ac_try
='test -s conftest$ac_exeext'
8359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then
8364 ac_cv_var__etext
=yes
8366 echo "$as_me: failed program was:" >&5
8367 sed 's/^/| /' conftest.
$ac_ext >&5
8371 rm -f conftest.err conftest.
$ac_objext \
8372 conftest
$ac_exeext conftest.
$ac_ext
8374 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
8375 echo "${ECHO_T}$ac_cv_var__etext" >&6
8376 if test $ac_cv_var__etext = yes; then
8378 cat >>confdefs.h
<<\_ACEOF
8379 #define HAVE__ETEXT 1
8383 echo "$as_me:$LINENO: checking for etext" >&5
8384 echo $ECHO_N "checking for etext... $ECHO_C" >&6
8385 if test "${ac_cv_var_etext+set}" = set; then
8386 echo $ECHO_N "(cached) $ECHO_C" >&6
8388 cat >conftest.
$ac_ext <<_ACEOF
8391 cat confdefs.h
>>conftest.
$ac_ext
8392 cat >>conftest.
$ac_ext <<_ACEOF
8393 /* end confdefs.h. */
8405 rm -f conftest.
$ac_objext conftest
$ac_exeext
8406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8407 (eval $ac_link) 2>conftest.er1
8409 grep -v '^ *+' conftest.er1
>conftest.err
8411 cat conftest.err
>&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); } &&
8414 { ac_try
='test -z "$ac_c_werror_flag"
8415 || test ! -s conftest.err'
8416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); }; } &&
8421 { ac_try
='test -s conftest$ac_exeext'
8422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; }; then
8429 echo "$as_me: failed program was:" >&5
8430 sed 's/^/| /' conftest.
$ac_ext >&5
8434 rm -f conftest.err conftest.
$ac_objext \
8435 conftest
$ac_exeext conftest.
$ac_ext
8437 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
8438 echo "${ECHO_T}$ac_cv_var_etext" >&6
8439 if test $ac_cv_var_etext = yes; then
8441 cat >>confdefs.h
<<\_ACEOF
8442 #define HAVE_ETEXT 1
8446 if test "$enable_profiling" = yes ; then
8447 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
8448 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
8449 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
8450 { (exit 1); exit 1; }; }
8453 OLD_CFLAGS
="$CFLAGS"
8454 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
8456 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
8457 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
8458 if test "${ac_cv_cc_supports_pg+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 cat >conftest.
$ac_ext <<_ACEOF
8464 cat confdefs.h
>>conftest.
$ac_ext
8465 cat >>conftest.
$ac_ext <<_ACEOF
8466 /* end confdefs.h. */
8476 rm -f conftest.
$ac_objext
8477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8478 (eval $ac_compile) 2>conftest.er1
8480 grep -v '^ *+' conftest.er1
>conftest.err
8482 cat conftest.err
>&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); } &&
8485 { ac_try
='test -z "$ac_c_werror_flag"
8486 || test ! -s conftest.err'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; } &&
8492 { ac_try
='test -s conftest.$ac_objext'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; }; then
8498 ac_cv_cc_supports_pg
=yes
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.
$ac_ext >&5
8503 ac_cv_cc_supports_pg
=no
8505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8507 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
8508 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
8510 if test $ac_cv_cc_supports_pg = no
; then
8511 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
8512 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
8513 { (exit 1); exit 1; }; }
8516 CFLAGS
="$OLD_CFLAGS"
8519 # --------------------- #
8520 # Checks for programs. #
8521 # --------------------- #
8523 for ac_prog
in gawk mawk nawk
awk
8525 # Extract the first word of "$ac_prog", so it can be a program name with args.
8526 set dummy
$ac_prog; ac_word
=$2
8527 echo "$as_me:$LINENO: checking for $ac_word" >&5
8528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8529 if test "${ac_cv_prog_AWK+set}" = set; then
8530 echo $ECHO_N "(cached) $ECHO_C" >&6
8532 if test -n "$AWK"; then
8533 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
8535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8539 test -z "$as_dir" && as_dir
=.
8540 for ac_exec_ext
in '' $ac_executable_extensions; do
8541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8542 ac_cv_prog_AWK
="$ac_prog"
8543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8552 if test -n "$AWK"; then
8553 echo "$as_me:$LINENO: result: $AWK" >&5
8554 echo "${ECHO_T}$AWK" >&6
8556 echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6
8560 test -n "$AWK" && break
8563 # Find a good install program. We prefer a C program (faster),
8564 # so one script is as good as another. But avoid the broken or
8565 # incompatible versions:
8566 # SysV /etc/install, /usr/sbin/install
8567 # SunOS /usr/etc/install
8568 # IRIX /sbin/install
8570 # AmigaOS /C/install, which installs bootblocks on floppy discs
8571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8574 # OS/2's system install, which has a completely different semantic
8575 # ./install, which can be erroneously created by make from ./install.sh.
8576 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8577 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8578 if test -z "$INSTALL"; then
8579 if test "${ac_cv_path_install+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8586 test -z "$as_dir" && as_dir
=.
8587 # Account for people who put trailing slashes in PATH elements.
8589 .
/ | .
// |
/cC
/* | \
8590 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8591 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8594 # OSF1 and SCO ODT 3.0 have their own names for install.
8595 # Don't use installbsd from OSF since it installs stuff as root
8597 for ac_prog
in ginstall scoinst
install; do
8598 for ac_exec_ext
in '' $ac_executable_extensions; do
8599 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8600 if test $ac_prog = install &&
8601 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8602 # AIX install. It has an incompatible calling convention.
8604 elif test $ac_prog = install &&
8605 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8606 # program-specific install script used by HP pwplus--don't use.
8609 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8621 if test "${ac_cv_path_install+set}" = set; then
8622 INSTALL
=$ac_cv_path_install
8624 # As a last resort, use the slow shell script. We don't cache a
8625 # path for INSTALL within a source directory, because that will
8626 # break other packages using the cache if that directory is
8627 # removed, or if the path is relative.
8628 INSTALL
=$ac_install_sh
8631 echo "$as_me:$LINENO: result: $INSTALL" >&5
8632 echo "${ECHO_T}$INSTALL" >&6
8634 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8635 # It thinks the first close brace ends the variable substitution.
8636 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8638 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8640 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8642 echo "$as_me:$LINENO: checking whether ln -s works" >&5
8643 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8645 if test "$LN_S" = "ln -s"; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8649 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8650 echo "${ECHO_T}no, using $LN_S" >&6
8653 if test -n "$ac_tool_prefix"; then
8654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8655 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8656 echo "$as_me:$LINENO: checking for $ac_word" >&5
8657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8658 if test "${ac_cv_prog_RANLIB+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 if test -n "$RANLIB"; then
8662 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8668 test -z "$as_dir" && as_dir
=.
8669 for ac_exec_ext
in '' $ac_executable_extensions; do
8670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8671 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8680 RANLIB
=$ac_cv_prog_RANLIB
8681 if test -n "$RANLIB"; then
8682 echo "$as_me:$LINENO: result: $RANLIB" >&5
8683 echo "${ECHO_T}$RANLIB" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8690 if test -z "$ac_cv_prog_RANLIB"; then
8691 ac_ct_RANLIB
=$RANLIB
8692 # Extract the first word of "ranlib", so it can be a program name with args.
8693 set dummy ranlib
; ac_word
=$2
8694 echo "$as_me:$LINENO: checking for $ac_word" >&5
8695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8696 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 if test -n "$ac_ct_RANLIB"; then
8700 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8706 test -z "$as_dir" && as_dir
=.
8707 for ac_exec_ext
in '' $ac_executable_extensions; do
8708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8709 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8716 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
8719 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8720 if test -n "$ac_ct_RANLIB"; then
8721 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8722 echo "${ECHO_T}$ac_ct_RANLIB" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8728 RANLIB
=$ac_ct_RANLIB
8730 RANLIB
="$ac_cv_prog_RANLIB"
8733 for ac_prog
in 'bison -y' byacc
8735 # Extract the first word of "$ac_prog", so it can be a program name with args.
8736 set dummy
$ac_prog; ac_word
=$2
8737 echo "$as_me:$LINENO: checking for $ac_word" >&5
8738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8739 if test "${ac_cv_prog_YACC+set}" = set; then
8740 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 if test -n "$YACC"; then
8743 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir
=.
8750 for ac_exec_ext
in '' $ac_executable_extensions; do
8751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8752 ac_cv_prog_YACC
="$ac_prog"
8753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8761 YACC
=$ac_cv_prog_YACC
8762 if test -n "$YACC"; then
8763 echo "$as_me:$LINENO: result: $YACC" >&5
8764 echo "${ECHO_T}$YACC" >&6
8766 echo "$as_me:$LINENO: result: no" >&5
8767 echo "${ECHO_T}no" >&6
8770 test -n "$YACC" && break
8772 test -n "$YACC" || YACC
="yacc"
8775 if test -n "$ac_tool_prefix"; then
8776 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8777 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8778 echo "$as_me:$LINENO: checking for $ac_word" >&5
8779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8780 if test "${ac_cv_prog_AR+set}" = set; then
8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 if test -n "$AR"; then
8784 ac_cv_prog_AR
="$AR" # Let the user override the test.
8786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir
=.
8791 for ac_exec_ext
in '' $ac_executable_extensions; do
8792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8803 if test -n "$AR"; then
8804 echo "$as_me:$LINENO: result: $AR" >&5
8805 echo "${ECHO_T}$AR" >&6
8807 echo "$as_me:$LINENO: result: no" >&5
8808 echo "${ECHO_T}no" >&6
8812 if test -z "$ac_cv_prog_AR"; then
8814 # Extract the first word of "ar", so it can be a program name with args.
8815 set dummy
ar; ac_word
=$2
8816 echo "$as_me:$LINENO: checking for $ac_word" >&5
8817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8818 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 if test -n "$ac_ct_AR"; then
8822 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8828 test -z "$as_dir" && as_dir
=.
8829 for ac_exec_ext
in '' $ac_executable_extensions; do
8830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8831 ac_cv_prog_ac_ct_AR
="ar"
8832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8840 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8841 if test -n "$ac_ct_AR"; then
8842 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8843 echo "${ECHO_T}$ac_ct_AR" >&6
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8854 if test -n "$ac_tool_prefix"; then
8855 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8856 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8857 echo "$as_me:$LINENO: checking for $ac_word" >&5
8858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8859 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 if test -n "$DLLTOOL"; then
8863 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir
=.
8870 for ac_exec_ext
in '' $ac_executable_extensions; do
8871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8872 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8881 DLLTOOL
=$ac_cv_prog_DLLTOOL
8882 if test -n "$DLLTOOL"; then
8883 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8884 echo "${ECHO_T}$DLLTOOL" >&6
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8891 if test -z "$ac_cv_prog_DLLTOOL"; then
8892 ac_ct_DLLTOOL
=$DLLTOOL
8893 # Extract the first word of "dlltool", so it can be a program name with args.
8894 set dummy dlltool
; ac_word
=$2
8895 echo "$as_me:$LINENO: checking for $ac_word" >&5
8896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8897 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8898 echo $ECHO_N "(cached) $ECHO_C" >&6
8900 if test -n "$ac_ct_DLLTOOL"; then
8901 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8907 test -z "$as_dir" && as_dir
=.
8908 for ac_exec_ext
in '' $ac_executable_extensions; do
8909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8910 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8919 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8920 if test -n "$ac_ct_DLLTOOL"; then
8921 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8922 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
8924 echo "$as_me:$LINENO: result: no" >&5
8925 echo "${ECHO_T}no" >&6
8928 DLLTOOL
=$ac_ct_DLLTOOL
8930 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8933 if test -n "$ac_tool_prefix"; then
8934 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8935 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
8936 echo "$as_me:$LINENO: checking for $ac_word" >&5
8937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8938 if test "${ac_cv_prog_WINDRES+set}" = set; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 if test -n "$WINDRES"; then
8942 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8951 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
8952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8960 WINDRES
=$ac_cv_prog_WINDRES
8961 if test -n "$WINDRES"; then
8962 echo "$as_me:$LINENO: result: $WINDRES" >&5
8963 echo "${ECHO_T}$WINDRES" >&6
8965 echo "$as_me:$LINENO: result: no" >&5
8966 echo "${ECHO_T}no" >&6
8970 if test -z "$ac_cv_prog_WINDRES"; then
8971 ac_ct_WINDRES
=$WINDRES
8972 # Extract the first word of "windres", so it can be a program name with args.
8973 set dummy windres
; ac_word
=$2
8974 echo "$as_me:$LINENO: checking for $ac_word" >&5
8975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8976 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
8977 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 if test -n "$ac_ct_WINDRES"; then
8980 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
8982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8986 test -z "$as_dir" && as_dir
=.
8987 for ac_exec_ext
in '' $ac_executable_extensions; do
8988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8989 ac_cv_prog_ac_ct_WINDRES
="windres"
8990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8998 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
8999 if test -n "$ac_ct_WINDRES"; then
9000 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
9001 echo "${ECHO_T}$ac_ct_WINDRES" >&6
9003 echo "$as_me:$LINENO: result: no" >&5
9004 echo "${ECHO_T}no" >&6
9007 WINDRES
=$ac_ct_WINDRES
9009 WINDRES
="$ac_cv_prog_WINDRES"
9013 # Needed for GNU/Hurd.
9014 if test -n "$ac_tool_prefix"; then
9015 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
9016 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
9017 echo "$as_me:$LINENO: checking for $ac_word" >&5
9018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9019 if test "${ac_cv_prog_MIG+set}" = set; then
9020 echo $ECHO_N "(cached) $ECHO_C" >&6
9022 if test -n "$MIG"; then
9023 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
9025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9029 test -z "$as_dir" && as_dir
=.
9030 for ac_exec_ext
in '' $ac_executable_extensions; do
9031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9032 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
9033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9042 if test -n "$MIG"; then
9043 echo "$as_me:$LINENO: result: $MIG" >&5
9044 echo "${ECHO_T}$MIG" >&6
9046 echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6
9051 if test -z "$ac_cv_prog_MIG"; then
9053 # Extract the first word of "mig", so it can be a program name with args.
9054 set dummy mig
; ac_word
=$2
9055 echo "$as_me:$LINENO: checking for $ac_word" >&5
9056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9057 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
9058 echo $ECHO_N "(cached) $ECHO_C" >&6
9060 if test -n "$ac_ct_MIG"; then
9061 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
9063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9067 test -z "$as_dir" && as_dir
=.
9068 for ac_exec_ext
in '' $ac_executable_extensions; do
9069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9070 ac_cv_prog_ac_ct_MIG
="mig"
9071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9079 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
9080 if test -n "$ac_ct_MIG"; then
9081 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
9082 echo "${ECHO_T}$ac_ct_MIG" >&6
9084 echo "$as_me:$LINENO: result: no" >&5
9085 echo "${ECHO_T}no" >&6
9090 MIG
="$ac_cv_prog_MIG"
9094 # ---------------------- #
9095 # Checks for libraries. #
9096 # ---------------------- #
9098 # We might need to link with -lm; most simulators need it.
9100 echo "$as_me:$LINENO: checking for main in -lm" >&5
9101 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9102 if test "${ac_cv_lib_m_main+set}" = set; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 ac_check_lib_save_LIBS
=$LIBS
9107 cat >conftest.
$ac_ext <<_ACEOF
9110 cat confdefs.h
>>conftest.
$ac_ext
9111 cat >>conftest.
$ac_ext <<_ACEOF
9112 /* end confdefs.h. */
9123 rm -f conftest.
$ac_objext conftest
$ac_exeext
9124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9125 (eval $ac_link) 2>conftest.er1
9127 grep -v '^ *+' conftest.er1
>conftest.err
9129 cat conftest.err
>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try
='test -z "$ac_c_werror_flag"
9133 || test ! -s conftest.err'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; } &&
9139 { ac_try
='test -s conftest$ac_exeext'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; }; then
9145 ac_cv_lib_m_main
=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.
$ac_ext >&5
9152 rm -f conftest.err conftest.
$ac_objext \
9153 conftest
$ac_exeext conftest.
$ac_ext
9154 LIBS
=$ac_check_lib_save_LIBS
9156 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9157 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
9158 if test $ac_cv_lib_m_main = yes; then
9159 cat >>confdefs.h
<<_ACEOF
9168 # We need to link with -lw to get `wctype' on Solaris before Solaris
9169 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
9170 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
9171 # is known to have this problem). Therefore we avoid libw if we can.
9172 echo "$as_me:$LINENO: checking for wctype" >&5
9173 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
9174 if test "${ac_cv_func_wctype+set}" = set; then
9175 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 cat >conftest.
$ac_ext <<_ACEOF
9180 cat confdefs.h
>>conftest.
$ac_ext
9181 cat >>conftest.
$ac_ext <<_ACEOF
9182 /* end confdefs.h. */
9183 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
9184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9185 #define wctype innocuous_wctype
9187 /* System header to define __stub macros and hopefully few prototypes,
9188 which can conflict with char wctype (); below.
9189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9190 <limits.h> exists even on freestanding compilers. */
9193 # include <limits.h>
9195 # include <assert.h>
9200 /* Override any gcc2 internal prototype to avoid an error. */
9205 /* We use char because int might match the return type of a gcc2
9206 builtin and then its argument prototype would still apply. */
9208 /* The GNU C library defines this for functions which it implements
9209 to always fail with ENOSYS. Some functions are actually named
9210 something starting with __ and the normal name is an alias. */
9211 #if defined (__stub_wctype) || defined (__stub___wctype)
9214 char (*f) () = wctype;
9228 rm -f conftest.
$ac_objext conftest
$ac_exeext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9230 (eval $ac_link) 2>conftest.er1
9232 grep -v '^ *+' conftest.er1
>conftest.err
9234 cat conftest.err
>&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try
='test -z "$ac_c_werror_flag"
9238 || test ! -s conftest.err'
9239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); }; } &&
9244 { ac_try
='test -s conftest$ac_exeext'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; }; then
9250 ac_cv_func_wctype
=yes
9252 echo "$as_me: failed program was:" >&5
9253 sed 's/^/| /' conftest.
$ac_ext >&5
9255 ac_cv_func_wctype
=no
9257 rm -f conftest.err conftest.
$ac_objext \
9258 conftest
$ac_exeext conftest.
$ac_ext
9260 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
9261 echo "${ECHO_T}$ac_cv_func_wctype" >&6
9262 if test $ac_cv_func_wctype = yes; then
9266 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
9267 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
9268 if test "${ac_cv_lib_w_wctype+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9271 ac_check_lib_save_LIBS
=$LIBS
9273 cat >conftest.
$ac_ext <<_ACEOF
9276 cat confdefs.h
>>conftest.
$ac_ext
9277 cat >>conftest.
$ac_ext <<_ACEOF
9278 /* end confdefs.h. */
9280 /* Override any gcc2 internal prototype to avoid an error. */
9284 /* We use char because int might match the return type of a gcc2
9285 builtin and then its argument prototype would still apply. */
9295 rm -f conftest.
$ac_objext conftest
$ac_exeext
9296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9297 (eval $ac_link) 2>conftest.er1
9299 grep -v '^ *+' conftest.er1
>conftest.err
9301 cat conftest.err
>&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } &&
9304 { ac_try
='test -z "$ac_c_werror_flag"
9305 || test ! -s conftest.err'
9306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); }; } &&
9311 { ac_try
='test -s conftest$ac_exeext'
9312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); }; }; then
9317 ac_cv_lib_w_wctype
=yes
9319 echo "$as_me: failed program was:" >&5
9320 sed 's/^/| /' conftest.
$ac_ext >&5
9322 ac_cv_lib_w_wctype
=no
9324 rm -f conftest.err conftest.
$ac_objext \
9325 conftest
$ac_exeext conftest.
$ac_ext
9326 LIBS
=$ac_check_lib_save_LIBS
9328 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
9329 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
9330 if test $ac_cv_lib_w_wctype = yes; then
9331 cat >>confdefs.h
<<_ACEOF
9342 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
9343 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
9344 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
9345 if test "${ac_cv_search_gethostbyname+set}" = set; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 ac_func_search_save_LIBS
=$LIBS
9349 ac_cv_search_gethostbyname
=no
9350 cat >conftest.
$ac_ext <<_ACEOF
9353 cat confdefs.h
>>conftest.
$ac_ext
9354 cat >>conftest.
$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9357 /* Override any gcc2 internal prototype to avoid an error. */
9361 /* We use char because int might match the return type of a gcc2
9362 builtin and then its argument prototype would still apply. */
9363 char gethostbyname ();
9372 rm -f conftest.
$ac_objext conftest
$ac_exeext
9373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9374 (eval $ac_link) 2>conftest.er1
9376 grep -v '^ *+' conftest.er1
>conftest.err
9378 cat conftest.err
>&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } &&
9381 { ac_try
='test -z "$ac_c_werror_flag"
9382 || test ! -s conftest.err'
9383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }; } &&
9388 { ac_try
='test -s conftest$ac_exeext'
9389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); }; }; then
9394 ac_cv_search_gethostbyname
="none required"
9396 echo "$as_me: failed program was:" >&5
9397 sed 's/^/| /' conftest.
$ac_ext >&5
9400 rm -f conftest.err conftest.
$ac_objext \
9401 conftest
$ac_exeext conftest.
$ac_ext
9402 if test "$ac_cv_search_gethostbyname" = no
; then
9403 for ac_lib
in nsl
; do
9404 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9405 cat >conftest.
$ac_ext <<_ACEOF
9408 cat confdefs.h
>>conftest.
$ac_ext
9409 cat >>conftest.
$ac_ext <<_ACEOF
9410 /* end confdefs.h. */
9412 /* Override any gcc2 internal prototype to avoid an error. */
9416 /* We use char because int might match the return type of a gcc2
9417 builtin and then its argument prototype would still apply. */
9418 char gethostbyname ();
9427 rm -f conftest.
$ac_objext conftest
$ac_exeext
9428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9429 (eval $ac_link) 2>conftest.er1
9431 grep -v '^ *+' conftest.er1
>conftest.err
9433 cat conftest.err
>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } &&
9436 { ac_try
='test -z "$ac_c_werror_flag"
9437 || test ! -s conftest.err'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }; } &&
9443 { ac_try
='test -s conftest$ac_exeext'
9444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; }; then
9449 ac_cv_search_gethostbyname
="-l$ac_lib"
9452 echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.
$ac_ext >&5
9456 rm -f conftest.err conftest.
$ac_objext \
9457 conftest
$ac_exeext conftest.
$ac_ext
9460 LIBS
=$ac_func_search_save_LIBS
9462 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
9463 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
9464 if test "$ac_cv_search_gethostbyname" != no
; then
9465 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
9470 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
9471 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
9472 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
9473 if test "${ac_cv_search_socketpair+set}" = set; then
9474 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 ac_func_search_save_LIBS
=$LIBS
9477 ac_cv_search_socketpair
=no
9478 cat >conftest.
$ac_ext <<_ACEOF
9481 cat confdefs.h
>>conftest.
$ac_ext
9482 cat >>conftest.
$ac_ext <<_ACEOF
9483 /* end confdefs.h. */
9485 /* Override any gcc2 internal prototype to avoid an error. */
9489 /* We use char because int might match the return type of a gcc2
9490 builtin and then its argument prototype would still apply. */
9500 rm -f conftest.
$ac_objext conftest
$ac_exeext
9501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9502 (eval $ac_link) 2>conftest.er1
9504 grep -v '^ *+' conftest.er1
>conftest.err
9506 cat conftest.err
>&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); } &&
9509 { ac_try
='test -z "$ac_c_werror_flag"
9510 || test ! -s conftest.err'
9511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); }; } &&
9516 { ac_try
='test -s conftest$ac_exeext'
9517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; }; then
9522 ac_cv_search_socketpair
="none required"
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.
$ac_ext >&5
9528 rm -f conftest.err conftest.
$ac_objext \
9529 conftest
$ac_exeext conftest.
$ac_ext
9530 if test "$ac_cv_search_socketpair" = no
; then
9531 for ac_lib
in socket
; do
9532 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9533 cat >conftest.
$ac_ext <<_ACEOF
9536 cat confdefs.h
>>conftest.
$ac_ext
9537 cat >>conftest.
$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9540 /* Override any gcc2 internal prototype to avoid an error. */
9544 /* We use char because int might match the return type of a gcc2
9545 builtin and then its argument prototype would still apply. */
9555 rm -f conftest.
$ac_objext conftest
$ac_exeext
9556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9557 (eval $ac_link) 2>conftest.er1
9559 grep -v '^ *+' conftest.er1
>conftest.err
9561 cat conftest.err
>&5
9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); } &&
9564 { ac_try
='test -z "$ac_c_werror_flag"
9565 || test ! -s conftest.err'
9566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; } &&
9571 { ac_try
='test -s conftest$ac_exeext'
9572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); }; }; then
9577 ac_cv_search_socketpair
="-l$ac_lib"
9580 echo "$as_me: failed program was:" >&5
9581 sed 's/^/| /' conftest.
$ac_ext >&5
9584 rm -f conftest.err conftest.
$ac_objext \
9585 conftest
$ac_exeext conftest.
$ac_ext
9588 LIBS
=$ac_func_search_save_LIBS
9590 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
9591 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
9592 if test "$ac_cv_search_socketpair" != no
; then
9593 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
9598 # Link in zlib if we can. This allows us to read compressed debug sections.
9599 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
9600 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
9601 if test "${ac_cv_search_zlibVersion+set}" = set; then
9602 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 ac_func_search_save_LIBS
=$LIBS
9605 ac_cv_search_zlibVersion
=no
9606 cat >conftest.
$ac_ext <<_ACEOF
9609 cat confdefs.h
>>conftest.
$ac_ext
9610 cat >>conftest.
$ac_ext <<_ACEOF
9611 /* end confdefs.h. */
9613 /* Override any gcc2 internal prototype to avoid an error. */
9617 /* We use char because int might match the return type of a gcc2
9618 builtin and then its argument prototype would still apply. */
9619 char zlibVersion ();
9628 rm -f conftest.
$ac_objext conftest
$ac_exeext
9629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9630 (eval $ac_link) 2>conftest.er1
9632 grep -v '^ *+' conftest.er1
>conftest.err
9634 cat conftest.err
>&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } &&
9637 { ac_try
='test -z "$ac_c_werror_flag"
9638 || test ! -s conftest.err'
9639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); }; } &&
9644 { ac_try
='test -s conftest$ac_exeext'
9645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 (exit $ac_status); }; }; then
9650 ac_cv_search_zlibVersion
="none required"
9652 echo "$as_me: failed program was:" >&5
9653 sed 's/^/| /' conftest.
$ac_ext >&5
9656 rm -f conftest.err conftest.
$ac_objext \
9657 conftest
$ac_exeext conftest.
$ac_ext
9658 if test "$ac_cv_search_zlibVersion" = no
; then
9660 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9661 cat >conftest.
$ac_ext <<_ACEOF
9664 cat confdefs.h
>>conftest.
$ac_ext
9665 cat >>conftest.
$ac_ext <<_ACEOF
9666 /* end confdefs.h. */
9668 /* Override any gcc2 internal prototype to avoid an error. */
9672 /* We use char because int might match the return type of a gcc2
9673 builtin and then its argument prototype would still apply. */
9674 char zlibVersion ();
9683 rm -f conftest.
$ac_objext conftest
$ac_exeext
9684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9685 (eval $ac_link) 2>conftest.er1
9687 grep -v '^ *+' conftest.er1
>conftest.err
9689 cat conftest.err
>&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } &&
9692 { ac_try
='test -z "$ac_c_werror_flag"
9693 || test ! -s conftest.err'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; } &&
9699 { ac_try
='test -s conftest$ac_exeext'
9700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); }; }; then
9705 ac_cv_search_zlibVersion
="-l$ac_lib"
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.
$ac_ext >&5
9712 rm -f conftest.err conftest.
$ac_objext \
9713 conftest
$ac_exeext conftest.
$ac_ext
9716 LIBS
=$ac_func_search_save_LIBS
9718 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
9719 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
9720 if test "$ac_cv_search_zlibVersion" != no
; then
9721 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
9723 for ac_header
in zlib.h
9725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9727 echo "$as_me:$LINENO: checking for $ac_header" >&5
9728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9730 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9735 # Is the header compilable?
9736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9738 cat >conftest.
$ac_ext <<_ACEOF
9741 cat confdefs.h
>>conftest.
$ac_ext
9742 cat >>conftest.
$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9744 $ac_includes_default
9745 #include <$ac_header>
9747 rm -f conftest.
$ac_objext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9749 (eval $ac_compile) 2>conftest.er1
9751 grep -v '^ *+' conftest.er1
>conftest.err
9753 cat conftest.err
>&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try
='test -z "$ac_c_werror_flag"
9757 || test ! -s conftest.err'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; } &&
9763 { ac_try
='test -s conftest.$ac_objext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 ac_header_compiler
=yes
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.
$ac_ext >&5
9774 ac_header_compiler
=no
9776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9778 echo "${ECHO_T}$ac_header_compiler" >&6
9780 # Is the header present?
9781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9783 cat >conftest.
$ac_ext <<_ACEOF
9786 cat confdefs.h
>>conftest.
$ac_ext
9787 cat >>conftest.
$ac_ext <<_ACEOF
9788 /* end confdefs.h. */
9789 #include <$ac_header>
9791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9794 grep -v '^ *+' conftest.er1
>conftest.err
9796 cat conftest.err
>&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } >/dev
/null
; then
9799 if test -s conftest.err
; then
9800 ac_cpp_err
=$ac_c_preproc_warn_flag
9801 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9808 if test -z "$ac_cpp_err"; then
9809 ac_header_preproc
=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 ac_header_preproc
=no
9816 rm -f conftest.err conftest.
$ac_ext
9817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9818 echo "${ECHO_T}$ac_header_preproc" >&6
9820 # So? What about this header?
9821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9827 ac_header_preproc
=yes
9830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9844 ## ------------------------------------------ ##
9845 ## Report this to the AC_PACKAGE_NAME lists. ##
9846 ## ------------------------------------------ ##
9849 sed "s/^/$as_me: WARNING: /" >&2
9852 echo "$as_me:$LINENO: checking for $ac_header" >&5
9853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 eval "$as_ac_Header=\$ac_header_preproc"
9859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9864 cat >>confdefs.h
<<_ACEOF
9865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9875 # Link in zlib if we can. This allows us to read compressed debug sections.
9876 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
9877 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
9878 if test "${ac_cv_search_zlibVersion+set}" = set; then
9879 echo $ECHO_N "(cached) $ECHO_C" >&6
9881 ac_func_search_save_LIBS
=$LIBS
9882 ac_cv_search_zlibVersion
=no
9883 cat >conftest.
$ac_ext <<_ACEOF
9886 cat confdefs.h
>>conftest.
$ac_ext
9887 cat >>conftest.
$ac_ext <<_ACEOF
9888 /* end confdefs.h. */
9890 /* Override any gcc2 internal prototype to avoid an error. */
9894 /* We use char because int might match the return type of a gcc2
9895 builtin and then its argument prototype would still apply. */
9896 char zlibVersion ();
9905 rm -f conftest.
$ac_objext conftest
$ac_exeext
9906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9907 (eval $ac_link) 2>conftest.er1
9909 grep -v '^ *+' conftest.er1
>conftest.err
9911 cat conftest.err
>&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); } &&
9914 { ac_try
='test -z "$ac_c_werror_flag"
9915 || test ! -s conftest.err'
9916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920 (exit $ac_status); }; } &&
9921 { ac_try
='test -s conftest$ac_exeext'
9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; }; then
9927 ac_cv_search_zlibVersion
="none required"
9929 echo "$as_me: failed program was:" >&5
9930 sed 's/^/| /' conftest.
$ac_ext >&5
9933 rm -f conftest.err conftest.
$ac_objext \
9934 conftest
$ac_exeext conftest.
$ac_ext
9935 if test "$ac_cv_search_zlibVersion" = no
; then
9937 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9938 cat >conftest.
$ac_ext <<_ACEOF
9941 cat confdefs.h
>>conftest.
$ac_ext
9942 cat >>conftest.
$ac_ext <<_ACEOF
9943 /* end confdefs.h. */
9945 /* Override any gcc2 internal prototype to avoid an error. */
9949 /* We use char because int might match the return type of a gcc2
9950 builtin and then its argument prototype would still apply. */
9951 char zlibVersion ();
9960 rm -f conftest.
$ac_objext conftest
$ac_exeext
9961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9962 (eval $ac_link) 2>conftest.er1
9964 grep -v '^ *+' conftest.er1
>conftest.err
9966 cat conftest.err
>&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); } &&
9969 { ac_try
='test -z "$ac_c_werror_flag"
9970 || test ! -s conftest.err'
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try
='test -s conftest$ac_exeext'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; }; then
9982 ac_cv_search_zlibVersion
="-l$ac_lib"
9985 echo "$as_me: failed program was:" >&5
9986 sed 's/^/| /' conftest.
$ac_ext >&5
9989 rm -f conftest.err conftest.
$ac_objext \
9990 conftest
$ac_exeext conftest.
$ac_ext
9993 LIBS
=$ac_func_search_save_LIBS
9995 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
9996 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
9997 if test "$ac_cv_search_zlibVersion" != no
; then
9998 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
10000 for ac_header
in zlib.h
10002 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10004 echo "$as_me:$LINENO: checking for $ac_header" >&5
10005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10007 echo $ECHO_N "(cached) $ECHO_C" >&6
10009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10012 # Is the header compilable?
10013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10015 cat >conftest.
$ac_ext <<_ACEOF
10018 cat confdefs.h
>>conftest.
$ac_ext
10019 cat >>conftest.
$ac_ext <<_ACEOF
10020 /* end confdefs.h. */
10021 $ac_includes_default
10022 #include <$ac_header>
10024 rm -f conftest.
$ac_objext
10025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10026 (eval $ac_compile) 2>conftest.er1
10028 grep -v '^ *+' conftest.er1
>conftest.err
10030 cat conftest.err
>&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); } &&
10033 { ac_try
='test -z "$ac_c_werror_flag"
10034 || test ! -s conftest.err'
10035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036 (eval $ac_try) 2>&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); }; } &&
10040 { ac_try
='test -s conftest.$ac_objext'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; }; then
10046 ac_header_compiler
=yes
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.
$ac_ext >&5
10051 ac_header_compiler
=no
10053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10055 echo "${ECHO_T}$ac_header_compiler" >&6
10057 # Is the header present?
10058 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10060 cat >conftest.
$ac_ext <<_ACEOF
10063 cat confdefs.h
>>conftest.
$ac_ext
10064 cat >>conftest.
$ac_ext <<_ACEOF
10065 /* end confdefs.h. */
10066 #include <$ac_header>
10068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10069 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10071 grep -v '^ *+' conftest.er1
>conftest.err
10073 cat conftest.err
>&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } >/dev
/null
; then
10076 if test -s conftest.err
; then
10077 ac_cpp_err
=$ac_c_preproc_warn_flag
10078 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10085 if test -z "$ac_cpp_err"; then
10086 ac_header_preproc
=yes
10088 echo "$as_me: failed program was:" >&5
10089 sed 's/^/| /' conftest.
$ac_ext >&5
10091 ac_header_preproc
=no
10093 rm -f conftest.err conftest.
$ac_ext
10094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10095 echo "${ECHO_T}$ac_header_preproc" >&6
10097 # So? What about this header?
10098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10100 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10101 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10103 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10104 ac_header_preproc
=yes
10107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10111 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10112 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10113 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10114 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10117 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10118 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10121 ## ------------------------------------------ ##
10122 ## Report this to the AC_PACKAGE_NAME lists. ##
10123 ## ------------------------------------------ ##
10126 sed "s/^/$as_me: WARNING: /" >&2
10129 echo "$as_me:$LINENO: checking for $ac_header" >&5
10130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 eval "$as_ac_Header=\$ac_header_preproc"
10136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10141 cat >>confdefs.h
<<_ACEOF
10142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10152 # For the TUI, we need enhanced curses functionality.
10154 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
10155 # curses library because the latter might not provide all the
10156 # functionality we need. However, this leads to problems on systems
10157 # where the linker searches /usr/local/lib, but the compiler doesn't
10158 # search /usr/local/include, if ncurses is installed in /usr/local. A
10159 # default installation of ncurses on alpha*-dec-osf* will lead to such
10161 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
10162 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
10163 if test "${ac_cv_search_waddstr+set}" = set; then
10164 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 ac_func_search_save_LIBS
=$LIBS
10167 ac_cv_search_waddstr
=no
10168 cat >conftest.
$ac_ext <<_ACEOF
10171 cat confdefs.h
>>conftest.
$ac_ext
10172 cat >>conftest.
$ac_ext <<_ACEOF
10173 /* end confdefs.h. */
10175 /* Override any gcc2 internal prototype to avoid an error. */
10179 /* We use char because int might match the return type of a gcc2
10180 builtin and then its argument prototype would still apply. */
10190 rm -f conftest.
$ac_objext conftest
$ac_exeext
10191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10192 (eval $ac_link) 2>conftest.er1
10194 grep -v '^ *+' conftest.er1
>conftest.err
10196 cat conftest.err
>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); } &&
10199 { ac_try
='test -z "$ac_c_werror_flag"
10200 || test ! -s conftest.err'
10201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10202 (eval $ac_try) 2>&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); }; } &&
10206 { ac_try
='test -s conftest$ac_exeext'
10207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208 (eval $ac_try) 2>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); }; }; then
10212 ac_cv_search_waddstr
="none required"
10214 echo "$as_me: failed program was:" >&5
10215 sed 's/^/| /' conftest.
$ac_ext >&5
10218 rm -f conftest.err conftest.
$ac_objext \
10219 conftest
$ac_exeext conftest.
$ac_ext
10220 if test "$ac_cv_search_waddstr" = no
; then
10221 for ac_lib
in ncurses cursesX curses
; do
10222 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10223 cat >conftest.
$ac_ext <<_ACEOF
10226 cat confdefs.h
>>conftest.
$ac_ext
10227 cat >>conftest.
$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10230 /* Override any gcc2 internal prototype to avoid an error. */
10234 /* We use char because int might match the return type of a gcc2
10235 builtin and then its argument prototype would still apply. */
10245 rm -f conftest.
$ac_objext conftest
$ac_exeext
10246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10247 (eval $ac_link) 2>conftest.er1
10249 grep -v '^ *+' conftest.er1
>conftest.err
10251 cat conftest.err
>&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try
='test -z "$ac_c_werror_flag"
10255 || test ! -s conftest.err'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; } &&
10261 { ac_try
='test -s conftest$ac_exeext'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then
10267 ac_cv_search_waddstr
="-l$ac_lib"
10270 echo "$as_me: failed program was:" >&5
10271 sed 's/^/| /' conftest.
$ac_ext >&5
10274 rm -f conftest.err conftest.
$ac_objext \
10275 conftest
$ac_exeext conftest.
$ac_ext
10278 LIBS
=$ac_func_search_save_LIBS
10280 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
10281 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
10282 if test "$ac_cv_search_waddstr" != no
; then
10283 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
10288 # On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
10289 echo "$as_me:$LINENO: checking for library containing dlgetmodinfo" >&5
10290 echo $ECHO_N "checking for library containing dlgetmodinfo... $ECHO_C" >&6
10291 if test "${ac_cv_search_dlgetmodinfo+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 ac_func_search_save_LIBS
=$LIBS
10295 ac_cv_search_dlgetmodinfo
=no
10296 cat >conftest.
$ac_ext <<_ACEOF
10299 cat confdefs.h
>>conftest.
$ac_ext
10300 cat >>conftest.
$ac_ext <<_ACEOF
10301 /* end confdefs.h. */
10303 /* Override any gcc2 internal prototype to avoid an error. */
10307 /* We use char because int might match the return type of a gcc2
10308 builtin and then its argument prototype would still apply. */
10309 char dlgetmodinfo ();
10318 rm -f conftest.
$ac_objext conftest
$ac_exeext
10319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10320 (eval $ac_link) 2>conftest.er1
10322 grep -v '^ *+' conftest.er1
>conftest.err
10324 cat conftest.err
>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); } &&
10327 { ac_try
='test -z "$ac_c_werror_flag"
10328 || test ! -s conftest.err'
10329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330 (eval $ac_try) 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; } &&
10334 { ac_try
='test -s conftest$ac_exeext'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; }; then
10340 ac_cv_search_dlgetmodinfo
="none required"
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.
$ac_ext >&5
10346 rm -f conftest.err conftest.
$ac_objext \
10347 conftest
$ac_exeext conftest.
$ac_ext
10348 if test "$ac_cv_search_dlgetmodinfo" = no
; then
10349 for ac_lib
in dl xpdl
; do
10350 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10351 cat >conftest.
$ac_ext <<_ACEOF
10354 cat confdefs.h
>>conftest.
$ac_ext
10355 cat >>conftest.
$ac_ext <<_ACEOF
10356 /* end confdefs.h. */
10358 /* Override any gcc2 internal prototype to avoid an error. */
10362 /* We use char because int might match the return type of a gcc2
10363 builtin and then its argument prototype would still apply. */
10364 char dlgetmodinfo ();
10373 rm -f conftest.
$ac_objext conftest
$ac_exeext
10374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10375 (eval $ac_link) 2>conftest.er1
10377 grep -v '^ *+' conftest.er1
>conftest.err
10379 cat conftest.err
>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } &&
10382 { ac_try
='test -z "$ac_c_werror_flag"
10383 || test ! -s conftest.err'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; } &&
10389 { ac_try
='test -s conftest$ac_exeext'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; }; then
10395 ac_cv_search_dlgetmodinfo
="-l$ac_lib"
10398 echo "$as_me: failed program was:" >&5
10399 sed 's/^/| /' conftest.
$ac_ext >&5
10402 rm -f conftest.err conftest.
$ac_objext \
10403 conftest
$ac_exeext conftest.
$ac_ext
10406 LIBS
=$ac_func_search_save_LIBS
10408 echo "$as_me:$LINENO: result: $ac_cv_search_dlgetmodinfo" >&5
10409 echo "${ECHO_T}$ac_cv_search_dlgetmodinfo" >&6
10410 if test "$ac_cv_search_dlgetmodinfo" != no
; then
10411 test "$ac_cv_search_dlgetmodinfo" = "none required" || LIBS
="$ac_cv_search_dlgetmodinfo $LIBS"
10416 # Since GDB uses Readline, we need termcap functionality. In many
10417 # cases this will be provided by the curses library, but some systems
10418 # have a seperate termcap library, or no curses library at all.
10422 if test -d $srcdir/libtermcap
; then
10423 LIBS
="../libtermcap/libtermcap.a $LIBS"
10424 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
10427 ac_cv_search_tgetent
="none required"
10430 ac_cv_search_tgetent
="none required"
10431 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
10435 # These are the libraries checked by Readline.
10436 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
10437 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
10438 if test "${ac_cv_search_tgetent+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 ac_func_search_save_LIBS
=$LIBS
10442 ac_cv_search_tgetent
=no
10443 cat >conftest.
$ac_ext <<_ACEOF
10446 cat confdefs.h
>>conftest.
$ac_ext
10447 cat >>conftest.
$ac_ext <<_ACEOF
10448 /* end confdefs.h. */
10450 /* Override any gcc2 internal prototype to avoid an error. */
10454 /* We use char because int might match the return type of a gcc2
10455 builtin and then its argument prototype would still apply. */
10465 rm -f conftest.
$ac_objext conftest
$ac_exeext
10466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10467 (eval $ac_link) 2>conftest.er1
10469 grep -v '^ *+' conftest.er1
>conftest.err
10471 cat conftest.err
>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); } &&
10474 { ac_try
='test -z "$ac_c_werror_flag"
10475 || test ! -s conftest.err'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; } &&
10481 { ac_try
='test -s conftest$ac_exeext'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; }; then
10487 ac_cv_search_tgetent
="none required"
10489 echo "$as_me: failed program was:" >&5
10490 sed 's/^/| /' conftest.
$ac_ext >&5
10493 rm -f conftest.err conftest.
$ac_objext \
10494 conftest
$ac_exeext conftest.
$ac_ext
10495 if test "$ac_cv_search_tgetent" = no
; then
10496 for ac_lib
in termcap tinfo curses ncurses
; do
10497 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10498 cat >conftest.
$ac_ext <<_ACEOF
10501 cat confdefs.h
>>conftest.
$ac_ext
10502 cat >>conftest.
$ac_ext <<_ACEOF
10503 /* end confdefs.h. */
10505 /* Override any gcc2 internal prototype to avoid an error. */
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10520 rm -f conftest.
$ac_objext conftest
$ac_exeext
10521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10522 (eval $ac_link) 2>conftest.er1
10524 grep -v '^ *+' conftest.er1
>conftest.err
10526 cat conftest.err
>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try
='test -z "$ac_c_werror_flag"
10530 || test ! -s conftest.err'
10531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10532 (eval $ac_try) 2>&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); }; } &&
10536 { ac_try
='test -s conftest$ac_exeext'
10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; }; then
10542 ac_cv_search_tgetent
="-l$ac_lib"
10545 echo "$as_me: failed program was:" >&5
10546 sed 's/^/| /' conftest.
$ac_ext >&5
10549 rm -f conftest.err conftest.
$ac_objext \
10550 conftest
$ac_exeext conftest.
$ac_ext
10553 LIBS
=$ac_func_search_save_LIBS
10555 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
10556 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
10557 if test "$ac_cv_search_tgetent" != no
; then
10558 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
10563 if test "$ac_cv_search_tgetent" = no
; then
10564 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
10565 echo "$as_me: error: no termcap library found" >&2;}
10566 { (exit 1); exit 1; }; }
10570 # Check whether --with-system-readline or --without-system-readline was given.
10571 if test "${with_system_readline+set}" = set; then
10572 withval
="$with_system_readline"
10576 if test "$with_system_readline" = yes; then
10577 READLINE
=-lreadline
10581 READLINE
='$(READLINE_DIR)/libreadline.a'
10582 READLINE_DEPS
='$(READLINE)'
10583 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
10590 # Check whether --with-expat or --without-expat was given.
10591 if test "${with_expat+set}" = set; then
10592 withval
="$with_expat"
10597 echo "$as_me:$LINENO: checking whether to use expat" >&5
10598 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
10599 echo "$as_me:$LINENO: result: $with_expat" >&5
10600 echo "${ECHO_T}$with_expat" >&6
10602 if test "${with_expat}" = no
; then
10603 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
10604 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
10608 if test "X$prefix" = "XNONE"; then
10609 acl_final_prefix
="$ac_default_prefix"
10611 acl_final_prefix
="$prefix"
10613 if test "X$exec_prefix" = "XNONE"; then
10614 acl_final_exec_prefix
='${prefix}'
10616 acl_final_exec_prefix
="$exec_prefix"
10618 acl_save_prefix
="$prefix"
10619 prefix
="$acl_final_prefix"
10620 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10621 prefix
="$acl_save_prefix"
10624 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10625 if test "${with_gnu_ld+set}" = set; then
10626 withval
="$with_gnu_ld"
10627 test "$withval" = no || with_gnu_ld
=yes
10631 # Prepare PATH_SEPARATOR.
10632 # The user is always right.
10633 if test "${PATH_SEPARATOR+set}" != set; then
10634 echo "#! /bin/sh" >conf$$.sh
10635 echo "exit 0" >>conf$$.sh
10637 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10645 if test "$GCC" = yes; then
10646 # Check if gcc -print-prog-name=ld gives a path.
10647 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10648 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10651 # gcc leaves a trailing carriage return which upsets mingw
10652 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10654 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10657 # Accept absolute paths.
10658 [\\/]* |
[A-Za-z
]:[\\/]*)
10659 re_direlt
='/[^/][^/]*/\.\./'
10660 # Canonicalize the path of ld
10661 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10662 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10663 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10665 test -z "$LD" && LD
="$ac_prog"
10668 # If it fails, then pretend we aren't using GCC.
10672 # If it is relative, then search for the first ld in PATH.
10673 with_gnu_ld
=unknown
10676 elif test "$with_gnu_ld" = yes; then
10677 echo "$as_me:$LINENO: checking for GNU ld" >&5
10678 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10680 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10681 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10683 if test "${acl_cv_path_LD+set}" = set; then
10684 echo $ECHO_N "(cached) $ECHO_C" >&6
10686 if test -z "$LD"; then
10687 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10688 for ac_dir
in $PATH; do
10689 test -z "$ac_dir" && ac_dir
=.
10690 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10691 acl_cv_path_LD
="$ac_dir/$ac_prog"
10692 # Check to see if the program is GNU ld. I'd rather use --version,
10693 # but apparently some GNU ld's only accept -v.
10694 # Break only if it was the GNU/non-GNU ld that we prefer.
10695 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10696 test "$with_gnu_ld" != no
&& break
10698 test "$with_gnu_ld" != yes && break
10704 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10708 LD
="$acl_cv_path_LD"
10709 if test -n "$LD"; then
10710 echo "$as_me:$LINENO: result: $LD" >&5
10711 echo "${ECHO_T}$LD" >&6
10713 echo "$as_me:$LINENO: result: no" >&5
10714 echo "${ECHO_T}no" >&6
10716 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10717 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10718 { (exit 1); exit 1; }; }
10719 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10720 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10721 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10724 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10725 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10726 acl_cv_prog_gnu_ld
=yes
10728 acl_cv_prog_gnu_ld
=no
10731 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10732 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10733 with_gnu_ld
=$acl_cv_prog_gnu_ld
10737 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10738 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10739 if test "${acl_cv_rpath+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10744 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10746 rm -f .
/conftest.sh
10750 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10751 echo "${ECHO_T}$acl_cv_rpath" >&6
10753 libext
="$acl_cv_libext"
10754 shlibext
="$acl_cv_shlibext"
10755 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10756 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10757 hardcode_direct
="$acl_cv_hardcode_direct"
10758 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10759 # Check whether --enable-rpath or --disable-rpath was given.
10760 if test "${enable_rpath+set}" = set; then
10761 enableval
="$enable_rpath"
10777 acl_save_prefix
="$prefix"
10778 prefix
="$acl_final_prefix"
10779 acl_save_exec_prefix
="$exec_prefix"
10780 exec_prefix
="$acl_final_exec_prefix"
10782 eval additional_includedir
=\"$includedir\"
10783 eval additional_libdir
=\"$libdir\"
10785 exec_prefix
="$acl_save_exec_prefix"
10786 prefix
="$acl_save_prefix"
10789 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
10790 if test "${with_libexpat_prefix+set}" = set; then
10791 withval
="$with_libexpat_prefix"
10793 if test "X$withval" = "Xno"; then
10796 if test "X$withval" = "X"; then
10798 acl_save_prefix
="$prefix"
10799 prefix
="$acl_final_prefix"
10800 acl_save_exec_prefix
="$exec_prefix"
10801 exec_prefix
="$acl_final_exec_prefix"
10803 eval additional_includedir
=\"$includedir\"
10804 eval additional_libdir
=\"$libdir\"
10806 exec_prefix
="$acl_save_exec_prefix"
10807 prefix
="$acl_save_prefix"
10810 additional_includedir
="$withval/include"
10811 additional_libdir
="$withval/lib"
10821 names_already_handled
=
10822 names_next_round
='expat '
10823 while test -n "$names_next_round"; do
10824 names_this_round
="$names_next_round"
10826 for name
in $names_this_round; do
10828 for n
in $names_already_handled; do
10829 if test "$n" = "$name"; then
10830 already_handled
=yes
10834 if test -z "$already_handled"; then
10835 names_already_handled
="$names_already_handled $name"
10836 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10837 eval value
=\"\
$HAVE_LIB$uppername\"
10838 if test -n "$value"; then
10839 if test "$value" = yes; then
10840 eval value
=\"\
$LIB$uppername\"
10841 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
10842 eval value
=\"\
$LTLIB$uppername\"
10843 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
10852 if test $use_additional = yes; then
10853 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10854 found_dir
="$additional_libdir"
10855 found_so
="$additional_libdir/lib$name.$shlibext"
10856 if test -f "$additional_libdir/lib$name.la"; then
10857 found_la
="$additional_libdir/lib$name.la"
10860 if test -f "$additional_libdir/lib$name.$libext"; then
10861 found_dir
="$additional_libdir"
10862 found_a
="$additional_libdir/lib$name.$libext"
10863 if test -f "$additional_libdir/lib$name.la"; then
10864 found_la
="$additional_libdir/lib$name.la"
10869 if test "X$found_dir" = "X"; then
10870 for x
in $LDFLAGS $LTLIBEXPAT; do
10872 acl_save_prefix
="$prefix"
10873 prefix
="$acl_final_prefix"
10874 acl_save_exec_prefix
="$exec_prefix"
10875 exec_prefix
="$acl_final_exec_prefix"
10877 exec_prefix
="$acl_save_exec_prefix"
10878 prefix
="$acl_save_prefix"
10882 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10883 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10885 found_so
="$dir/lib$name.$shlibext"
10886 if test -f "$dir/lib$name.la"; then
10887 found_la
="$dir/lib$name.la"
10890 if test -f "$dir/lib$name.$libext"; then
10892 found_a
="$dir/lib$name.$libext"
10893 if test -f "$dir/lib$name.la"; then
10894 found_la
="$dir/lib$name.la"
10900 if test "X$found_dir" != "X"; then
10905 if test "X$found_dir" != "X"; then
10906 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
10907 if test "X$found_so" != "X"; then
10908 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10909 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10912 for x
in $ltrpathdirs; do
10913 if test "X$x" = "X$found_dir"; then
10918 if test -z "$haveit"; then
10919 ltrpathdirs
="$ltrpathdirs $found_dir"
10921 if test "$hardcode_direct" = yes; then
10922 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10924 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10925 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10927 for x
in $rpathdirs; do
10928 if test "X$x" = "X$found_dir"; then
10933 if test -z "$haveit"; then
10934 rpathdirs
="$rpathdirs $found_dir"
10938 for x
in $LDFLAGS $LIBEXPAT; do
10940 acl_save_prefix
="$prefix"
10941 prefix
="$acl_final_prefix"
10942 acl_save_exec_prefix
="$exec_prefix"
10943 exec_prefix
="$acl_final_exec_prefix"
10945 exec_prefix
="$acl_save_exec_prefix"
10946 prefix
="$acl_save_prefix"
10948 if test "X$x" = "X-L$found_dir"; then
10953 if test -z "$haveit"; then
10954 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
10956 if test "$hardcode_minus_L" != no
; then
10957 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10959 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
10965 if test "X$found_a" != "X"; then
10966 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
10968 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
10971 additional_includedir
=
10972 case "$found_dir" in
10974 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10975 additional_includedir
="$basedir/include"
10978 if test "X$additional_includedir" != "X"; then
10979 if test "X$additional_includedir" != "X/usr/include"; then
10981 if test "X$additional_includedir" = "X/usr/local/include"; then
10982 if test -n "$GCC"; then
10984 linux
*) haveit
=yes;;
10988 if test -z "$haveit"; then
10989 for x
in $CPPFLAGS $INCEXPAT; do
10991 acl_save_prefix
="$prefix"
10992 prefix
="$acl_final_prefix"
10993 acl_save_exec_prefix
="$exec_prefix"
10994 exec_prefix
="$acl_final_exec_prefix"
10996 exec_prefix
="$acl_save_exec_prefix"
10997 prefix
="$acl_save_prefix"
10999 if test "X$x" = "X-I$additional_includedir"; then
11004 if test -z "$haveit"; then
11005 if test -d "$additional_includedir"; then
11006 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
11012 if test -n "$found_la"; then
11013 save_libdir
="$libdir"
11014 case "$found_la" in
11015 */* |
*\\*) .
"$found_la" ;;
11016 *) .
"./$found_la" ;;
11018 libdir
="$save_libdir"
11019 for dep
in $dependency_libs; do
11022 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11023 if test "X$additional_libdir" != "X/usr/lib"; then
11025 if test "X$additional_libdir" = "X/usr/local/lib"; then
11026 if test -n "$GCC"; then
11028 linux
*) haveit
=yes;;
11032 if test -z "$haveit"; then
11034 for x
in $LDFLAGS $LIBEXPAT; do
11036 acl_save_prefix
="$prefix"
11037 prefix
="$acl_final_prefix"
11038 acl_save_exec_prefix
="$exec_prefix"
11039 exec_prefix
="$acl_final_exec_prefix"
11041 exec_prefix
="$acl_save_exec_prefix"
11042 prefix
="$acl_save_prefix"
11044 if test "X$x" = "X-L$additional_libdir"; then
11049 if test -z "$haveit"; then
11050 if test -d "$additional_libdir"; then
11051 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
11055 for x
in $LDFLAGS $LTLIBEXPAT; do
11057 acl_save_prefix
="$prefix"
11058 prefix
="$acl_final_prefix"
11059 acl_save_exec_prefix
="$exec_prefix"
11060 exec_prefix
="$acl_final_exec_prefix"
11062 exec_prefix
="$acl_save_exec_prefix"
11063 prefix
="$acl_save_prefix"
11065 if test "X$x" = "X-L$additional_libdir"; then
11070 if test -z "$haveit"; then
11071 if test -d "$additional_libdir"; then
11072 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
11079 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11080 if test "$enable_rpath" != no
; then
11082 for x
in $rpathdirs; do
11083 if test "X$x" = "X$dir"; then
11088 if test -z "$haveit"; then
11089 rpathdirs
="$rpathdirs $dir"
11092 for x
in $ltrpathdirs; do
11093 if test "X$x" = "X$dir"; then
11098 if test -z "$haveit"; then
11099 ltrpathdirs
="$ltrpathdirs $dir"
11104 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11107 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11110 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
11111 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
11117 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
11118 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
11124 if test "X$rpathdirs" != "X"; then
11125 if test -n "$hardcode_libdir_separator"; then
11127 for found_dir
in $rpathdirs; do
11128 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11130 acl_save_libdir
="$libdir"
11132 eval flag
=\"$hardcode_libdir_flag_spec\"
11133 libdir
="$acl_save_libdir"
11134 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
11136 for found_dir
in $rpathdirs; do
11137 acl_save_libdir
="$libdir"
11138 libdir
="$found_dir"
11139 eval flag
=\"$hardcode_libdir_flag_spec\"
11140 libdir
="$acl_save_libdir"
11141 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
11145 if test "X$ltrpathdirs" != "X"; then
11146 for found_dir
in $ltrpathdirs; do
11147 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
11152 ac_save_CPPFLAGS
="$CPPFLAGS"
11154 for element
in $INCEXPAT; do
11156 for x
in $CPPFLAGS; do
11158 acl_save_prefix
="$prefix"
11159 prefix
="$acl_final_prefix"
11160 acl_save_exec_prefix
="$exec_prefix"
11161 exec_prefix
="$acl_final_exec_prefix"
11163 exec_prefix
="$acl_save_exec_prefix"
11164 prefix
="$acl_save_prefix"
11166 if test "X$x" = "X$element"; then
11171 if test -z "$haveit"; then
11172 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
11177 echo "$as_me:$LINENO: checking for libexpat" >&5
11178 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
11179 if test "${ac_cv_libexpat+set}" = set; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 ac_save_LIBS
="$LIBS"
11184 LIBS
="$LIBS $LIBEXPAT"
11185 cat >conftest.
$ac_ext <<_ACEOF
11188 cat confdefs.h
>>conftest.
$ac_ext
11189 cat >>conftest.
$ac_ext <<_ACEOF
11190 /* end confdefs.h. */
11195 XML_Parser p = XML_ParserCreate (0);
11200 rm -f conftest.
$ac_objext conftest
$ac_exeext
11201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11202 (eval $ac_link) 2>conftest.er1
11204 grep -v '^ *+' conftest.er1
>conftest.err
11206 cat conftest.err
>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); } &&
11209 { ac_try
='test -z "$ac_c_werror_flag"
11210 || test ! -s conftest.err'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; } &&
11216 { ac_try
='test -s conftest$ac_exeext'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; }; then
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11229 rm -f conftest.err conftest.
$ac_objext \
11230 conftest
$ac_exeext conftest.
$ac_ext
11231 LIBS
="$ac_save_LIBS"
11234 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
11235 echo "${ECHO_T}$ac_cv_libexpat" >&6
11236 if test "$ac_cv_libexpat" = yes; then
11239 cat >>confdefs.h
<<\_ACEOF
11240 #define HAVE_LIBEXPAT 1
11243 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
11244 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
11245 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
11246 echo "${ECHO_T}$LIBEXPAT" >&6
11249 CPPFLAGS
="$ac_save_CPPFLAGS"
11259 if test "$HAVE_LIBEXPAT" != yes; then
11260 if test "$with_expat" = yes; then
11261 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
11262 echo "$as_me: error: expat is missing or unusable" >&2;}
11263 { (exit 1); exit 1; }; }
11265 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
11266 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
11270 LIBS
="$LIBS $LIBEXPAT"
11272 for ac_func
in XML_StopParser
11274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11275 echo "$as_me:$LINENO: checking for $ac_func" >&5
11276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11277 if eval "test \"\${$as_ac_var+set}\" = set"; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 cat >conftest.
$ac_ext <<_ACEOF
11283 cat confdefs.h
>>conftest.
$ac_ext
11284 cat >>conftest.
$ac_ext <<_ACEOF
11285 /* end confdefs.h. */
11286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11288 #define $ac_func innocuous_$ac_func
11290 /* System header to define __stub macros and hopefully few prototypes,
11291 which can conflict with char $ac_func (); below.
11292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11293 <limits.h> exists even on freestanding compilers. */
11296 # include <limits.h>
11298 # include <assert.h>
11303 /* Override any gcc2 internal prototype to avoid an error. */
11308 /* We use char because int might match the return type of a gcc2
11309 builtin and then its argument prototype would still apply. */
11311 /* The GNU C library defines this for functions which it implements
11312 to always fail with ENOSYS. Some functions are actually named
11313 something starting with __ and the normal name is an alias. */
11314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11317 char (*f) () = $ac_func;
11326 return f != $ac_func;
11331 rm -f conftest.
$ac_objext conftest
$ac_exeext
11332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11333 (eval $ac_link) 2>conftest.er1
11335 grep -v '^ *+' conftest.er1
>conftest.err
11337 cat conftest.err
>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); } &&
11340 { ac_try
='test -z "$ac_c_werror_flag"
11341 || test ! -s conftest.err'
11342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 (eval $ac_try) 2>&5
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; } &&
11347 { ac_try
='test -s conftest$ac_exeext'
11348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11349 (eval $ac_try) 2>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }; }; then
11353 eval "$as_ac_var=yes"
11355 echo "$as_me: failed program was:" >&5
11356 sed 's/^/| /' conftest.
$ac_ext >&5
11358 eval "$as_ac_var=no"
11360 rm -f conftest.err conftest.
$ac_objext \
11361 conftest
$ac_exeext conftest.
$ac_ext
11363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11365 if test `eval echo '${'$as_ac_var'}'` = yes; then
11366 cat >>confdefs.h
<<_ACEOF
11367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11377 # ------------------------- #
11378 # Checks for header files. #
11379 # ------------------------- #
11386 ac_header_dirent
=no
11387 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
11388 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11389 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
11390 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
11391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 cat >conftest.
$ac_ext <<_ACEOF
11397 cat confdefs.h
>>conftest.
$ac_ext
11398 cat >>conftest.
$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11400 #include <sys/types.h>
11412 rm -f conftest.
$ac_objext
11413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11414 (eval $ac_compile) 2>conftest.er1
11416 grep -v '^ *+' conftest.er1
>conftest.err
11418 cat conftest.err
>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); } &&
11421 { ac_try
='test -z "$ac_c_werror_flag"
11422 || test ! -s conftest.err'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; } &&
11428 { ac_try
='test -s conftest.$ac_objext'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; }; then
11434 eval "$as_ac_Header=yes"
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.
$ac_ext >&5
11439 eval "$as_ac_Header=no"
11441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11446 cat >>confdefs.h
<<_ACEOF
11447 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11450 ac_header_dirent
=$ac_hdr; break
11454 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11455 if test $ac_header_dirent = dirent.h
; then
11456 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11457 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11458 if test "${ac_cv_search_opendir+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11461 ac_func_search_save_LIBS
=$LIBS
11462 ac_cv_search_opendir
=no
11463 cat >conftest.
$ac_ext <<_ACEOF
11466 cat confdefs.h
>>conftest.
$ac_ext
11467 cat >>conftest.
$ac_ext <<_ACEOF
11468 /* end confdefs.h. */
11470 /* Override any gcc2 internal prototype to avoid an error. */
11474 /* We use char because int might match the return type of a gcc2
11475 builtin and then its argument prototype would still apply. */
11485 rm -f conftest.
$ac_objext conftest
$ac_exeext
11486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11487 (eval $ac_link) 2>conftest.er1
11489 grep -v '^ *+' conftest.er1
>conftest.err
11491 cat conftest.err
>&5
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); } &&
11494 { ac_try
='test -z "$ac_c_werror_flag"
11495 || test ! -s conftest.err'
11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497 (eval $ac_try) 2>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; } &&
11501 { ac_try
='test -s conftest$ac_exeext'
11502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11503 (eval $ac_try) 2>&5
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); }; }; then
11507 ac_cv_search_opendir
="none required"
11509 echo "$as_me: failed program was:" >&5
11510 sed 's/^/| /' conftest.
$ac_ext >&5
11513 rm -f conftest.err conftest.
$ac_objext \
11514 conftest
$ac_exeext conftest.
$ac_ext
11515 if test "$ac_cv_search_opendir" = no
; then
11516 for ac_lib
in dir
; do
11517 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11518 cat >conftest.
$ac_ext <<_ACEOF
11521 cat confdefs.h
>>conftest.
$ac_ext
11522 cat >>conftest.
$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11525 /* Override any gcc2 internal prototype to avoid an error. */
11529 /* We use char because int might match the return type of a gcc2
11530 builtin and then its argument prototype would still apply. */
11540 rm -f conftest.
$ac_objext conftest
$ac_exeext
11541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11542 (eval $ac_link) 2>conftest.er1
11544 grep -v '^ *+' conftest.er1
>conftest.err
11546 cat conftest.err
>&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); } &&
11549 { ac_try
='test -z "$ac_c_werror_flag"
11550 || test ! -s conftest.err'
11551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11552 (eval $ac_try) 2>&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); }; } &&
11556 { ac_try
='test -s conftest$ac_exeext'
11557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11558 (eval $ac_try) 2>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); }; }; then
11562 ac_cv_search_opendir
="-l$ac_lib"
11565 echo "$as_me: failed program was:" >&5
11566 sed 's/^/| /' conftest.
$ac_ext >&5
11569 rm -f conftest.err conftest.
$ac_objext \
11570 conftest
$ac_exeext conftest.
$ac_ext
11573 LIBS
=$ac_func_search_save_LIBS
11575 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11576 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11577 if test "$ac_cv_search_opendir" != no
; then
11578 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11583 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11584 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11585 if test "${ac_cv_search_opendir+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 ac_func_search_save_LIBS
=$LIBS
11589 ac_cv_search_opendir
=no
11590 cat >conftest.
$ac_ext <<_ACEOF
11593 cat confdefs.h
>>conftest.
$ac_ext
11594 cat >>conftest.
$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11597 /* Override any gcc2 internal prototype to avoid an error. */
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11612 rm -f conftest.
$ac_objext conftest
$ac_exeext
11613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11614 (eval $ac_link) 2>conftest.er1
11616 grep -v '^ *+' conftest.er1
>conftest.err
11618 cat conftest.err
>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } &&
11621 { ac_try
='test -z "$ac_c_werror_flag"
11622 || test ! -s conftest.err'
11623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11624 (eval $ac_try) 2>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); }; } &&
11628 { ac_try
='test -s conftest$ac_exeext'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; }; then
11634 ac_cv_search_opendir
="none required"
11636 echo "$as_me: failed program was:" >&5
11637 sed 's/^/| /' conftest.
$ac_ext >&5
11640 rm -f conftest.err conftest.
$ac_objext \
11641 conftest
$ac_exeext conftest.
$ac_ext
11642 if test "$ac_cv_search_opendir" = no
; then
11643 for ac_lib
in x
; do
11644 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11645 cat >conftest.
$ac_ext <<_ACEOF
11648 cat confdefs.h
>>conftest.
$ac_ext
11649 cat >>conftest.
$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11652 /* Override any gcc2 internal prototype to avoid an error. */
11656 /* We use char because int might match the return type of a gcc2
11657 builtin and then its argument prototype would still apply. */
11667 rm -f conftest.
$ac_objext conftest
$ac_exeext
11668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11669 (eval $ac_link) 2>conftest.er1
11671 grep -v '^ *+' conftest.er1
>conftest.err
11673 cat conftest.err
>&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } &&
11676 { ac_try
='test -z "$ac_c_werror_flag"
11677 || test ! -s conftest.err'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; } &&
11683 { ac_try
='test -s conftest$ac_exeext'
11684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11685 (eval $ac_try) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; }; then
11689 ac_cv_search_opendir
="-l$ac_lib"
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.
$ac_ext >&5
11696 rm -f conftest.err conftest.
$ac_objext \
11697 conftest
$ac_exeext conftest.
$ac_ext
11700 LIBS
=$ac_func_search_save_LIBS
11702 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11703 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11704 if test "$ac_cv_search_opendir" != no
; then
11705 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11711 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11712 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11713 if test "${ac_cv_header_stat_broken+set}" = set; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11716 cat >conftest.
$ac_ext <<_ACEOF
11719 cat confdefs.h
>>conftest.
$ac_ext
11720 cat >>conftest.
$ac_ext <<_ACEOF
11721 /* end confdefs.h. */
11722 #include <sys/types.h>
11723 #include <sys/stat.h>
11725 #if defined(S_ISBLK) && defined(S_IFDIR)
11726 # if S_ISBLK (S_IFDIR)
11731 #if defined(S_ISBLK) && defined(S_IFCHR)
11732 # if S_ISBLK (S_IFCHR)
11737 #if defined(S_ISLNK) && defined(S_IFREG)
11738 # if S_ISLNK (S_IFREG)
11743 #if defined(S_ISSOCK) && defined(S_IFREG)
11744 # if S_ISSOCK (S_IFREG)
11750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11751 $EGREP "You lose" >/dev
/null
2>&1; then
11752 ac_cv_header_stat_broken
=yes
11754 ac_cv_header_stat_broken
=no
11759 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11760 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11761 if test $ac_cv_header_stat_broken = yes; then
11763 cat >>confdefs.h
<<\_ACEOF
11764 #define STAT_MACROS_BROKEN 1
11769 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11770 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11771 if test "${ac_cv_header_stdc+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 cat >conftest.
$ac_ext <<_ACEOF
11777 cat confdefs.h
>>conftest.
$ac_ext
11778 cat >>conftest.
$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11780 #include <stdlib.h>
11781 #include <stdarg.h>
11782 #include <string.h>
11793 rm -f conftest.
$ac_objext
11794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11795 (eval $ac_compile) 2>conftest.er1
11797 grep -v '^ *+' conftest.er1
>conftest.err
11799 cat conftest.err
>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); } &&
11802 { ac_try
='test -z "$ac_c_werror_flag"
11803 || test ! -s conftest.err'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; } &&
11809 { ac_try
='test -s conftest.$ac_objext'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; }; then
11815 ac_cv_header_stdc
=yes
11817 echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.
$ac_ext >&5
11820 ac_cv_header_stdc
=no
11822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11824 if test $ac_cv_header_stdc = yes; then
11825 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11826 cat >conftest.
$ac_ext <<_ACEOF
11829 cat confdefs.h
>>conftest.
$ac_ext
11830 cat >>conftest.
$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11832 #include <string.h>
11835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11836 $EGREP "memchr" >/dev
/null
2>&1; then
11839 ac_cv_header_stdc
=no
11845 if test $ac_cv_header_stdc = yes; then
11846 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11847 cat >conftest.
$ac_ext <<_ACEOF
11850 cat confdefs.h
>>conftest.
$ac_ext
11851 cat >>conftest.
$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11853 #include <stdlib.h>
11856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11857 $EGREP "free" >/dev
/null
2>&1; then
11860 ac_cv_header_stdc
=no
11866 if test $ac_cv_header_stdc = yes; then
11867 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11868 if test "$cross_compiling" = yes; then
11871 cat >conftest.
$ac_ext <<_ACEOF
11874 cat confdefs.h
>>conftest.
$ac_ext
11875 cat >>conftest.
$ac_ext <<_ACEOF
11876 /* end confdefs.h. */
11878 #if ((' ' & 0x0FF) == 0x020)
11879 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11880 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11882 # define ISLOWER(c) \
11883 (('a' <= (c) && (c) <= 'i') \
11884 || ('j' <= (c) && (c) <= 'r') \
11885 || ('s' <= (c) && (c) <= 'z'))
11886 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11889 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11894 for (i = 0; i < 256; i++)
11895 if (XOR (islower (i), ISLOWER (i))
11896 || toupper (i) != TOUPPER (i))
11901 rm -f conftest
$ac_exeext
11902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11903 (eval $ac_link) 2>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); }; }; then
11914 echo "$as_me: program exited with status $ac_status" >&5
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.
$ac_ext >&5
11918 ( exit $ac_status )
11919 ac_cv_header_stdc
=no
11921 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11925 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11926 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11927 if test $ac_cv_header_stdc = yes; then
11929 cat >>confdefs.h
<<\_ACEOF
11930 #define STDC_HEADERS 1
11936 for ac_header
in nlist.h
11938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11940 echo "$as_me:$LINENO: checking for $ac_header" >&5
11941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11948 # Is the header compilable?
11949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11951 cat >conftest.
$ac_ext <<_ACEOF
11954 cat confdefs.h
>>conftest.
$ac_ext
11955 cat >>conftest.
$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11957 $ac_includes_default
11958 #include <$ac_header>
11960 rm -f conftest.
$ac_objext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11962 (eval $ac_compile) 2>conftest.er1
11964 grep -v '^ *+' conftest.er1
>conftest.err
11966 cat conftest.err
>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } &&
11969 { ac_try
='test -z "$ac_c_werror_flag"
11970 || test ! -s conftest.err'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; } &&
11976 { ac_try
='test -s conftest.$ac_objext'
11977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11978 (eval $ac_try) 2>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); }; }; then
11982 ac_header_compiler
=yes
11984 echo "$as_me: failed program was:" >&5
11985 sed 's/^/| /' conftest.
$ac_ext >&5
11987 ac_header_compiler
=no
11989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11991 echo "${ECHO_T}$ac_header_compiler" >&6
11993 # Is the header present?
11994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11996 cat >conftest.
$ac_ext <<_ACEOF
11999 cat confdefs.h
>>conftest.
$ac_ext
12000 cat >>conftest.
$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12002 #include <$ac_header>
12004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12007 grep -v '^ *+' conftest.er1
>conftest.err
12009 cat conftest.err
>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } >/dev
/null
; then
12012 if test -s conftest.err
; then
12013 ac_cpp_err
=$ac_c_preproc_warn_flag
12014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12021 if test -z "$ac_cpp_err"; then
12022 ac_header_preproc
=yes
12024 echo "$as_me: failed program was:" >&5
12025 sed 's/^/| /' conftest.
$ac_ext >&5
12027 ac_header_preproc
=no
12029 rm -f conftest.err conftest.
$ac_ext
12030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12031 echo "${ECHO_T}$ac_header_preproc" >&6
12033 # So? What about this header?
12034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12040 ac_header_preproc
=yes
12043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12057 ## ------------------------------------------ ##
12058 ## Report this to the AC_PACKAGE_NAME lists. ##
12059 ## ------------------------------------------ ##
12062 sed "s/^/$as_me: WARNING: /" >&2
12065 echo "$as_me:$LINENO: checking for $ac_header" >&5
12066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 eval "$as_ac_Header=\$ac_header_preproc"
12072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12077 cat >>confdefs.h
<<_ACEOF
12078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12086 for ac_header
in link.h
12088 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12089 echo "$as_me:$LINENO: checking for $ac_header" >&5
12090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 cat >conftest.
$ac_ext <<_ACEOF
12097 cat confdefs.h
>>conftest.
$ac_ext
12098 cat >>conftest.
$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12100 #if HAVE_SYS_TYPES_H
12101 # include <sys/types.h>
12104 # include <nlist.h>
12108 #include <$ac_header>
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 eval "$as_ac_Header=yes"
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.
$ac_ext >&5
12137 eval "$as_ac_Header=no"
12139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12144 cat >>confdefs.h
<<_ACEOF
12145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12153 for ac_header
in machine
/reg.h
12155 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12157 echo "$as_me:$LINENO: checking for $ac_header" >&5
12158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12165 # Is the header compilable?
12166 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12168 cat >conftest.
$ac_ext <<_ACEOF
12171 cat confdefs.h
>>conftest.
$ac_ext
12172 cat >>conftest.
$ac_ext <<_ACEOF
12173 /* end confdefs.h. */
12174 $ac_includes_default
12175 #include <$ac_header>
12177 rm -f conftest.
$ac_objext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12179 (eval $ac_compile) 2>conftest.er1
12181 grep -v '^ *+' conftest.er1
>conftest.err
12183 cat conftest.err
>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } &&
12186 { ac_try
='test -z "$ac_c_werror_flag"
12187 || test ! -s conftest.err'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; } &&
12193 { ac_try
='test -s conftest.$ac_objext'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then
12199 ac_header_compiler
=yes
12201 echo "$as_me: failed program was:" >&5
12202 sed 's/^/| /' conftest.
$ac_ext >&5
12204 ac_header_compiler
=no
12206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12208 echo "${ECHO_T}$ac_header_compiler" >&6
12210 # Is the header present?
12211 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12213 cat >conftest.
$ac_ext <<_ACEOF
12216 cat confdefs.h
>>conftest.
$ac_ext
12217 cat >>conftest.
$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12219 #include <$ac_header>
12221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12222 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12224 grep -v '^ *+' conftest.er1
>conftest.err
12226 cat conftest.err
>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } >/dev
/null
; then
12229 if test -s conftest.err
; then
12230 ac_cpp_err
=$ac_c_preproc_warn_flag
12231 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12238 if test -z "$ac_cpp_err"; then
12239 ac_header_preproc
=yes
12241 echo "$as_me: failed program was:" >&5
12242 sed 's/^/| /' conftest.
$ac_ext >&5
12244 ac_header_preproc
=no
12246 rm -f conftest.err conftest.
$ac_ext
12247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12248 echo "${ECHO_T}$ac_header_preproc" >&6
12250 # So? What about this header?
12251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12257 ac_header_preproc
=yes
12260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12274 ## ------------------------------------------ ##
12275 ## Report this to the AC_PACKAGE_NAME lists. ##
12276 ## ------------------------------------------ ##
12279 sed "s/^/$as_me: WARNING: /" >&2
12282 echo "$as_me:$LINENO: checking for $ac_header" >&5
12283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12285 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 eval "$as_ac_Header=\$ac_header_preproc"
12289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12294 cat >>confdefs.h
<<_ACEOF
12295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12304 for ac_header
in poll.h sys
/poll.h
12306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12308 echo "$as_me:$LINENO: checking for $ac_header" >&5
12309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12316 # Is the header compilable?
12317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12319 cat >conftest.
$ac_ext <<_ACEOF
12322 cat confdefs.h
>>conftest.
$ac_ext
12323 cat >>conftest.
$ac_ext <<_ACEOF
12324 /* end confdefs.h. */
12325 $ac_includes_default
12326 #include <$ac_header>
12328 rm -f conftest.
$ac_objext
12329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12330 (eval $ac_compile) 2>conftest.er1
12332 grep -v '^ *+' conftest.er1
>conftest.err
12334 cat conftest.err
>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try
='test -z "$ac_c_werror_flag"
12338 || test ! -s conftest.err'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; } &&
12344 { ac_try
='test -s conftest.$ac_objext'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; }; then
12350 ac_header_compiler
=yes
12352 echo "$as_me: failed program was:" >&5
12353 sed 's/^/| /' conftest.
$ac_ext >&5
12355 ac_header_compiler
=no
12357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12359 echo "${ECHO_T}$ac_header_compiler" >&6
12361 # Is the header present?
12362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12364 cat >conftest.
$ac_ext <<_ACEOF
12367 cat confdefs.h
>>conftest.
$ac_ext
12368 cat >>conftest.
$ac_ext <<_ACEOF
12369 /* end confdefs.h. */
12370 #include <$ac_header>
12372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12375 grep -v '^ *+' conftest.er1
>conftest.err
12377 cat conftest.err
>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } >/dev
/null
; then
12380 if test -s conftest.err
; then
12381 ac_cpp_err
=$ac_c_preproc_warn_flag
12382 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12389 if test -z "$ac_cpp_err"; then
12390 ac_header_preproc
=yes
12392 echo "$as_me: failed program was:" >&5
12393 sed 's/^/| /' conftest.
$ac_ext >&5
12395 ac_header_preproc
=no
12397 rm -f conftest.err conftest.
$ac_ext
12398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12399 echo "${ECHO_T}$ac_header_preproc" >&6
12401 # So? What about this header?
12402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12408 ac_header_preproc
=yes
12411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12425 ## ------------------------------------------ ##
12426 ## Report this to the AC_PACKAGE_NAME lists. ##
12427 ## ------------------------------------------ ##
12430 sed "s/^/$as_me: WARNING: /" >&2
12433 echo "$as_me:$LINENO: checking for $ac_header" >&5
12434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12436 echo $ECHO_N "(cached) $ECHO_C" >&6
12438 eval "$as_ac_Header=\$ac_header_preproc"
12440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12445 cat >>confdefs.h
<<_ACEOF
12446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12456 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
12458 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12460 echo "$as_me:$LINENO: checking for $ac_header" >&5
12461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12468 # Is the header compilable?
12469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12471 cat >conftest.
$ac_ext <<_ACEOF
12474 cat confdefs.h
>>conftest.
$ac_ext
12475 cat >>conftest.
$ac_ext <<_ACEOF
12476 /* end confdefs.h. */
12477 $ac_includes_default
12478 #include <$ac_header>
12480 rm -f conftest.
$ac_objext
12481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12482 (eval $ac_compile) 2>conftest.er1
12484 grep -v '^ *+' conftest.er1
>conftest.err
12486 cat conftest.err
>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); } &&
12489 { ac_try
='test -z "$ac_c_werror_flag"
12490 || test ! -s conftest.err'
12491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12492 (eval $ac_try) 2>&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); }; } &&
12496 { ac_try
='test -s conftest.$ac_objext'
12497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12498 (eval $ac_try) 2>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); }; }; then
12502 ac_header_compiler
=yes
12504 echo "$as_me: failed program was:" >&5
12505 sed 's/^/| /' conftest.
$ac_ext >&5
12507 ac_header_compiler
=no
12509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12511 echo "${ECHO_T}$ac_header_compiler" >&6
12513 # Is the header present?
12514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12516 cat >conftest.
$ac_ext <<_ACEOF
12519 cat confdefs.h
>>conftest.
$ac_ext
12520 cat >>conftest.
$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12522 #include <$ac_header>
12524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12527 grep -v '^ *+' conftest.er1
>conftest.err
12529 cat conftest.err
>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); } >/dev
/null
; then
12532 if test -s conftest.err
; then
12533 ac_cpp_err
=$ac_c_preproc_warn_flag
12534 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12541 if test -z "$ac_cpp_err"; then
12542 ac_header_preproc
=yes
12544 echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.
$ac_ext >&5
12547 ac_header_preproc
=no
12549 rm -f conftest.err conftest.
$ac_ext
12550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12551 echo "${ECHO_T}$ac_header_preproc" >&6
12553 # So? What about this header?
12554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12560 ac_header_preproc
=yes
12563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12577 ## ------------------------------------------ ##
12578 ## Report this to the AC_PACKAGE_NAME lists. ##
12579 ## ------------------------------------------ ##
12582 sed "s/^/$as_me: WARNING: /" >&2
12585 echo "$as_me:$LINENO: checking for $ac_header" >&5
12586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12590 eval "$as_ac_Header=\$ac_header_preproc"
12592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12597 cat >>confdefs.h
<<_ACEOF
12598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12606 for ac_header
in signal.h
12608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12610 echo "$as_me:$LINENO: checking for $ac_header" >&5
12611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12618 # Is the header compilable?
12619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12621 cat >conftest.
$ac_ext <<_ACEOF
12624 cat confdefs.h
>>conftest.
$ac_ext
12625 cat >>conftest.
$ac_ext <<_ACEOF
12626 /* end confdefs.h. */
12627 $ac_includes_default
12628 #include <$ac_header>
12630 rm -f conftest.
$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1
>conftest.err
12636 cat conftest.err
>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -z "$ac_c_werror_flag"
12640 || test ! -s conftest.err'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; } &&
12646 { ac_try
='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 ac_header_compiler
=yes
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.
$ac_ext >&5
12657 ac_header_compiler
=no
12659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12661 echo "${ECHO_T}$ac_header_compiler" >&6
12663 # Is the header present?
12664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12666 cat >conftest.
$ac_ext <<_ACEOF
12669 cat confdefs.h
>>conftest.
$ac_ext
12670 cat >>conftest.
$ac_ext <<_ACEOF
12671 /* end confdefs.h. */
12672 #include <$ac_header>
12674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12675 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12677 grep -v '^ *+' conftest.er1
>conftest.err
12679 cat conftest.err
>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); } >/dev
/null
; then
12682 if test -s conftest.err
; then
12683 ac_cpp_err
=$ac_c_preproc_warn_flag
12684 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12691 if test -z "$ac_cpp_err"; then
12692 ac_header_preproc
=yes
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12697 ac_header_preproc
=no
12699 rm -f conftest.err conftest.
$ac_ext
12700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12701 echo "${ECHO_T}$ac_header_preproc" >&6
12703 # So? What about this header?
12704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12710 ac_header_preproc
=yes
12713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12727 ## ------------------------------------------ ##
12728 ## Report this to the AC_PACKAGE_NAME lists. ##
12729 ## ------------------------------------------ ##
12732 sed "s/^/$as_me: WARNING: /" >&2
12735 echo "$as_me:$LINENO: checking for $ac_header" >&5
12736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12738 echo $ECHO_N "(cached) $ECHO_C" >&6
12740 eval "$as_ac_Header=\$ac_header_preproc"
12742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12747 cat >>confdefs.h
<<_ACEOF
12748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12756 for ac_header
in stddef.h
12758 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12760 echo "$as_me:$LINENO: checking for $ac_header" >&5
12761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12768 # Is the header compilable?
12769 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12771 cat >conftest.
$ac_ext <<_ACEOF
12774 cat confdefs.h
>>conftest.
$ac_ext
12775 cat >>conftest.
$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12777 $ac_includes_default
12778 #include <$ac_header>
12780 rm -f conftest.
$ac_objext
12781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12782 (eval $ac_compile) 2>conftest.er1
12784 grep -v '^ *+' conftest.er1
>conftest.err
12786 cat conftest.err
>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } &&
12789 { ac_try
='test -z "$ac_c_werror_flag"
12790 || test ! -s conftest.err'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try
='test -s conftest.$ac_objext'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; }; then
12802 ac_header_compiler
=yes
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.
$ac_ext >&5
12807 ac_header_compiler
=no
12809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12811 echo "${ECHO_T}$ac_header_compiler" >&6
12813 # Is the header present?
12814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12816 cat >conftest.
$ac_ext <<_ACEOF
12819 cat confdefs.h
>>conftest.
$ac_ext
12820 cat >>conftest.
$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12822 #include <$ac_header>
12824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12827 grep -v '^ *+' conftest.er1
>conftest.err
12829 cat conftest.err
>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } >/dev
/null
; then
12832 if test -s conftest.err
; then
12833 ac_cpp_err
=$ac_c_preproc_warn_flag
12834 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12841 if test -z "$ac_cpp_err"; then
12842 ac_header_preproc
=yes
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.
$ac_ext >&5
12847 ac_header_preproc
=no
12849 rm -f conftest.err conftest.
$ac_ext
12850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12851 echo "${ECHO_T}$ac_header_preproc" >&6
12853 # So? What about this header?
12854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12860 ac_header_preproc
=yes
12863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12877 ## ------------------------------------------ ##
12878 ## Report this to the AC_PACKAGE_NAME lists. ##
12879 ## ------------------------------------------ ##
12882 sed "s/^/$as_me: WARNING: /" >&2
12885 echo "$as_me:$LINENO: checking for $ac_header" >&5
12886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12888 echo $ECHO_N "(cached) $ECHO_C" >&6
12890 eval "$as_ac_Header=\$ac_header_preproc"
12892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12897 cat >>confdefs.h
<<_ACEOF
12898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12906 for ac_header
in stdlib.h
12908 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12910 echo "$as_me:$LINENO: checking for $ac_header" >&5
12911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12913 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12918 # Is the header compilable?
12919 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12921 cat >conftest.
$ac_ext <<_ACEOF
12924 cat confdefs.h
>>conftest.
$ac_ext
12925 cat >>conftest.
$ac_ext <<_ACEOF
12926 /* end confdefs.h. */
12927 $ac_includes_default
12928 #include <$ac_header>
12930 rm -f conftest.
$ac_objext
12931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12932 (eval $ac_compile) 2>conftest.er1
12934 grep -v '^ *+' conftest.er1
>conftest.err
12936 cat conftest.err
>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } &&
12939 { ac_try
='test -z "$ac_c_werror_flag"
12940 || test ! -s conftest.err'
12941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12942 (eval $ac_try) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); }; } &&
12946 { ac_try
='test -s conftest.$ac_objext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_header_compiler
=yes
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.
$ac_ext >&5
12957 ac_header_compiler
=no
12959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12961 echo "${ECHO_T}$ac_header_compiler" >&6
12963 # Is the header present?
12964 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12965 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12966 cat >conftest.
$ac_ext <<_ACEOF
12969 cat confdefs.h
>>conftest.
$ac_ext
12970 cat >>conftest.
$ac_ext <<_ACEOF
12971 /* end confdefs.h. */
12972 #include <$ac_header>
12974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12977 grep -v '^ *+' conftest.er1
>conftest.err
12979 cat conftest.err
>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } >/dev
/null
; then
12982 if test -s conftest.err
; then
12983 ac_cpp_err
=$ac_c_preproc_warn_flag
12984 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12991 if test -z "$ac_cpp_err"; then
12992 ac_header_preproc
=yes
12994 echo "$as_me: failed program was:" >&5
12995 sed 's/^/| /' conftest.
$ac_ext >&5
12997 ac_header_preproc
=no
12999 rm -f conftest.err conftest.
$ac_ext
13000 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13001 echo "${ECHO_T}$ac_header_preproc" >&6
13003 # So? What about this header?
13004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13007 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13009 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13010 ac_header_preproc
=yes
13013 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13014 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13015 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13016 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13018 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13019 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13020 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13022 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13023 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13024 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13027 ## ------------------------------------------ ##
13028 ## Report this to the AC_PACKAGE_NAME lists. ##
13029 ## ------------------------------------------ ##
13032 sed "s/^/$as_me: WARNING: /" >&2
13035 echo "$as_me:$LINENO: checking for $ac_header" >&5
13036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 eval "$as_ac_Header=\$ac_header_preproc"
13042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13046 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13047 cat >>confdefs.h
<<_ACEOF
13048 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13056 for ac_header
in stdint.h
13058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13060 echo "$as_me:$LINENO: checking for $ac_header" >&5
13061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13068 # Is the header compilable?
13069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13071 cat >conftest.
$ac_ext <<_ACEOF
13074 cat confdefs.h
>>conftest.
$ac_ext
13075 cat >>conftest.
$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13077 $ac_includes_default
13078 #include <$ac_header>
13080 rm -f conftest.
$ac_objext
13081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13082 (eval $ac_compile) 2>conftest.er1
13084 grep -v '^ *+' conftest.er1
>conftest.err
13086 cat conftest.err
>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } &&
13089 { ac_try
='test -z "$ac_c_werror_flag"
13090 || test ! -s conftest.err'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; } &&
13096 { ac_try
='test -s conftest.$ac_objext'
13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13098 (eval $ac_try) 2>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }; }; then
13102 ac_header_compiler
=yes
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.
$ac_ext >&5
13107 ac_header_compiler
=no
13109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13111 echo "${ECHO_T}$ac_header_compiler" >&6
13113 # Is the header present?
13114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13116 cat >conftest.
$ac_ext <<_ACEOF
13119 cat confdefs.h
>>conftest.
$ac_ext
13120 cat >>conftest.
$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13122 #include <$ac_header>
13124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13125 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13127 grep -v '^ *+' conftest.er1
>conftest.err
13129 cat conftest.err
>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); } >/dev
/null
; then
13132 if test -s conftest.err
; then
13133 ac_cpp_err
=$ac_c_preproc_warn_flag
13134 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13141 if test -z "$ac_cpp_err"; then
13142 ac_header_preproc
=yes
13144 echo "$as_me: failed program was:" >&5
13145 sed 's/^/| /' conftest.
$ac_ext >&5
13147 ac_header_preproc
=no
13149 rm -f conftest.err conftest.
$ac_ext
13150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13151 echo "${ECHO_T}$ac_header_preproc" >&6
13153 # So? What about this header?
13154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13156 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13159 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13160 ac_header_preproc
=yes
13163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13167 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13168 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13169 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13170 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13173 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13174 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13177 ## ------------------------------------------ ##
13178 ## Report this to the AC_PACKAGE_NAME lists. ##
13179 ## ------------------------------------------ ##
13182 sed "s/^/$as_me: WARNING: /" >&2
13185 echo "$as_me:$LINENO: checking for $ac_header" >&5
13186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13188 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 eval "$as_ac_Header=\$ac_header_preproc"
13192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13197 cat >>confdefs.h
<<_ACEOF
13198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13208 for ac_header
in string.h memory.h
strings.h
13210 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13212 echo "$as_me:$LINENO: checking for $ac_header" >&5
13213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13220 # Is the header compilable?
13221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13223 cat >conftest.
$ac_ext <<_ACEOF
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 $ac_includes_default
13230 #include <$ac_header>
13232 rm -f conftest.
$ac_objext
13233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13234 (eval $ac_compile) 2>conftest.er1
13236 grep -v '^ *+' conftest.er1
>conftest.err
13238 cat conftest.err
>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } &&
13241 { ac_try
='test -z "$ac_c_werror_flag"
13242 || test ! -s conftest.err'
13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13244 (eval $ac_try) 2>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; } &&
13248 { ac_try
='test -s conftest.$ac_objext'
13249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13250 (eval $ac_try) 2>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; }; then
13254 ac_header_compiler
=yes
13256 echo "$as_me: failed program was:" >&5
13257 sed 's/^/| /' conftest.
$ac_ext >&5
13259 ac_header_compiler
=no
13261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13263 echo "${ECHO_T}$ac_header_compiler" >&6
13265 # Is the header present?
13266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13268 cat >conftest.
$ac_ext <<_ACEOF
13271 cat confdefs.h
>>conftest.
$ac_ext
13272 cat >>conftest.
$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13274 #include <$ac_header>
13276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13279 grep -v '^ *+' conftest.er1
>conftest.err
13281 cat conftest.err
>&5
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); } >/dev
/null
; then
13284 if test -s conftest.err
; then
13285 ac_cpp_err
=$ac_c_preproc_warn_flag
13286 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13293 if test -z "$ac_cpp_err"; then
13294 ac_header_preproc
=yes
13296 echo "$as_me: failed program was:" >&5
13297 sed 's/^/| /' conftest.
$ac_ext >&5
13299 ac_header_preproc
=no
13301 rm -f conftest.err conftest.
$ac_ext
13302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13303 echo "${ECHO_T}$ac_header_preproc" >&6
13305 # So? What about this header?
13306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13312 ac_header_preproc
=yes
13315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13329 ## ------------------------------------------ ##
13330 ## Report this to the AC_PACKAGE_NAME lists. ##
13331 ## ------------------------------------------ ##
13334 sed "s/^/$as_me: WARNING: /" >&2
13337 echo "$as_me:$LINENO: checking for $ac_header" >&5
13338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13340 echo $ECHO_N "(cached) $ECHO_C" >&6
13342 eval "$as_ac_Header=\$ac_header_preproc"
13344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13349 cat >>confdefs.h
<<_ACEOF
13350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13358 for ac_header
in sys
/fault.h
13360 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13362 echo "$as_me:$LINENO: checking for $ac_header" >&5
13363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13370 # Is the header compilable?
13371 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13373 cat >conftest.
$ac_ext <<_ACEOF
13376 cat confdefs.h
>>conftest.
$ac_ext
13377 cat >>conftest.
$ac_ext <<_ACEOF
13378 /* end confdefs.h. */
13379 $ac_includes_default
13380 #include <$ac_header>
13382 rm -f conftest.
$ac_objext
13383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13384 (eval $ac_compile) 2>conftest.er1
13386 grep -v '^ *+' conftest.er1
>conftest.err
13388 cat conftest.err
>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); } &&
13391 { ac_try
='test -z "$ac_c_werror_flag"
13392 || test ! -s conftest.err'
13393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13394 (eval $ac_try) 2>&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); }; } &&
13398 { ac_try
='test -s conftest.$ac_objext'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; }; then
13404 ac_header_compiler
=yes
13406 echo "$as_me: failed program was:" >&5
13407 sed 's/^/| /' conftest.
$ac_ext >&5
13409 ac_header_compiler
=no
13411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13413 echo "${ECHO_T}$ac_header_compiler" >&6
13415 # Is the header present?
13416 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13418 cat >conftest.
$ac_ext <<_ACEOF
13421 cat confdefs.h
>>conftest.
$ac_ext
13422 cat >>conftest.
$ac_ext <<_ACEOF
13423 /* end confdefs.h. */
13424 #include <$ac_header>
13426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13429 grep -v '^ *+' conftest.er1
>conftest.err
13431 cat conftest.err
>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); } >/dev
/null
; then
13434 if test -s conftest.err
; then
13435 ac_cpp_err
=$ac_c_preproc_warn_flag
13436 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13443 if test -z "$ac_cpp_err"; then
13444 ac_header_preproc
=yes
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.
$ac_ext >&5
13449 ac_header_preproc
=no
13451 rm -f conftest.err conftest.
$ac_ext
13452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13453 echo "${ECHO_T}$ac_header_preproc" >&6
13455 # So? What about this header?
13456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13458 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13461 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13462 ac_header_preproc
=yes
13465 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13466 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13467 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13468 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13470 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13471 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13472 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13473 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13474 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13475 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13476 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13479 ## ------------------------------------------ ##
13480 ## Report this to the AC_PACKAGE_NAME lists. ##
13481 ## ------------------------------------------ ##
13484 sed "s/^/$as_me: WARNING: /" >&2
13487 echo "$as_me:$LINENO: checking for $ac_header" >&5
13488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 eval "$as_ac_Header=\$ac_header_preproc"
13494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13499 cat >>confdefs.h
<<_ACEOF
13500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13508 for ac_header
in sys
/file.h
13510 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13512 echo "$as_me:$LINENO: checking for $ac_header" >&5
13513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13515 echo $ECHO_N "(cached) $ECHO_C" >&6
13517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13520 # Is the header compilable?
13521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13523 cat >conftest.
$ac_ext <<_ACEOF
13526 cat confdefs.h
>>conftest.
$ac_ext
13527 cat >>conftest.
$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 $ac_includes_default
13530 #include <$ac_header>
13532 rm -f conftest.
$ac_objext
13533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13534 (eval $ac_compile) 2>conftest.er1
13536 grep -v '^ *+' conftest.er1
>conftest.err
13538 cat conftest.err
>&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); } &&
13541 { ac_try
='test -z "$ac_c_werror_flag"
13542 || test ! -s conftest.err'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; } &&
13548 { ac_try
='test -s conftest.$ac_objext'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; }; then
13554 ac_header_compiler
=yes
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.
$ac_ext >&5
13559 ac_header_compiler
=no
13561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13563 echo "${ECHO_T}$ac_header_compiler" >&6
13565 # Is the header present?
13566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13568 cat >conftest.
$ac_ext <<_ACEOF
13571 cat confdefs.h
>>conftest.
$ac_ext
13572 cat >>conftest.
$ac_ext <<_ACEOF
13573 /* end confdefs.h. */
13574 #include <$ac_header>
13576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13577 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13579 grep -v '^ *+' conftest.er1
>conftest.err
13581 cat conftest.err
>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } >/dev
/null
; then
13584 if test -s conftest.err
; then
13585 ac_cpp_err
=$ac_c_preproc_warn_flag
13586 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13593 if test -z "$ac_cpp_err"; then
13594 ac_header_preproc
=yes
13596 echo "$as_me: failed program was:" >&5
13597 sed 's/^/| /' conftest.
$ac_ext >&5
13599 ac_header_preproc
=no
13601 rm -f conftest.err conftest.
$ac_ext
13602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13603 echo "${ECHO_T}$ac_header_preproc" >&6
13605 # So? What about this header?
13606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13612 ac_header_preproc
=yes
13615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13629 ## ------------------------------------------ ##
13630 ## Report this to the AC_PACKAGE_NAME lists. ##
13631 ## ------------------------------------------ ##
13634 sed "s/^/$as_me: WARNING: /" >&2
13637 echo "$as_me:$LINENO: checking for $ac_header" >&5
13638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 eval "$as_ac_Header=\$ac_header_preproc"
13644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13649 cat >>confdefs.h
<<_ACEOF
13650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13658 for ac_header
in sys
/filio.h
13660 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13662 echo "$as_me:$LINENO: checking for $ac_header" >&5
13663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13670 # Is the header compilable?
13671 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13672 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13673 cat >conftest.
$ac_ext <<_ACEOF
13676 cat confdefs.h
>>conftest.
$ac_ext
13677 cat >>conftest.
$ac_ext <<_ACEOF
13678 /* end confdefs.h. */
13679 $ac_includes_default
13680 #include <$ac_header>
13682 rm -f conftest.
$ac_objext
13683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13684 (eval $ac_compile) 2>conftest.er1
13686 grep -v '^ *+' conftest.er1
>conftest.err
13688 cat conftest.err
>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); } &&
13691 { ac_try
='test -z "$ac_c_werror_flag"
13692 || test ! -s conftest.err'
13693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694 (eval $ac_try) 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; } &&
13698 { ac_try
='test -s conftest.$ac_objext'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; }; then
13704 ac_header_compiler
=yes
13706 echo "$as_me: failed program was:" >&5
13707 sed 's/^/| /' conftest.
$ac_ext >&5
13709 ac_header_compiler
=no
13711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13713 echo "${ECHO_T}$ac_header_compiler" >&6
13715 # Is the header present?
13716 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13717 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13718 cat >conftest.
$ac_ext <<_ACEOF
13721 cat confdefs.h
>>conftest.
$ac_ext
13722 cat >>conftest.
$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 #include <$ac_header>
13726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13727 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13729 grep -v '^ *+' conftest.er1
>conftest.err
13731 cat conftest.err
>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); } >/dev
/null
; then
13734 if test -s conftest.err
; then
13735 ac_cpp_err
=$ac_c_preproc_warn_flag
13736 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13743 if test -z "$ac_cpp_err"; then
13744 ac_header_preproc
=yes
13746 echo "$as_me: failed program was:" >&5
13747 sed 's/^/| /' conftest.
$ac_ext >&5
13749 ac_header_preproc
=no
13751 rm -f conftest.err conftest.
$ac_ext
13752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13753 echo "${ECHO_T}$ac_header_preproc" >&6
13755 # So? What about this header?
13756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13758 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13759 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13761 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13762 ac_header_preproc
=yes
13765 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13766 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13767 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13768 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13769 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13770 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13771 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13772 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13775 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13776 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13779 ## ------------------------------------------ ##
13780 ## Report this to the AC_PACKAGE_NAME lists. ##
13781 ## ------------------------------------------ ##
13784 sed "s/^/$as_me: WARNING: /" >&2
13787 echo "$as_me:$LINENO: checking for $ac_header" >&5
13788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13790 echo $ECHO_N "(cached) $ECHO_C" >&6
13792 eval "$as_ac_Header=\$ac_header_preproc"
13794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13799 cat >>confdefs.h
<<_ACEOF
13800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13808 for ac_header
in sys
/ioctl.h
13810 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13812 echo "$as_me:$LINENO: checking for $ac_header" >&5
13813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13815 echo $ECHO_N "(cached) $ECHO_C" >&6
13817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13820 # Is the header compilable?
13821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13823 cat >conftest.
$ac_ext <<_ACEOF
13826 cat confdefs.h
>>conftest.
$ac_ext
13827 cat >>conftest.
$ac_ext <<_ACEOF
13828 /* end confdefs.h. */
13829 $ac_includes_default
13830 #include <$ac_header>
13832 rm -f conftest.
$ac_objext
13833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13834 (eval $ac_compile) 2>conftest.er1
13836 grep -v '^ *+' conftest.er1
>conftest.err
13838 cat conftest.err
>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); } &&
13841 { ac_try
='test -z "$ac_c_werror_flag"
13842 || test ! -s conftest.err'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; } &&
13848 { ac_try
='test -s conftest.$ac_objext'
13849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13850 (eval $ac_try) 2>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; }; then
13854 ac_header_compiler
=yes
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.
$ac_ext >&5
13859 ac_header_compiler
=no
13861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13863 echo "${ECHO_T}$ac_header_compiler" >&6
13865 # Is the header present?
13866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13868 cat >conftest.
$ac_ext <<_ACEOF
13871 cat confdefs.h
>>conftest.
$ac_ext
13872 cat >>conftest.
$ac_ext <<_ACEOF
13873 /* end confdefs.h. */
13874 #include <$ac_header>
13876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13879 grep -v '^ *+' conftest.er1
>conftest.err
13881 cat conftest.err
>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } >/dev
/null
; then
13884 if test -s conftest.err
; then
13885 ac_cpp_err
=$ac_c_preproc_warn_flag
13886 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13893 if test -z "$ac_cpp_err"; then
13894 ac_header_preproc
=yes
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13899 ac_header_preproc
=no
13901 rm -f conftest.err conftest.
$ac_ext
13902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13903 echo "${ECHO_T}$ac_header_preproc" >&6
13905 # So? What about this header?
13906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13912 ac_header_preproc
=yes
13915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13929 ## ------------------------------------------ ##
13930 ## Report this to the AC_PACKAGE_NAME lists. ##
13931 ## ------------------------------------------ ##
13934 sed "s/^/$as_me: WARNING: /" >&2
13937 echo "$as_me:$LINENO: checking for $ac_header" >&5
13938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 eval "$as_ac_Header=\$ac_header_preproc"
13944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13949 cat >>confdefs.h
<<_ACEOF
13950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13958 for ac_header
in sys
/param.h
13960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13962 echo "$as_me:$LINENO: checking for $ac_header" >&5
13963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13970 # Is the header compilable?
13971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13973 cat >conftest.
$ac_ext <<_ACEOF
13976 cat confdefs.h
>>conftest.
$ac_ext
13977 cat >>conftest.
$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13979 $ac_includes_default
13980 #include <$ac_header>
13982 rm -f conftest.
$ac_objext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13984 (eval $ac_compile) 2>conftest.er1
13986 grep -v '^ *+' conftest.er1
>conftest.err
13988 cat conftest.err
>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try
='test -z "$ac_c_werror_flag"
13992 || test ! -s conftest.err'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; } &&
13998 { ac_try
='test -s conftest.$ac_objext'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; }; then
14004 ac_header_compiler
=yes
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.
$ac_ext >&5
14009 ac_header_compiler
=no
14011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14013 echo "${ECHO_T}$ac_header_compiler" >&6
14015 # Is the header present?
14016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14018 cat >conftest.
$ac_ext <<_ACEOF
14021 cat confdefs.h
>>conftest.
$ac_ext
14022 cat >>conftest.
$ac_ext <<_ACEOF
14023 /* end confdefs.h. */
14024 #include <$ac_header>
14026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14027 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14029 grep -v '^ *+' conftest.er1
>conftest.err
14031 cat conftest.err
>&5
14032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033 (exit $ac_status); } >/dev
/null
; then
14034 if test -s conftest.err
; then
14035 ac_cpp_err
=$ac_c_preproc_warn_flag
14036 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14043 if test -z "$ac_cpp_err"; then
14044 ac_header_preproc
=yes
14046 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.
$ac_ext >&5
14049 ac_header_preproc
=no
14051 rm -f conftest.err conftest.
$ac_ext
14052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14053 echo "${ECHO_T}$ac_header_preproc" >&6
14055 # So? What about this header?
14056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14061 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14062 ac_header_preproc
=yes
14065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14069 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14070 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14071 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14072 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14075 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14076 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14079 ## ------------------------------------------ ##
14080 ## Report this to the AC_PACKAGE_NAME lists. ##
14081 ## ------------------------------------------ ##
14084 sed "s/^/$as_me: WARNING: /" >&2
14087 echo "$as_me:$LINENO: checking for $ac_header" >&5
14088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 eval "$as_ac_Header=\$ac_header_preproc"
14094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14099 cat >>confdefs.h
<<_ACEOF
14100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14108 for ac_header
in sys
/resource.h
14110 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14112 echo "$as_me:$LINENO: checking for $ac_header" >&5
14113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14120 # Is the header compilable?
14121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14123 cat >conftest.
$ac_ext <<_ACEOF
14126 cat confdefs.h
>>conftest.
$ac_ext
14127 cat >>conftest.
$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14129 $ac_includes_default
14130 #include <$ac_header>
14132 rm -f conftest.
$ac_objext
14133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14134 (eval $ac_compile) 2>conftest.er1
14136 grep -v '^ *+' conftest.er1
>conftest.err
14138 cat conftest.err
>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try
='test -z "$ac_c_werror_flag"
14142 || test ! -s conftest.err'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; } &&
14148 { ac_try
='test -s conftest.$ac_objext'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; }; then
14154 ac_header_compiler
=yes
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.
$ac_ext >&5
14159 ac_header_compiler
=no
14161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14163 echo "${ECHO_T}$ac_header_compiler" >&6
14165 # Is the header present?
14166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14168 cat >conftest.
$ac_ext <<_ACEOF
14171 cat confdefs.h
>>conftest.
$ac_ext
14172 cat >>conftest.
$ac_ext <<_ACEOF
14173 /* end confdefs.h. */
14174 #include <$ac_header>
14176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14177 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14179 grep -v '^ *+' conftest.er1
>conftest.err
14181 cat conftest.err
>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } >/dev
/null
; then
14184 if test -s conftest.err
; then
14185 ac_cpp_err
=$ac_c_preproc_warn_flag
14186 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14193 if test -z "$ac_cpp_err"; then
14194 ac_header_preproc
=yes
14196 echo "$as_me: failed program was:" >&5
14197 sed 's/^/| /' conftest.
$ac_ext >&5
14199 ac_header_preproc
=no
14201 rm -f conftest.err conftest.
$ac_ext
14202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14203 echo "${ECHO_T}$ac_header_preproc" >&6
14205 # So? What about this header?
14206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14212 ac_header_preproc
=yes
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14219 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14221 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14222 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14229 ## ------------------------------------------ ##
14230 ## Report this to the AC_PACKAGE_NAME lists. ##
14231 ## ------------------------------------------ ##
14234 sed "s/^/$as_me: WARNING: /" >&2
14237 echo "$as_me:$LINENO: checking for $ac_header" >&5
14238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14240 echo $ECHO_N "(cached) $ECHO_C" >&6
14242 eval "$as_ac_Header=\$ac_header_preproc"
14244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14249 cat >>confdefs.h
<<_ACEOF
14250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14258 for ac_header
in sys
/proc.h
14260 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14261 echo "$as_me:$LINENO: checking for $ac_header" >&5
14262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 cat >conftest.
$ac_ext <<_ACEOF
14269 cat confdefs.h
>>conftest.
$ac_ext
14270 cat >>conftest.
$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14272 #if HAVE_SYS_PARAM_H
14273 # include <sys/param.h>
14277 #include <$ac_header>
14279 rm -f conftest.
$ac_objext
14280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14281 (eval $ac_compile) 2>conftest.er1
14283 grep -v '^ *+' conftest.er1
>conftest.err
14285 cat conftest.err
>&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } &&
14288 { ac_try
='test -z "$ac_c_werror_flag"
14289 || test ! -s conftest.err'
14290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14291 (eval $ac_try) 2>&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); }; } &&
14295 { ac_try
='test -s conftest.$ac_objext'
14296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14297 (eval $ac_try) 2>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); }; }; then
14301 eval "$as_ac_Header=yes"
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.
$ac_ext >&5
14306 eval "$as_ac_Header=no"
14308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14313 cat >>confdefs.h
<<_ACEOF
14314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14322 for ac_header
in sys
/procfs.h
14324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14326 echo "$as_me:$LINENO: checking for $ac_header" >&5
14327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14329 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14334 # Is the header compilable?
14335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14337 cat >conftest.
$ac_ext <<_ACEOF
14340 cat confdefs.h
>>conftest.
$ac_ext
14341 cat >>conftest.
$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 $ac_includes_default
14344 #include <$ac_header>
14346 rm -f conftest.
$ac_objext
14347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14348 (eval $ac_compile) 2>conftest.er1
14350 grep -v '^ *+' conftest.er1
>conftest.err
14352 cat conftest.err
>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); } &&
14355 { ac_try
='test -z "$ac_c_werror_flag"
14356 || test ! -s conftest.err'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; } &&
14362 { ac_try
='test -s conftest.$ac_objext'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; }; then
14368 ac_header_compiler
=yes
14370 echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.
$ac_ext >&5
14373 ac_header_compiler
=no
14375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14376 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14377 echo "${ECHO_T}$ac_header_compiler" >&6
14379 # Is the header present?
14380 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14382 cat >conftest.
$ac_ext <<_ACEOF
14385 cat confdefs.h
>>conftest.
$ac_ext
14386 cat >>conftest.
$ac_ext <<_ACEOF
14387 /* end confdefs.h. */
14388 #include <$ac_header>
14390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14391 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14393 grep -v '^ *+' conftest.er1
>conftest.err
14395 cat conftest.err
>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } >/dev
/null
; then
14398 if test -s conftest.err
; then
14399 ac_cpp_err
=$ac_c_preproc_warn_flag
14400 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14407 if test -z "$ac_cpp_err"; then
14408 ac_header_preproc
=yes
14410 echo "$as_me: failed program was:" >&5
14411 sed 's/^/| /' conftest.
$ac_ext >&5
14413 ac_header_preproc
=no
14415 rm -f conftest.err conftest.
$ac_ext
14416 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14417 echo "${ECHO_T}$ac_header_preproc" >&6
14419 # So? What about this header?
14420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14426 ac_header_preproc
=yes
14429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14443 ## ------------------------------------------ ##
14444 ## Report this to the AC_PACKAGE_NAME lists. ##
14445 ## ------------------------------------------ ##
14448 sed "s/^/$as_me: WARNING: /" >&2
14451 echo "$as_me:$LINENO: checking for $ac_header" >&5
14452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14456 eval "$as_ac_Header=\$ac_header_preproc"
14458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14463 cat >>confdefs.h
<<_ACEOF
14464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14473 for ac_header
in sys
/ptrace.h ptrace.h
14475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14477 echo "$as_me:$LINENO: checking for $ac_header" >&5
14478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14485 # Is the header compilable?
14486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14488 cat >conftest.
$ac_ext <<_ACEOF
14491 cat confdefs.h
>>conftest.
$ac_ext
14492 cat >>conftest.
$ac_ext <<_ACEOF
14493 /* end confdefs.h. */
14494 $ac_includes_default
14495 #include <$ac_header>
14497 rm -f conftest.
$ac_objext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14499 (eval $ac_compile) 2>conftest.er1
14501 grep -v '^ *+' conftest.er1
>conftest.err
14503 cat conftest.err
>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } &&
14506 { ac_try
='test -z "$ac_c_werror_flag"
14507 || test ! -s conftest.err'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; } &&
14513 { ac_try
='test -s conftest.$ac_objext'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; }; then
14519 ac_header_compiler
=yes
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.
$ac_ext >&5
14524 ac_header_compiler
=no
14526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14528 echo "${ECHO_T}$ac_header_compiler" >&6
14530 # Is the header present?
14531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14533 cat >conftest.
$ac_ext <<_ACEOF
14536 cat confdefs.h
>>conftest.
$ac_ext
14537 cat >>conftest.
$ac_ext <<_ACEOF
14538 /* end confdefs.h. */
14539 #include <$ac_header>
14541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14544 grep -v '^ *+' conftest.er1
>conftest.err
14546 cat conftest.err
>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); } >/dev
/null
; then
14549 if test -s conftest.err
; then
14550 ac_cpp_err
=$ac_c_preproc_warn_flag
14551 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14558 if test -z "$ac_cpp_err"; then
14559 ac_header_preproc
=yes
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.
$ac_ext >&5
14564 ac_header_preproc
=no
14566 rm -f conftest.err conftest.
$ac_ext
14567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14568 echo "${ECHO_T}$ac_header_preproc" >&6
14570 # So? What about this header?
14571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14577 ac_header_preproc
=yes
14580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14594 ## ------------------------------------------ ##
14595 ## Report this to the AC_PACKAGE_NAME lists. ##
14596 ## ------------------------------------------ ##
14599 sed "s/^/$as_me: WARNING: /" >&2
14602 echo "$as_me:$LINENO: checking for $ac_header" >&5
14603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14605 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 eval "$as_ac_Header=\$ac_header_preproc"
14609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14614 cat >>confdefs.h
<<_ACEOF
14615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14624 for ac_header
in sys
/reg.h sys
/debugreg.h
14626 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14628 echo "$as_me:$LINENO: checking for $ac_header" >&5
14629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14636 # Is the header compilable?
14637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14639 cat >conftest.
$ac_ext <<_ACEOF
14642 cat confdefs.h
>>conftest.
$ac_ext
14643 cat >>conftest.
$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14645 $ac_includes_default
14646 #include <$ac_header>
14648 rm -f conftest.
$ac_objext
14649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14650 (eval $ac_compile) 2>conftest.er1
14652 grep -v '^ *+' conftest.er1
>conftest.err
14654 cat conftest.err
>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } &&
14657 { ac_try
='test -z "$ac_c_werror_flag"
14658 || test ! -s conftest.err'
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); }; } &&
14664 { ac_try
='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 ac_header_compiler
=yes
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.
$ac_ext >&5
14675 ac_header_compiler
=no
14677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14679 echo "${ECHO_T}$ac_header_compiler" >&6
14681 # Is the header present?
14682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14684 cat >conftest.
$ac_ext <<_ACEOF
14687 cat confdefs.h
>>conftest.
$ac_ext
14688 cat >>conftest.
$ac_ext <<_ACEOF
14689 /* end confdefs.h. */
14690 #include <$ac_header>
14692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14693 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14695 grep -v '^ *+' conftest.er1
>conftest.err
14697 cat conftest.err
>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } >/dev
/null
; then
14700 if test -s conftest.err
; then
14701 ac_cpp_err
=$ac_c_preproc_warn_flag
14702 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14709 if test -z "$ac_cpp_err"; then
14710 ac_header_preproc
=yes
14712 echo "$as_me: failed program was:" >&5
14713 sed 's/^/| /' conftest.
$ac_ext >&5
14715 ac_header_preproc
=no
14717 rm -f conftest.err conftest.
$ac_ext
14718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14719 echo "${ECHO_T}$ac_header_preproc" >&6
14721 # So? What about this header?
14722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14728 ac_header_preproc
=yes
14731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14745 ## ------------------------------------------ ##
14746 ## Report this to the AC_PACKAGE_NAME lists. ##
14747 ## ------------------------------------------ ##
14750 sed "s/^/$as_me: WARNING: /" >&2
14753 echo "$as_me:$LINENO: checking for $ac_header" >&5
14754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14756 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 eval "$as_ac_Header=\$ac_header_preproc"
14760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14765 cat >>confdefs.h
<<_ACEOF
14766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14774 for ac_header
in sys
/select.h
14776 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14778 echo "$as_me:$LINENO: checking for $ac_header" >&5
14779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14781 echo $ECHO_N "(cached) $ECHO_C" >&6
14783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14786 # Is the header compilable?
14787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14789 cat >conftest.
$ac_ext <<_ACEOF
14792 cat confdefs.h
>>conftest.
$ac_ext
14793 cat >>conftest.
$ac_ext <<_ACEOF
14794 /* end confdefs.h. */
14795 $ac_includes_default
14796 #include <$ac_header>
14798 rm -f conftest.
$ac_objext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try
='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 ac_header_compiler
=yes
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14825 ac_header_compiler
=no
14827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14829 echo "${ECHO_T}$ac_header_compiler" >&6
14831 # Is the header present?
14832 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14834 cat >conftest.
$ac_ext <<_ACEOF
14837 cat confdefs.h
>>conftest.
$ac_ext
14838 cat >>conftest.
$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14840 #include <$ac_header>
14842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14845 grep -v '^ *+' conftest.er1
>conftest.err
14847 cat conftest.err
>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } >/dev
/null
; then
14850 if test -s conftest.err
; then
14851 ac_cpp_err
=$ac_c_preproc_warn_flag
14852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14859 if test -z "$ac_cpp_err"; then
14860 ac_header_preproc
=yes
14862 echo "$as_me: failed program was:" >&5
14863 sed 's/^/| /' conftest.
$ac_ext >&5
14865 ac_header_preproc
=no
14867 rm -f conftest.err conftest.
$ac_ext
14868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14869 echo "${ECHO_T}$ac_header_preproc" >&6
14871 # So? What about this header?
14872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14878 ac_header_preproc
=yes
14881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14895 ## ------------------------------------------ ##
14896 ## Report this to the AC_PACKAGE_NAME lists. ##
14897 ## ------------------------------------------ ##
14900 sed "s/^/$as_me: WARNING: /" >&2
14903 echo "$as_me:$LINENO: checking for $ac_header" >&5
14904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 eval "$as_ac_Header=\$ac_header_preproc"
14910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14915 cat >>confdefs.h
<<_ACEOF
14916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14924 for ac_header
in sys
/syscall.h
14926 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14928 echo "$as_me:$LINENO: checking for $ac_header" >&5
14929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14931 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14936 # Is the header compilable?
14937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14939 cat >conftest.
$ac_ext <<_ACEOF
14942 cat confdefs.h
>>conftest.
$ac_ext
14943 cat >>conftest.
$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945 $ac_includes_default
14946 #include <$ac_header>
14948 rm -f conftest.
$ac_objext
14949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14950 (eval $ac_compile) 2>conftest.er1
14952 grep -v '^ *+' conftest.er1
>conftest.err
14954 cat conftest.err
>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } &&
14957 { ac_try
='test -z "$ac_c_werror_flag"
14958 || test ! -s conftest.err'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; } &&
14964 { ac_try
='test -s conftest.$ac_objext'
14965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14966 (eval $ac_try) 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; }; then
14970 ac_header_compiler
=yes
14972 echo "$as_me: failed program was:" >&5
14973 sed 's/^/| /' conftest.
$ac_ext >&5
14975 ac_header_compiler
=no
14977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14979 echo "${ECHO_T}$ac_header_compiler" >&6
14981 # Is the header present?
14982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14984 cat >conftest.
$ac_ext <<_ACEOF
14987 cat confdefs.h
>>conftest.
$ac_ext
14988 cat >>conftest.
$ac_ext <<_ACEOF
14989 /* end confdefs.h. */
14990 #include <$ac_header>
14992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14993 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14995 grep -v '^ *+' conftest.er1
>conftest.err
14997 cat conftest.err
>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } >/dev
/null
; then
15000 if test -s conftest.err
; then
15001 ac_cpp_err
=$ac_c_preproc_warn_flag
15002 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15009 if test -z "$ac_cpp_err"; then
15010 ac_header_preproc
=yes
15012 echo "$as_me: failed program was:" >&5
15013 sed 's/^/| /' conftest.
$ac_ext >&5
15015 ac_header_preproc
=no
15017 rm -f conftest.err conftest.
$ac_ext
15018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15019 echo "${ECHO_T}$ac_header_preproc" >&6
15021 # So? What about this header?
15022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15027 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15028 ac_header_preproc
=yes
15031 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15033 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15034 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15035 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15036 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15037 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15038 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15041 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15042 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15045 ## ------------------------------------------ ##
15046 ## Report this to the AC_PACKAGE_NAME lists. ##
15047 ## ------------------------------------------ ##
15050 sed "s/^/$as_me: WARNING: /" >&2
15053 echo "$as_me:$LINENO: checking for $ac_header" >&5
15054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15058 eval "$as_ac_Header=\$ac_header_preproc"
15060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15065 cat >>confdefs.h
<<_ACEOF
15066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15074 for ac_header
in sys
/types.h
15076 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15078 echo "$as_me:$LINENO: checking for $ac_header" >&5
15079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15086 # Is the header compilable?
15087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15089 cat >conftest.
$ac_ext <<_ACEOF
15092 cat confdefs.h
>>conftest.
$ac_ext
15093 cat >>conftest.
$ac_ext <<_ACEOF
15094 /* end confdefs.h. */
15095 $ac_includes_default
15096 #include <$ac_header>
15098 rm -f conftest.
$ac_objext
15099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15100 (eval $ac_compile) 2>conftest.er1
15102 grep -v '^ *+' conftest.er1
>conftest.err
15104 cat conftest.err
>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } &&
15107 { ac_try
='test -z "$ac_c_werror_flag"
15108 || test ! -s conftest.err'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; } &&
15114 { ac_try
='test -s conftest.$ac_objext'
15115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15116 (eval $ac_try) 2>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }; }; then
15120 ac_header_compiler
=yes
15122 echo "$as_me: failed program was:" >&5
15123 sed 's/^/| /' conftest.
$ac_ext >&5
15125 ac_header_compiler
=no
15127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15129 echo "${ECHO_T}$ac_header_compiler" >&6
15131 # Is the header present?
15132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15134 cat >conftest.
$ac_ext <<_ACEOF
15137 cat confdefs.h
>>conftest.
$ac_ext
15138 cat >>conftest.
$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 #include <$ac_header>
15142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15143 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15145 grep -v '^ *+' conftest.er1
>conftest.err
15147 cat conftest.err
>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } >/dev
/null
; then
15150 if test -s conftest.err
; then
15151 ac_cpp_err
=$ac_c_preproc_warn_flag
15152 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15159 if test -z "$ac_cpp_err"; then
15160 ac_header_preproc
=yes
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.
$ac_ext >&5
15165 ac_header_preproc
=no
15167 rm -f conftest.err conftest.
$ac_ext
15168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15169 echo "${ECHO_T}$ac_header_preproc" >&6
15171 # So? What about this header?
15172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15178 ac_header_preproc
=yes
15181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15195 ## ------------------------------------------ ##
15196 ## Report this to the AC_PACKAGE_NAME lists. ##
15197 ## ------------------------------------------ ##
15200 sed "s/^/$as_me: WARNING: /" >&2
15203 echo "$as_me:$LINENO: checking for $ac_header" >&5
15204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 eval "$as_ac_Header=\$ac_header_preproc"
15210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15215 cat >>confdefs.h
<<_ACEOF
15216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15224 for ac_header
in sys
/user.h
15226 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15227 echo "$as_me:$LINENO: checking for $ac_header" >&5
15228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 cat >conftest.
$ac_ext <<_ACEOF
15235 cat confdefs.h
>>conftest.
$ac_ext
15236 cat >>conftest.
$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15238 #if HAVE_SYS_PARAM_H
15239 # include <sys/param.h>
15243 #include <$ac_header>
15245 rm -f conftest.
$ac_objext
15246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15247 (eval $ac_compile) 2>conftest.er1
15249 grep -v '^ *+' conftest.er1
>conftest.err
15251 cat conftest.err
>&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); } &&
15254 { ac_try
='test -z "$ac_c_werror_flag"
15255 || test ! -s conftest.err'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; } &&
15261 { ac_try
='test -s conftest.$ac_objext'
15262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15263 (eval $ac_try) 2>&5
15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); }; }; then
15267 eval "$as_ac_Header=yes"
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.
$ac_ext >&5
15272 eval "$as_ac_Header=no"
15274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15279 cat >>confdefs.h
<<_ACEOF
15280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15289 for ac_header
in sys
/wait.h
wait.h
15291 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15293 echo "$as_me:$LINENO: checking for $ac_header" >&5
15294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15301 # Is the header compilable?
15302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15304 cat >conftest.
$ac_ext <<_ACEOF
15307 cat confdefs.h
>>conftest.
$ac_ext
15308 cat >>conftest.
$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310 $ac_includes_default
15311 #include <$ac_header>
15313 rm -f conftest.
$ac_objext
15314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15315 (eval $ac_compile) 2>conftest.er1
15317 grep -v '^ *+' conftest.er1
>conftest.err
15319 cat conftest.err
>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try
='test -z "$ac_c_werror_flag"
15323 || test ! -s conftest.err'
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; } &&
15329 { ac_try
='test -s conftest.$ac_objext'
15330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15331 (eval $ac_try) 2>&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); }; }; then
15335 ac_header_compiler
=yes
15337 echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.
$ac_ext >&5
15340 ac_header_compiler
=no
15342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15344 echo "${ECHO_T}$ac_header_compiler" >&6
15346 # Is the header present?
15347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15349 cat >conftest.
$ac_ext <<_ACEOF
15352 cat confdefs.h
>>conftest.
$ac_ext
15353 cat >>conftest.
$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15355 #include <$ac_header>
15357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15360 grep -v '^ *+' conftest.er1
>conftest.err
15362 cat conftest.err
>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } >/dev
/null
; then
15365 if test -s conftest.err
; then
15366 ac_cpp_err
=$ac_c_preproc_warn_flag
15367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15374 if test -z "$ac_cpp_err"; then
15375 ac_header_preproc
=yes
15377 echo "$as_me: failed program was:" >&5
15378 sed 's/^/| /' conftest.
$ac_ext >&5
15380 ac_header_preproc
=no
15382 rm -f conftest.err conftest.
$ac_ext
15383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15384 echo "${ECHO_T}$ac_header_preproc" >&6
15386 # So? What about this header?
15387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15393 ac_header_preproc
=yes
15396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15410 ## ------------------------------------------ ##
15411 ## Report this to the AC_PACKAGE_NAME lists. ##
15412 ## ------------------------------------------ ##
15415 sed "s/^/$as_me: WARNING: /" >&2
15418 echo "$as_me:$LINENO: checking for $ac_header" >&5
15419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15421 echo $ECHO_N "(cached) $ECHO_C" >&6
15423 eval "$as_ac_Header=\$ac_header_preproc"
15425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15430 cat >>confdefs.h
<<_ACEOF
15431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15441 for ac_header
in termios.h termio.h sgtty.h
15443 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15445 echo "$as_me:$LINENO: checking for $ac_header" >&5
15446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15448 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15453 # Is the header compilable?
15454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15456 cat >conftest.
$ac_ext <<_ACEOF
15459 cat confdefs.h
>>conftest.
$ac_ext
15460 cat >>conftest.
$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 $ac_includes_default
15463 #include <$ac_header>
15465 rm -f conftest.
$ac_objext
15466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15467 (eval $ac_compile) 2>conftest.er1
15469 grep -v '^ *+' conftest.er1
>conftest.err
15471 cat conftest.err
>&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); } &&
15474 { ac_try
='test -z "$ac_c_werror_flag"
15475 || test ! -s conftest.err'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; } &&
15481 { ac_try
='test -s conftest.$ac_objext'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; }; then
15487 ac_header_compiler
=yes
15489 echo "$as_me: failed program was:" >&5
15490 sed 's/^/| /' conftest.
$ac_ext >&5
15492 ac_header_compiler
=no
15494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15496 echo "${ECHO_T}$ac_header_compiler" >&6
15498 # Is the header present?
15499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15501 cat >conftest.
$ac_ext <<_ACEOF
15504 cat confdefs.h
>>conftest.
$ac_ext
15505 cat >>conftest.
$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15507 #include <$ac_header>
15509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15512 grep -v '^ *+' conftest.er1
>conftest.err
15514 cat conftest.err
>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } >/dev
/null
; then
15517 if test -s conftest.err
; then
15518 ac_cpp_err
=$ac_c_preproc_warn_flag
15519 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15526 if test -z "$ac_cpp_err"; then
15527 ac_header_preproc
=yes
15529 echo "$as_me: failed program was:" >&5
15530 sed 's/^/| /' conftest.
$ac_ext >&5
15532 ac_header_preproc
=no
15534 rm -f conftest.err conftest.
$ac_ext
15535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15536 echo "${ECHO_T}$ac_header_preproc" >&6
15538 # So? What about this header?
15539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15545 ac_header_preproc
=yes
15548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15562 ## ------------------------------------------ ##
15563 ## Report this to the AC_PACKAGE_NAME lists. ##
15564 ## ------------------------------------------ ##
15567 sed "s/^/$as_me: WARNING: /" >&2
15570 echo "$as_me:$LINENO: checking for $ac_header" >&5
15571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 eval "$as_ac_Header=\$ac_header_preproc"
15577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15582 cat >>confdefs.h
<<_ACEOF
15583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15591 for ac_header
in unistd.h
15593 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15595 echo "$as_me:$LINENO: checking for $ac_header" >&5
15596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15603 # Is the header compilable?
15604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15606 cat >conftest.
$ac_ext <<_ACEOF
15609 cat confdefs.h
>>conftest.
$ac_ext
15610 cat >>conftest.
$ac_ext <<_ACEOF
15611 /* end confdefs.h. */
15612 $ac_includes_default
15613 #include <$ac_header>
15615 rm -f conftest.
$ac_objext
15616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15617 (eval $ac_compile) 2>conftest.er1
15619 grep -v '^ *+' conftest.er1
>conftest.err
15621 cat conftest.err
>&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } &&
15624 { ac_try
='test -z "$ac_c_werror_flag"
15625 || test ! -s conftest.err'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; } &&
15631 { ac_try
='test -s conftest.$ac_objext'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); }; }; then
15637 ac_header_compiler
=yes
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.
$ac_ext >&5
15642 ac_header_compiler
=no
15644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15646 echo "${ECHO_T}$ac_header_compiler" >&6
15648 # Is the header present?
15649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15651 cat >conftest.
$ac_ext <<_ACEOF
15654 cat confdefs.h
>>conftest.
$ac_ext
15655 cat >>conftest.
$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657 #include <$ac_header>
15659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15660 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15662 grep -v '^ *+' conftest.er1
>conftest.err
15664 cat conftest.err
>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); } >/dev
/null
; then
15667 if test -s conftest.err
; then
15668 ac_cpp_err
=$ac_c_preproc_warn_flag
15669 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15676 if test -z "$ac_cpp_err"; then
15677 ac_header_preproc
=yes
15679 echo "$as_me: failed program was:" >&5
15680 sed 's/^/| /' conftest.
$ac_ext >&5
15682 ac_header_preproc
=no
15684 rm -f conftest.err conftest.
$ac_ext
15685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15686 echo "${ECHO_T}$ac_header_preproc" >&6
15688 # So? What about this header?
15689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15695 ac_header_preproc
=yes
15698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15712 ## ------------------------------------------ ##
15713 ## Report this to the AC_PACKAGE_NAME lists. ##
15714 ## ------------------------------------------ ##
15717 sed "s/^/$as_me: WARNING: /" >&2
15720 echo "$as_me:$LINENO: checking for $ac_header" >&5
15721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 eval "$as_ac_Header=\$ac_header_preproc"
15727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15732 cat >>confdefs.h
<<_ACEOF
15733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15741 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
15742 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
15743 # think that we don't have <curses.h> if we're using GCC.
15746 if test "$GCC" = yes; then
15748 cat >>confdefs.h
<<\_ACEOF
15749 #define _MSE_INT_H 1
15758 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
15760 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15762 echo "$as_me:$LINENO: checking for $ac_header" >&5
15763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15765 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15770 # Is the header compilable?
15771 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15773 cat >conftest.
$ac_ext <<_ACEOF
15776 cat confdefs.h
>>conftest.
$ac_ext
15777 cat >>conftest.
$ac_ext <<_ACEOF
15778 /* end confdefs.h. */
15779 $ac_includes_default
15780 #include <$ac_header>
15782 rm -f conftest.
$ac_objext
15783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15784 (eval $ac_compile) 2>conftest.er1
15786 grep -v '^ *+' conftest.er1
>conftest.err
15788 cat conftest.err
>&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); } &&
15791 { ac_try
='test -z "$ac_c_werror_flag"
15792 || test ! -s conftest.err'
15793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15794 (eval $ac_try) 2>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); }; } &&
15798 { ac_try
='test -s conftest.$ac_objext'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 ac_header_compiler
=yes
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.
$ac_ext >&5
15809 ac_header_compiler
=no
15811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15813 echo "${ECHO_T}$ac_header_compiler" >&6
15815 # Is the header present?
15816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15818 cat >conftest.
$ac_ext <<_ACEOF
15821 cat confdefs.h
>>conftest.
$ac_ext
15822 cat >>conftest.
$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15824 #include <$ac_header>
15826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15827 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15829 grep -v '^ *+' conftest.er1
>conftest.err
15831 cat conftest.err
>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } >/dev
/null
; then
15834 if test -s conftest.err
; then
15835 ac_cpp_err
=$ac_c_preproc_warn_flag
15836 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15843 if test -z "$ac_cpp_err"; then
15844 ac_header_preproc
=yes
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.
$ac_ext >&5
15849 ac_header_preproc
=no
15851 rm -f conftest.err conftest.
$ac_ext
15852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15853 echo "${ECHO_T}$ac_header_preproc" >&6
15855 # So? What about this header?
15856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15862 ac_header_preproc
=yes
15865 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15866 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15867 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15868 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15869 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15870 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15871 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15872 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15875 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15876 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15879 ## ------------------------------------------ ##
15880 ## Report this to the AC_PACKAGE_NAME lists. ##
15881 ## ------------------------------------------ ##
15884 sed "s/^/$as_me: WARNING: /" >&2
15887 echo "$as_me:$LINENO: checking for $ac_header" >&5
15888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 eval "$as_ac_Header=\$ac_header_preproc"
15894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15899 cat >>confdefs.h
<<_ACEOF
15900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15908 for ac_header
in ncurses
/term.h
15910 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15912 echo "$as_me:$LINENO: checking for $ac_header" >&5
15913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15915 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15920 # Is the header compilable?
15921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15923 cat >conftest.
$ac_ext <<_ACEOF
15926 cat confdefs.h
>>conftest.
$ac_ext
15927 cat >>conftest.
$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 $ac_includes_default
15930 #include <$ac_header>
15932 rm -f conftest.
$ac_objext
15933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15934 (eval $ac_compile) 2>conftest.er1
15936 grep -v '^ *+' conftest.er1
>conftest.err
15938 cat conftest.err
>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); } &&
15941 { ac_try
='test -z "$ac_c_werror_flag"
15942 || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try
='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_header_compiler
=yes
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.
$ac_ext >&5
15959 ac_header_compiler
=no
15961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15963 echo "${ECHO_T}$ac_header_compiler" >&6
15965 # Is the header present?
15966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15968 cat >conftest.
$ac_ext <<_ACEOF
15971 cat confdefs.h
>>conftest.
$ac_ext
15972 cat >>conftest.
$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 #include <$ac_header>
15976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1
>conftest.err
15981 cat conftest.err
>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } >/dev
/null
; then
15984 if test -s conftest.err
; then
15985 ac_cpp_err
=$ac_c_preproc_warn_flag
15986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15993 if test -z "$ac_cpp_err"; then
15994 ac_header_preproc
=yes
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.
$ac_ext >&5
15999 ac_header_preproc
=no
16001 rm -f conftest.err conftest.
$ac_ext
16002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16003 echo "${ECHO_T}$ac_header_preproc" >&6
16005 # So? What about this header?
16006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16012 ac_header_preproc
=yes
16015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16029 ## ------------------------------------------ ##
16030 ## Report this to the AC_PACKAGE_NAME lists. ##
16031 ## ------------------------------------------ ##
16034 sed "s/^/$as_me: WARNING: /" >&2
16037 echo "$as_me:$LINENO: checking for $ac_header" >&5
16038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 eval "$as_ac_Header=\$ac_header_preproc"
16044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16049 cat >>confdefs.h
<<_ACEOF
16050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16058 for ac_header
in term.h
16060 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16061 echo "$as_me:$LINENO: checking for $ac_header" >&5
16062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 cat >conftest.
$ac_ext <<_ACEOF
16069 cat confdefs.h
>>conftest.
$ac_ext
16070 cat >>conftest.
$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16073 # include <curses.h>
16077 #include <$ac_header>
16079 rm -f conftest.
$ac_objext
16080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16081 (eval $ac_compile) 2>conftest.er1
16083 grep -v '^ *+' conftest.er1
>conftest.err
16085 cat conftest.err
>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } &&
16088 { ac_try
='test -z "$ac_c_werror_flag"
16089 || test ! -s conftest.err'
16090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16091 (eval $ac_try) 2>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); }; } &&
16095 { ac_try
='test -s conftest.$ac_objext'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; }; then
16101 eval "$as_ac_Header=yes"
16103 echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.
$ac_ext >&5
16106 eval "$as_ac_Header=no"
16108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16113 cat >>confdefs.h
<<_ACEOF
16114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16122 # Check for HP/UX 64-bit shared library support
16124 for ac_header
in elf_hp.h
16126 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16128 echo "$as_me:$LINENO: checking for $ac_header" >&5
16129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16136 # Is the header compilable?
16137 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16139 cat >conftest.
$ac_ext <<_ACEOF
16142 cat confdefs.h
>>conftest.
$ac_ext
16143 cat >>conftest.
$ac_ext <<_ACEOF
16144 /* end confdefs.h. */
16145 $ac_includes_default
16146 #include <$ac_header>
16148 rm -f conftest.
$ac_objext
16149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16150 (eval $ac_compile) 2>conftest.er1
16152 grep -v '^ *+' conftest.er1
>conftest.err
16154 cat conftest.err
>&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } &&
16157 { ac_try
='test -z "$ac_c_werror_flag"
16158 || test ! -s conftest.err'
16159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16160 (eval $ac_try) 2>&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); }; } &&
16164 { ac_try
='test -s conftest.$ac_objext'
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16166 (eval $ac_try) 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; }; then
16170 ac_header_compiler
=yes
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.
$ac_ext >&5
16175 ac_header_compiler
=no
16177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16179 echo "${ECHO_T}$ac_header_compiler" >&6
16181 # Is the header present?
16182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16184 cat >conftest.
$ac_ext <<_ACEOF
16187 cat confdefs.h
>>conftest.
$ac_ext
16188 cat >>conftest.
$ac_ext <<_ACEOF
16189 /* end confdefs.h. */
16190 #include <$ac_header>
16192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1
>conftest.err
16197 cat conftest.err
>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } >/dev
/null
; then
16200 if test -s conftest.err
; then
16201 ac_cpp_err
=$ac_c_preproc_warn_flag
16202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16209 if test -z "$ac_cpp_err"; then
16210 ac_header_preproc
=yes
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.
$ac_ext >&5
16215 ac_header_preproc
=no
16217 rm -f conftest.err conftest.
$ac_ext
16218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16219 echo "${ECHO_T}$ac_header_preproc" >&6
16221 # So? What about this header?
16222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16228 ac_header_preproc
=yes
16231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16245 ## ------------------------------------------ ##
16246 ## Report this to the AC_PACKAGE_NAME lists. ##
16247 ## ------------------------------------------ ##
16250 sed "s/^/$as_me: WARNING: /" >&2
16253 echo "$as_me:$LINENO: checking for $ac_header" >&5
16254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16256 echo $ECHO_N "(cached) $ECHO_C" >&6
16258 eval "$as_ac_Header=\$ac_header_preproc"
16260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16265 cat >>confdefs.h
<<_ACEOF
16266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16274 # FIXME: kettenis/20030102: In most cases we include these
16275 # unconditionally, so what's the point in checking these?
16278 for ac_header
in ctype.h
time.h
16280 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16282 echo "$as_me:$LINENO: checking for $ac_header" >&5
16283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16290 # Is the header compilable?
16291 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16292 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16293 cat >conftest.
$ac_ext <<_ACEOF
16296 cat confdefs.h
>>conftest.
$ac_ext
16297 cat >>conftest.
$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299 $ac_includes_default
16300 #include <$ac_header>
16302 rm -f conftest.
$ac_objext
16303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16304 (eval $ac_compile) 2>conftest.er1
16306 grep -v '^ *+' conftest.er1
>conftest.err
16308 cat conftest.err
>&5
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); } &&
16311 { ac_try
='test -z "$ac_c_werror_flag"
16312 || test ! -s conftest.err'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; } &&
16318 { ac_try
='test -s conftest.$ac_objext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_header_compiler
=yes
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.
$ac_ext >&5
16329 ac_header_compiler
=no
16331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16333 echo "${ECHO_T}$ac_header_compiler" >&6
16335 # Is the header present?
16336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 #include <$ac_header>
16346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16349 grep -v '^ *+' conftest.er1
>conftest.err
16351 cat conftest.err
>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } >/dev
/null
; then
16354 if test -s conftest.err
; then
16355 ac_cpp_err
=$ac_c_preproc_warn_flag
16356 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16363 if test -z "$ac_cpp_err"; then
16364 ac_header_preproc
=yes
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.
$ac_ext >&5
16369 ac_header_preproc
=no
16371 rm -f conftest.err conftest.
$ac_ext
16372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16373 echo "${ECHO_T}$ac_header_preproc" >&6
16375 # So? What about this header?
16376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16382 ac_header_preproc
=yes
16385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16399 ## ------------------------------------------ ##
16400 ## Report this to the AC_PACKAGE_NAME lists. ##
16401 ## ------------------------------------------ ##
16404 sed "s/^/$as_me: WARNING: /" >&2
16407 echo "$as_me:$LINENO: checking for $ac_header" >&5
16408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16410 echo $ECHO_N "(cached) $ECHO_C" >&6
16412 eval "$as_ac_Header=\$ac_header_preproc"
16414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16419 cat >>confdefs.h
<<_ACEOF
16420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16428 # Create a header we can use portably to get the standard integer types.
16431 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16433 acx_cv_header_stdint
=stddef.h
16434 acx_cv_header_stdint_kind
="(already complete)"
16435 for i
in stdint.h
$inttype_headers; do
16436 unset ac_cv_type_uintptr_t
16437 unset ac_cv_type_uintmax_t
16438 unset ac_cv_type_int_least32_t
16439 unset ac_cv_type_int_fast32_t
16440 unset ac_cv_type_uint64_t
16441 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
16442 echo "$as_me:$LINENO: checking for uintmax_t" >&5
16443 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
16444 if test "${ac_cv_type_uintmax_t+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 cat >conftest.
$ac_ext <<_ACEOF
16450 cat confdefs.h
>>conftest.
$ac_ext
16451 cat >>conftest.
$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 #include <sys/types.h>
16459 if ((uintmax_t *) 0)
16461 if (sizeof (uintmax_t))
16467 rm -f conftest.
$ac_objext
16468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16469 (eval $ac_compile) 2>conftest.er1
16471 grep -v '^ *+' conftest.er1
>conftest.err
16473 cat conftest.err
>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } &&
16476 { ac_try
='test -z "$ac_c_werror_flag"
16477 || test ! -s conftest.err'
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; } &&
16483 { ac_try
='test -s conftest.$ac_objext'
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; }; then
16489 ac_cv_type_uintmax_t
=yes
16491 echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.
$ac_ext >&5
16494 ac_cv_type_uintmax_t
=no
16496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16498 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
16499 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
16500 if test $ac_cv_type_uintmax_t = yes; then
16501 acx_cv_header_stdint
=$i
16506 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16507 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16508 if test "${ac_cv_type_uintptr_t+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 cat >conftest.
$ac_ext <<_ACEOF
16514 cat confdefs.h
>>conftest.
$ac_ext
16515 cat >>conftest.
$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16517 #include <sys/types.h>
16523 if ((uintptr_t *) 0)
16525 if (sizeof (uintptr_t))
16531 rm -f conftest.
$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>conftest.er1
16535 grep -v '^ *+' conftest.er1
>conftest.err
16537 cat conftest.err
>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } &&
16540 { ac_try
='test -z "$ac_c_werror_flag"
16541 || test ! -s conftest.err'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; } &&
16547 { ac_try
='test -s conftest.$ac_objext'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16553 ac_cv_type_uintptr_t
=yes
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.
$ac_ext >&5
16558 ac_cv_type_uintptr_t
=no
16560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16562 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16563 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16564 if test $ac_cv_type_uintptr_t = yes; then
16567 acx_cv_header_stdint_kind
="(mostly complete)"
16570 echo "$as_me:$LINENO: checking for int_least32_t" >&5
16571 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
16572 if test "${ac_cv_type_int_least32_t+set}" = set; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16575 cat >conftest.
$ac_ext <<_ACEOF
16578 cat confdefs.h
>>conftest.
$ac_ext
16579 cat >>conftest.
$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 #include <sys/types.h>
16587 if ((int_least32_t *) 0)
16589 if (sizeof (int_least32_t))
16595 rm -f conftest.
$ac_objext
16596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597 (eval $ac_compile) 2>conftest.er1
16599 grep -v '^ *+' conftest.er1
>conftest.err
16601 cat conftest.err
>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } &&
16604 { ac_try
='test -z "$ac_c_werror_flag"
16605 || test ! -s conftest.err'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; } &&
16611 { ac_try
='test -s conftest.$ac_objext'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 ac_cv_type_int_least32_t
=yes
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.
$ac_ext >&5
16622 ac_cv_type_int_least32_t
=no
16624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16626 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
16627 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
16628 if test $ac_cv_type_int_least32_t = yes; then
16631 acx_cv_header_stdint_kind
="(mostly complete)"
16634 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
16635 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
16636 if test "${ac_cv_type_int_fast32_t+set}" = set; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 cat >conftest.
$ac_ext <<_ACEOF
16642 cat confdefs.h
>>conftest.
$ac_ext
16643 cat >>conftest.
$ac_ext <<_ACEOF
16644 /* end confdefs.h. */
16645 #include <sys/types.h>
16651 if ((int_fast32_t *) 0)
16653 if (sizeof (int_fast32_t))
16659 rm -f conftest.
$ac_objext
16660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16661 (eval $ac_compile) 2>conftest.er1
16663 grep -v '^ *+' conftest.er1
>conftest.err
16665 cat conftest.err
>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try
='test -z "$ac_c_werror_flag"
16669 || test ! -s conftest.err'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; } &&
16675 { ac_try
='test -s conftest.$ac_objext'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; }; then
16681 ac_cv_type_int_fast32_t
=yes
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.
$ac_ext >&5
16686 ac_cv_type_int_fast32_t
=no
16688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16690 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
16691 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
16692 if test $ac_cv_type_int_fast32_t = yes; then
16695 acx_cv_header_stdint_kind
="(mostly complete)"
16698 echo "$as_me:$LINENO: checking for uint64_t" >&5
16699 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16700 if test "${ac_cv_type_uint64_t+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 cat >conftest.
$ac_ext <<_ACEOF
16706 cat confdefs.h
>>conftest.
$ac_ext
16707 cat >>conftest.
$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16709 #include <sys/types.h>
16715 if ((uint64_t *) 0)
16717 if (sizeof (uint64_t))
16723 rm -f conftest.
$ac_objext
16724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16725 (eval $ac_compile) 2>conftest.er1
16727 grep -v '^ *+' conftest.er1
>conftest.err
16729 cat conftest.err
>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } &&
16732 { ac_try
='test -z "$ac_c_werror_flag"
16733 || test ! -s conftest.err'
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); }; } &&
16739 { ac_try
='test -s conftest.$ac_objext'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; }; then
16745 ac_cv_type_uint64_t
=yes
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.
$ac_ext >&5
16750 ac_cv_type_uint64_t
=no
16752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16754 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16755 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16756 if test $ac_cv_type_uint64_t = yes; then
16759 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16764 if test "$acx_cv_header_stdint" = stddef.h
; then
16765 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16766 for i
in stdint.h
$inttype_headers; do
16767 unset ac_cv_type_uintptr_t
16768 unset ac_cv_type_uint32_t
16769 unset ac_cv_type_uint64_t
16770 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
16771 echo "$as_me:$LINENO: checking for uint32_t" >&5
16772 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16773 if test "${ac_cv_type_uint32_t+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 cat >conftest.
$ac_ext <<_ACEOF
16779 cat confdefs.h
>>conftest.
$ac_ext
16780 cat >>conftest.
$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 #include <sys/types.h>
16788 if ((uint32_t *) 0)
16790 if (sizeof (uint32_t))
16796 rm -f conftest.
$ac_objext
16797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16798 (eval $ac_compile) 2>conftest.er1
16800 grep -v '^ *+' conftest.er1
>conftest.err
16802 cat conftest.err
>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } &&
16805 { ac_try
='test -z "$ac_c_werror_flag"
16806 || test ! -s conftest.err'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; } &&
16812 { ac_try
='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16818 ac_cv_type_uint32_t
=yes
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.
$ac_ext >&5
16823 ac_cv_type_uint32_t
=no
16825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16827 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16828 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16829 if test $ac_cv_type_uint32_t = yes; then
16830 acx_cv_header_stdint
=$i
16835 echo "$as_me:$LINENO: checking for uint64_t" >&5
16836 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16837 if test "${ac_cv_type_uint64_t+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 cat >conftest.
$ac_ext <<_ACEOF
16843 cat confdefs.h
>>conftest.
$ac_ext
16844 cat >>conftest.
$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 #include <sys/types.h>
16852 if ((uint64_t *) 0)
16854 if (sizeof (uint64_t))
16860 rm -f conftest.
$ac_objext
16861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16862 (eval $ac_compile) 2>conftest.er1
16864 grep -v '^ *+' conftest.er1
>conftest.err
16866 cat conftest.err
>&5
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); } &&
16869 { ac_try
='test -z "$ac_c_werror_flag"
16870 || test ! -s conftest.err'
16871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16872 (eval $ac_try) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); }; } &&
16876 { ac_try
='test -s conftest.$ac_objext'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; }; then
16882 ac_cv_type_uint64_t
=yes
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.
$ac_ext >&5
16887 ac_cv_type_uint64_t
=no
16889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16891 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16892 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16894 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16895 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16896 if test "${ac_cv_type_uintptr_t+set}" = set; then
16897 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 cat >conftest.
$ac_ext <<_ACEOF
16902 cat confdefs.h
>>conftest.
$ac_ext
16903 cat >>conftest.
$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16905 #include <sys/types.h>
16911 if ((uintptr_t *) 0)
16913 if (sizeof (uintptr_t))
16919 rm -f conftest.
$ac_objext
16920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16921 (eval $ac_compile) 2>conftest.er1
16923 grep -v '^ *+' conftest.er1
>conftest.err
16925 cat conftest.err
>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); } &&
16928 { ac_try
='test -z "$ac_c_werror_flag"
16929 || test ! -s conftest.err'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; } &&
16935 { ac_try
='test -s conftest.$ac_objext'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; }; then
16941 ac_cv_type_uintptr_t
=yes
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.
$ac_ext >&5
16946 ac_cv_type_uintptr_t
=no
16948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16950 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16951 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16956 if test "$acx_cv_header_stdint" = stddef.h
; then
16957 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16958 for i
in sys
/types.h
$inttype_headers; do
16959 unset ac_cv_type_u_int32_t
16960 unset ac_cv_type_u_int64_t
16961 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16962 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16963 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16964 if test "${ac_cv_type_u_int32_t+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 cat >conftest.
$ac_ext <<_ACEOF
16970 cat confdefs.h
>>conftest.
$ac_ext
16971 cat >>conftest.
$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973 #include <sys/types.h>
16979 if ((u_int32_t *) 0)
16981 if (sizeof (u_int32_t))
16987 rm -f conftest.
$ac_objext
16988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16989 (eval $ac_compile) 2>conftest.er1
16991 grep -v '^ *+' conftest.er1
>conftest.err
16993 cat conftest.err
>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } &&
16996 { ac_try
='test -z "$ac_c_werror_flag"
16997 || test ! -s conftest.err'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; } &&
17003 { ac_try
='test -s conftest.$ac_objext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 ac_cv_type_u_int32_t
=yes
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.
$ac_ext >&5
17014 ac_cv_type_u_int32_t
=no
17016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17018 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
17019 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
17020 if test $ac_cv_type_u_int32_t = yes; then
17021 acx_cv_header_stdint
=$i
17026 echo "$as_me:$LINENO: checking for u_int64_t" >&5
17027 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
17028 if test "${ac_cv_type_u_int64_t+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 cat >conftest.
$ac_ext <<_ACEOF
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 #include <sys/types.h>
17043 if ((u_int64_t *) 0)
17045 if (sizeof (u_int64_t))
17051 rm -f conftest.
$ac_objext
17052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17053 (eval $ac_compile) 2>conftest.er1
17055 grep -v '^ *+' conftest.er1
>conftest.err
17057 cat conftest.err
>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); } &&
17060 { ac_try
='test -z "$ac_c_werror_flag"
17061 || test ! -s conftest.err'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; } &&
17067 { ac_try
='test -s conftest.$ac_objext'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; }; then
17073 ac_cv_type_u_int64_t
=yes
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.
$ac_ext >&5
17078 ac_cv_type_u_int64_t
=no
17080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17082 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
17083 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
17088 if test "$acx_cv_header_stdint" = stddef.h
; then
17089 acx_cv_header_stdint_kind
="(using manual detection)"
17092 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
17093 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
17094 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
17095 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
17096 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
17098 # ----------------- Summarize what we found so far
17100 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
17101 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
17103 case `$as_basename gdb_stdint.h ||
17104 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
17105 Xgdb_stdint.h : 'X\(//\)$' \| \
17106 Xgdb_stdint.h : 'X\(/\)$' \| \
17107 . : '\(.\)' 2>/dev/null ||
17108 echo X/gdb_stdint.h |
17109 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17110 /^X\/\(\/\/\)$/{ s//\1/; q; }
17111 /^X\/\(\/\).*/{ s//\1/; q; }
17113 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
17114 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
17115 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
17116 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
17120 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
17121 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
17123 # ----------------- done included file, check C basic types --------
17125 # Lacking an uintptr_t? Test size of void *
17126 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
17127 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
17128 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17129 if test "${ac_cv_type_void_p+set}" = set; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 cat >conftest.
$ac_ext <<_ACEOF
17135 cat confdefs.h
>>conftest.
$ac_ext
17136 cat >>conftest.
$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17144 if (sizeof (void *))
17150 rm -f conftest.
$ac_objext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17152 (eval $ac_compile) 2>conftest.er1
17154 grep -v '^ *+' conftest.er1
>conftest.err
17156 cat conftest.err
>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try
='test -z "$ac_c_werror_flag"
17160 || test ! -s conftest.err'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; } &&
17166 { ac_try
='test -s conftest.$ac_objext'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; }; then
17172 ac_cv_type_void_p
=yes
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.
$ac_ext >&5
17177 ac_cv_type_void_p
=no
17179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17181 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17182 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17184 echo "$as_me:$LINENO: checking size of void *" >&5
17185 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17186 if test "${ac_cv_sizeof_void_p+set}" = set; then
17187 echo $ECHO_N "(cached) $ECHO_C" >&6
17189 if test "$ac_cv_type_void_p" = yes; then
17190 # The cast to unsigned long works around a bug in the HP C Compiler
17191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17193 # This bug is HP SR number 8606223364.
17194 if test "$cross_compiling" = yes; then
17195 # Depending upon the size, compute the lo and hi bounds.
17196 cat >conftest.
$ac_ext <<_ACEOF
17199 cat confdefs.h
>>conftest.
$ac_ext
17200 cat >>conftest.
$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 $ac_includes_default
17206 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17213 rm -f conftest.
$ac_objext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17215 (eval $ac_compile) 2>conftest.er1
17217 grep -v '^ *+' conftest.er1
>conftest.err
17219 cat conftest.err
>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } &&
17222 { ac_try
='test -z "$ac_c_werror_flag"
17223 || test ! -s conftest.err'
17224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17225 (eval $ac_try) 2>&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); }; } &&
17229 { ac_try
='test -s conftest.$ac_objext'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; }; then
17237 cat >conftest.
$ac_ext <<_ACEOF
17240 cat confdefs.h
>>conftest.
$ac_ext
17241 cat >>conftest.
$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 $ac_includes_default
17247 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17254 rm -f conftest.
$ac_objext
17255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17256 (eval $ac_compile) 2>conftest.er1
17258 grep -v '^ *+' conftest.er1
>conftest.err
17260 cat conftest.err
>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } &&
17263 { ac_try
='test -z "$ac_c_werror_flag"
17264 || test ! -s conftest.err'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; } &&
17270 { ac_try
='test -s conftest.$ac_objext'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; }; then
17276 ac_hi
=$ac_mid; break
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.
$ac_ext >&5
17281 ac_lo
=`expr $ac_mid + 1`
17282 if test $ac_lo -le $ac_mid; then
17286 ac_mid
=`expr 2 '*' $ac_mid + 1`
17288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17291 echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.
$ac_ext >&5
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17304 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17311 rm -f conftest.
$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17315 grep -v '^ *+' conftest.er1
>conftest.err
17317 cat conftest.err
>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try
='test -z "$ac_c_werror_flag"
17321 || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try
='test -s conftest.$ac_objext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17345 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17352 rm -f conftest.
$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try
='test -z "$ac_c_werror_flag"
17362 || test ! -s conftest.err'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; } &&
17368 { ac_try
='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 ac_lo
=$ac_mid; break
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.
$ac_ext >&5
17379 ac_hi
=`expr '(' $ac_mid ')' - 1`
17380 if test $ac_mid -le $ac_hi; then
17384 ac_mid
=`expr 2 '*' $ac_mid`
17386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.
$ac_ext >&5
17394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17397 # Binary search between lo and hi bounds.
17398 while test "x$ac_lo" != "x$ac_hi"; do
17399 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17400 cat >conftest.
$ac_ext <<_ACEOF
17403 cat confdefs.h
>>conftest.
$ac_ext
17404 cat >>conftest.
$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17406 $ac_includes_default
17410 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17417 rm -f conftest.
$ac_objext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17419 (eval $ac_compile) 2>conftest.er1
17421 grep -v '^ *+' conftest.er1
>conftest.err
17423 cat conftest.err
>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } &&
17426 { ac_try
='test -z "$ac_c_werror_flag"
17427 || test ! -s conftest.err'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; } &&
17433 { ac_try
='test -s conftest.$ac_objext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.
$ac_ext >&5
17444 ac_lo
=`expr '(' $ac_mid ')' + 1`
17446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17449 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17450 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17451 See \`config.log' for more details." >&5
17452 echo "$as_me: error: cannot compute sizeof (void *), 77
17453 See \`config.log' for more details." >&2;}
17454 { (exit 1); exit 1; }; } ;;
17457 if test "$cross_compiling" = yes; then
17458 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17459 See \`config.log' for more details." >&5
17460 echo "$as_me: error: cannot run test program while cross compiling
17461 See \`config.log' for more details." >&2;}
17462 { (exit 1); exit 1; }; }
17464 cat >conftest.
$ac_ext <<_ACEOF
17467 cat confdefs.h
>>conftest.
$ac_ext
17468 cat >>conftest.
$ac_ext <<_ACEOF
17469 /* end confdefs.h. */
17470 $ac_includes_default
17471 long longval () { return (long) (sizeof (void *)); }
17472 unsigned long ulongval () { return (long) (sizeof (void *)); }
17474 #include <stdlib.h>
17479 FILE *f = fopen ("conftest.val", "w");
17482 if (((long) (sizeof (void *))) < 0)
17484 long i = longval ();
17485 if (i != ((long) (sizeof (void *))))
17487 fprintf (f, "%ld\n", i);
17491 unsigned long i = ulongval ();
17492 if (i != ((long) (sizeof (void *))))
17494 fprintf (f, "%lu\n", i);
17496 exit (ferror (f) || fclose (f) != 0);
17502 rm -f conftest
$ac_exeext
17503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17504 (eval $ac_link) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_cv_sizeof_void_p
=`cat conftest.val`
17515 echo "$as_me: program exited with status $ac_status" >&5
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 ( exit $ac_status )
17520 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17521 See \`config.log' for more details." >&5
17522 echo "$as_me: error: cannot compute sizeof (void *), 77
17523 See \`config.log' for more details." >&2;}
17524 { (exit 1); exit 1; }; }
17526 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17531 ac_cv_sizeof_void_p
=0
17534 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17535 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17536 cat >>confdefs.h
<<_ACEOF
17537 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17543 # Lacking an uint64_t? Test size of long
17544 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
17545 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
17546 echo $ECHO_N "checking for long... $ECHO_C" >&6
17547 if test "${ac_cv_type_long+set}" = set; then
17548 echo $ECHO_N "(cached) $ECHO_C" >&6
17550 cat >conftest.
$ac_ext <<_ACEOF
17553 cat confdefs.h
>>conftest.
$ac_ext
17554 cat >>conftest.
$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17556 $ac_includes_default
17568 rm -f conftest.
$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>conftest.er1
17572 grep -v '^ *+' conftest.er1
>conftest.err
17574 cat conftest.err
>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try
='test -z "$ac_c_werror_flag"
17578 || test ! -s conftest.err'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; } &&
17584 { ac_try
='test -s conftest.$ac_objext'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; }; then
17590 ac_cv_type_long
=yes
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.
$ac_ext >&5
17597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17599 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17600 echo "${ECHO_T}$ac_cv_type_long" >&6
17602 echo "$as_me:$LINENO: checking size of long" >&5
17603 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17604 if test "${ac_cv_sizeof_long+set}" = set; then
17605 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 if test "$ac_cv_type_long" = yes; then
17608 # The cast to unsigned long works around a bug in the HP C Compiler
17609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17611 # This bug is HP SR number 8606223364.
17612 if test "$cross_compiling" = yes; then
17613 # Depending upon the size, compute the lo and hi bounds.
17614 cat >conftest.
$ac_ext <<_ACEOF
17617 cat confdefs.h
>>conftest.
$ac_ext
17618 cat >>conftest.
$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17620 $ac_includes_default
17624 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17631 rm -f conftest.
$ac_objext
17632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17633 (eval $ac_compile) 2>conftest.er1
17635 grep -v '^ *+' conftest.er1
>conftest.err
17637 cat conftest.err
>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); } &&
17640 { ac_try
='test -z "$ac_c_werror_flag"
17641 || test ! -s conftest.err'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; } &&
17647 { ac_try
='test -s conftest.$ac_objext'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; }; then
17655 cat >conftest.
$ac_ext <<_ACEOF
17658 cat confdefs.h
>>conftest.
$ac_ext
17659 cat >>conftest.
$ac_ext <<_ACEOF
17660 /* end confdefs.h. */
17661 $ac_includes_default
17665 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17672 rm -f conftest.
$ac_objext
17673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17674 (eval $ac_compile) 2>conftest.er1
17676 grep -v '^ *+' conftest.er1
>conftest.err
17678 cat conftest.err
>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } &&
17681 { ac_try
='test -z "$ac_c_werror_flag"
17682 || test ! -s conftest.err'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; } &&
17688 { ac_try
='test -s conftest.$ac_objext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_hi
=$ac_mid; break
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.
$ac_ext >&5
17699 ac_lo
=`expr $ac_mid + 1`
17700 if test $ac_lo -le $ac_mid; then
17704 ac_mid
=`expr 2 '*' $ac_mid + 1`
17706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.
$ac_ext >&5
17712 cat >conftest.
$ac_ext <<_ACEOF
17715 cat confdefs.h
>>conftest.
$ac_ext
17716 cat >>conftest.
$ac_ext <<_ACEOF
17717 /* end confdefs.h. */
17718 $ac_includes_default
17722 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17729 rm -f conftest.
$ac_objext
17730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17731 (eval $ac_compile) 2>conftest.er1
17733 grep -v '^ *+' conftest.er1
>conftest.err
17735 cat conftest.err
>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } &&
17738 { ac_try
='test -z "$ac_c_werror_flag"
17739 || test ! -s conftest.err'
17740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17741 (eval $ac_try) 2>&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); }; } &&
17745 { ac_try
='test -s conftest.$ac_objext'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; }; then
17753 cat >conftest.
$ac_ext <<_ACEOF
17756 cat confdefs.h
>>conftest.
$ac_ext
17757 cat >>conftest.
$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759 $ac_includes_default
17763 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17770 rm -f conftest.
$ac_objext
17771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17772 (eval $ac_compile) 2>conftest.er1
17774 grep -v '^ *+' conftest.er1
>conftest.err
17776 cat conftest.err
>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); } &&
17779 { ac_try
='test -z "$ac_c_werror_flag"
17780 || test ! -s conftest.err'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; } &&
17786 { ac_try
='test -s conftest.$ac_objext'
17787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17788 (eval $ac_try) 2>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }; }; then
17792 ac_lo
=$ac_mid; break
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.
$ac_ext >&5
17797 ac_hi
=`expr '(' $ac_mid ')' - 1`
17798 if test $ac_mid -le $ac_hi; then
17802 ac_mid
=`expr 2 '*' $ac_mid`
17804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.
$ac_ext >&5
17812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17815 # Binary search between lo and hi bounds.
17816 while test "x$ac_lo" != "x$ac_hi"; do
17817 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17818 cat >conftest.
$ac_ext <<_ACEOF
17821 cat confdefs.h
>>conftest.
$ac_ext
17822 cat >>conftest.
$ac_ext <<_ACEOF
17823 /* end confdefs.h. */
17824 $ac_includes_default
17828 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17835 rm -f conftest.
$ac_objext
17836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17837 (eval $ac_compile) 2>conftest.er1
17839 grep -v '^ *+' conftest.er1
>conftest.err
17841 cat conftest.err
>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } &&
17844 { ac_try
='test -z "$ac_c_werror_flag"
17845 || test ! -s conftest.err'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; } &&
17851 { ac_try
='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.
$ac_ext >&5
17862 ac_lo
=`expr '(' $ac_mid ')' + 1`
17864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17867 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17868 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17869 See \`config.log' for more details." >&5
17870 echo "$as_me: error: cannot compute sizeof (long), 77
17871 See \`config.log' for more details." >&2;}
17872 { (exit 1); exit 1; }; } ;;
17875 if test "$cross_compiling" = yes; then
17876 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17877 See \`config.log' for more details." >&5
17878 echo "$as_me: error: cannot run test program while cross compiling
17879 See \`config.log' for more details." >&2;}
17880 { (exit 1); exit 1; }; }
17882 cat >conftest.
$ac_ext <<_ACEOF
17885 cat confdefs.h
>>conftest.
$ac_ext
17886 cat >>conftest.
$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889 long longval () { return (long) (sizeof (long)); }
17890 unsigned long ulongval () { return (long) (sizeof (long)); }
17892 #include <stdlib.h>
17897 FILE *f = fopen ("conftest.val", "w");
17900 if (((long) (sizeof (long))) < 0)
17902 long i = longval ();
17903 if (i != ((long) (sizeof (long))))
17905 fprintf (f, "%ld\n", i);
17909 unsigned long i = ulongval ();
17910 if (i != ((long) (sizeof (long))))
17912 fprintf (f, "%lu\n", i);
17914 exit (ferror (f) || fclose (f) != 0);
17920 rm -f conftest
$ac_exeext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17922 (eval $ac_link) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17931 ac_cv_sizeof_long
=`cat conftest.val`
17933 echo "$as_me: program exited with status $ac_status" >&5
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.
$ac_ext >&5
17937 ( exit $ac_status )
17938 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17939 See \`config.log' for more details." >&5
17940 echo "$as_me: error: cannot compute sizeof (long), 77
17941 See \`config.log' for more details." >&2;}
17942 { (exit 1); exit 1; }; }
17944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17949 ac_cv_sizeof_long
=0
17952 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17953 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17954 cat >>confdefs.h
<<_ACEOF
17955 #define SIZEOF_LONG $ac_cv_sizeof_long
17961 if test $acx_cv_header_stdint = stddef.h
; then
17962 # Lacking a good header? Test size of everything and deduce all types.
17963 echo "$as_me:$LINENO: checking for int" >&5
17964 echo $ECHO_N "checking for int... $ECHO_C" >&6
17965 if test "${ac_cv_type_int+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 cat >conftest.
$ac_ext <<_ACEOF
17971 cat confdefs.h
>>conftest.
$ac_ext
17972 cat >>conftest.
$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17974 $ac_includes_default
17986 rm -f conftest.
$ac_objext
17987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17988 (eval $ac_compile) 2>conftest.er1
17990 grep -v '^ *+' conftest.er1
>conftest.err
17992 cat conftest.err
>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); } &&
17995 { ac_try
='test -z "$ac_c_werror_flag"
17996 || test ! -s conftest.err'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; } &&
18002 { ac_try
='test -s conftest.$ac_objext'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; }; then
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.
$ac_ext >&5
18015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18017 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18018 echo "${ECHO_T}$ac_cv_type_int" >&6
18020 echo "$as_me:$LINENO: checking size of int" >&5
18021 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18022 if test "${ac_cv_sizeof_int+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 if test "$ac_cv_type_int" = yes; then
18026 # The cast to unsigned long works around a bug in the HP C Compiler
18027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18029 # This bug is HP SR number 8606223364.
18030 if test "$cross_compiling" = yes; then
18031 # Depending upon the size, compute the lo and hi bounds.
18032 cat >conftest.
$ac_ext <<_ACEOF
18035 cat confdefs.h
>>conftest.
$ac_ext
18036 cat >>conftest.
$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 $ac_includes_default
18042 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18049 rm -f conftest.
$ac_objext
18050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18051 (eval $ac_compile) 2>conftest.er1
18053 grep -v '^ *+' conftest.er1
>conftest.err
18055 cat conftest.err
>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } &&
18058 { ac_try
='test -z "$ac_c_werror_flag"
18059 || test ! -s conftest.err'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; } &&
18065 { ac_try
='test -s conftest.$ac_objext'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; }; then
18073 cat >conftest.
$ac_ext <<_ACEOF
18076 cat confdefs.h
>>conftest.
$ac_ext
18077 cat >>conftest.
$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079 $ac_includes_default
18083 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18090 rm -f conftest.
$ac_objext
18091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18092 (eval $ac_compile) 2>conftest.er1
18094 grep -v '^ *+' conftest.er1
>conftest.err
18096 cat conftest.err
>&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); } &&
18099 { ac_try
='test -z "$ac_c_werror_flag"
18100 || test ! -s conftest.err'
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); }; } &&
18106 { ac_try
='test -s conftest.$ac_objext'
18107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108 (eval $ac_try) 2>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); }; }; then
18112 ac_hi
=$ac_mid; break
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.
$ac_ext >&5
18117 ac_lo
=`expr $ac_mid + 1`
18118 if test $ac_lo -le $ac_mid; then
18122 ac_mid
=`expr 2 '*' $ac_mid + 1`
18124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.
$ac_ext >&5
18130 cat >conftest.
$ac_ext <<_ACEOF
18133 cat confdefs.h
>>conftest.
$ac_ext
18134 cat >>conftest.
$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18136 $ac_includes_default
18140 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18147 rm -f conftest.
$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>conftest.er1
18151 grep -v '^ *+' conftest.er1
>conftest.err
18153 cat conftest.err
>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try
='test -z "$ac_c_werror_flag"
18157 || test ! -s conftest.err'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; } &&
18163 { ac_try
='test -s conftest.$ac_objext'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; }; then
18171 cat >conftest.
$ac_ext <<_ACEOF
18174 cat confdefs.h
>>conftest.
$ac_ext
18175 cat >>conftest.
$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177 $ac_includes_default
18181 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18188 rm -f conftest.
$ac_objext
18189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18190 (eval $ac_compile) 2>conftest.er1
18192 grep -v '^ *+' conftest.er1
>conftest.err
18194 cat conftest.err
>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); } &&
18197 { ac_try
='test -z "$ac_c_werror_flag"
18198 || test ! -s conftest.err'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; } &&
18204 { ac_try
='test -s conftest.$ac_objext'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; }; then
18210 ac_lo
=$ac_mid; break
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.
$ac_ext >&5
18215 ac_hi
=`expr '(' $ac_mid ')' - 1`
18216 if test $ac_mid -le $ac_hi; then
18220 ac_mid
=`expr 2 '*' $ac_mid`
18222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18225 echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.
$ac_ext >&5
18230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18233 # Binary search between lo and hi bounds.
18234 while test "x$ac_lo" != "x$ac_hi"; do
18235 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18236 cat >conftest.
$ac_ext <<_ACEOF
18239 cat confdefs.h
>>conftest.
$ac_ext
18240 cat >>conftest.
$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 $ac_includes_default
18246 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18253 rm -f conftest.
$ac_objext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18255 (eval $ac_compile) 2>conftest.er1
18257 grep -v '^ *+' conftest.er1
>conftest.err
18259 cat conftest.err
>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } &&
18262 { ac_try
='test -z "$ac_c_werror_flag"
18263 || test ! -s conftest.err'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; } &&
18269 { ac_try
='test -s conftest.$ac_objext'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; }; then
18277 echo "$as_me: failed program was:" >&5
18278 sed 's/^/| /' conftest.
$ac_ext >&5
18280 ac_lo
=`expr '(' $ac_mid ')' + 1`
18282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18285 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18286 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18287 See \`config.log' for more details." >&5
18288 echo "$as_me: error: cannot compute sizeof (int), 77
18289 See \`config.log' for more details." >&2;}
18290 { (exit 1); exit 1; }; } ;;
18293 if test "$cross_compiling" = yes; then
18294 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18295 See \`config.log' for more details." >&5
18296 echo "$as_me: error: cannot run test program while cross compiling
18297 See \`config.log' for more details." >&2;}
18298 { (exit 1); exit 1; }; }
18300 cat >conftest.
$ac_ext <<_ACEOF
18303 cat confdefs.h
>>conftest.
$ac_ext
18304 cat >>conftest.
$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 $ac_includes_default
18307 long longval () { return (long) (sizeof (int)); }
18308 unsigned long ulongval () { return (long) (sizeof (int)); }
18310 #include <stdlib.h>
18315 FILE *f = fopen ("conftest.val", "w");
18318 if (((long) (sizeof (int))) < 0)
18320 long i = longval ();
18321 if (i != ((long) (sizeof (int))))
18323 fprintf (f, "%ld\n", i);
18327 unsigned long i = ulongval ();
18328 if (i != ((long) (sizeof (int))))
18330 fprintf (f, "%lu\n", i);
18332 exit (ferror (f) || fclose (f) != 0);
18338 rm -f conftest
$ac_exeext
18339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18340 (eval $ac_link) 2>&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
18349 ac_cv_sizeof_int
=`cat conftest.val`
18351 echo "$as_me: program exited with status $ac_status" >&5
18352 echo "$as_me: failed program was:" >&5
18353 sed 's/^/| /' conftest.
$ac_ext >&5
18355 ( exit $ac_status )
18356 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18357 See \`config.log' for more details." >&5
18358 echo "$as_me: error: cannot compute sizeof (int), 77
18359 See \`config.log' for more details." >&2;}
18360 { (exit 1); exit 1; }; }
18362 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18370 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18371 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18372 cat >>confdefs.h
<<_ACEOF
18373 #define SIZEOF_INT $ac_cv_sizeof_int
18377 echo "$as_me:$LINENO: checking for short" >&5
18378 echo $ECHO_N "checking for short... $ECHO_C" >&6
18379 if test "${ac_cv_type_short+set}" = set; then
18380 echo $ECHO_N "(cached) $ECHO_C" >&6
18382 cat >conftest.
$ac_ext <<_ACEOF
18385 cat confdefs.h
>>conftest.
$ac_ext
18386 cat >>conftest.
$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388 $ac_includes_default
18394 if (sizeof (short))
18400 rm -f conftest.
$ac_objext
18401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18402 (eval $ac_compile) 2>conftest.er1
18404 grep -v '^ *+' conftest.er1
>conftest.err
18406 cat conftest.err
>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } &&
18409 { ac_try
='test -z "$ac_c_werror_flag"
18410 || test ! -s conftest.err'
18411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18412 (eval $ac_try) 2>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); }; } &&
18416 { ac_try
='test -s conftest.$ac_objext'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; }; then
18422 ac_cv_type_short
=yes
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.
$ac_ext >&5
18427 ac_cv_type_short
=no
18429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18431 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18432 echo "${ECHO_T}$ac_cv_type_short" >&6
18434 echo "$as_me:$LINENO: checking size of short" >&5
18435 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18436 if test "${ac_cv_sizeof_short+set}" = set; then
18437 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 if test "$ac_cv_type_short" = yes; then
18440 # The cast to unsigned long works around a bug in the HP C Compiler
18441 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18442 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18443 # This bug is HP SR number 8606223364.
18444 if test "$cross_compiling" = yes; then
18445 # Depending upon the size, compute the lo and hi bounds.
18446 cat >conftest.
$ac_ext <<_ACEOF
18449 cat confdefs.h
>>conftest.
$ac_ext
18450 cat >>conftest.
$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18452 $ac_includes_default
18456 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18463 rm -f conftest.
$ac_objext
18464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18465 (eval $ac_compile) 2>conftest.er1
18467 grep -v '^ *+' conftest.er1
>conftest.err
18469 cat conftest.err
>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); } &&
18472 { ac_try
='test -z "$ac_c_werror_flag"
18473 || test ! -s conftest.err'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; } &&
18479 { ac_try
='test -s conftest.$ac_objext'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; }; then
18487 cat >conftest.
$ac_ext <<_ACEOF
18490 cat confdefs.h
>>conftest.
$ac_ext
18491 cat >>conftest.
$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18493 $ac_includes_default
18497 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18504 rm -f conftest.
$ac_objext
18505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18506 (eval $ac_compile) 2>conftest.er1
18508 grep -v '^ *+' conftest.er1
>conftest.err
18510 cat conftest.err
>&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } &&
18513 { ac_try
='test -z "$ac_c_werror_flag"
18514 || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try
='test -s conftest.$ac_objext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 ac_hi
=$ac_mid; break
18528 echo "$as_me: failed program was:" >&5
18529 sed 's/^/| /' conftest.
$ac_ext >&5
18531 ac_lo
=`expr $ac_mid + 1`
18532 if test $ac_lo -le $ac_mid; then
18536 ac_mid
=`expr 2 '*' $ac_mid + 1`
18538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.
$ac_ext >&5
18544 cat >conftest.
$ac_ext <<_ACEOF
18547 cat confdefs.h
>>conftest.
$ac_ext
18548 cat >>conftest.
$ac_ext <<_ACEOF
18549 /* end confdefs.h. */
18550 $ac_includes_default
18554 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18561 rm -f conftest.
$ac_objext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18563 (eval $ac_compile) 2>conftest.er1
18565 grep -v '^ *+' conftest.er1
>conftest.err
18567 cat conftest.err
>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } &&
18570 { ac_try
='test -z "$ac_c_werror_flag"
18571 || test ! -s conftest.err'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; } &&
18577 { ac_try
='test -s conftest.$ac_objext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18585 cat >conftest.
$ac_ext <<_ACEOF
18588 cat confdefs.h
>>conftest.
$ac_ext
18589 cat >>conftest.
$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 $ac_includes_default
18595 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18602 rm -f conftest.
$ac_objext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18604 (eval $ac_compile) 2>conftest.er1
18606 grep -v '^ *+' conftest.er1
>conftest.err
18608 cat conftest.err
>&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } &&
18611 { ac_try
='test -z "$ac_c_werror_flag"
18612 || test ! -s conftest.err'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try
='test -s conftest.$ac_objext'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; }; then
18624 ac_lo
=$ac_mid; break
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 ac_hi
=`expr '(' $ac_mid ')' - 1`
18630 if test $ac_mid -le $ac_hi; then
18634 ac_mid
=`expr 2 '*' $ac_mid`
18636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.
$ac_ext >&5
18644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18647 # Binary search between lo and hi bounds.
18648 while test "x$ac_lo" != "x$ac_hi"; do
18649 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18650 cat >conftest.
$ac_ext <<_ACEOF
18653 cat confdefs.h
>>conftest.
$ac_ext
18654 cat >>conftest.
$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 $ac_includes_default
18660 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18667 rm -f conftest.
$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18671 grep -v '^ *+' conftest.er1
>conftest.err
18673 cat conftest.err
>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try
='test -z "$ac_c_werror_flag"
18677 || test ! -s conftest.err'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; } &&
18683 { ac_try
='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.
$ac_ext >&5
18694 ac_lo
=`expr '(' $ac_mid ')' + 1`
18696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18699 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18700 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18701 See \`config.log' for more details." >&5
18702 echo "$as_me: error: cannot compute sizeof (short), 77
18703 See \`config.log' for more details." >&2;}
18704 { (exit 1); exit 1; }; } ;;
18707 if test "$cross_compiling" = yes; then
18708 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18709 See \`config.log' for more details." >&5
18710 echo "$as_me: error: cannot run test program while cross compiling
18711 See \`config.log' for more details." >&2;}
18712 { (exit 1); exit 1; }; }
18714 cat >conftest.
$ac_ext <<_ACEOF
18717 cat confdefs.h
>>conftest.
$ac_ext
18718 cat >>conftest.
$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18720 $ac_includes_default
18721 long longval () { return (long) (sizeof (short)); }
18722 unsigned long ulongval () { return (long) (sizeof (short)); }
18724 #include <stdlib.h>
18729 FILE *f = fopen ("conftest.val", "w");
18732 if (((long) (sizeof (short))) < 0)
18734 long i = longval ();
18735 if (i != ((long) (sizeof (short))))
18737 fprintf (f, "%ld\n", i);
18741 unsigned long i = ulongval ();
18742 if (i != ((long) (sizeof (short))))
18744 fprintf (f, "%lu\n", i);
18746 exit (ferror (f) || fclose (f) != 0);
18752 rm -f conftest
$ac_exeext
18753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18754 (eval $ac_link) 2>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18759 (eval $ac_try) 2>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); }; }; then
18763 ac_cv_sizeof_short
=`cat conftest.val`
18765 echo "$as_me: program exited with status $ac_status" >&5
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.
$ac_ext >&5
18769 ( exit $ac_status )
18770 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18771 See \`config.log' for more details." >&5
18772 echo "$as_me: error: cannot compute sizeof (short), 77
18773 See \`config.log' for more details." >&2;}
18774 { (exit 1); exit 1; }; }
18776 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18781 ac_cv_sizeof_short
=0
18784 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18785 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18786 cat >>confdefs.h
<<_ACEOF
18787 #define SIZEOF_SHORT $ac_cv_sizeof_short
18791 echo "$as_me:$LINENO: checking for char" >&5
18792 echo $ECHO_N "checking for char... $ECHO_C" >&6
18793 if test "${ac_cv_type_char+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18796 cat >conftest.
$ac_ext <<_ACEOF
18799 cat confdefs.h
>>conftest.
$ac_ext
18800 cat >>conftest.
$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802 $ac_includes_default
18814 rm -f conftest.
$ac_objext
18815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18816 (eval $ac_compile) 2>conftest.er1
18818 grep -v '^ *+' conftest.er1
>conftest.err
18820 cat conftest.err
>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } &&
18823 { ac_try
='test -z "$ac_c_werror_flag"
18824 || test ! -s conftest.err'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; } &&
18830 { ac_try
='test -s conftest.$ac_objext'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; }; then
18836 ac_cv_type_char
=yes
18838 echo "$as_me: failed program was:" >&5
18839 sed 's/^/| /' conftest.
$ac_ext >&5
18843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18845 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18846 echo "${ECHO_T}$ac_cv_type_char" >&6
18848 echo "$as_me:$LINENO: checking size of char" >&5
18849 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18850 if test "${ac_cv_sizeof_char+set}" = set; then
18851 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 if test "$ac_cv_type_char" = yes; then
18854 # The cast to unsigned long works around a bug in the HP C Compiler
18855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18857 # This bug is HP SR number 8606223364.
18858 if test "$cross_compiling" = yes; then
18859 # Depending upon the size, compute the lo and hi bounds.
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18870 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18877 rm -f conftest.
$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18881 grep -v '^ *+' conftest.er1
>conftest.err
18883 cat conftest.err
>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try
='test -z "$ac_c_werror_flag"
18887 || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try
='test -s conftest.$ac_objext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18901 cat >conftest.
$ac_ext <<_ACEOF
18904 cat confdefs.h
>>conftest.
$ac_ext
18905 cat >>conftest.
$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18911 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18918 rm -f conftest.
$ac_objext
18919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18920 (eval $ac_compile) 2>conftest.er1
18922 grep -v '^ *+' conftest.er1
>conftest.err
18924 cat conftest.err
>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } &&
18927 { ac_try
='test -z "$ac_c_werror_flag"
18928 || test ! -s conftest.err'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; } &&
18934 { ac_try
='test -s conftest.$ac_objext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18940 ac_hi
=$ac_mid; break
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.
$ac_ext >&5
18945 ac_lo
=`expr $ac_mid + 1`
18946 if test $ac_lo -le $ac_mid; then
18950 ac_mid
=`expr 2 '*' $ac_mid + 1`
18952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.
$ac_ext >&5
18958 cat >conftest.
$ac_ext <<_ACEOF
18961 cat confdefs.h
>>conftest.
$ac_ext
18962 cat >>conftest.
$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964 $ac_includes_default
18968 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18975 rm -f conftest.
$ac_objext
18976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18977 (eval $ac_compile) 2>conftest.er1
18979 grep -v '^ *+' conftest.er1
>conftest.err
18981 cat conftest.err
>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); } &&
18984 { ac_try
='test -z "$ac_c_werror_flag"
18985 || test ! -s conftest.err'
18986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987 (eval $ac_try) 2>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); }; } &&
18991 { ac_try
='test -s conftest.$ac_objext'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; }; then
18999 cat >conftest.
$ac_ext <<_ACEOF
19002 cat confdefs.h
>>conftest.
$ac_ext
19003 cat >>conftest.
$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005 $ac_includes_default
19009 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
19016 rm -f conftest.
$ac_objext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19018 (eval $ac_compile) 2>conftest.er1
19020 grep -v '^ *+' conftest.er1
>conftest.err
19022 cat conftest.err
>&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } &&
19025 { ac_try
='test -z "$ac_c_werror_flag"
19026 || test ! -s conftest.err'
19027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19028 (eval $ac_try) 2>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }; } &&
19032 { ac_try
='test -s conftest.$ac_objext'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; }; then
19038 ac_lo
=$ac_mid; break
19040 echo "$as_me: failed program was:" >&5
19041 sed 's/^/| /' conftest.
$ac_ext >&5
19043 ac_hi
=`expr '(' $ac_mid ')' - 1`
19044 if test $ac_mid -le $ac_hi; then
19048 ac_mid
=`expr 2 '*' $ac_mid`
19050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.
$ac_ext >&5
19058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19061 # Binary search between lo and hi bounds.
19062 while test "x$ac_lo" != "x$ac_hi"; do
19063 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19064 cat >conftest.
$ac_ext <<_ACEOF
19067 cat confdefs.h
>>conftest.
$ac_ext
19068 cat >>conftest.
$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 $ac_includes_default
19074 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
19081 rm -f conftest.
$ac_objext
19082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19083 (eval $ac_compile) 2>conftest.er1
19085 grep -v '^ *+' conftest.er1
>conftest.err
19087 cat conftest.err
>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try
='test -z "$ac_c_werror_flag"
19091 || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try
='test -s conftest.$ac_objext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.
$ac_ext >&5
19108 ac_lo
=`expr '(' $ac_mid ')' + 1`
19110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19113 ?
*) ac_cv_sizeof_char
=$ac_lo;;
19114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
19115 See \`config.log' for more details." >&5
19116 echo "$as_me: error: cannot compute sizeof (char), 77
19117 See \`config.log' for more details." >&2;}
19118 { (exit 1); exit 1; }; } ;;
19121 if test "$cross_compiling" = yes; then
19122 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19123 See \`config.log' for more details." >&5
19124 echo "$as_me: error: cannot run test program while cross compiling
19125 See \`config.log' for more details." >&2;}
19126 { (exit 1); exit 1; }; }
19128 cat >conftest.
$ac_ext <<_ACEOF
19131 cat confdefs.h
>>conftest.
$ac_ext
19132 cat >>conftest.
$ac_ext <<_ACEOF
19133 /* end confdefs.h. */
19134 $ac_includes_default
19135 long longval () { return (long) (sizeof (char)); }
19136 unsigned long ulongval () { return (long) (sizeof (char)); }
19138 #include <stdlib.h>
19143 FILE *f = fopen ("conftest.val", "w");
19146 if (((long) (sizeof (char))) < 0)
19148 long i = longval ();
19149 if (i != ((long) (sizeof (char))))
19151 fprintf (f, "%ld\n", i);
19155 unsigned long i = ulongval ();
19156 if (i != ((long) (sizeof (char))))
19158 fprintf (f, "%lu\n", i);
19160 exit (ferror (f) || fclose (f) != 0);
19166 rm -f conftest
$ac_exeext
19167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19168 (eval $ac_link) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 ac_cv_sizeof_char
=`cat conftest.val`
19179 echo "$as_me: program exited with status $ac_status" >&5
19180 echo "$as_me: failed program was:" >&5
19181 sed 's/^/| /' conftest.
$ac_ext >&5
19183 ( exit $ac_status )
19184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
19185 See \`config.log' for more details." >&5
19186 echo "$as_me: error: cannot compute sizeof (char), 77
19187 See \`config.log' for more details." >&2;}
19188 { (exit 1); exit 1; }; }
19190 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19195 ac_cv_sizeof_char
=0
19198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19199 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
19200 cat >>confdefs.h
<<_ACEOF
19201 #define SIZEOF_CHAR $ac_cv_sizeof_char
19206 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
19207 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
19208 case "$ac_cv_sizeof_char" in
19209 1) acx_cv_type_int8_t
=char
;;
19210 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
19211 echo "$as_me: error: no 8-bit type" >&2;}
19212 { (exit please report a bug
); exit please report a bug
; }; }
19214 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
19215 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
19217 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
19218 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
19219 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
19220 2:*) acx_cv_type_int16_t
=int
;;
19221 *:2) acx_cv_type_int16_t
=short
;;
19222 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
19223 echo "$as_me: error: no 16-bit type" >&2;}
19224 { (exit please report a bug
); exit please report a bug
; }; }
19226 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
19227 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
19229 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
19230 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
19231 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
19232 4:*) acx_cv_type_int32_t
=int
;;
19233 *:4) acx_cv_type_int32_t
=long
;;
19234 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
19235 echo "$as_me: error: no 32-bit type" >&2;}
19236 { (exit please report a bug
); exit please report a bug
; }; }
19238 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
19239 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
19242 # These tests are here to make the output prettier
19244 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
19245 case "$ac_cv_sizeof_long" in
19246 8) acx_cv_type_int64_t
=long
;;
19248 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
19249 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
19250 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
19251 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
19254 # Now we can use the above types
19256 if test "$ac_cv_type_uintptr_t" != yes; then
19257 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
19258 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
19259 case $ac_cv_sizeof_void_p in
19260 2) acx_cv_type_intptr_t
=int16_t
;;
19261 4) acx_cv_type_intptr_t
=int32_t
;;
19262 8) acx_cv_type_intptr_t
=int64_t
;;
19263 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
19264 echo "$as_me: error: no equivalent for intptr_t" >&2;}
19265 { (exit please report a bug
); exit please report a bug
; }; }
19267 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
19268 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
19271 # ----------------- done all checks, emit header -------------
19272 ac_config_commands
="$ac_config_commands gdb_stdint.h"
19277 # ------------------------- #
19278 # Checks for declarations. #
19279 # ------------------------- #
19281 echo "$as_me:$LINENO: checking whether free is declared" >&5
19282 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
19283 if test "${ac_cv_have_decl_free+set}" = set; then
19284 echo $ECHO_N "(cached) $ECHO_C" >&6
19286 cat >conftest.
$ac_ext <<_ACEOF
19289 cat confdefs.h
>>conftest.
$ac_ext
19290 cat >>conftest.
$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292 $ac_includes_default
19297 char *p = (char *) free;
19304 rm -f conftest.
$ac_objext
19305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19306 (eval $ac_compile) 2>conftest.er1
19308 grep -v '^ *+' conftest.er1
>conftest.err
19310 cat conftest.err
>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } &&
19313 { ac_try
='test -z "$ac_c_werror_flag"
19314 || test ! -s conftest.err'
19315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19316 (eval $ac_try) 2>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); }; } &&
19320 { ac_try
='test -s conftest.$ac_objext'
19321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322 (eval $ac_try) 2>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); }; }; then
19326 ac_cv_have_decl_free
=yes
19328 echo "$as_me: failed program was:" >&5
19329 sed 's/^/| /' conftest.
$ac_ext >&5
19331 ac_cv_have_decl_free
=no
19333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19335 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
19336 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
19337 if test $ac_cv_have_decl_free = yes; then
19339 cat >>confdefs.h
<<_ACEOF
19340 #define HAVE_DECL_FREE 1
19345 cat >>confdefs.h
<<_ACEOF
19346 #define HAVE_DECL_FREE 0
19351 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
19352 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
19353 if test "${ac_cv_have_decl_malloc+set}" = set; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19356 cat >conftest.
$ac_ext <<_ACEOF
19359 cat confdefs.h
>>conftest.
$ac_ext
19360 cat >>conftest.
$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 $ac_includes_default
19367 char *p = (char *) malloc;
19374 rm -f conftest.
$ac_objext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19376 (eval $ac_compile) 2>conftest.er1
19378 grep -v '^ *+' conftest.er1
>conftest.err
19380 cat conftest.err
>&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } &&
19383 { ac_try
='test -z "$ac_c_werror_flag"
19384 || test ! -s conftest.err'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } &&
19390 { ac_try
='test -s conftest.$ac_objext'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; }; then
19396 ac_cv_have_decl_malloc
=yes
19398 echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.
$ac_ext >&5
19401 ac_cv_have_decl_malloc
=no
19403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19405 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
19406 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
19407 if test $ac_cv_have_decl_malloc = yes; then
19409 cat >>confdefs.h
<<_ACEOF
19410 #define HAVE_DECL_MALLOC 1
19415 cat >>confdefs.h
<<_ACEOF
19416 #define HAVE_DECL_MALLOC 0
19421 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
19422 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
19423 if test "${ac_cv_have_decl_realloc+set}" = set; then
19424 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 cat >conftest.
$ac_ext <<_ACEOF
19429 cat confdefs.h
>>conftest.
$ac_ext
19430 cat >>conftest.
$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19432 $ac_includes_default
19437 char *p = (char *) realloc;
19444 rm -f conftest.
$ac_objext
19445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19446 (eval $ac_compile) 2>conftest.er1
19448 grep -v '^ *+' conftest.er1
>conftest.err
19450 cat conftest.err
>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } &&
19453 { ac_try
='test -z "$ac_c_werror_flag"
19454 || test ! -s conftest.err'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; } &&
19460 { ac_try
='test -s conftest.$ac_objext'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; }; then
19466 ac_cv_have_decl_realloc
=yes
19468 echo "$as_me: failed program was:" >&5
19469 sed 's/^/| /' conftest.
$ac_ext >&5
19471 ac_cv_have_decl_realloc
=no
19473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19475 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
19476 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
19477 if test $ac_cv_have_decl_realloc = yes; then
19479 cat >>confdefs.h
<<_ACEOF
19480 #define HAVE_DECL_REALLOC 1
19485 cat >>confdefs.h
<<_ACEOF
19486 #define HAVE_DECL_REALLOC 0
19493 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
19494 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
19495 if test "${ac_cv_have_decl_strerror+set}" = set; then
19496 echo $ECHO_N "(cached) $ECHO_C" >&6
19498 cat >conftest.
$ac_ext <<_ACEOF
19501 cat confdefs.h
>>conftest.
$ac_ext
19502 cat >>conftest.
$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19509 char *p = (char *) strerror;
19516 rm -f conftest.
$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>conftest.er1
19520 grep -v '^ *+' conftest.er1
>conftest.err
19522 cat conftest.err
>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try
='test -z "$ac_c_werror_flag"
19526 || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try
='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19538 ac_cv_have_decl_strerror
=yes
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.
$ac_ext >&5
19543 ac_cv_have_decl_strerror
=no
19545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19547 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
19548 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
19549 if test $ac_cv_have_decl_strerror = yes; then
19551 cat >>confdefs.h
<<_ACEOF
19552 #define HAVE_DECL_STRERROR 1
19557 cat >>confdefs.h
<<_ACEOF
19558 #define HAVE_DECL_STRERROR 0
19563 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
19564 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
19565 if test "${ac_cv_have_decl_strstr+set}" = set; then
19566 echo $ECHO_N "(cached) $ECHO_C" >&6
19568 cat >conftest.
$ac_ext <<_ACEOF
19571 cat confdefs.h
>>conftest.
$ac_ext
19572 cat >>conftest.
$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19579 char *p = (char *) strstr;
19586 rm -f conftest.
$ac_objext
19587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19588 (eval $ac_compile) 2>conftest.er1
19590 grep -v '^ *+' conftest.er1
>conftest.err
19592 cat conftest.err
>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } &&
19595 { ac_try
='test -z "$ac_c_werror_flag"
19596 || test ! -s conftest.err'
19597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19598 (eval $ac_try) 2>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); }; } &&
19602 { ac_try
='test -s conftest.$ac_objext'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; }; then
19608 ac_cv_have_decl_strstr
=yes
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.
$ac_ext >&5
19613 ac_cv_have_decl_strstr
=no
19615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19617 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
19618 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
19619 if test $ac_cv_have_decl_strstr = yes; then
19621 cat >>confdefs.h
<<_ACEOF
19622 #define HAVE_DECL_STRSTR 1
19627 cat >>confdefs.h
<<_ACEOF
19628 #define HAVE_DECL_STRSTR 0
19635 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
19636 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
19637 if test "${ac_cv_have_decl_getopt+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646 $ac_includes_default
19651 char *p = (char *) getopt;
19658 rm -f conftest.
$ac_objext
19659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19660 (eval $ac_compile) 2>conftest.er1
19662 grep -v '^ *+' conftest.er1
>conftest.err
19664 cat conftest.err
>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try
='test -z "$ac_c_werror_flag"
19668 || test ! -s conftest.err'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; } &&
19674 { ac_try
='test -s conftest.$ac_objext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 ac_cv_have_decl_getopt
=yes
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.
$ac_ext >&5
19685 ac_cv_have_decl_getopt
=no
19687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19689 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
19690 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
19691 if test $ac_cv_have_decl_getopt = yes; then
19693 cat >>confdefs.h
<<_ACEOF
19694 #define HAVE_DECL_GETOPT 1
19699 cat >>confdefs.h
<<_ACEOF
19700 #define HAVE_DECL_GETOPT 0
19705 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
19706 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
19707 if test "${ac_cv_have_decl_snprintf+set}" = set; then
19708 echo $ECHO_N "(cached) $ECHO_C" >&6
19710 cat >conftest.
$ac_ext <<_ACEOF
19713 cat confdefs.h
>>conftest.
$ac_ext
19714 cat >>conftest.
$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19716 $ac_includes_default
19721 char *p = (char *) snprintf;
19728 rm -f conftest.
$ac_objext
19729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19730 (eval $ac_compile) 2>conftest.er1
19732 grep -v '^ *+' conftest.er1
>conftest.err
19734 cat conftest.err
>&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } &&
19737 { ac_try
='test -z "$ac_c_werror_flag"
19738 || test ! -s conftest.err'
19739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 (eval $ac_try) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; } &&
19744 { ac_try
='test -s conftest.$ac_objext'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; }; then
19750 ac_cv_have_decl_snprintf
=yes
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.
$ac_ext >&5
19755 ac_cv_have_decl_snprintf
=no
19757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19759 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
19760 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
19761 if test $ac_cv_have_decl_snprintf = yes; then
19763 cat >>confdefs.h
<<_ACEOF
19764 #define HAVE_DECL_SNPRINTF 1
19769 cat >>confdefs.h
<<_ACEOF
19770 #define HAVE_DECL_SNPRINTF 0
19775 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
19776 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
19777 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 cat >conftest.
$ac_ext <<_ACEOF
19783 cat confdefs.h
>>conftest.
$ac_ext
19784 cat >>conftest.
$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786 $ac_includes_default
19791 char *p = (char *) vsnprintf;
19798 rm -f conftest.
$ac_objext
19799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19800 (eval $ac_compile) 2>conftest.er1
19802 grep -v '^ *+' conftest.er1
>conftest.err
19804 cat conftest.err
>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } &&
19807 { ac_try
='test -z "$ac_c_werror_flag"
19808 || test ! -s conftest.err'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; } &&
19814 { ac_try
='test -s conftest.$ac_objext'
19815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816 (eval $ac_try) 2>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); }; }; then
19820 ac_cv_have_decl_vsnprintf
=yes
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.
$ac_ext >&5
19825 ac_cv_have_decl_vsnprintf
=no
19827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19829 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
19830 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
19831 if test $ac_cv_have_decl_vsnprintf = yes; then
19833 cat >>confdefs.h
<<_ACEOF
19834 #define HAVE_DECL_VSNPRINTF 1
19839 cat >>confdefs.h
<<_ACEOF
19840 #define HAVE_DECL_VSNPRINTF 0
19848 # ----------------------- #
19849 # Checks for structures. #
19850 # ----------------------- #
19852 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19853 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19854 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19855 echo $ECHO_N "(cached) $ECHO_C" >&6
19857 cat >conftest.
$ac_ext <<_ACEOF
19860 cat confdefs.h
>>conftest.
$ac_ext
19861 cat >>conftest.
$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19867 static struct stat ac_aggr;
19868 if (ac_aggr.st_blocks)
19874 rm -f conftest.
$ac_objext
19875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19876 (eval $ac_compile) 2>conftest.er1
19878 grep -v '^ *+' conftest.er1
>conftest.err
19880 cat conftest.err
>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } &&
19883 { ac_try
='test -z "$ac_c_werror_flag"
19884 || test ! -s conftest.err'
19885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19886 (eval $ac_try) 2>&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); }; } &&
19890 { ac_try
='test -s conftest.$ac_objext'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; }; then
19896 ac_cv_member_struct_stat_st_blocks
=yes
19898 echo "$as_me: failed program was:" >&5
19899 sed 's/^/| /' conftest.
$ac_ext >&5
19901 cat >conftest.
$ac_ext <<_ACEOF
19904 cat confdefs.h
>>conftest.
$ac_ext
19905 cat >>conftest.
$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 $ac_includes_default
19911 static struct stat ac_aggr;
19912 if (sizeof ac_aggr.st_blocks)
19918 rm -f conftest.
$ac_objext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19920 (eval $ac_compile) 2>conftest.er1
19922 grep -v '^ *+' conftest.er1
>conftest.err
19924 cat conftest.err
>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } &&
19927 { ac_try
='test -z "$ac_c_werror_flag"
19928 || test ! -s conftest.err'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; } &&
19934 { ac_try
='test -s conftest.$ac_objext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 ac_cv_member_struct_stat_st_blocks
=yes
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.
$ac_ext >&5
19945 ac_cv_member_struct_stat_st_blocks
=no
19947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19951 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19952 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19953 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19955 cat >>confdefs.h
<<_ACEOF
19956 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19962 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
19963 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
19964 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19977 static struct stat ac_aggr;
19978 if (ac_aggr.st_blksize)
19984 rm -f conftest.
$ac_objext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19986 (eval $ac_compile) 2>conftest.er1
19988 grep -v '^ *+' conftest.er1
>conftest.err
19990 cat conftest.err
>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try
='test -z "$ac_c_werror_flag"
19994 || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20006 ac_cv_member_struct_stat_st_blksize
=yes
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.
$ac_ext >&5
20011 cat >conftest.
$ac_ext <<_ACEOF
20014 cat confdefs.h
>>conftest.
$ac_ext
20015 cat >>conftest.
$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20017 $ac_includes_default
20021 static struct stat ac_aggr;
20022 if (sizeof ac_aggr.st_blksize)
20028 rm -f conftest.
$ac_objext
20029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20030 (eval $ac_compile) 2>conftest.er1
20032 grep -v '^ *+' conftest.er1
>conftest.err
20034 cat conftest.err
>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } &&
20037 { ac_try
='test -z "$ac_c_werror_flag"
20038 || test ! -s conftest.err'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try
='test -s conftest.$ac_objext'
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; }; then
20050 ac_cv_member_struct_stat_st_blksize
=yes
20052 echo "$as_me: failed program was:" >&5
20053 sed 's/^/| /' conftest.
$ac_ext >&5
20055 ac_cv_member_struct_stat_st_blksize
=no
20057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20061 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
20062 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
20063 if test $ac_cv_member_struct_stat_st_blksize = yes; then
20065 cat >>confdefs.h
<<_ACEOF
20066 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
20073 # ------------------ #
20074 # Checks for types. #
20075 # ------------------ #
20077 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
20078 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
20079 if test "${ac_cv_type_signal+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 cat >conftest.
$ac_ext <<_ACEOF
20085 cat confdefs.h
>>conftest.
$ac_ext
20086 cat >>conftest.
$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 #include <sys/types.h>
20089 #include <signal.h>
20094 extern "C" void (*signal (int, void (*)(int)))(int);
20096 void (*signal ()) ();
20107 rm -f conftest.
$ac_objext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20109 (eval $ac_compile) 2>conftest.er1
20111 grep -v '^ *+' conftest.er1
>conftest.err
20113 cat conftest.err
>&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } &&
20116 { ac_try
='test -z "$ac_c_werror_flag"
20117 || test ! -s conftest.err'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try
='test -s conftest.$ac_objext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20129 ac_cv_type_signal
=void
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.
$ac_ext >&5
20134 ac_cv_type_signal
=int
20136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20138 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
20139 echo "${ECHO_T}$ac_cv_type_signal" >&6
20141 cat >>confdefs.h
<<_ACEOF
20142 #define RETSIGTYPE $ac_cv_type_signal
20146 echo "$as_me:$LINENO: checking for socklen_t" >&5
20147 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
20148 if test "${ac_cv_type_socklen_t+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20151 cat >conftest.
$ac_ext <<_ACEOF
20154 cat confdefs.h
>>conftest.
$ac_ext
20155 cat >>conftest.
$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 #include <sys/types.h>
20158 #include <sys/socket.h>
20164 if ((socklen_t *) 0)
20166 if (sizeof (socklen_t))
20172 rm -f conftest.
$ac_objext
20173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20174 (eval $ac_compile) 2>conftest.er1
20176 grep -v '^ *+' conftest.er1
>conftest.err
20178 cat conftest.err
>&5
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); } &&
20181 { ac_try
='test -z "$ac_c_werror_flag"
20182 || test ! -s conftest.err'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; } &&
20188 { ac_try
='test -s conftest.$ac_objext'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20194 ac_cv_type_socklen_t
=yes
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.
$ac_ext >&5
20199 ac_cv_type_socklen_t
=no
20201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20203 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
20204 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
20205 if test $ac_cv_type_socklen_t = yes; then
20207 cat >>confdefs.h
<<_ACEOF
20208 #define HAVE_SOCKLEN_T 1
20214 echo "$as_me:$LINENO: checking for uintptr_t" >&5
20215 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
20216 if test "${ac_cv_type_uintptr_t+set}" = set; then
20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20219 cat >conftest.
$ac_ext <<_ACEOF
20222 cat confdefs.h
>>conftest.
$ac_ext
20223 cat >>conftest.
$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20225 #include <stdint.h>
20230 if ((uintptr_t *) 0)
20232 if (sizeof (uintptr_t))
20238 rm -f conftest.
$ac_objext
20239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20240 (eval $ac_compile) 2>conftest.er1
20242 grep -v '^ *+' conftest.er1
>conftest.err
20244 cat conftest.err
>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } &&
20247 { ac_try
='test -z "$ac_c_werror_flag"
20248 || test ! -s conftest.err'
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); }; } &&
20254 { ac_try
='test -s conftest.$ac_objext'
20255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20256 (eval $ac_try) 2>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20260 ac_cv_type_uintptr_t
=yes
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.
$ac_ext >&5
20265 ac_cv_type_uintptr_t
=no
20267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20269 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
20270 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
20271 if test $ac_cv_type_uintptr_t = yes; then
20273 cat >>confdefs.h
<<_ACEOF
20274 #define HAVE_UINTPTR_T 1
20281 # ------------------------------------- #
20282 # Checks for compiler characteristics. #
20283 # ------------------------------------- #
20285 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20286 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20287 if test "${ac_cv_c_const+set}" = set; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 cat >conftest.
$ac_ext <<_ACEOF
20293 cat confdefs.h
>>conftest.
$ac_ext
20294 cat >>conftest.
$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20300 /* FIXME: Include the comments suggested by Paul. */
20301 #ifndef __cplusplus
20302 /* Ultrix mips cc rejects this. */
20303 typedef int charset[2];
20305 /* SunOS 4.1.1 cc rejects this. */
20306 char const *const *ccp;
20308 /* NEC SVR4.0.2 mips cc rejects this. */
20309 struct point {int x, y;};
20310 static struct point const zero = {0,0};
20311 /* AIX XL C 1.02.0.0 rejects this.
20312 It does not let you subtract one const X* pointer from another in
20313 an arm of an if-expression whose if-part is not a constant
20315 const char *g = "string";
20316 ccp = &g + (g ? g-g : 0);
20317 /* HPUX 7.0 cc rejects these. */
20320 ccp = (char const *const *) p;
20321 { /* SCO 3.2v4 cc rejects this. */
20323 char const *s = 0 ? (char *) 0 : (char const *) 0;
20327 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20328 int x[] = {25, 17};
20329 const int *foo = &x[0];
20332 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20333 typedef const int *iptr;
20337 { /* AIX XL C 1.02.0.0 rejects this saying
20338 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20339 struct s { int j; const int *ap[3]; };
20340 struct s *b; b->j = 5;
20342 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20343 const int foo = 10;
20351 rm -f conftest.
$ac_objext
20352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20353 (eval $ac_compile) 2>conftest.er1
20355 grep -v '^ *+' conftest.er1
>conftest.err
20357 cat conftest.err
>&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } &&
20360 { ac_try
='test -z "$ac_c_werror_flag"
20361 || test ! -s conftest.err'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; } &&
20367 { ac_try
='test -s conftest.$ac_objext'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.
$ac_ext >&5
20380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20382 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20383 echo "${ECHO_T}$ac_cv_c_const" >&6
20384 if test $ac_cv_c_const = no
; then
20386 cat >>confdefs.h
<<\_ACEOF
20392 echo "$as_me:$LINENO: checking for inline" >&5
20393 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20394 if test "${ac_cv_c_inline+set}" = set; then
20395 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 for ac_kw
in inline __inline__ __inline
; do
20399 cat >conftest.
$ac_ext <<_ACEOF
20402 cat confdefs.h
>>conftest.
$ac_ext
20403 cat >>conftest.
$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 #ifndef __cplusplus
20407 static $ac_kw foo_t static_foo () {return 0; }
20408 $ac_kw foo_t foo () {return 0; }
20412 rm -f conftest.
$ac_objext
20413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20414 (eval $ac_compile) 2>conftest.er1
20416 grep -v '^ *+' conftest.er1
>conftest.err
20418 cat conftest.err
>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } &&
20421 { ac_try
='test -z "$ac_c_werror_flag"
20422 || test ! -s conftest.err'
20423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20424 (eval $ac_try) 2>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); }; } &&
20428 { ac_try
='test -s conftest.$ac_objext'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; }; then
20434 ac_cv_c_inline
=$ac_kw; break
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.
$ac_ext >&5
20440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20444 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20445 echo "${ECHO_T}$ac_cv_c_inline" >&6
20448 case $ac_cv_c_inline in
20451 case $ac_cv_c_inline in
20453 *) ac_val
=$ac_cv_c_inline;;
20455 cat >>confdefs.h
<<_ACEOF
20456 #ifndef __cplusplus
20457 #define inline $ac_val
20463 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20464 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20465 if test "${ac_cv_c_bigendian+set}" = set; then
20466 echo $ECHO_N "(cached) $ECHO_C" >&6
20468 # See if sys/param.h defines the BYTE_ORDER macro.
20469 cat >conftest.
$ac_ext <<_ACEOF
20472 cat confdefs.h
>>conftest.
$ac_ext
20473 cat >>conftest.
$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475 #include <sys/types.h>
20476 #include <sys/param.h>
20481 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20482 bogus endian macros
20489 rm -f conftest.
$ac_objext
20490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20491 (eval $ac_compile) 2>conftest.er1
20493 grep -v '^ *+' conftest.er1
>conftest.err
20495 cat conftest.err
>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } &&
20498 { ac_try
='test -z "$ac_c_werror_flag"
20499 || test ! -s conftest.err'
20500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20501 (eval $ac_try) 2>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); }; } &&
20505 { ac_try
='test -s conftest.$ac_objext'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; }; then
20511 # It does; now see whether it defined to BIG_ENDIAN or not.
20512 cat >conftest.
$ac_ext <<_ACEOF
20515 cat confdefs.h
>>conftest.
$ac_ext
20516 cat >>conftest.
$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 #include <sys/types.h>
20519 #include <sys/param.h>
20524 #if BYTE_ORDER != BIG_ENDIAN
20532 rm -f conftest.
$ac_objext
20533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20534 (eval $ac_compile) 2>conftest.er1
20536 grep -v '^ *+' conftest.er1
>conftest.err
20538 cat conftest.err
>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } &&
20541 { ac_try
='test -z "$ac_c_werror_flag"
20542 || test ! -s conftest.err'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; } &&
20548 { ac_try
='test -s conftest.$ac_objext'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_cv_c_bigendian
=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 ac_cv_c_bigendian
=no
20561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.
$ac_ext >&5
20566 # It does not; compile a test program.
20567 if test "$cross_compiling" = yes; then
20568 # try to guess the endianness by grepping values into an object file
20569 ac_cv_c_bigendian
=unknown
20570 cat >conftest.
$ac_ext <<_ACEOF
20573 cat confdefs.h
>>conftest.
$ac_ext
20574 cat >>conftest.
$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20577 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20578 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20579 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20580 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20581 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20585 _ascii (); _ebcdic ();
20590 rm -f conftest.
$ac_objext
20591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20592 (eval $ac_compile) 2>conftest.er1
20594 grep -v '^ *+' conftest.er1
>conftest.err
20596 cat conftest.err
>&5
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); } &&
20599 { ac_try
='test -z "$ac_c_werror_flag"
20600 || test ! -s conftest.err'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; } &&
20606 { ac_try
='test -s conftest.$ac_objext'
20607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20608 (eval $ac_try) 2>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); }; }; then
20612 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
20613 ac_cv_c_bigendian
=yes
20615 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
20616 if test "$ac_cv_c_bigendian" = unknown
; then
20617 ac_cv_c_bigendian
=no
20619 # finding both strings is unlikely to happen, but who knows?
20620 ac_cv_c_bigendian
=unknown
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.
$ac_ext >&5
20628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20630 cat >conftest.
$ac_ext <<_ACEOF
20633 cat confdefs.h
>>conftest.
$ac_ext
20634 cat >>conftest.
$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20639 /* Are we little or big endian? From Harbison&Steele. */
20643 char c[sizeof (long)];
20646 exit (u.c[sizeof (long) - 1] == 1);
20649 rm -f conftest
$ac_exeext
20650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20651 (eval $ac_link) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20660 ac_cv_c_bigendian
=no
20662 echo "$as_me: program exited with status $ac_status" >&5
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.
$ac_ext >&5
20666 ( exit $ac_status )
20667 ac_cv_c_bigendian
=yes
20669 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20674 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20675 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20676 case $ac_cv_c_bigendian in
20679 cat >>confdefs.h
<<\_ACEOF
20680 #define WORDS_BIGENDIAN 1
20686 { { echo "$as_me:$LINENO: error: unknown endianness
20687 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20688 echo "$as_me: error: unknown endianness
20689 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20690 { (exit 1); exit 1; }; } ;;
20694 # ------------------------------ #
20695 # Checks for library functions. #
20696 # ------------------------------ #
20698 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20699 # for constant arguments. Useless!
20700 echo "$as_me:$LINENO: checking for working alloca.h" >&5
20701 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
20702 if test "${ac_cv_working_alloca_h+set}" = set; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 cat >conftest.
$ac_ext <<_ACEOF
20708 cat confdefs.h
>>conftest.
$ac_ext
20709 cat >>conftest.
$ac_ext <<_ACEOF
20710 /* end confdefs.h. */
20711 #include <alloca.h>
20715 char *p = (char *) alloca (2 * sizeof (int));
20720 rm -f conftest.
$ac_objext conftest
$ac_exeext
20721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20722 (eval $ac_link) 2>conftest.er1
20724 grep -v '^ *+' conftest.er1
>conftest.err
20726 cat conftest.err
>&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } &&
20729 { ac_try
='test -z "$ac_c_werror_flag"
20730 || test ! -s conftest.err'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; } &&
20736 { ac_try
='test -s conftest$ac_exeext'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; }; then
20742 ac_cv_working_alloca_h
=yes
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.
$ac_ext >&5
20747 ac_cv_working_alloca_h
=no
20749 rm -f conftest.err conftest.
$ac_objext \
20750 conftest
$ac_exeext conftest.
$ac_ext
20752 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20753 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
20754 if test $ac_cv_working_alloca_h = yes; then
20756 cat >>confdefs.h
<<\_ACEOF
20757 #define HAVE_ALLOCA_H 1
20762 echo "$as_me:$LINENO: checking for alloca" >&5
20763 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
20764 if test "${ac_cv_func_alloca_works+set}" = set; then
20765 echo $ECHO_N "(cached) $ECHO_C" >&6
20767 cat >conftest.
$ac_ext <<_ACEOF
20770 cat confdefs.h
>>conftest.
$ac_ext
20771 cat >>conftest.
$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20774 # define alloca __builtin_alloca
20777 # include <malloc.h>
20778 # define alloca _alloca
20781 # include <alloca.h>
20786 # ifndef alloca /* predefined by HP cc +Olibcalls */
20797 char *p = (char *) alloca (1);
20802 rm -f conftest.
$ac_objext conftest
$ac_exeext
20803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20804 (eval $ac_link) 2>conftest.er1
20806 grep -v '^ *+' conftest.er1
>conftest.err
20808 cat conftest.err
>&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try
='test -z "$ac_c_werror_flag"
20812 || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try
='test -s conftest$ac_exeext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 ac_cv_func_alloca_works
=yes
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.
$ac_ext >&5
20829 ac_cv_func_alloca_works
=no
20831 rm -f conftest.err conftest.
$ac_objext \
20832 conftest
$ac_exeext conftest.
$ac_ext
20834 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
20835 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
20837 if test $ac_cv_func_alloca_works = yes; then
20839 cat >>confdefs.h
<<\_ACEOF
20840 #define HAVE_ALLOCA 1
20844 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20845 # that cause trouble. Some versions do not even contain alloca or
20846 # contain a buggy version. If you still want to use their alloca,
20847 # use ar to extract alloca.o from them instead of compiling alloca.c.
20849 ALLOCA
=alloca.
$ac_objext
20851 cat >>confdefs.h
<<\_ACEOF
20856 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
20857 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
20858 if test "${ac_cv_os_cray+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20861 cat >conftest.
$ac_ext <<_ACEOF
20864 cat confdefs.h
>>conftest.
$ac_ext
20865 cat >>conftest.
$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 #if defined(CRAY) && ! defined(CRAY2)
20874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20875 $EGREP "webecray" >/dev
/null
2>&1; then
20883 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
20884 echo "${ECHO_T}$ac_cv_os_cray" >&6
20885 if test $ac_cv_os_cray = yes; then
20886 for ac_func
in _getb67 GETB67 getb67
; do
20887 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20888 echo "$as_me:$LINENO: checking for $ac_func" >&5
20889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20890 if eval "test \"\${$as_ac_var+set}\" = set"; then
20891 echo $ECHO_N "(cached) $ECHO_C" >&6
20893 cat >conftest.
$ac_ext <<_ACEOF
20896 cat confdefs.h
>>conftest.
$ac_ext
20897 cat >>conftest.
$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20901 #define $ac_func innocuous_$ac_func
20903 /* System header to define __stub macros and hopefully few prototypes,
20904 which can conflict with char $ac_func (); below.
20905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20906 <limits.h> exists even on freestanding compilers. */
20909 # include <limits.h>
20911 # include <assert.h>
20916 /* Override any gcc2 internal prototype to avoid an error. */
20921 /* We use char because int might match the return type of a gcc2
20922 builtin and then its argument prototype would still apply. */
20924 /* The GNU C library defines this for functions which it implements
20925 to always fail with ENOSYS. Some functions are actually named
20926 something starting with __ and the normal name is an alias. */
20927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20930 char (*f) () = $ac_func;
20939 return f != $ac_func;
20944 rm -f conftest.
$ac_objext conftest
$ac_exeext
20945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20946 (eval $ac_link) 2>conftest.er1
20948 grep -v '^ *+' conftest.er1
>conftest.err
20950 cat conftest.err
>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); } &&
20953 { ac_try
='test -z "$ac_c_werror_flag"
20954 || test ! -s conftest.err'
20955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20956 (eval $ac_try) 2>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); }; } &&
20960 { ac_try
='test -s conftest$ac_exeext'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; }; then
20966 eval "$as_ac_var=yes"
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.
$ac_ext >&5
20971 eval "$as_ac_var=no"
20973 rm -f conftest.err conftest.
$ac_objext \
20974 conftest
$ac_exeext conftest.
$ac_ext
20976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20978 if test `eval echo '${'$as_ac_var'}'` = yes; then
20980 cat >>confdefs.h
<<_ACEOF
20981 #define CRAY_STACKSEG_END $ac_func
20990 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
20991 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
20992 if test "${ac_cv_c_stack_direction+set}" = set; then
20993 echo $ECHO_N "(cached) $ECHO_C" >&6
20995 if test "$cross_compiling" = yes; then
20996 ac_cv_c_stack_direction
=0
20998 cat >conftest.
$ac_ext <<_ACEOF
21001 cat confdefs.h
>>conftest.
$ac_ext
21002 cat >>conftest.
$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21005 find_stack_direction ()
21007 static char *addr = 0;
21012 return find_stack_direction ();
21015 return (&dummy > addr) ? 1 : -1;
21021 exit (find_stack_direction () < 0);
21024 rm -f conftest
$ac_exeext
21025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21026 (eval $ac_link) 2>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 ac_cv_c_stack_direction
=1
21037 echo "$as_me: program exited with status $ac_status" >&5
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.
$ac_ext >&5
21041 ( exit $ac_status )
21042 ac_cv_c_stack_direction
=-1
21044 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21047 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21048 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21050 cat >>confdefs.h
<<_ACEOF
21051 #define STACK_DIRECTION $ac_cv_c_stack_direction
21059 for ac_header
in stdlib.h unistd.h
21061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21063 echo "$as_me:$LINENO: checking for $ac_header" >&5
21064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21071 # Is the header compilable?
21072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21074 cat >conftest.
$ac_ext <<_ACEOF
21077 cat confdefs.h
>>conftest.
$ac_ext
21078 cat >>conftest.
$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 #include <$ac_header>
21083 rm -f conftest.
$ac_objext
21084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21085 (eval $ac_compile) 2>conftest.er1
21087 grep -v '^ *+' conftest.er1
>conftest.err
21089 cat conftest.err
>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } &&
21092 { ac_try
='test -z "$ac_c_werror_flag"
21093 || test ! -s conftest.err'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; } &&
21099 { ac_try
='test -s conftest.$ac_objext'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; }; then
21105 ac_header_compiler
=yes
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.
$ac_ext >&5
21110 ac_header_compiler
=no
21112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21114 echo "${ECHO_T}$ac_header_compiler" >&6
21116 # Is the header present?
21117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21119 cat >conftest.
$ac_ext <<_ACEOF
21122 cat confdefs.h
>>conftest.
$ac_ext
21123 cat >>conftest.
$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21125 #include <$ac_header>
21127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21130 grep -v '^ *+' conftest.er1
>conftest.err
21132 cat conftest.err
>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } >/dev
/null
; then
21135 if test -s conftest.err
; then
21136 ac_cpp_err
=$ac_c_preproc_warn_flag
21137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21144 if test -z "$ac_cpp_err"; then
21145 ac_header_preproc
=yes
21147 echo "$as_me: failed program was:" >&5
21148 sed 's/^/| /' conftest.
$ac_ext >&5
21150 ac_header_preproc
=no
21152 rm -f conftest.err conftest.
$ac_ext
21153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21154 echo "${ECHO_T}$ac_header_preproc" >&6
21156 # So? What about this header?
21157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21163 ac_header_preproc
=yes
21166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21180 ## ------------------------------------------ ##
21181 ## Report this to the AC_PACKAGE_NAME lists. ##
21182 ## ------------------------------------------ ##
21185 sed "s/^/$as_me: WARNING: /" >&2
21188 echo "$as_me:$LINENO: checking for $ac_header" >&5
21189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21191 echo $ECHO_N "(cached) $ECHO_C" >&6
21193 eval "$as_ac_Header=\$ac_header_preproc"
21195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21200 cat >>confdefs.h
<<_ACEOF
21201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21209 for ac_func
in getpagesize
21211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21212 echo "$as_me:$LINENO: checking for $ac_func" >&5
21213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21214 if eval "test \"\${$as_ac_var+set}\" = set"; then
21215 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 cat >conftest.
$ac_ext <<_ACEOF
21220 cat confdefs.h
>>conftest.
$ac_ext
21221 cat >>conftest.
$ac_ext <<_ACEOF
21222 /* end confdefs.h. */
21223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21225 #define $ac_func innocuous_$ac_func
21227 /* System header to define __stub macros and hopefully few prototypes,
21228 which can conflict with char $ac_func (); below.
21229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21230 <limits.h> exists even on freestanding compilers. */
21233 # include <limits.h>
21235 # include <assert.h>
21240 /* Override any gcc2 internal prototype to avoid an error. */
21245 /* We use char because int might match the return type of a gcc2
21246 builtin and then its argument prototype would still apply. */
21248 /* The GNU C library defines this for functions which it implements
21249 to always fail with ENOSYS. Some functions are actually named
21250 something starting with __ and the normal name is an alias. */
21251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21254 char (*f) () = $ac_func;
21263 return f != $ac_func;
21268 rm -f conftest.
$ac_objext conftest
$ac_exeext
21269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21270 (eval $ac_link) 2>conftest.er1
21272 grep -v '^ *+' conftest.er1
>conftest.err
21274 cat conftest.err
>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } &&
21277 { ac_try
='test -z "$ac_c_werror_flag"
21278 || test ! -s conftest.err'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; } &&
21284 { ac_try
='test -s conftest$ac_exeext'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; }; then
21290 eval "$as_ac_var=yes"
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.
$ac_ext >&5
21295 eval "$as_ac_var=no"
21297 rm -f conftest.err conftest.
$ac_objext \
21298 conftest
$ac_exeext conftest.
$ac_ext
21300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21302 if test `eval echo '${'$as_ac_var'}'` = yes; then
21303 cat >>confdefs.h
<<_ACEOF
21304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21310 echo "$as_me:$LINENO: checking for working mmap" >&5
21311 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21312 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21313 echo $ECHO_N "(cached) $ECHO_C" >&6
21315 if test "$cross_compiling" = yes; then
21316 ac_cv_func_mmap_fixed_mapped
=no
21318 cat >conftest.
$ac_ext <<_ACEOF
21321 cat confdefs.h
>>conftest.
$ac_ext
21322 cat >>conftest.
$ac_ext <<_ACEOF
21323 /* end confdefs.h. */
21324 $ac_includes_default
21325 /* malloc might have been renamed as rpl_malloc. */
21328 /* Thanks to Mike Haertel and Jim Avera for this test.
21329 Here is a matrix of mmap possibilities:
21330 mmap private not fixed
21331 mmap private fixed at somewhere currently unmapped
21332 mmap private fixed at somewhere already mapped
21333 mmap shared not fixed
21334 mmap shared fixed at somewhere currently unmapped
21335 mmap shared fixed at somewhere already mapped
21336 For private mappings, we should verify that changes cannot be read()
21337 back from the file, nor mmap's back from the file at a different
21338 address. (There have been systems where private was not correctly
21339 implemented like the infamous i386 svr4.0, and systems where the
21340 VM page cache was not coherent with the file system buffer cache
21341 like early versions of FreeBSD and possibly contemporary NetBSD.)
21342 For shared mappings, we should conversely verify that changes get
21343 propagated back to all the places they're supposed to be.
21345 Grep wants private fixed already mapped.
21346 The main things grep needs to know about mmap are:
21347 * does it exist and is it safe to write into the mmap'd area
21348 * how to use it (BSD variants) */
21351 #include <sys/mman.h>
21353 #if !STDC_HEADERS && !HAVE_STDLIB_H
21357 /* This mess was copied from the GNU getpagesize.h. */
21358 #if !HAVE_GETPAGESIZE
21359 /* Assume that all systems that can run configure have sys/param.h. */
21360 # if !HAVE_SYS_PARAM_H
21361 # define HAVE_SYS_PARAM_H 1
21364 # ifdef _SC_PAGESIZE
21365 # define getpagesize() sysconf(_SC_PAGESIZE)
21366 # else /* no _SC_PAGESIZE */
21367 # if HAVE_SYS_PARAM_H
21368 # include <sys/param.h>
21369 # ifdef EXEC_PAGESIZE
21370 # define getpagesize() EXEC_PAGESIZE
21371 # else /* no EXEC_PAGESIZE */
21373 # define getpagesize() NBPG * CLSIZE
21376 # endif /* no CLSIZE */
21377 # else /* no NBPG */
21379 # define getpagesize() NBPC
21380 # else /* no NBPC */
21382 # define getpagesize() PAGESIZE
21383 # endif /* PAGESIZE */
21384 # endif /* no NBPC */
21385 # endif /* no NBPG */
21386 # endif /* no EXEC_PAGESIZE */
21387 # else /* no HAVE_SYS_PARAM_H */
21388 # define getpagesize() 8192 /* punt totally */
21389 # endif /* no HAVE_SYS_PARAM_H */
21390 # endif /* no _SC_PAGESIZE */
21392 #endif /* no HAVE_GETPAGESIZE */
21397 char *data, *data2, *data3;
21401 pagesize = getpagesize ();
21403 /* First, make a file with some known garbage in it. */
21404 data = (char *) malloc (pagesize);
21407 for (i = 0; i < pagesize; ++i)
21408 *(data + i) = rand ();
21410 fd = creat ("conftest.mmap", 0600);
21413 if (write (fd, data, pagesize) != pagesize)
21417 /* Next, try to mmap the file at a fixed address which already has
21418 something else allocated at it. If we can, also make sure that
21419 we see the same garbage. */
21420 fd = open ("conftest.mmap", O_RDWR);
21423 data2 = (char *) malloc (2 * pagesize);
21426 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
21427 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21428 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21430 for (i = 0; i < pagesize; ++i)
21431 if (*(data + i) != *(data2 + i))
21434 /* Finally, make sure that changes to the mapped area do not
21435 percolate back to the file as seen by read(). (This is a bug on
21436 some variants of i386 svr4.0.) */
21437 for (i = 0; i < pagesize; ++i)
21438 *(data2 + i) = *(data2 + i) + 1;
21439 data3 = (char *) malloc (pagesize);
21442 if (read (fd, data3, pagesize) != pagesize)
21444 for (i = 0; i < pagesize; ++i)
21445 if (*(data + i) != *(data3 + i))
21451 rm -f conftest
$ac_exeext
21452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21453 (eval $ac_link) 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21458 (eval $ac_try) 2>&5
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); }; }; then
21462 ac_cv_func_mmap_fixed_mapped
=yes
21464 echo "$as_me: program exited with status $ac_status" >&5
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.
$ac_ext >&5
21468 ( exit $ac_status )
21469 ac_cv_func_mmap_fixed_mapped
=no
21471 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21474 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
21475 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
21476 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21478 cat >>confdefs.h
<<\_ACEOF
21479 #define HAVE_MMAP 1
21483 rm -f conftest.mmap
21485 echo "$as_me:$LINENO: checking for pid_t" >&5
21486 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
21487 if test "${ac_cv_type_pid_t+set}" = set; then
21488 echo $ECHO_N "(cached) $ECHO_C" >&6
21490 cat >conftest.
$ac_ext <<_ACEOF
21493 cat confdefs.h
>>conftest.
$ac_ext
21494 cat >>conftest.
$ac_ext <<_ACEOF
21495 /* end confdefs.h. */
21496 $ac_includes_default
21502 if (sizeof (pid_t))
21508 rm -f conftest.
$ac_objext
21509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21510 (eval $ac_compile) 2>conftest.er1
21512 grep -v '^ *+' conftest.er1
>conftest.err
21514 cat conftest.err
>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } &&
21517 { ac_try
='test -z "$ac_c_werror_flag"
21518 || test ! -s conftest.err'
21519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520 (eval $ac_try) 2>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; } &&
21524 { ac_try
='test -s conftest.$ac_objext'
21525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21526 (eval $ac_try) 2>&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); }; }; then
21530 ac_cv_type_pid_t
=yes
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.
$ac_ext >&5
21535 ac_cv_type_pid_t
=no
21537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21539 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
21540 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
21541 if test $ac_cv_type_pid_t = yes; then
21545 cat >>confdefs.h
<<_ACEOF
21553 for ac_header
in unistd.h vfork.h
21555 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21557 echo "$as_me:$LINENO: checking for $ac_header" >&5
21558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21565 # Is the header compilable?
21566 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21567 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21568 cat >conftest.
$ac_ext <<_ACEOF
21571 cat confdefs.h
>>conftest.
$ac_ext
21572 cat >>conftest.
$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 $ac_includes_default
21575 #include <$ac_header>
21577 rm -f conftest.
$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21581 grep -v '^ *+' conftest.er1
>conftest.err
21583 cat conftest.err
>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try
='test -z "$ac_c_werror_flag"
21587 || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try
='test -s conftest.$ac_objext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 ac_header_compiler
=yes
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.
$ac_ext >&5
21604 ac_header_compiler
=no
21606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21608 echo "${ECHO_T}$ac_header_compiler" >&6
21610 # Is the header present?
21611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21613 cat >conftest.
$ac_ext <<_ACEOF
21616 cat confdefs.h
>>conftest.
$ac_ext
21617 cat >>conftest.
$ac_ext <<_ACEOF
21618 /* end confdefs.h. */
21619 #include <$ac_header>
21621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21622 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21624 grep -v '^ *+' conftest.er1
>conftest.err
21626 cat conftest.err
>&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } >/dev
/null
; then
21629 if test -s conftest.err
; then
21630 ac_cpp_err
=$ac_c_preproc_warn_flag
21631 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21638 if test -z "$ac_cpp_err"; then
21639 ac_header_preproc
=yes
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.
$ac_ext >&5
21644 ac_header_preproc
=no
21646 rm -f conftest.err conftest.
$ac_ext
21647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21648 echo "${ECHO_T}$ac_header_preproc" >&6
21650 # So? What about this header?
21651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21657 ac_header_preproc
=yes
21660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21674 ## ------------------------------------------ ##
21675 ## Report this to the AC_PACKAGE_NAME lists. ##
21676 ## ------------------------------------------ ##
21679 sed "s/^/$as_me: WARNING: /" >&2
21682 echo "$as_me:$LINENO: checking for $ac_header" >&5
21683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21685 echo $ECHO_N "(cached) $ECHO_C" >&6
21687 eval "$as_ac_Header=\$ac_header_preproc"
21689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21694 cat >>confdefs.h
<<_ACEOF
21695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21704 for ac_func
in fork vfork
21706 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21707 echo "$as_me:$LINENO: checking for $ac_func" >&5
21708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21709 if eval "test \"\${$as_ac_var+set}\" = set"; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 cat >conftest.
$ac_ext <<_ACEOF
21715 cat confdefs.h
>>conftest.
$ac_ext
21716 cat >>conftest.
$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21720 #define $ac_func innocuous_$ac_func
21722 /* System header to define __stub macros and hopefully few prototypes,
21723 which can conflict with char $ac_func (); below.
21724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21725 <limits.h> exists even on freestanding compilers. */
21728 # include <limits.h>
21730 # include <assert.h>
21735 /* Override any gcc2 internal prototype to avoid an error. */
21740 /* We use char because int might match the return type of a gcc2
21741 builtin and then its argument prototype would still apply. */
21743 /* The GNU C library defines this for functions which it implements
21744 to always fail with ENOSYS. Some functions are actually named
21745 something starting with __ and the normal name is an alias. */
21746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21749 char (*f) () = $ac_func;
21758 return f != $ac_func;
21763 rm -f conftest.
$ac_objext conftest
$ac_exeext
21764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21765 (eval $ac_link) 2>conftest.er1
21767 grep -v '^ *+' conftest.er1
>conftest.err
21769 cat conftest.err
>&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } &&
21772 { ac_try
='test -z "$ac_c_werror_flag"
21773 || test ! -s conftest.err'
21774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775 (eval $ac_try) 2>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; } &&
21779 { ac_try
='test -s conftest$ac_exeext'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; }; then
21785 eval "$as_ac_var=yes"
21787 echo "$as_me: failed program was:" >&5
21788 sed 's/^/| /' conftest.
$ac_ext >&5
21790 eval "$as_ac_var=no"
21792 rm -f conftest.err conftest.
$ac_objext \
21793 conftest
$ac_exeext conftest.
$ac_ext
21795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21797 if test `eval echo '${'$as_ac_var'}'` = yes; then
21798 cat >>confdefs.h
<<_ACEOF
21799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21805 if test "x$ac_cv_func_fork" = xyes
; then
21806 echo "$as_me:$LINENO: checking for working fork" >&5
21807 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
21808 if test "${ac_cv_func_fork_works+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21811 if test "$cross_compiling" = yes; then
21812 ac_cv_func_fork_works
=cross
21814 cat >conftest.
$ac_ext <<_ACEOF
21815 /* By Ruediger Kuhlmann. */
21816 #include <sys/types.h>
21818 # include <unistd.h>
21820 /* Some systems only have a dummy stub for fork() */
21828 rm -f conftest
$ac_exeext
21829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21830 (eval $ac_link) 2>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 ac_cv_func_fork_works
=yes
21841 echo "$as_me: program exited with status $ac_status" >&5
21842 echo "$as_me: failed program was:" >&5
21843 sed 's/^/| /' conftest.
$ac_ext >&5
21845 ( exit $ac_status )
21846 ac_cv_func_fork_works
=no
21848 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21851 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21852 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
21855 ac_cv_func_fork_works
=$ac_cv_func_fork
21857 if test "x$ac_cv_func_fork_works" = xcross
; then
21859 *-*-amigaos* |
*-*-msdosdjgpp*)
21860 # Override, as these systems have only a dummy fork() stub
21861 ac_cv_func_fork_works
=no
21864 ac_cv_func_fork_works
=yes
21867 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21868 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21870 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21871 if test "x$ac_cv_func_vfork" = xyes
; then
21872 echo "$as_me:$LINENO: checking for working vfork" >&5
21873 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
21874 if test "${ac_cv_func_vfork_works+set}" = set; then
21875 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 if test "$cross_compiling" = yes; then
21878 ac_cv_func_vfork_works
=cross
21880 cat >conftest.
$ac_ext <<_ACEOF
21883 cat confdefs.h
>>conftest.
$ac_ext
21884 cat >>conftest.
$ac_ext <<_ACEOF
21885 /* end confdefs.h. */
21886 /* Thanks to Paul Eggert for this test. */
21888 #include <stdlib.h>
21889 #include <sys/types.h>
21890 #include <sys/stat.h>
21891 #include <sys/wait.h>
21893 # include <unistd.h>
21896 # include <vfork.h>
21898 /* On some sparc systems, changes by the child to local and incoming
21899 argument registers are propagated back to the parent. The compiler
21900 is told about this with #include <vfork.h>, but some compilers
21901 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21902 static variable whose address is put into a register that is
21903 clobbered by the vfork. */
21906 sparc_address_test (int arg)
21908 sparc_address_test (arg) int arg;
21911 static pid_t child;
21929 pid_t parent = getpid ();
21932 sparc_address_test (0);
21937 /* Here is another test for sparc vfork register problems. This
21938 test uses lots of local variables, at least as many local
21939 variables as main has allocated so far including compiler
21940 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21941 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21942 reuse the register of parent for one of the local variables,
21943 since it will think that parent can't possibly be used any more
21944 in this routine. Assigning to the local variable will thus
21945 munge parent in the parent process. */
21947 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21948 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21949 /* Convince the compiler that p..p7 are live; otherwise, it might
21950 use the same hardware register for all 8 local variables. */
21951 if (p != p1 || p != p2 || p != p3 || p != p4
21952 || p != p5 || p != p6 || p != p7)
21955 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21956 from child file descriptors. If the child closes a descriptor
21957 before it execs or exits, this munges the parent's descriptor
21958 as well. Test for this by closing stdout in the child. */
21959 _exit(close(fileno(stdout)) != 0);
21964 while (wait(&status) != child)
21967 /* Was there some problem with vforking? */
21970 /* Did the child fail? (This shouldn't happen.) */
21973 /* Did the vfork/compiler bug occur? */
21974 || parent != getpid()
21976 /* Did the file descriptor bug occur? */
21977 || fstat(fileno(stdout), &st) != 0
21982 rm -f conftest
$ac_exeext
21983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21984 (eval $ac_link) 2>&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; }; then
21993 ac_cv_func_vfork_works
=yes
21995 echo "$as_me: program exited with status $ac_status" >&5
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.
$ac_ext >&5
21999 ( exit $ac_status )
22000 ac_cv_func_vfork_works
=no
22002 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22005 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
22006 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
22009 if test "x$ac_cv_func_fork_works" = xcross
; then
22010 ac_cv_func_vfork_works
=$ac_cv_func_vfork
22011 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
22012 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
22015 if test "x$ac_cv_func_vfork_works" = xyes
; then
22017 cat >>confdefs.h
<<\_ACEOF
22018 #define HAVE_WORKING_VFORK 1
22023 cat >>confdefs.h
<<\_ACEOF
22028 if test "x$ac_cv_func_fork_works" = xyes
; then
22030 cat >>confdefs.h
<<\_ACEOF
22031 #define HAVE_WORKING_FORK 1
22038 for ac_func
in canonicalize_file_name realpath
22040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22041 echo "$as_me:$LINENO: checking for $ac_func" >&5
22042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22043 if eval "test \"\${$as_ac_var+set}\" = set"; then
22044 echo $ECHO_N "(cached) $ECHO_C" >&6
22046 cat >conftest.
$ac_ext <<_ACEOF
22049 cat confdefs.h
>>conftest.
$ac_ext
22050 cat >>conftest.
$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22054 #define $ac_func innocuous_$ac_func
22056 /* System header to define __stub macros and hopefully few prototypes,
22057 which can conflict with char $ac_func (); below.
22058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22059 <limits.h> exists even on freestanding compilers. */
22062 # include <limits.h>
22064 # include <assert.h>
22069 /* Override any gcc2 internal prototype to avoid an error. */
22074 /* We use char because int might match the return type of a gcc2
22075 builtin and then its argument prototype would still apply. */
22077 /* The GNU C library defines this for functions which it implements
22078 to always fail with ENOSYS. Some functions are actually named
22079 something starting with __ and the normal name is an alias. */
22080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22083 char (*f) () = $ac_func;
22092 return f != $ac_func;
22097 rm -f conftest.
$ac_objext conftest
$ac_exeext
22098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22099 (eval $ac_link) 2>conftest.er1
22101 grep -v '^ *+' conftest.er1
>conftest.err
22103 cat conftest.err
>&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } &&
22106 { ac_try
='test -z "$ac_c_werror_flag"
22107 || test ! -s conftest.err'
22108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22109 (eval $ac_try) 2>&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); }; } &&
22113 { ac_try
='test -s conftest$ac_exeext'
22114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22115 (eval $ac_try) 2>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); }; }; then
22119 eval "$as_ac_var=yes"
22121 echo "$as_me: failed program was:" >&5
22122 sed 's/^/| /' conftest.
$ac_ext >&5
22124 eval "$as_ac_var=no"
22126 rm -f conftest.err conftest.
$ac_objext \
22127 conftest
$ac_exeext conftest.
$ac_ext
22129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22131 if test `eval echo '${'$as_ac_var'}'` = yes; then
22132 cat >>confdefs.h
<<_ACEOF
22133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22140 for ac_func
in getrusage
22142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22143 echo "$as_me:$LINENO: checking for $ac_func" >&5
22144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22145 if eval "test \"\${$as_ac_var+set}\" = set"; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 cat >conftest.
$ac_ext <<_ACEOF
22151 cat confdefs.h
>>conftest.
$ac_ext
22152 cat >>conftest.
$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22156 #define $ac_func innocuous_$ac_func
22158 /* System header to define __stub macros and hopefully few prototypes,
22159 which can conflict with char $ac_func (); below.
22160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22161 <limits.h> exists even on freestanding compilers. */
22164 # include <limits.h>
22166 # include <assert.h>
22171 /* Override any gcc2 internal prototype to avoid an error. */
22176 /* We use char because int might match the return type of a gcc2
22177 builtin and then its argument prototype would still apply. */
22179 /* The GNU C library defines this for functions which it implements
22180 to always fail with ENOSYS. Some functions are actually named
22181 something starting with __ and the normal name is an alias. */
22182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22185 char (*f) () = $ac_func;
22194 return f != $ac_func;
22199 rm -f conftest.
$ac_objext conftest
$ac_exeext
22200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22201 (eval $ac_link) 2>conftest.er1
22203 grep -v '^ *+' conftest.er1
>conftest.err
22205 cat conftest.err
>&5
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); } &&
22208 { ac_try
='test -z "$ac_c_werror_flag"
22209 || test ! -s conftest.err'
22210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22211 (eval $ac_try) 2>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); }; } &&
22215 { ac_try
='test -s conftest$ac_exeext'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; }; then
22221 eval "$as_ac_var=yes"
22223 echo "$as_me: failed program was:" >&5
22224 sed 's/^/| /' conftest.
$ac_ext >&5
22226 eval "$as_ac_var=no"
22228 rm -f conftest.err conftest.
$ac_objext \
22229 conftest
$ac_exeext conftest.
$ac_ext
22231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22233 if test `eval echo '${'$as_ac_var'}'` = yes; then
22234 cat >>confdefs.h
<<_ACEOF
22235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22243 for ac_func
in getuid getgid
22245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22246 echo "$as_me:$LINENO: checking for $ac_func" >&5
22247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22248 if eval "test \"\${$as_ac_var+set}\" = set"; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22251 cat >conftest.
$ac_ext <<_ACEOF
22254 cat confdefs.h
>>conftest.
$ac_ext
22255 cat >>conftest.
$ac_ext <<_ACEOF
22256 /* end confdefs.h. */
22257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22259 #define $ac_func innocuous_$ac_func
22261 /* System header to define __stub macros and hopefully few prototypes,
22262 which can conflict with char $ac_func (); below.
22263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22264 <limits.h> exists even on freestanding compilers. */
22267 # include <limits.h>
22269 # include <assert.h>
22274 /* Override any gcc2 internal prototype to avoid an error. */
22279 /* We use char because int might match the return type of a gcc2
22280 builtin and then its argument prototype would still apply. */
22282 /* The GNU C library defines this for functions which it implements
22283 to always fail with ENOSYS. Some functions are actually named
22284 something starting with __ and the normal name is an alias. */
22285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22288 char (*f) () = $ac_func;
22297 return f != $ac_func;
22302 rm -f conftest.
$ac_objext conftest
$ac_exeext
22303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22304 (eval $ac_link) 2>conftest.er1
22306 grep -v '^ *+' conftest.er1
>conftest.err
22308 cat conftest.err
>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } &&
22311 { ac_try
='test -z "$ac_c_werror_flag"
22312 || test ! -s conftest.err'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; } &&
22318 { ac_try
='test -s conftest$ac_exeext'
22319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22320 (eval $ac_try) 2>&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; }; then
22324 eval "$as_ac_var=yes"
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.
$ac_ext >&5
22329 eval "$as_ac_var=no"
22331 rm -f conftest.err conftest.
$ac_objext \
22332 conftest
$ac_exeext conftest.
$ac_ext
22334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22336 if test `eval echo '${'$as_ac_var'}'` = yes; then
22337 cat >>confdefs.h
<<_ACEOF
22338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22345 for ac_func
in poll
22347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22348 echo "$as_me:$LINENO: checking for $ac_func" >&5
22349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22350 if eval "test \"\${$as_ac_var+set}\" = set"; then
22351 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 cat >conftest.
$ac_ext <<_ACEOF
22356 cat confdefs.h
>>conftest.
$ac_ext
22357 cat >>conftest.
$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22361 #define $ac_func innocuous_$ac_func
22363 /* System header to define __stub macros and hopefully few prototypes,
22364 which can conflict with char $ac_func (); below.
22365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22366 <limits.h> exists even on freestanding compilers. */
22369 # include <limits.h>
22371 # include <assert.h>
22376 /* Override any gcc2 internal prototype to avoid an error. */
22381 /* We use char because int might match the return type of a gcc2
22382 builtin and then its argument prototype would still apply. */
22384 /* The GNU C library defines this for functions which it implements
22385 to always fail with ENOSYS. Some functions are actually named
22386 something starting with __ and the normal name is an alias. */
22387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22390 char (*f) () = $ac_func;
22399 return f != $ac_func;
22404 rm -f conftest.
$ac_objext conftest
$ac_exeext
22405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22406 (eval $ac_link) 2>conftest.er1
22408 grep -v '^ *+' conftest.er1
>conftest.err
22410 cat conftest.err
>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try
='test -z "$ac_c_werror_flag"
22414 || test ! -s conftest.err'
22415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416 (eval $ac_try) 2>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; } &&
22420 { ac_try
='test -s conftest$ac_exeext'
22421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22422 (eval $ac_try) 2>&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); }; }; then
22426 eval "$as_ac_var=yes"
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.
$ac_ext >&5
22431 eval "$as_ac_var=no"
22433 rm -f conftest.err conftest.
$ac_objext \
22434 conftest
$ac_exeext conftest.
$ac_ext
22436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22438 if test `eval echo '${'$as_ac_var'}'` = yes; then
22439 cat >>confdefs.h
<<_ACEOF
22440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22447 for ac_func
in pread64
22449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22450 echo "$as_me:$LINENO: checking for $ac_func" >&5
22451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22452 if eval "test \"\${$as_ac_var+set}\" = set"; then
22453 echo $ECHO_N "(cached) $ECHO_C" >&6
22455 cat >conftest.
$ac_ext <<_ACEOF
22458 cat confdefs.h
>>conftest.
$ac_ext
22459 cat >>conftest.
$ac_ext <<_ACEOF
22460 /* end confdefs.h. */
22461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22463 #define $ac_func innocuous_$ac_func
22465 /* System header to define __stub macros and hopefully few prototypes,
22466 which can conflict with char $ac_func (); below.
22467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22468 <limits.h> exists even on freestanding compilers. */
22471 # include <limits.h>
22473 # include <assert.h>
22478 /* Override any gcc2 internal prototype to avoid an error. */
22483 /* We use char because int might match the return type of a gcc2
22484 builtin and then its argument prototype would still apply. */
22486 /* The GNU C library defines this for functions which it implements
22487 to always fail with ENOSYS. Some functions are actually named
22488 something starting with __ and the normal name is an alias. */
22489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22492 char (*f) () = $ac_func;
22501 return f != $ac_func;
22506 rm -f conftest.
$ac_objext conftest
$ac_exeext
22507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22508 (eval $ac_link) 2>conftest.er1
22510 grep -v '^ *+' conftest.er1
>conftest.err
22512 cat conftest.err
>&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } &&
22515 { ac_try
='test -z "$ac_c_werror_flag"
22516 || test ! -s conftest.err'
22517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22518 (eval $ac_try) 2>&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); }; } &&
22522 { ac_try
='test -s conftest$ac_exeext'
22523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22524 (eval $ac_try) 2>&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); }; }; then
22528 eval "$as_ac_var=yes"
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.
$ac_ext >&5
22533 eval "$as_ac_var=no"
22535 rm -f conftest.err conftest.
$ac_objext \
22536 conftest
$ac_exeext conftest.
$ac_ext
22538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22540 if test `eval echo '${'$as_ac_var'}'` = yes; then
22541 cat >>confdefs.h
<<_ACEOF
22542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22549 for ac_func
in sbrk
22551 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22552 echo "$as_me:$LINENO: checking for $ac_func" >&5
22553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22554 if eval "test \"\${$as_ac_var+set}\" = set"; then
22555 echo $ECHO_N "(cached) $ECHO_C" >&6
22557 cat >conftest.
$ac_ext <<_ACEOF
22560 cat confdefs.h
>>conftest.
$ac_ext
22561 cat >>conftest.
$ac_ext <<_ACEOF
22562 /* end confdefs.h. */
22563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22565 #define $ac_func innocuous_$ac_func
22567 /* System header to define __stub macros and hopefully few prototypes,
22568 which can conflict with char $ac_func (); below.
22569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22570 <limits.h> exists even on freestanding compilers. */
22573 # include <limits.h>
22575 # include <assert.h>
22580 /* Override any gcc2 internal prototype to avoid an error. */
22585 /* We use char because int might match the return type of a gcc2
22586 builtin and then its argument prototype would still apply. */
22588 /* The GNU C library defines this for functions which it implements
22589 to always fail with ENOSYS. Some functions are actually named
22590 something starting with __ and the normal name is an alias. */
22591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22594 char (*f) () = $ac_func;
22603 return f != $ac_func;
22608 rm -f conftest.
$ac_objext conftest
$ac_exeext
22609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22610 (eval $ac_link) 2>conftest.er1
22612 grep -v '^ *+' conftest.er1
>conftest.err
22614 cat conftest.err
>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } &&
22617 { ac_try
='test -z "$ac_c_werror_flag"
22618 || test ! -s conftest.err'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; } &&
22624 { ac_try
='test -s conftest$ac_exeext'
22625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22626 (eval $ac_try) 2>&5
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); }; }; then
22630 eval "$as_ac_var=yes"
22632 echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.
$ac_ext >&5
22635 eval "$as_ac_var=no"
22637 rm -f conftest.err conftest.
$ac_objext \
22638 conftest
$ac_exeext conftest.
$ac_ext
22640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22642 if test `eval echo '${'$as_ac_var'}'` = yes; then
22643 cat >>confdefs.h
<<_ACEOF
22644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22653 for ac_func
in setpgid setpgrp setsid
22655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22656 echo "$as_me:$LINENO: checking for $ac_func" >&5
22657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22658 if eval "test \"\${$as_ac_var+set}\" = set"; then
22659 echo $ECHO_N "(cached) $ECHO_C" >&6
22661 cat >conftest.
$ac_ext <<_ACEOF
22664 cat confdefs.h
>>conftest.
$ac_ext
22665 cat >>conftest.
$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22669 #define $ac_func innocuous_$ac_func
22671 /* System header to define __stub macros and hopefully few prototypes,
22672 which can conflict with char $ac_func (); below.
22673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22674 <limits.h> exists even on freestanding compilers. */
22677 # include <limits.h>
22679 # include <assert.h>
22684 /* Override any gcc2 internal prototype to avoid an error. */
22689 /* We use char because int might match the return type of a gcc2
22690 builtin and then its argument prototype would still apply. */
22692 /* The GNU C library defines this for functions which it implements
22693 to always fail with ENOSYS. Some functions are actually named
22694 something starting with __ and the normal name is an alias. */
22695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22698 char (*f) () = $ac_func;
22707 return f != $ac_func;
22712 rm -f conftest.
$ac_objext conftest
$ac_exeext
22713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22714 (eval $ac_link) 2>conftest.er1
22716 grep -v '^ *+' conftest.er1
>conftest.err
22718 cat conftest.err
>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); } &&
22721 { ac_try
='test -z "$ac_c_werror_flag"
22722 || test ! -s conftest.err'
22723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22724 (eval $ac_try) 2>&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); }; } &&
22728 { ac_try
='test -s conftest$ac_exeext'
22729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22730 (eval $ac_try) 2>&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); }; }; then
22734 eval "$as_ac_var=yes"
22736 echo "$as_me: failed program was:" >&5
22737 sed 's/^/| /' conftest.
$ac_ext >&5
22739 eval "$as_ac_var=no"
22741 rm -f conftest.err conftest.
$ac_objext \
22742 conftest
$ac_exeext conftest.
$ac_ext
22744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22746 if test `eval echo '${'$as_ac_var'}'` = yes; then
22747 cat >>confdefs.h
<<_ACEOF
22748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22757 for ac_func
in sigaction sigprocmask sigsetmask
22759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22760 echo "$as_me:$LINENO: checking for $ac_func" >&5
22761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22762 if eval "test \"\${$as_ac_var+set}\" = set"; then
22763 echo $ECHO_N "(cached) $ECHO_C" >&6
22765 cat >conftest.
$ac_ext <<_ACEOF
22768 cat confdefs.h
>>conftest.
$ac_ext
22769 cat >>conftest.
$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22773 #define $ac_func innocuous_$ac_func
22775 /* System header to define __stub macros and hopefully few prototypes,
22776 which can conflict with char $ac_func (); below.
22777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22778 <limits.h> exists even on freestanding compilers. */
22781 # include <limits.h>
22783 # include <assert.h>
22788 /* Override any gcc2 internal prototype to avoid an error. */
22793 /* We use char because int might match the return type of a gcc2
22794 builtin and then its argument prototype would still apply. */
22796 /* The GNU C library defines this for functions which it implements
22797 to always fail with ENOSYS. Some functions are actually named
22798 something starting with __ and the normal name is an alias. */
22799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22802 char (*f) () = $ac_func;
22811 return f != $ac_func;
22816 rm -f conftest.
$ac_objext conftest
$ac_exeext
22817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22818 (eval $ac_link) 2>conftest.er1
22820 grep -v '^ *+' conftest.er1
>conftest.err
22822 cat conftest.err
>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } &&
22825 { ac_try
='test -z "$ac_c_werror_flag"
22826 || test ! -s conftest.err'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; } &&
22832 { ac_try
='test -s conftest$ac_exeext'
22833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22834 (eval $ac_try) 2>&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); }; }; then
22838 eval "$as_ac_var=yes"
22840 echo "$as_me: failed program was:" >&5
22841 sed 's/^/| /' conftest.
$ac_ext >&5
22843 eval "$as_ac_var=no"
22845 rm -f conftest.err conftest.
$ac_objext \
22846 conftest
$ac_exeext conftest.
$ac_ext
22848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22850 if test `eval echo '${'$as_ac_var'}'` = yes; then
22851 cat >>confdefs.h
<<_ACEOF
22852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22859 for ac_func
in socketpair
22861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22862 echo "$as_me:$LINENO: checking for $ac_func" >&5
22863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22864 if eval "test \"\${$as_ac_var+set}\" = set"; then
22865 echo $ECHO_N "(cached) $ECHO_C" >&6
22867 cat >conftest.
$ac_ext <<_ACEOF
22870 cat confdefs.h
>>conftest.
$ac_ext
22871 cat >>conftest.
$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22875 #define $ac_func innocuous_$ac_func
22877 /* System header to define __stub macros and hopefully few prototypes,
22878 which can conflict with char $ac_func (); below.
22879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22880 <limits.h> exists even on freestanding compilers. */
22883 # include <limits.h>
22885 # include <assert.h>
22890 /* Override any gcc2 internal prototype to avoid an error. */
22895 /* We use char because int might match the return type of a gcc2
22896 builtin and then its argument prototype would still apply. */
22898 /* The GNU C library defines this for functions which it implements
22899 to always fail with ENOSYS. Some functions are actually named
22900 something starting with __ and the normal name is an alias. */
22901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22904 char (*f) () = $ac_func;
22913 return f != $ac_func;
22918 rm -f conftest.
$ac_objext conftest
$ac_exeext
22919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22920 (eval $ac_link) 2>conftest.er1
22922 grep -v '^ *+' conftest.er1
>conftest.err
22924 cat conftest.err
>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); } &&
22927 { ac_try
='test -z "$ac_c_werror_flag"
22928 || test ! -s conftest.err'
22929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22930 (eval $ac_try) 2>&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); }; } &&
22934 { ac_try
='test -s conftest$ac_exeext'
22935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22936 (eval $ac_try) 2>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; }; then
22940 eval "$as_ac_var=yes"
22942 echo "$as_me: failed program was:" >&5
22943 sed 's/^/| /' conftest.
$ac_ext >&5
22945 eval "$as_ac_var=no"
22947 rm -f conftest.err conftest.
$ac_objext \
22948 conftest
$ac_exeext conftest.
$ac_ext
22950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22952 if test `eval echo '${'$as_ac_var'}'` = yes; then
22953 cat >>confdefs.h
<<_ACEOF
22954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22961 for ac_func
in syscall
22963 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22964 echo "$as_me:$LINENO: checking for $ac_func" >&5
22965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22966 if eval "test \"\${$as_ac_var+set}\" = set"; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22969 cat >conftest.
$ac_ext <<_ACEOF
22972 cat confdefs.h
>>conftest.
$ac_ext
22973 cat >>conftest.
$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22977 #define $ac_func innocuous_$ac_func
22979 /* System header to define __stub macros and hopefully few prototypes,
22980 which can conflict with char $ac_func (); below.
22981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22982 <limits.h> exists even on freestanding compilers. */
22985 # include <limits.h>
22987 # include <assert.h>
22992 /* Override any gcc2 internal prototype to avoid an error. */
22997 /* We use char because int might match the return type of a gcc2
22998 builtin and then its argument prototype would still apply. */
23000 /* The GNU C library defines this for functions which it implements
23001 to always fail with ENOSYS. Some functions are actually named
23002 something starting with __ and the normal name is an alias. */
23003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23006 char (*f) () = $ac_func;
23015 return f != $ac_func;
23020 rm -f conftest.
$ac_objext conftest
$ac_exeext
23021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23022 (eval $ac_link) 2>conftest.er1
23024 grep -v '^ *+' conftest.er1
>conftest.err
23026 cat conftest.err
>&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try
='test -z "$ac_c_werror_flag"
23030 || test ! -s conftest.err'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; } &&
23036 { ac_try
='test -s conftest$ac_exeext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 eval "$as_ac_var=yes"
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.
$ac_ext >&5
23047 eval "$as_ac_var=no"
23049 rm -f conftest.err conftest.
$ac_objext \
23050 conftest
$ac_exeext conftest.
$ac_ext
23052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23054 if test `eval echo '${'$as_ac_var'}'` = yes; then
23055 cat >>confdefs.h
<<_ACEOF
23056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23063 for ac_func
in ttrace
23065 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23066 echo "$as_me:$LINENO: checking for $ac_func" >&5
23067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23068 if eval "test \"\${$as_ac_var+set}\" = set"; then
23069 echo $ECHO_N "(cached) $ECHO_C" >&6
23071 cat >conftest.
$ac_ext <<_ACEOF
23074 cat confdefs.h
>>conftest.
$ac_ext
23075 cat >>conftest.
$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23079 #define $ac_func innocuous_$ac_func
23081 /* System header to define __stub macros and hopefully few prototypes,
23082 which can conflict with char $ac_func (); below.
23083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23084 <limits.h> exists even on freestanding compilers. */
23087 # include <limits.h>
23089 # include <assert.h>
23094 /* Override any gcc2 internal prototype to avoid an error. */
23099 /* We use char because int might match the return type of a gcc2
23100 builtin and then its argument prototype would still apply. */
23102 /* The GNU C library defines this for functions which it implements
23103 to always fail with ENOSYS. Some functions are actually named
23104 something starting with __ and the normal name is an alias. */
23105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23108 char (*f) () = $ac_func;
23117 return f != $ac_func;
23122 rm -f conftest.
$ac_objext conftest
$ac_exeext
23123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23124 (eval $ac_link) 2>conftest.er1
23126 grep -v '^ *+' conftest.er1
>conftest.err
23128 cat conftest.err
>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } &&
23131 { ac_try
='test -z "$ac_c_werror_flag"
23132 || test ! -s conftest.err'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; } &&
23138 { ac_try
='test -s conftest$ac_exeext'
23139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23140 (eval $ac_try) 2>&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); }; }; then
23144 eval "$as_ac_var=yes"
23146 echo "$as_me: failed program was:" >&5
23147 sed 's/^/| /' conftest.
$ac_ext >&5
23149 eval "$as_ac_var=no"
23151 rm -f conftest.err conftest.
$ac_objext \
23152 conftest
$ac_exeext conftest.
$ac_ext
23154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23156 if test `eval echo '${'$as_ac_var'}'` = yes; then
23157 cat >>confdefs.h
<<_ACEOF
23158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23165 for ac_func
in wborder
23167 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23168 echo "$as_me:$LINENO: checking for $ac_func" >&5
23169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23170 if eval "test \"\${$as_ac_var+set}\" = set"; then
23171 echo $ECHO_N "(cached) $ECHO_C" >&6
23173 cat >conftest.
$ac_ext <<_ACEOF
23176 cat confdefs.h
>>conftest.
$ac_ext
23177 cat >>conftest.
$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23181 #define $ac_func innocuous_$ac_func
23183 /* System header to define __stub macros and hopefully few prototypes,
23184 which can conflict with char $ac_func (); below.
23185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23186 <limits.h> exists even on freestanding compilers. */
23189 # include <limits.h>
23191 # include <assert.h>
23196 /* Override any gcc2 internal prototype to avoid an error. */
23201 /* We use char because int might match the return type of a gcc2
23202 builtin and then its argument prototype would still apply. */
23204 /* The GNU C library defines this for functions which it implements
23205 to always fail with ENOSYS. Some functions are actually named
23206 something starting with __ and the normal name is an alias. */
23207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23210 char (*f) () = $ac_func;
23219 return f != $ac_func;
23224 rm -f conftest.
$ac_objext conftest
$ac_exeext
23225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23226 (eval $ac_link) 2>conftest.er1
23228 grep -v '^ *+' conftest.er1
>conftest.err
23230 cat conftest.err
>&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } &&
23233 { ac_try
='test -z "$ac_c_werror_flag"
23234 || test ! -s conftest.err'
23235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23236 (eval $ac_try) 2>&5
23238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23239 (exit $ac_status); }; } &&
23240 { ac_try
='test -s conftest$ac_exeext'
23241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242 (eval $ac_try) 2>&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; }; then
23246 eval "$as_ac_var=yes"
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.
$ac_ext >&5
23251 eval "$as_ac_var=no"
23253 rm -f conftest.err conftest.
$ac_objext \
23254 conftest
$ac_exeext conftest.
$ac_ext
23256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23258 if test `eval echo '${'$as_ac_var'}'` = yes; then
23259 cat >>confdefs.h
<<_ACEOF
23260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23267 # Check the return and argument types of ptrace. No canned test for
23268 # this, so roll our own.
23269 gdb_ptrace_headers
='
23270 #if HAVE_SYS_TYPES_H
23271 # include <sys/types.h>
23273 #if HAVE_SYS_PTRACE_H
23274 # include <sys/ptrace.h>
23277 # include <unistd.h>
23280 # There is no point in checking if we don't have a prototype.
23281 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
23282 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
23283 if test "${ac_cv_have_decl_ptrace+set}" = set; then
23284 echo $ECHO_N "(cached) $ECHO_C" >&6
23286 cat >conftest.
$ac_ext <<_ACEOF
23289 cat confdefs.h
>>conftest.
$ac_ext
23290 cat >>conftest.
$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 $gdb_ptrace_headers
23298 char *p = (char *) ptrace;
23305 rm -f conftest.
$ac_objext
23306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23307 (eval $ac_compile) 2>conftest.er1
23309 grep -v '^ *+' conftest.er1
>conftest.err
23311 cat conftest.err
>&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); } &&
23314 { ac_try
='test -z "$ac_c_werror_flag"
23315 || test ! -s conftest.err'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; } &&
23321 { ac_try
='test -s conftest.$ac_objext'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 ac_cv_have_decl_ptrace
=yes
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.
$ac_ext >&5
23332 ac_cv_have_decl_ptrace
=no
23334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23336 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
23337 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
23338 if test $ac_cv_have_decl_ptrace = yes; then
23340 cat >>confdefs.h
<<_ACEOF
23341 #define HAVE_DECL_PTRACE 1
23346 cat >>confdefs.h
<<_ACEOF
23347 #define HAVE_DECL_PTRACE 0
23351 : ${gdb_cv_func_ptrace_ret='int'}
23352 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
23357 # Check return type.
23358 echo "$as_me:$LINENO: checking return type of ptrace" >&5
23359 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
23360 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
23361 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 cat >conftest.
$ac_ext <<_ACEOF
23366 cat confdefs.h
>>conftest.
$ac_ext
23367 cat >>conftest.
$ac_ext <<_ACEOF
23368 /* end confdefs.h. */
23369 $gdb_ptrace_headers
23373 extern int ptrace ();
23378 rm -f conftest.
$ac_objext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23380 (eval $ac_compile) 2>conftest.er1
23382 grep -v '^ *+' conftest.er1
>conftest.err
23384 cat conftest.err
>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } &&
23387 { ac_try
='test -z "$ac_c_werror_flag"
23388 || test ! -s conftest.err'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; } &&
23394 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
23400 gdb_cv_func_ptrace_ret
='int'
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.
$ac_ext >&5
23405 gdb_cv_func_ptrace_ret
='long'
23407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23409 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
23410 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
23412 cat >>confdefs.h
<<_ACEOF
23413 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
23416 # Check argument types.
23417 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
23418 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
23419 if test "${gdb_cv_func_ptrace_args+set}" = set; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23423 for gdb_arg1
in 'int' 'long'; do
23424 for gdb_arg2
in 'pid_t' 'int' 'long'; do
23425 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long' 'void *'; do
23426 for gdb_arg4
in 'int' 'long'; do
23427 cat >conftest.
$ac_ext <<_ACEOF
23430 cat confdefs.h
>>conftest.
$ac_ext
23431 cat >>conftest.
$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23433 $gdb_ptrace_headers
23438 extern $gdb_cv_func_ptrace_ret
23439 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
23445 rm -f conftest.
$ac_objext
23446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23447 (eval $ac_compile) 2>conftest.er1
23449 grep -v '^ *+' conftest.er1
>conftest.err
23451 cat conftest.err
>&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } &&
23454 { ac_try
='test -z "$ac_c_werror_flag"
23455 || test ! -s conftest.err'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; } &&
23461 { ac_try
='test -s conftest.$ac_objext'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; }; then
23467 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.
$ac_ext >&5
23474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23475 for gdb_arg5
in 'int *' 'int' 'long'; do
23476 cat >conftest.
$ac_ext <<_ACEOF
23479 cat confdefs.h
>>conftest.
$ac_ext
23480 cat >>conftest.
$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23482 $gdb_ptrace_headers
23487 extern $gdb_cv_func_ptrace_ret
23488 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
23494 rm -f conftest.
$ac_objext
23495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23496 (eval $ac_compile) 2>conftest.er1
23498 grep -v '^ *+' conftest.er1
>conftest.err
23500 cat conftest.err
>&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); } &&
23503 { ac_try
='test -z "$ac_c_werror_flag"
23504 || test ! -s conftest.err'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; } &&
23510 { ac_try
='test -s conftest.$ac_objext'
23511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23512 (eval $ac_try) 2>&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); }; }; then
23517 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
23520 echo "$as_me: failed program was:" >&5
23521 sed 's/^/| /' conftest.
$ac_ext >&5
23524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23530 # Provide a safe default value.
23531 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
23534 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
23535 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
23536 ac_save_IFS
=$IFS; IFS
=','
23537 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
23541 cat >>confdefs.h
<<_ACEOF
23542 #define PTRACE_TYPE_ARG3 $3
23545 if test -n "$5"; then
23547 cat >>confdefs.h
<<_ACEOF
23548 #define PTRACE_TYPE_ARG5 $5
23553 if test "$cross_compiling" = no
; then
23554 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
23555 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
23556 if test "${ac_cv_func_setpgrp_void+set}" = set; then
23557 echo $ECHO_N "(cached) $ECHO_C" >&6
23559 if test "$cross_compiling" = yes; then
23560 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
23561 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
23562 { (exit 1); exit 1; }; }
23564 cat >conftest.
$ac_ext <<_ACEOF
23567 cat confdefs.h
>>conftest.
$ac_ext
23568 cat >>conftest.
$ac_ext <<_ACEOF
23569 /* end confdefs.h. */
23571 # include <unistd.h>
23577 /* If this system has a BSD-style setpgrp which takes arguments,
23578 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
23579 exit successfully. */
23580 exit (setpgrp (1,1) == -1 ? 0 : 1);
23585 rm -f conftest
$ac_exeext
23586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23587 (eval $ac_link) 2>&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 ac_cv_func_setpgrp_void
=no
23598 echo "$as_me: program exited with status $ac_status" >&5
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.
$ac_ext >&5
23602 ( exit $ac_status )
23603 ac_cv_func_setpgrp_void
=yes
23605 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23608 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
23609 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
23610 if test $ac_cv_func_setpgrp_void = yes; then
23612 cat >>confdefs.h
<<\_ACEOF
23613 #define SETPGRP_VOID 1
23619 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
23620 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
23621 if test "${ac_cv_func_setpgrp_void+set}" = set; then
23622 echo $ECHO_N "(cached) $ECHO_C" >&6
23624 cat >conftest.
$ac_ext <<_ACEOF
23627 cat confdefs.h
>>conftest.
$ac_ext
23628 cat >>conftest.
$ac_ext <<_ACEOF
23629 /* end confdefs.h. */
23631 #include <unistd.h>
23637 if (setpgrp(1,1) == -1)
23646 rm -f conftest.
$ac_objext
23647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23648 (eval $ac_compile) 2>conftest.er1
23650 grep -v '^ *+' conftest.er1
>conftest.err
23652 cat conftest.err
>&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); } &&
23655 { ac_try
='test -z "$ac_c_werror_flag"
23656 || test ! -s conftest.err'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; } &&
23662 { ac_try
='test -s conftest.$ac_objext'
23663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23664 (eval $ac_try) 2>&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); }; }; then
23668 ac_cv_func_setpgrp_void
=no
23670 echo "$as_me: failed program was:" >&5
23671 sed 's/^/| /' conftest.
$ac_ext >&5
23673 ac_cv_func_setpgrp_void
=yes
23675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23677 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
23678 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
23679 if test $ac_cv_func_setpgrp_void = yes; then
23680 cat >>confdefs.h
<<\_ACEOF
23681 #define SETPGRP_VOID 1
23687 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
23688 # since sigsetjmp might only be defined as a macro.
23689 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
23690 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
23691 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
23692 echo $ECHO_N "(cached) $ECHO_C" >&6
23694 cat >conftest.
$ac_ext <<_ACEOF
23697 cat confdefs.h
>>conftest.
$ac_ext
23698 cat >>conftest.
$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23701 #include <setjmp.h>
23706 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23711 rm -f conftest.
$ac_objext
23712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23713 (eval $ac_compile) 2>conftest.er1
23715 grep -v '^ *+' conftest.er1
>conftest.err
23717 cat conftest.err
>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try
='test -z "$ac_c_werror_flag"
23721 || test ! -s conftest.err'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; } &&
23727 { ac_try
='test -s conftest.$ac_objext'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; }; then
23733 gdb_cv_func_sigsetjmp
=yes
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.
$ac_ext >&5
23738 gdb_cv_func_sigsetjmp
=no
23740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23742 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
23743 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
23744 if test $gdb_cv_func_sigsetjmp = yes; then
23746 cat >>confdefs.h
<<\_ACEOF
23747 #define HAVE_SIGSETJMP 1
23752 # Assume we'll default to using the included libiberty regex.
23753 gdb_use_included_regex
=yes
23755 # However, if the system regex is GNU regex, then default to *not*
23756 # using the included regex.
23757 echo "$as_me:$LINENO: checking for GNU regex" >&5
23758 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
23759 if test "${gdb_cv_have_gnu_regex+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23762 cat >conftest.
$ac_ext <<_ACEOF
23765 cat confdefs.h
>>conftest.
$ac_ext
23766 cat >>conftest.
$ac_ext <<_ACEOF
23767 /* end confdefs.h. */
23768 #include <gnu-versions.h>
23772 #define REGEX_INTERFACE_VERSION 1
23773 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
23774 # error "Version mismatch"
23780 rm -f conftest.
$ac_objext
23781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23782 (eval $ac_compile) 2>conftest.er1
23784 grep -v '^ *+' conftest.er1
>conftest.err
23786 cat conftest.err
>&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); } &&
23789 { ac_try
='test -z "$ac_c_werror_flag"
23790 || test ! -s conftest.err'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; } &&
23796 { ac_try
='test -s conftest.$ac_objext'
23797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23798 (eval $ac_try) 2>&5
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); }; }; then
23802 gdb_cv_have_gnu_regex
=yes
23804 echo "$as_me: failed program was:" >&5
23805 sed 's/^/| /' conftest.
$ac_ext >&5
23807 gdb_cv_have_gnu_regex
=no
23809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23811 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
23812 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
23813 if test $gdb_cv_have_gnu_regex = yes; then
23814 gdb_use_included_regex
=no
23818 # Check whether --with-included-regex or --without-included-regex was given.
23819 if test "${with_included_regex+set}" = set; then
23820 withval
="$with_included_regex"
23821 gdb_with_regex
=$withval
23823 gdb_with_regex
=$gdb_use_included_regex
23825 if test "$gdb_with_regex" = yes; then
23827 cat >>confdefs.h
<<\_ACEOF
23828 #define USE_INCLUDED_REGEX 1
23833 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
23834 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
23835 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
23836 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 cat >conftest.
$ac_ext <<_ACEOF
23842 cat confdefs.h
>>conftest.
$ac_ext
23843 cat >>conftest.
$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845 #include <sys/param.h>
23846 #include <sys/proc.h>
23852 static struct thread ac_aggr;
23853 if (ac_aggr.td_pcb)
23859 rm -f conftest.
$ac_objext
23860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23861 (eval $ac_compile) 2>conftest.er1
23863 grep -v '^ *+' conftest.er1
>conftest.err
23865 cat conftest.err
>&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } &&
23868 { ac_try
='test -z "$ac_c_werror_flag"
23869 || test ! -s conftest.err'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; } &&
23875 { ac_try
='test -s conftest.$ac_objext'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; }; then
23881 ac_cv_member_struct_thread_td_pcb
=yes
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.
$ac_ext >&5
23886 cat >conftest.
$ac_ext <<_ACEOF
23889 cat confdefs.h
>>conftest.
$ac_ext
23890 cat >>conftest.
$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23892 #include <sys/param.h>
23893 #include <sys/proc.h>
23899 static struct thread ac_aggr;
23900 if (sizeof ac_aggr.td_pcb)
23906 rm -f conftest.
$ac_objext
23907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23908 (eval $ac_compile) 2>conftest.er1
23910 grep -v '^ *+' conftest.er1
>conftest.err
23912 cat conftest.err
>&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } &&
23915 { ac_try
='test -z "$ac_c_werror_flag"
23916 || test ! -s conftest.err'
23917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23918 (eval $ac_try) 2>&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); }; } &&
23922 { ac_try
='test -s conftest.$ac_objext'
23923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23924 (eval $ac_try) 2>&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); }; }; then
23928 ac_cv_member_struct_thread_td_pcb
=yes
23930 echo "$as_me: failed program was:" >&5
23931 sed 's/^/| /' conftest.
$ac_ext >&5
23933 ac_cv_member_struct_thread_td_pcb
=no
23935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23939 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
23940 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
23941 if test $ac_cv_member_struct_thread_td_pcb = yes; then
23943 cat >>confdefs.h
<<_ACEOF
23944 #define HAVE_STRUCT_THREAD_TD_PCB 1
23951 # See if <sys/lwp.h> defines `struct lwp`.
23952 echo "$as_me:$LINENO: checking for struct lwp" >&5
23953 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
23954 if test "${gdb_cv_struct_lwp+set}" = set; then
23955 echo $ECHO_N "(cached) $ECHO_C" >&6
23957 cat >conftest.
$ac_ext <<_ACEOF
23960 cat confdefs.h
>>conftest.
$ac_ext
23961 cat >>conftest.
$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #include <sys/param.h>
23964 #include <sys/lwp.h>
23973 rm -f conftest.
$ac_objext
23974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23975 (eval $ac_compile) 2>conftest.er1
23977 grep -v '^ *+' conftest.er1
>conftest.err
23979 cat conftest.err
>&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); } &&
23982 { ac_try
='test -z "$ac_c_werror_flag"
23983 || test ! -s conftest.err'
23984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23985 (eval $ac_try) 2>&5
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); }; } &&
23989 { ac_try
='test -s conftest.$ac_objext'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; }; then
23995 gdb_cv_struct_lwp
=yes
23997 echo "$as_me: failed program was:" >&5
23998 sed 's/^/| /' conftest.
$ac_ext >&5
24000 gdb_cv_struct_lwp
=no
24002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24004 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
24005 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
24006 if test $gdb_cv_struct_lwp = yes; then
24008 cat >>confdefs.h
<<\_ACEOF
24009 #define HAVE_STRUCT_LWP 1
24014 # See if <machine/reg.h> degines `struct reg'.
24015 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
24016 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
24017 if test "${gdb_cv_struct_reg+set}" = set; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24020 cat >conftest.
$ac_ext <<_ACEOF
24023 cat confdefs.h
>>conftest.
$ac_ext
24024 cat >>conftest.
$ac_ext <<_ACEOF
24025 /* end confdefs.h. */
24026 #include <sys/types.h>
24027 #include <machine/reg.h>
24036 rm -f conftest.
$ac_objext
24037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24038 (eval $ac_compile) 2>conftest.er1
24040 grep -v '^ *+' conftest.er1
>conftest.err
24042 cat conftest.err
>&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } &&
24045 { ac_try
='test -z "$ac_c_werror_flag"
24046 || test ! -s conftest.err'
24047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24048 (eval $ac_try) 2>&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); }; } &&
24052 { ac_try
='test -s conftest.$ac_objext'
24053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24054 (eval $ac_try) 2>&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); }; }; then
24058 gdb_cv_struct_reg
=yes
24060 echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.
$ac_ext >&5
24063 gdb_cv_struct_reg
=no
24065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24067 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
24068 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
24069 if test $gdb_cv_struct_reg = yes; then
24071 cat >>confdefs.h
<<\_ACEOF
24072 #define HAVE_STRUCT_REG 1
24077 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
24078 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
24079 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
24080 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
24081 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
24082 echo $ECHO_N "(cached) $ECHO_C" >&6
24084 cat >conftest.
$ac_ext <<_ACEOF
24087 cat confdefs.h
>>conftest.
$ac_ext
24088 cat >>conftest.
$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090 #include <machine/reg.h>
24095 static struct reg ac_aggr;
24102 rm -f conftest.
$ac_objext
24103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24104 (eval $ac_compile) 2>conftest.er1
24106 grep -v '^ *+' conftest.er1
>conftest.err
24108 cat conftest.err
>&5
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); } &&
24111 { ac_try
='test -z "$ac_c_werror_flag"
24112 || test ! -s conftest.err'
24113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24114 (eval $ac_try) 2>&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); }; } &&
24118 { ac_try
='test -s conftest.$ac_objext'
24119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24120 (eval $ac_try) 2>&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); }; }; then
24124 ac_cv_member_struct_reg_r_fs
=yes
24126 echo "$as_me: failed program was:" >&5
24127 sed 's/^/| /' conftest.
$ac_ext >&5
24129 cat >conftest.
$ac_ext <<_ACEOF
24132 cat confdefs.h
>>conftest.
$ac_ext
24133 cat >>conftest.
$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24135 #include <machine/reg.h>
24140 static struct reg ac_aggr;
24141 if (sizeof ac_aggr.r_fs)
24147 rm -f conftest.
$ac_objext
24148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24149 (eval $ac_compile) 2>conftest.er1
24151 grep -v '^ *+' conftest.er1
>conftest.err
24153 cat conftest.err
>&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } &&
24156 { ac_try
='test -z "$ac_c_werror_flag"
24157 || test ! -s conftest.err'
24158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24159 (eval $ac_try) 2>&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); }; } &&
24163 { ac_try
='test -s conftest.$ac_objext'
24164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24165 (eval $ac_try) 2>&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); }; }; then
24169 ac_cv_member_struct_reg_r_fs
=yes
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.
$ac_ext >&5
24174 ac_cv_member_struct_reg_r_fs
=no
24176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24180 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
24181 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
24182 if test $ac_cv_member_struct_reg_r_fs = yes; then
24184 cat >>confdefs.h
<<_ACEOF
24185 #define HAVE_STRUCT_REG_R_FS 1
24190 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
24191 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
24192 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 cat >conftest.
$ac_ext <<_ACEOF
24198 cat confdefs.h
>>conftest.
$ac_ext
24199 cat >>conftest.
$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201 #include <machine/reg.h>
24206 static struct reg ac_aggr;
24213 rm -f conftest.
$ac_objext
24214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24215 (eval $ac_compile) 2>conftest.er1
24217 grep -v '^ *+' conftest.er1
>conftest.err
24219 cat conftest.err
>&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); } &&
24222 { ac_try
='test -z "$ac_c_werror_flag"
24223 || test ! -s conftest.err'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; } &&
24229 { ac_try
='test -s conftest.$ac_objext'
24230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24231 (eval $ac_try) 2>&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); }; }; then
24235 ac_cv_member_struct_reg_r_gs
=yes
24237 echo "$as_me: failed program was:" >&5
24238 sed 's/^/| /' conftest.
$ac_ext >&5
24240 cat >conftest.
$ac_ext <<_ACEOF
24243 cat confdefs.h
>>conftest.
$ac_ext
24244 cat >>conftest.
$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 #include <machine/reg.h>
24251 static struct reg ac_aggr;
24252 if (sizeof ac_aggr.r_gs)
24258 rm -f conftest.
$ac_objext
24259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24260 (eval $ac_compile) 2>conftest.er1
24262 grep -v '^ *+' conftest.er1
>conftest.err
24264 cat conftest.err
>&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); } &&
24267 { ac_try
='test -z "$ac_c_werror_flag"
24268 || test ! -s conftest.err'
24269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24270 (eval $ac_try) 2>&5
24272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24273 (exit $ac_status); }; } &&
24274 { ac_try
='test -s conftest.$ac_objext'
24275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24276 (eval $ac_try) 2>&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); }; }; then
24280 ac_cv_member_struct_reg_r_gs
=yes
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.
$ac_ext >&5
24285 ac_cv_member_struct_reg_r_gs
=no
24287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24291 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
24292 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
24293 if test $ac_cv_member_struct_reg_r_gs = yes; then
24295 cat >>confdefs.h
<<_ACEOF
24296 #define HAVE_STRUCT_REG_R_GS 1
24303 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
24304 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
24305 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
24306 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
24307 echo $ECHO_N "(cached) $ECHO_C" >&6
24309 cat >conftest.
$ac_ext <<_ACEOF
24312 cat confdefs.h
>>conftest.
$ac_ext
24313 cat >>conftest.
$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 #include <sys/ptrace.h>
24324 rm -f conftest.
$ac_objext
24325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24326 (eval $ac_compile) 2>conftest.er1
24328 grep -v '^ *+' conftest.er1
>conftest.err
24330 cat conftest.err
>&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } &&
24333 { ac_try
='test -z "$ac_c_werror_flag"
24334 || test ! -s conftest.err'
24335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24336 (eval $ac_try) 2>&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); }; } &&
24340 { ac_try
='test -s conftest.$ac_objext'
24341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24342 (eval $ac_try) 2>&5
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); }; }; then
24346 gdb_cv_have_ptrace_getregs
=yes
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.
$ac_ext >&5
24351 gdb_cv_have_ptrace_getregs
=no
24353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24356 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
24357 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
24358 if test $gdb_cv_have_ptrace_getregs = yes; then
24360 cat >>confdefs.h
<<\_ACEOF
24361 #define HAVE_PTRACE_GETREGS 1
24366 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
24367 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
24368 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
24369 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24372 cat >conftest.
$ac_ext <<_ACEOF
24375 cat confdefs.h
>>conftest.
$ac_ext
24376 cat >>conftest.
$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378 #include <sys/ptrace.h>
24387 rm -f conftest.
$ac_objext
24388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24389 (eval $ac_compile) 2>conftest.er1
24391 grep -v '^ *+' conftest.er1
>conftest.err
24393 cat conftest.err
>&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); } &&
24396 { ac_try
='test -z "$ac_c_werror_flag"
24397 || test ! -s conftest.err'
24398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24399 (eval $ac_try) 2>&5
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402 (exit $ac_status); }; } &&
24403 { ac_try
='test -s conftest.$ac_objext'
24404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24405 (eval $ac_try) 2>&5
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); }; }; then
24409 gdb_cv_have_ptrace_getfpxregs
=yes
24411 echo "$as_me: failed program was:" >&5
24412 sed 's/^/| /' conftest.
$ac_ext >&5
24414 gdb_cv_have_ptrace_getfpxregs
=no
24416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24419 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
24420 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
24421 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
24423 cat >>confdefs.h
<<\_ACEOF
24424 #define HAVE_PTRACE_GETFPXREGS 1
24429 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
24430 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
24431 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
24432 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
24433 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 cat >conftest.
$ac_ext <<_ACEOF
24438 cat confdefs.h
>>conftest.
$ac_ext
24439 cat >>conftest.
$ac_ext <<_ACEOF
24440 /* end confdefs.h. */
24441 #include <sys/types.h>
24442 #include <sys/ptrace.h>
24451 rm -f conftest.
$ac_objext
24452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24453 (eval $ac_compile) 2>conftest.er1
24455 grep -v '^ *+' conftest.er1
>conftest.err
24457 cat conftest.err
>&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); } &&
24460 { ac_try
='test -z "$ac_c_werror_flag"
24461 || test ! -s conftest.err'
24462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24463 (eval $ac_try) 2>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); }; } &&
24467 { ac_try
='test -s conftest.$ac_objext'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; }; then
24473 gdb_cv_have_pt_getdbregs
=yes
24475 echo "$as_me: failed program was:" >&5
24476 sed 's/^/| /' conftest.
$ac_ext >&5
24478 gdb_cv_have_pt_getdbregs
=no
24480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24483 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
24484 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
24485 if test $gdb_cv_have_pt_getdbregs = yes; then
24487 cat >>confdefs.h
<<\_ACEOF
24488 #define HAVE_PT_GETDBREGS 1
24493 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
24494 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
24495 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
24496 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
24497 echo $ECHO_N "(cached) $ECHO_C" >&6
24499 cat >conftest.
$ac_ext <<_ACEOF
24502 cat confdefs.h
>>conftest.
$ac_ext
24503 cat >>conftest.
$ac_ext <<_ACEOF
24504 /* end confdefs.h. */
24505 #include <sys/types.h>
24506 #include <sys/ptrace.h>
24515 rm -f conftest.
$ac_objext
24516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24517 (eval $ac_compile) 2>conftest.er1
24519 grep -v '^ *+' conftest.er1
>conftest.err
24521 cat conftest.err
>&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); } &&
24524 { ac_try
='test -z "$ac_c_werror_flag"
24525 || test ! -s conftest.err'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; } &&
24531 { ac_try
='test -s conftest.$ac_objext'
24532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24533 (eval $ac_try) 2>&5
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); }; }; then
24537 gdb_cv_have_pt_getxmmregs
=yes
24539 echo "$as_me: failed program was:" >&5
24540 sed 's/^/| /' conftest.
$ac_ext >&5
24542 gdb_cv_have_pt_getxmmregs
=no
24544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24547 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
24548 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
24549 if test $gdb_cv_have_pt_getxmmregs = yes; then
24551 cat >>confdefs.h
<<\_ACEOF
24552 #define HAVE_PT_GETXMMREGS 1
24557 # Detect which type of /proc is in use, such as for Unixware or Solaris.
24559 if test "${target}" = "${host}"; then
24561 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
24563 cat >>confdefs.h
<<\_ACEOF
24564 #define NEW_PROC_API 1
24568 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9]*)
24570 cat >>confdefs.h
<<\_ACEOF
24571 #define NEW_PROC_API 1
24576 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
24578 cat >>confdefs.h
<<\_ACEOF
24579 #define _KMEMUSER 1
24586 if test "$ac_cv_header_sys_procfs_h" = yes; then
24587 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
24588 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
24589 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
24590 echo $ECHO_N "(cached) $ECHO_C" >&6
24592 cat >conftest.
$ac_ext <<_ACEOF
24595 cat confdefs.h
>>conftest.
$ac_ext
24596 cat >>conftest.
$ac_ext <<_ACEOF
24597 /* end confdefs.h. */
24600 #include <sys/procfs.h>
24609 rm -f conftest.
$ac_objext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24611 (eval $ac_compile) 2>conftest.er1
24613 grep -v '^ *+' conftest.er1
>conftest.err
24615 cat conftest.err
>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try
='test -z "$ac_c_werror_flag"
24619 || test ! -s conftest.err'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; } &&
24625 { ac_try
='test -s conftest.$ac_objext'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; }; then
24631 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.
$ac_ext >&5
24636 bfd_cv_have_sys_procfs_type_pstatus_t
=no
24639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24642 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
24644 cat >>confdefs.h
<<\_ACEOF
24645 #define HAVE_PSTATUS_T 1
24649 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
24650 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
24652 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
24653 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
24654 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
24655 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 cat >conftest.
$ac_ext <<_ACEOF
24660 cat confdefs.h
>>conftest.
$ac_ext
24661 cat >>conftest.
$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24665 #include <sys/procfs.h>
24674 rm -f conftest.
$ac_objext
24675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24676 (eval $ac_compile) 2>conftest.er1
24678 grep -v '^ *+' conftest.er1
>conftest.err
24680 cat conftest.err
>&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } &&
24683 { ac_try
='test -z "$ac_c_werror_flag"
24684 || test ! -s conftest.err'
24685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686 (eval $ac_try) 2>&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); }; } &&
24690 { ac_try
='test -s conftest.$ac_objext'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; }; then
24696 bfd_cv_have_sys_procfs_type_prrun_t
=yes
24698 echo "$as_me: failed program was:" >&5
24699 sed 's/^/| /' conftest.
$ac_ext >&5
24701 bfd_cv_have_sys_procfs_type_prrun_t
=no
24704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24707 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
24709 cat >>confdefs.h
<<\_ACEOF
24710 #define HAVE_PRRUN_T 1
24714 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
24715 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
24717 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
24718 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
24719 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 cat >conftest.
$ac_ext <<_ACEOF
24725 cat confdefs.h
>>conftest.
$ac_ext
24726 cat >>conftest.
$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24730 #include <sys/procfs.h>
24739 rm -f conftest.
$ac_objext
24740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24741 (eval $ac_compile) 2>conftest.er1
24743 grep -v '^ *+' conftest.er1
>conftest.err
24745 cat conftest.err
>&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } &&
24748 { ac_try
='test -z "$ac_c_werror_flag"
24749 || test ! -s conftest.err'
24750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24751 (eval $ac_try) 2>&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); }; } &&
24755 { ac_try
='test -s conftest.$ac_objext'
24756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24757 (eval $ac_try) 2>&5
24759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760 (exit $ac_status); }; }; then
24761 bfd_cv_have_sys_procfs_type_gregset_t
=yes
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.
$ac_ext >&5
24766 bfd_cv_have_sys_procfs_type_gregset_t
=no
24769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24772 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
24774 cat >>confdefs.h
<<\_ACEOF
24775 #define HAVE_GREGSET_T 1
24779 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
24780 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
24782 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
24783 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
24784 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
24785 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 cat >conftest.
$ac_ext <<_ACEOF
24790 cat confdefs.h
>>conftest.
$ac_ext
24791 cat >>conftest.
$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24795 #include <sys/procfs.h>
24804 rm -f conftest.
$ac_objext
24805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24806 (eval $ac_compile) 2>conftest.er1
24808 grep -v '^ *+' conftest.er1
>conftest.err
24810 cat conftest.err
>&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); } &&
24813 { ac_try
='test -z "$ac_c_werror_flag"
24814 || test ! -s conftest.err'
24815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816 (eval $ac_try) 2>&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); }; } &&
24820 { ac_try
='test -s conftest.$ac_objext'
24821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24822 (eval $ac_try) 2>&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); }; }; then
24826 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
24828 echo "$as_me: failed program was:" >&5
24829 sed 's/^/| /' conftest.
$ac_ext >&5
24831 bfd_cv_have_sys_procfs_type_fpregset_t
=no
24834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24837 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
24839 cat >>confdefs.h
<<\_ACEOF
24840 #define HAVE_FPREGSET_T 1
24844 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
24845 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
24847 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
24848 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
24849 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
24850 echo $ECHO_N "(cached) $ECHO_C" >&6
24852 cat >conftest.
$ac_ext <<_ACEOF
24855 cat confdefs.h
>>conftest.
$ac_ext
24856 cat >>conftest.
$ac_ext <<_ACEOF
24857 /* end confdefs.h. */
24860 #include <sys/procfs.h>
24869 rm -f conftest.
$ac_objext
24870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24871 (eval $ac_compile) 2>conftest.er1
24873 grep -v '^ *+' conftest.er1
>conftest.err
24875 cat conftest.err
>&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try
='test -z "$ac_c_werror_flag"
24879 || test ! -s conftest.err'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; } &&
24885 { ac_try
='test -s conftest.$ac_objext'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.
$ac_ext >&5
24896 bfd_cv_have_sys_procfs_type_prgregset_t
=no
24899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24902 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
24904 cat >>confdefs.h
<<\_ACEOF
24905 #define HAVE_PRGREGSET_T 1
24909 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
24910 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
24912 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
24913 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
24914 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
24915 echo $ECHO_N "(cached) $ECHO_C" >&6
24917 cat >conftest.
$ac_ext <<_ACEOF
24920 cat confdefs.h
>>conftest.
$ac_ext
24921 cat >>conftest.
$ac_ext <<_ACEOF
24922 /* end confdefs.h. */
24925 #include <sys/procfs.h>
24934 rm -f conftest.
$ac_objext
24935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24936 (eval $ac_compile) 2>conftest.er1
24938 grep -v '^ *+' conftest.er1
>conftest.err
24940 cat conftest.err
>&5
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); } &&
24943 { ac_try
='test -z "$ac_c_werror_flag"
24944 || test ! -s conftest.err'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; } &&
24950 { ac_try
='test -s conftest.$ac_objext'
24951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24952 (eval $ac_try) 2>&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); }; }; then
24956 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.
$ac_ext >&5
24961 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
24964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24967 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
24969 cat >>confdefs.h
<<\_ACEOF
24970 #define HAVE_PRFPREGSET_T 1
24974 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
24975 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
24977 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
24978 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
24979 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 cat >conftest.
$ac_ext <<_ACEOF
24985 cat confdefs.h
>>conftest.
$ac_ext
24986 cat >>conftest.
$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24990 #include <sys/procfs.h>
24999 rm -f conftest.
$ac_objext
25000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25001 (eval $ac_compile) 2>conftest.er1
25003 grep -v '^ *+' conftest.er1
>conftest.err
25005 cat conftest.err
>&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } &&
25008 { ac_try
='test -z "$ac_c_werror_flag"
25009 || test ! -s conftest.err'
25010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25011 (eval $ac_try) 2>&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); }; } &&
25015 { ac_try
='test -s conftest.$ac_objext'
25016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25017 (eval $ac_try) 2>&5
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; }; then
25021 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
25023 echo "$as_me: failed program was:" >&5
25024 sed 's/^/| /' conftest.
$ac_ext >&5
25026 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
25029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25032 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
25034 cat >>confdefs.h
<<\_ACEOF
25035 #define HAVE_PRGREGSET32_T 1
25039 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
25040 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
25042 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
25043 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
25044 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
25045 echo $ECHO_N "(cached) $ECHO_C" >&6
25047 cat >conftest.
$ac_ext <<_ACEOF
25050 cat confdefs.h
>>conftest.
$ac_ext
25051 cat >>conftest.
$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25055 #include <sys/procfs.h>
25059 prfpregset32_t avar
25064 rm -f conftest.
$ac_objext
25065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25066 (eval $ac_compile) 2>conftest.er1
25068 grep -v '^ *+' conftest.er1
>conftest.err
25070 cat conftest.err
>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } &&
25073 { ac_try
='test -z "$ac_c_werror_flag"
25074 || test ! -s conftest.err'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; } &&
25080 { ac_try
='test -s conftest.$ac_objext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25086 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
25088 echo "$as_me: failed program was:" >&5
25089 sed 's/^/| /' conftest.
$ac_ext >&5
25091 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
25094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25097 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
25099 cat >>confdefs.h
<<\_ACEOF
25100 #define HAVE_PRFPREGSET32_T 1
25104 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
25105 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
25107 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
25108 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
25109 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
25110 echo $ECHO_N "(cached) $ECHO_C" >&6
25112 cat >conftest.
$ac_ext <<_ACEOF
25115 cat confdefs.h
>>conftest.
$ac_ext
25116 cat >>conftest.
$ac_ext <<_ACEOF
25117 /* end confdefs.h. */
25120 #include <sys/procfs.h>
25129 rm -f conftest.
$ac_objext
25130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25131 (eval $ac_compile) 2>conftest.er1
25133 grep -v '^ *+' conftest.er1
>conftest.err
25135 cat conftest.err
>&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); } &&
25138 { ac_try
='test -z "$ac_c_werror_flag"
25139 || test ! -s conftest.err'
25140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25141 (eval $ac_try) 2>&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); }; } &&
25145 { ac_try
='test -s conftest.$ac_objext'
25146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25147 (eval $ac_try) 2>&5
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); }; }; then
25151 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
25153 echo "$as_me: failed program was:" >&5
25154 sed 's/^/| /' conftest.
$ac_ext >&5
25156 bfd_cv_have_sys_procfs_type_lwpid_t
=no
25159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25162 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
25164 cat >>confdefs.h
<<\_ACEOF
25165 #define HAVE_LWPID_T 1
25169 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
25170 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
25172 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
25173 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
25174 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
25175 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 cat >conftest.
$ac_ext <<_ACEOF
25180 cat confdefs.h
>>conftest.
$ac_ext
25181 cat >>conftest.
$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25185 #include <sys/procfs.h>
25194 rm -f conftest.
$ac_objext
25195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25196 (eval $ac_compile) 2>conftest.er1
25198 grep -v '^ *+' conftest.er1
>conftest.err
25200 cat conftest.err
>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); } &&
25203 { ac_try
='test -z "$ac_c_werror_flag"
25204 || test ! -s conftest.err'
25205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25206 (eval $ac_try) 2>&5
25208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209 (exit $ac_status); }; } &&
25210 { ac_try
='test -s conftest.$ac_objext'
25211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25212 (eval $ac_try) 2>&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); }; }; then
25216 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
25218 echo "$as_me: failed program was:" >&5
25219 sed 's/^/| /' conftest.
$ac_ext >&5
25221 bfd_cv_have_sys_procfs_type_psaddr_t
=no
25224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25227 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
25229 cat >>confdefs.h
<<\_ACEOF
25230 #define HAVE_PSADDR_T 1
25234 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
25235 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
25237 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
25238 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
25239 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
25240 echo $ECHO_N "(cached) $ECHO_C" >&6
25242 cat >conftest.
$ac_ext <<_ACEOF
25245 cat confdefs.h
>>conftest.
$ac_ext
25246 cat >>conftest.
$ac_ext <<_ACEOF
25247 /* end confdefs.h. */
25250 #include <sys/procfs.h>
25259 rm -f conftest.
$ac_objext
25260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25261 (eval $ac_compile) 2>conftest.er1
25263 grep -v '^ *+' conftest.er1
>conftest.err
25265 cat conftest.err
>&5
25266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267 (exit $ac_status); } &&
25268 { ac_try
='test -z "$ac_c_werror_flag"
25269 || test ! -s conftest.err'
25270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271 (eval $ac_try) 2>&5
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); }; } &&
25275 { ac_try
='test -s conftest.$ac_objext'
25276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25277 (eval $ac_try) 2>&5
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); }; }; then
25281 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
25283 echo "$as_me: failed program was:" >&5
25284 sed 's/^/| /' conftest.
$ac_ext >&5
25286 bfd_cv_have_sys_procfs_type_prsysent_t
=no
25289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25292 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
25294 cat >>confdefs.h
<<\_ACEOF
25295 #define HAVE_PRSYSENT_T 1
25299 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
25300 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
25302 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
25303 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
25304 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
25305 echo $ECHO_N "(cached) $ECHO_C" >&6
25307 cat >conftest.
$ac_ext <<_ACEOF
25310 cat confdefs.h
>>conftest.
$ac_ext
25311 cat >>conftest.
$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25315 #include <sys/procfs.h>
25324 rm -f conftest.
$ac_objext
25325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25326 (eval $ac_compile) 2>conftest.er1
25328 grep -v '^ *+' conftest.er1
>conftest.err
25330 cat conftest.err
>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } &&
25333 { ac_try
='test -z "$ac_c_werror_flag"
25334 || test ! -s conftest.err'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; } &&
25340 { ac_try
='test -s conftest.$ac_objext'
25341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25342 (eval $ac_try) 2>&5
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); }; }; then
25346 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
25348 echo "$as_me: failed program was:" >&5
25349 sed 's/^/| /' conftest.
$ac_ext >&5
25351 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
25354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25357 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
25359 cat >>confdefs.h
<<\_ACEOF
25360 #define HAVE_PR_SIGSET_T 1
25364 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
25365 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
25367 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
25368 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
25369 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
25370 echo $ECHO_N "(cached) $ECHO_C" >&6
25372 cat >conftest.
$ac_ext <<_ACEOF
25375 cat confdefs.h
>>conftest.
$ac_ext
25376 cat >>conftest.
$ac_ext <<_ACEOF
25377 /* end confdefs.h. */
25380 #include <sys/procfs.h>
25384 pr_sigaction64_t avar
25389 rm -f conftest.
$ac_objext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25391 (eval $ac_compile) 2>conftest.er1
25393 grep -v '^ *+' conftest.er1
>conftest.err
25395 cat conftest.err
>&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } &&
25398 { ac_try
='test -z "$ac_c_werror_flag"
25399 || test ! -s conftest.err'
25400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25401 (eval $ac_try) 2>&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); }; } &&
25405 { ac_try
='test -s conftest.$ac_objext'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; }; then
25411 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
25413 echo "$as_me: failed program was:" >&5
25414 sed 's/^/| /' conftest.
$ac_ext >&5
25416 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
25419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25422 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
25424 cat >>confdefs.h
<<\_ACEOF
25425 #define HAVE_PR_SIGACTION64_T 1
25429 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
25430 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
25432 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
25433 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
25434 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
25435 echo $ECHO_N "(cached) $ECHO_C" >&6
25437 cat >conftest.
$ac_ext <<_ACEOF
25440 cat confdefs.h
>>conftest.
$ac_ext
25441 cat >>conftest.
$ac_ext <<_ACEOF
25442 /* end confdefs.h. */
25445 #include <sys/procfs.h>
25449 pr_siginfo64_t avar
25454 rm -f conftest.
$ac_objext
25455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25456 (eval $ac_compile) 2>conftest.er1
25458 grep -v '^ *+' conftest.er1
>conftest.err
25460 cat conftest.err
>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } &&
25463 { ac_try
='test -z "$ac_c_werror_flag"
25464 || test ! -s conftest.err'
25465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466 (eval $ac_try) 2>&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); }; } &&
25470 { ac_try
='test -s conftest.$ac_objext'
25471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25472 (eval $ac_try) 2>&5
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); }; }; then
25476 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.
$ac_ext >&5
25481 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
25484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25487 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
25489 cat >>confdefs.h
<<\_ACEOF
25490 #define HAVE_PR_SIGINFO64_T 1
25494 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
25495 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
25501 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
25502 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
25503 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
25504 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25507 if test "$cross_compiling" = yes; then
25508 gdb_cv_prfpregset_t_broken
=yes
25510 cat >conftest.
$ac_ext <<_ACEOF
25513 cat confdefs.h
>>conftest.
$ac_ext
25514 cat >>conftest.
$ac_ext <<_ACEOF
25515 /* end confdefs.h. */
25516 #include <sys/procfs.h>
25519 if (sizeof (prfpregset_t) == sizeof (void *))
25524 rm -f conftest
$ac_exeext
25525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25526 (eval $ac_link) 2>&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25531 (eval $ac_try) 2>&5
25533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25534 (exit $ac_status); }; }; then
25535 gdb_cv_prfpregset_t_broken
=no
25537 echo "$as_me: program exited with status $ac_status" >&5
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.
$ac_ext >&5
25541 ( exit $ac_status )
25542 gdb_cv_prfpregset_t_broken
=yes
25544 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25548 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
25549 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
25550 if test $gdb_cv_prfpregset_t_broken = yes; then
25552 cat >>confdefs.h
<<\_ACEOF
25553 #define PRFPREGSET_T_BROKEN 1
25560 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
25561 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
25562 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25565 cat >conftest.
$ac_ext <<_ACEOF
25568 cat confdefs.h
>>conftest.
$ac_ext
25569 cat >>conftest.
$ac_ext <<_ACEOF
25570 /* end confdefs.h. */
25571 #include <unistd.h>
25572 #include <sys/types.h>
25573 #include <sys/procfs.h>
25580 dummy = ioctl(0, PIOCSET, &dummy);
25586 rm -f conftest.
$ac_objext
25587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25588 (eval $ac_compile) 2>conftest.er1
25590 grep -v '^ *+' conftest.er1
>conftest.err
25592 cat conftest.err
>&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); } &&
25595 { ac_try
='test -z "$ac_c_werror_flag"
25596 || test ! -s conftest.err'
25597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25598 (eval $ac_try) 2>&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); }; } &&
25602 { ac_try
='test -s conftest.$ac_objext'
25603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604 (eval $ac_try) 2>&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); }; }; then
25608 gdb_cv_have_procfs_piocset
=yes
25610 echo "$as_me: failed program was:" >&5
25611 sed 's/^/| /' conftest.
$ac_ext >&5
25613 gdb_cv_have_procfs_piocset
=no
25615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25618 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
25619 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
25620 if test $gdb_cv_have_procfs_piocset = yes; then
25622 cat >>confdefs.h
<<\_ACEOF
25623 #define HAVE_PROCFS_PIOCSET 1
25629 if test ${host} = ${target} ; then
25631 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
25632 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
25633 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 cat >conftest.
$ac_ext <<_ACEOF
25639 cat confdefs.h
>>conftest.
$ac_ext
25640 cat >>conftest.
$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25646 struct link_map lm; (void) lm.l_addr;
25651 rm -f conftest.
$ac_objext
25652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25653 (eval $ac_compile) 2>conftest.er1
25655 grep -v '^ *+' conftest.er1
>conftest.err
25657 cat conftest.err
>&5
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); } &&
25660 { ac_try
='test -z "$ac_c_werror_flag"
25661 || test ! -s conftest.err'
25662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25663 (eval $ac_try) 2>&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); }; } &&
25667 { ac_try
='test -s conftest.$ac_objext'
25668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25669 (eval $ac_try) 2>&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; }; then
25673 gdb_cv_have_struct_link_map_with_l_members
=yes
25675 echo "$as_me: failed program was:" >&5
25676 sed 's/^/| /' conftest.
$ac_ext >&5
25678 gdb_cv_have_struct_link_map_with_l_members
=no
25680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25683 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
25684 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
25685 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
25687 cat >>confdefs.h
<<\_ACEOF
25688 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
25694 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
25695 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
25696 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
25697 echo $ECHO_N "(cached) $ECHO_C" >&6
25699 cat >conftest.
$ac_ext <<_ACEOF
25702 cat confdefs.h
>>conftest.
$ac_ext
25703 cat >>conftest.
$ac_ext <<_ACEOF
25704 /* end confdefs.h. */
25705 #include <sys/types.h>
25710 struct link_map lm; (void) lm.lm_addr;
25715 rm -f conftest.
$ac_objext
25716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25717 (eval $ac_compile) 2>conftest.er1
25719 grep -v '^ *+' conftest.er1
>conftest.err
25721 cat conftest.err
>&5
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); } &&
25724 { ac_try
='test -z "$ac_c_werror_flag"
25725 || test ! -s conftest.err'
25726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25727 (eval $ac_try) 2>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); }; } &&
25731 { ac_try
='test -s conftest.$ac_objext'
25732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25733 (eval $ac_try) 2>&5
25735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25736 (exit $ac_status); }; }; then
25737 gdb_cv_have_struct_link_map_with_lm_members
=yes
25739 echo "$as_me: failed program was:" >&5
25740 sed 's/^/| /' conftest.
$ac_ext >&5
25742 gdb_cv_have_struct_link_map_with_lm_members
=no
25744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25747 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
25748 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
25749 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
25751 cat >>confdefs.h
<<\_ACEOF
25752 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
25758 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
25759 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
25760 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 cat >conftest.
$ac_ext <<_ACEOF
25766 cat confdefs.h
>>conftest.
$ac_ext
25767 cat >>conftest.
$ac_ext <<_ACEOF
25768 /* end confdefs.h. */
25769 #include <sys/types.h>
25770 #ifdef HAVE_NLIST_H
25777 struct so_map lm; (void) lm.som_addr;
25782 rm -f conftest.
$ac_objext
25783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25784 (eval $ac_compile) 2>conftest.er1
25786 grep -v '^ *+' conftest.er1
>conftest.err
25788 cat conftest.err
>&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); } &&
25791 { ac_try
='test -z "$ac_c_werror_flag"
25792 || test ! -s conftest.err'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; } &&
25798 { ac_try
='test -s conftest.$ac_objext'
25799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25800 (eval $ac_try) 2>&5
25802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803 (exit $ac_status); }; }; then
25804 gdb_cv_have_struct_so_map_with_som_members
=yes
25806 echo "$as_me: failed program was:" >&5
25807 sed 's/^/| /' conftest.
$ac_ext >&5
25809 gdb_cv_have_struct_so_map_with_som_members
=no
25811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25814 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
25815 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
25816 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
25818 cat >>confdefs.h
<<\_ACEOF
25819 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
25825 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
25826 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
25827 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
25828 echo $ECHO_N "(cached) $ECHO_C" >&6
25830 cat >conftest.
$ac_ext <<_ACEOF
25833 cat confdefs.h
>>conftest.
$ac_ext
25834 cat >>conftest.
$ac_ext <<_ACEOF
25835 /* end confdefs.h. */
25837 #include <sys/link.h>
25841 struct link_map32 l;
25846 rm -f conftest.
$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>conftest.er1
25850 grep -v '^ *+' conftest.er1
>conftest.err
25852 cat conftest.err
>&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } &&
25855 { ac_try
='test -z "$ac_c_werror_flag"
25856 || test ! -s conftest.err'
25857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 (eval $ac_try) 2>&5
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; } &&
25862 { ac_try
='test -s conftest.$ac_objext'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; }; then
25868 gdb_cv_have_struct_link_map32
=yes
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.
$ac_ext >&5
25873 gdb_cv_have_struct_link_map32
=no
25875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25878 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
25879 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
25880 if test $gdb_cv_have_struct_link_map32 = yes; then
25882 cat >>confdefs.h
<<\_ACEOF
25883 #define HAVE_STRUCT_LINK_MAP32 1
25887 cat >>confdefs.h
<<\_ACEOF
25888 #define _SYSCALL32 1
25894 # Check if the compiler supports the `long long' type.
25896 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
25897 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
25898 if test "${gdb_cv_c_long_long+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 cat >conftest.
$ac_ext <<_ACEOF
25904 cat confdefs.h
>>conftest.
$ac_ext
25905 cat >>conftest.
$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907 extern long long foo;
25911 switch (foo & 2) { case 0: return 1; }
25916 rm -f conftest.
$ac_objext
25917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25918 (eval $ac_compile) 2>conftest.er1
25920 grep -v '^ *+' conftest.er1
>conftest.err
25922 cat conftest.err
>&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } &&
25925 { ac_try
='test -z "$ac_c_werror_flag"
25926 || test ! -s conftest.err'
25927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25928 (eval $ac_try) 2>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); }; } &&
25932 { ac_try
='test -s conftest.$ac_objext'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; }; then
25938 gdb_cv_c_long_long
=yes
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.
$ac_ext >&5
25943 gdb_cv_c_long_long
=no
25945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25947 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
25948 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
25949 if test $gdb_cv_c_long_long = yes; then
25951 cat >>confdefs.h
<<\_ACEOF
25952 #define CC_HAS_LONG_LONG 1
25957 # Check if the compiler and runtime support printing long longs.
25959 echo "$as_me:$LINENO: checking for long long support in printf" >&5
25960 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
25961 if test "${gdb_cv_printf_has_long_long+set}" = set; then
25962 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 if test "$cross_compiling" = yes; then
25965 gdb_cv_printf_has_long_long
=no
25967 cat >conftest.
$ac_ext <<_ACEOF
25970 cat confdefs.h
>>conftest.
$ac_ext
25971 cat >>conftest.
$ac_ext <<_ACEOF
25972 /* end confdefs.h. */
25973 $ac_includes_default
25979 l = (l << 16) + 0x0123;
25980 l = (l << 16) + 0x4567;
25981 l = (l << 16) + 0x89ab;
25982 l = (l << 16) + 0xcdef;
25983 sprintf (buf, "0x%016llx", l);
25984 return (strcmp ("0x0123456789abcdef", buf));
25989 rm -f conftest
$ac_exeext
25990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25991 (eval $ac_link) 2>&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25996 (eval $ac_try) 2>&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); }; }; then
26000 gdb_cv_printf_has_long_long
=yes
26002 echo "$as_me: program exited with status $ac_status" >&5
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.
$ac_ext >&5
26006 ( exit $ac_status )
26007 gdb_cv_printf_has_long_long
=no
26009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26012 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
26013 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
26014 if test $gdb_cv_printf_has_long_long = yes; then
26016 cat >>confdefs.h
<<\_ACEOF
26017 #define PRINTF_HAS_LONG_LONG 1
26022 # Check if the compiler and runtime support printing decfloats.
26024 echo "$as_me:$LINENO: checking for decfloat support in printf" >&5
26025 echo $ECHO_N "checking for decfloat support in printf... $ECHO_C" >&6
26026 if test "${gdb_cv_printf_has_decfloat+set}" = set; then
26027 echo $ECHO_N "(cached) $ECHO_C" >&6
26029 if test "$cross_compiling" = yes; then
26030 gdb_cv_printf_has_decfloat
=no
26032 cat >conftest.
$ac_ext <<_ACEOF
26035 cat confdefs.h
>>conftest.
$ac_ext
26036 cat >>conftest.
$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 $ac_includes_default
26043 _Decimal32 d32 = 1.2345df;
26044 _Decimal64 d64 = 1.2345dd;
26045 _Decimal128 d128 = 1.2345dl;
26046 sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
26047 return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
26052 rm -f conftest
$ac_exeext
26053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26054 (eval $ac_link) 2>&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26059 (eval $ac_try) 2>&5
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); }; }; then
26063 gdb_cv_printf_has_decfloat
=yes
26065 echo "$as_me: program exited with status $ac_status" >&5
26066 echo "$as_me: failed program was:" >&5
26067 sed 's/^/| /' conftest.
$ac_ext >&5
26069 ( exit $ac_status )
26070 gdb_cv_printf_has_decfloat
=no
26072 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26075 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_decfloat" >&5
26076 echo "${ECHO_T}$gdb_cv_printf_has_decfloat" >&6
26077 if test $gdb_cv_printf_has_decfloat = yes; then
26079 cat >>confdefs.h
<<\_ACEOF
26080 #define PRINTF_HAS_DECFLOAT 1
26085 # Check if the compiler supports the `long double' type. We can't use
26086 # AC_C_LONG_DOUBLE because that one does additional checks on the
26087 # constants defined in <float.h> that fail on some systems,
26088 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
26090 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
26091 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
26092 if test "${gdb_cv_c_long_double+set}" = set; then
26093 echo $ECHO_N "(cached) $ECHO_C" >&6
26095 cat >conftest.
$ac_ext <<_ACEOF
26098 cat confdefs.h
>>conftest.
$ac_ext
26099 cat >>conftest.
$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26103 rm -f conftest.
$ac_objext
26104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26105 (eval $ac_compile) 2>conftest.er1
26107 grep -v '^ *+' conftest.er1
>conftest.err
26109 cat conftest.err
>&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); } &&
26112 { ac_try
='test -z "$ac_c_werror_flag"
26113 || test ! -s conftest.err'
26114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26115 (eval $ac_try) 2>&5
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); }; } &&
26119 { ac_try
='test -s conftest.$ac_objext'
26120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26121 (eval $ac_try) 2>&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); }; }; then
26125 gdb_cv_c_long_double
=yes
26127 echo "$as_me: failed program was:" >&5
26128 sed 's/^/| /' conftest.
$ac_ext >&5
26130 gdb_cv_c_long_double
=no
26132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26134 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
26135 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
26136 if test $gdb_cv_c_long_double = yes; then
26138 cat >>confdefs.h
<<\_ACEOF
26139 #define HAVE_LONG_DOUBLE 1
26144 # Check if the compiler and runtime support printing long doubles.
26146 echo "$as_me:$LINENO: checking for long double support in printf" >&5
26147 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
26148 if test "${gdb_cv_printf_has_long_double+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 if test "$cross_compiling" = yes; then
26152 gdb_cv_printf_has_long_double
=no
26154 cat >conftest.
$ac_ext <<_ACEOF
26157 cat confdefs.h
>>conftest.
$ac_ext
26158 cat >>conftest.
$ac_ext <<_ACEOF
26159 /* end confdefs.h. */
26160 $ac_includes_default
26165 long double f = 3.141592653;
26166 sprintf (buf, "%Lg", f);
26167 return (strncmp ("3.14159", buf, 7));
26172 rm -f conftest
$ac_exeext
26173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26174 (eval $ac_link) 2>&5
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179 (eval $ac_try) 2>&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); }; }; then
26183 gdb_cv_printf_has_long_double
=yes
26185 echo "$as_me: program exited with status $ac_status" >&5
26186 echo "$as_me: failed program was:" >&5
26187 sed 's/^/| /' conftest.
$ac_ext >&5
26189 ( exit $ac_status )
26190 gdb_cv_printf_has_long_double
=no
26192 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26195 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
26196 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
26197 if test $gdb_cv_printf_has_long_double = yes; then
26199 cat >>confdefs.h
<<\_ACEOF
26200 #define PRINTF_HAS_LONG_DOUBLE 1
26205 # Check if the compiler and runtime support scanning long doubles.
26207 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
26208 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
26209 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
26210 echo $ECHO_N "(cached) $ECHO_C" >&6
26212 if test "$cross_compiling" = yes; then
26213 gdb_cv_scanf_has_long_double
=no
26215 cat >conftest.
$ac_ext <<_ACEOF
26218 cat confdefs.h
>>conftest.
$ac_ext
26219 cat >>conftest.
$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26225 char *buf = "3.141592653";
26227 sscanf (buf, "%Lg", &f);
26228 return !(f > 3.14159 && f < 3.14160);
26233 rm -f conftest
$ac_exeext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26235 (eval $ac_link) 2>&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240 (eval $ac_try) 2>&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); }; }; then
26244 gdb_cv_scanf_has_long_double
=yes
26246 echo "$as_me: program exited with status $ac_status" >&5
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.
$ac_ext >&5
26250 ( exit $ac_status )
26251 gdb_cv_scanf_has_long_double
=no
26253 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26256 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
26257 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
26258 if test $gdb_cv_scanf_has_long_double = yes; then
26260 cat >>confdefs.h
<<\_ACEOF
26261 #define SCANF_HAS_LONG_DOUBLE 1
26268 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
26269 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
26270 if test "${gdb_cv_bigtoc+set}" = set; then
26271 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 SAVE_LDFLAGS
=$LDFLAGS
26277 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
26278 *) gdb_cv_bigtoc
=-bbigtoc ;;
26281 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
26282 cat >conftest.
$ac_ext <<_ACEOF
26285 cat confdefs.h
>>conftest.
$ac_ext
26286 cat >>conftest.
$ac_ext <<_ACEOF
26287 /* end confdefs.h. */
26297 rm -f conftest.
$ac_objext conftest
$ac_exeext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26299 (eval $ac_link) 2>conftest.er1
26301 grep -v '^ *+' conftest.er1
>conftest.err
26303 cat conftest.err
>&5
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try
='test -z "$ac_c_werror_flag"
26307 || test ! -s conftest.err'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; } &&
26313 { ac_try
='test -s conftest$ac_exeext'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; }; then
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.
$ac_ext >&5
26326 rm -f conftest.err conftest.
$ac_objext \
26327 conftest
$ac_exeext conftest.
$ac_ext
26328 LDFLAGS
="${SAVE_LDFLAGS}"
26331 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
26332 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
26333 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
26339 if test ${build} = ${host} -a ${host} = ${target} ; then
26342 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
26343 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
26344 if test -f /usr
/include
/dce
/cma_config.h
; then
26345 if test "$GCC" = "yes" ; then
26346 echo "$as_me:$LINENO: result: yes" >&5
26347 echo "${ECHO_T}yes" >&6
26349 cat >>confdefs.h
<<\_ACEOF
26350 #define HAVE_HPUX_THREAD_SUPPORT 1
26353 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
26354 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
26356 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
26357 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
26360 echo "$as_me:$LINENO: result: no" >&5
26361 echo "${ECHO_T}no" >&6
26365 # See if thread_db library is around for Solaris thread debugging.
26366 # Note that we must explicitly test for version 1 of the library
26367 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
26369 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
26370 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
26371 if test -f /usr
/lib
/libthread_db.so
.1 ; then
26372 echo "$as_me:$LINENO: result: yes" >&5
26373 echo "${ECHO_T}yes" >&6
26375 cat >>confdefs.h
<<\_ACEOF
26376 #define HAVE_THREAD_DB_LIB 1
26379 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
26380 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
26382 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26383 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26384 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 ac_check_lib_save_LIBS
=$LIBS
26389 cat >conftest.
$ac_ext <<_ACEOF
26392 cat confdefs.h
>>conftest.
$ac_ext
26393 cat >>conftest.
$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26396 /* Override any gcc2 internal prototype to avoid an error. */
26400 /* We use char because int might match the return type of a gcc2
26401 builtin and then its argument prototype would still apply. */
26411 rm -f conftest.
$ac_objext conftest
$ac_exeext
26412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26413 (eval $ac_link) 2>conftest.er1
26415 grep -v '^ *+' conftest.er1
>conftest.err
26417 cat conftest.err
>&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); } &&
26420 { ac_try
='test -z "$ac_c_werror_flag"
26421 || test ! -s conftest.err'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; } &&
26427 { ac_try
='test -s conftest$ac_exeext'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; }; then
26433 ac_cv_lib_dl_dlopen
=yes
26435 echo "$as_me: failed program was:" >&5
26436 sed 's/^/| /' conftest.
$ac_ext >&5
26438 ac_cv_lib_dl_dlopen
=no
26440 rm -f conftest.err conftest.
$ac_objext \
26441 conftest
$ac_exeext conftest.
$ac_ext
26442 LIBS
=$ac_check_lib_save_LIBS
26444 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26445 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26446 if test $ac_cv_lib_dl_dlopen = yes; then
26447 cat >>confdefs.h
<<_ACEOF
26448 #define HAVE_LIBDL 1
26455 if test "$GCC" = "yes" ; then
26456 # The GNU linker requires the -export-dynamic option to make
26457 # all symbols visible in the dynamic symbol table.
26458 hold_ldflags
=$LDFLAGS
26459 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
26460 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
26461 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
26462 cat >conftest.
$ac_ext <<_ACEOF
26465 cat confdefs.h
>>conftest.
$ac_ext
26466 cat >>conftest.
$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26477 rm -f conftest.
$ac_objext conftest
$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26481 grep -v '^ *+' conftest.er1
>conftest.err
26483 cat conftest.err
>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try
='test -z "$ac_c_werror_flag"
26487 || test ! -s conftest.err'
26488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 (eval $ac_try) 2>&5
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); }; } &&
26493 { ac_try
='test -s conftest$ac_exeext'
26494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26495 (eval $ac_try) 2>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); }; }; then
26501 echo "$as_me: failed program was:" >&5
26502 sed 's/^/| /' conftest.
$ac_ext >&5
26506 rm -f conftest.err conftest.
$ac_objext \
26507 conftest
$ac_exeext conftest.
$ac_ext
26508 LDFLAGS
=$hold_ldflags
26509 echo "$as_me:$LINENO: result: $found" >&5
26510 echo "${ECHO_T}$found" >&6
26511 if test $found = yes; then
26512 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
26515 # Sun randomly tweaked the prototypes in <proc_service.h>
26517 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
26518 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
26519 if test "${gdb_cv_proc_service_is_old+set}" = set; then
26520 echo $ECHO_N "(cached) $ECHO_C" >&6
26523 cat >conftest.
$ac_ext <<_ACEOF
26526 cat confdefs.h
>>conftest.
$ac_ext
26527 cat >>conftest.
$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26530 #include <proc_service.h>
26531 ps_err_e ps_pdwrite
26532 (struct ps_prochandle*, psaddr_t, const void*, size_t);
26542 rm -f conftest.
$ac_objext
26543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26544 (eval $ac_compile) 2>conftest.er1
26546 grep -v '^ *+' conftest.er1
>conftest.err
26548 cat conftest.err
>&5
26549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26550 (exit $ac_status); } &&
26551 { ac_try
='test -z "$ac_c_werror_flag"
26552 || test ! -s conftest.err'
26553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26554 (eval $ac_try) 2>&5
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); }; } &&
26558 { ac_try
='test -s conftest.$ac_objext'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; }; then
26564 gdb_cv_proc_service_is_old
=no
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.
$ac_ext >&5
26569 gdb_cv_proc_service_is_old
=yes
26571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26575 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
26576 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
26577 if test $gdb_cv_proc_service_is_old = yes; then
26579 cat >>confdefs.h
<<\_ACEOF
26580 #define PROC_SERVICE_IS_OLD 1
26585 echo "$as_me:$LINENO: result: no" >&5
26586 echo "${ECHO_T}no" >&6
26590 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
26591 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
26592 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
26593 echo $ECHO_N "(cached) $ECHO_C" >&6
26595 cat >conftest.
$ac_ext <<_ACEOF
26598 cat confdefs.h
>>conftest.
$ac_ext
26599 cat >>conftest.
$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26601 #include <sys/pthdebug.h>
26605 #ifndef PTHDB_VERSION_3
26612 rm -f conftest.
$ac_objext
26613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26614 (eval $ac_compile) 2>conftest.er1
26616 grep -v '^ *+' conftest.er1
>conftest.err
26618 cat conftest.err
>&5
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); } &&
26621 { ac_try
='test -z "$ac_c_werror_flag"
26622 || test ! -s conftest.err'
26623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26624 (eval $ac_try) 2>&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); }; } &&
26628 { ac_try
='test -s conftest.$ac_objext'
26629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26630 (eval $ac_try) 2>&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); }; }; then
26634 gdb_cv_have_aix_thread_debug
=yes
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.
$ac_ext >&5
26639 gdb_cv_have_aix_thread_debug
=no
26641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26644 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
26645 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
26646 if test $gdb_cv_have_aix_thread_debug = yes; then
26647 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
26648 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
26649 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
26656 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
26657 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
26658 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
26659 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
26660 echo $ECHO_N "(cached) $ECHO_C" >&6
26662 cat >conftest.
$ac_ext <<_ACEOF
26665 cat confdefs.h
>>conftest.
$ac_ext
26666 cat >>conftest.
$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26668 #include <thread_db.h>
26672 int i = TD_NOTALLOC;
26677 rm -f conftest.
$ac_objext
26678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26679 (eval $ac_compile) 2>conftest.er1
26681 grep -v '^ *+' conftest.er1
>conftest.err
26683 cat conftest.err
>&5
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); } &&
26686 { ac_try
='test -z "$ac_c_werror_flag"
26687 || test ! -s conftest.err'
26688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26689 (eval $ac_try) 2>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; } &&
26693 { ac_try
='test -s conftest.$ac_objext'
26694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26695 (eval $ac_try) 2>&5
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); }; }; then
26699 gdb_cv_thread_db_h_has_td_notalloc
=yes
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.
$ac_ext >&5
26704 gdb_cv_thread_db_h_has_td_notalloc
=no
26707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26710 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
26711 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
26712 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
26713 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
26714 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 cat >conftest.
$ac_ext <<_ACEOF
26720 cat confdefs.h
>>conftest.
$ac_ext
26721 cat >>conftest.
$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26723 #include <thread_db.h>
26727 int i = TD_VERSION;
26732 rm -f conftest.
$ac_objext
26733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26734 (eval $ac_compile) 2>conftest.er1
26736 grep -v '^ *+' conftest.er1
>conftest.err
26738 cat conftest.err
>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } &&
26741 { ac_try
='test -z "$ac_c_werror_flag"
26742 || test ! -s conftest.err'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; } &&
26748 { ac_try
='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 gdb_cv_thread_db_h_has_td_version
=yes
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.
$ac_ext >&5
26759 gdb_cv_thread_db_h_has_td_version
=no
26762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26765 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
26766 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
26767 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
26768 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
26769 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
26770 echo $ECHO_N "(cached) $ECHO_C" >&6
26772 cat >conftest.
$ac_ext <<_ACEOF
26775 cat confdefs.h
>>conftest.
$ac_ext
26776 cat >>conftest.
$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26778 #include <thread_db.h>
26787 rm -f conftest.
$ac_objext
26788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26789 (eval $ac_compile) 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); } &&
26796 { ac_try
='test -z "$ac_c_werror_flag"
26797 || test ! -s conftest.err'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; } &&
26803 { ac_try
='test -s conftest.$ac_objext'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; }; then
26809 gdb_cv_thread_db_h_has_td_notls
=yes
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.
$ac_ext >&5
26814 gdb_cv_thread_db_h_has_td_notls
=no
26817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26820 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
26821 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
26823 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
26825 cat >>confdefs.h
<<\_ACEOF
26826 #define THREAD_DB_HAS_TD_NOTALLOC 1
26830 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
26832 cat >>confdefs.h
<<\_ACEOF
26833 #define THREAD_DB_HAS_TD_VERSION 1
26837 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
26839 cat >>confdefs.h
<<\_ACEOF
26840 #define THREAD_DB_HAS_TD_NOTLS 1
26845 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
26846 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
26847 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
26848 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
26849 echo $ECHO_N "(cached) $ECHO_C" >&6
26851 cat >conftest.
$ac_ext <<_ACEOF
26854 cat confdefs.h
>>conftest.
$ac_ext
26855 cat >>conftest.
$ac_ext <<_ACEOF
26856 /* end confdefs.h. */
26857 #include <sys/syscall.h>
26861 int i = __NR_tkill;
26866 rm -f conftest.
$ac_objext
26867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26868 (eval $ac_compile) 2>conftest.er1
26870 grep -v '^ *+' conftest.er1
>conftest.err
26872 cat conftest.err
>&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } &&
26875 { ac_try
='test -z "$ac_c_werror_flag"
26876 || test ! -s conftest.err'
26877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26878 (eval $ac_try) 2>&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); }; } &&
26882 { ac_try
='test -s conftest.$ac_objext'
26883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26884 (eval $ac_try) 2>&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); }; }; then
26888 gdb_cv_sys_syscall_h_has_tkill
=yes
26890 echo "$as_me: failed program was:" >&5
26891 sed 's/^/| /' conftest.
$ac_ext >&5
26893 gdb_cv_sys_syscall_h_has_tkill
=no
26896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26899 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
26900 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
26902 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
26904 cat >>confdefs.h
<<\_ACEOF
26905 #define HAVE_TKILL_SYSCALL 1
26912 # Check whether --with-sysroot or --without-sysroot was given.
26913 if test "${with_sysroot+set}" = set; then
26914 withval
="$with_sysroot"
26916 case ${with_sysroot} in
26917 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
26918 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
26921 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
26923 if test "x$prefix" = xNONE
; then
26924 test_prefix
=/usr
/local
26926 test_prefix
=$prefix
26928 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
26929 test_exec_prefix
=$test_prefix
26931 test_exec_prefix
=$exec_prefix
26933 case ${TARGET_SYSTEM_ROOT} in
26934 "${test_prefix}"|
"${test_prefix}/"*|\
26935 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
26936 '${prefix}'|
'${prefix}/'*|\
26937 '${exec_prefix}'|
'${exec_prefix}/'*)
26938 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
26939 TARGET_SYSTEM_ROOT_DEFINE
="$t"
26945 TARGET_SYSTEM_ROOT
=
26946 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
26952 # Check whether --enable-werror or --disable-werror was given.
26953 if test "${enable_werror+set}" = set; then
26954 enableval
="$enable_werror"
26955 case "${enableval}" in
26956 yes | y
) ERROR_ON_WARNING
="yes" ;;
26957 no | n
) ERROR_ON_WARNING
="no" ;;
26958 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
26959 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
26960 { (exit 1); exit 1; }; } ;;
26964 # Enable -Werror by default when using gcc
26965 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
26966 ERROR_ON_WARNING
=yes
26970 if test "${ERROR_ON_WARNING}" = yes ; then
26971 WERROR_CFLAGS
="-Werror"
26974 # The entries after -Wno-pointer-sign are disabled warnings which may
26975 # be enabled in the future, which can not currently be used to build
26977 # NOTE: If you change this list, remember to update
26978 # gdb/doc/gdbint.texinfo.
26979 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
26980 -Wformat-nonliteral -Wno-pointer-sign \
26981 -Wno-unused -Wno-switch -Wno-char-subscripts"
26983 # Check whether --enable-build-warnings or --disable-build-warnings was given.
26984 if test "${enable_build_warnings+set}" = set; then
26985 enableval
="$enable_build_warnings"
26986 case "${enableval}" in
26988 no
) build_warnings
="-w";;
26989 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26990 build_warnings
="${build_warnings} ${t}";;
26991 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26992 build_warnings
="${t} ${build_warnings}";;
26993 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
26995 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
26996 echo "Setting compiler warning flags = $build_warnings" 6>&1
26998 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
26999 if test "${enable_gdb_build_warnings+set}" = set; then
27000 enableval
="$enable_gdb_build_warnings"
27001 case "${enableval}" in
27003 no
) build_warnings
="-w";;
27004 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
27005 build_warnings
="${build_warnings} ${t}";;
27006 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
27007 build_warnings
="${t} ${build_warnings}";;
27008 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
27010 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
27011 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
27014 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
27016 echo "$as_me:$LINENO: checking compiler warning flags" >&5
27017 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
27018 # Separate out the -Werror flag as some files just cannot be
27019 # compiled with it enabled.
27020 for w
in ${build_warnings}; do
27022 -Werr*) WERROR_CFLAGS
=-Werror ;;
27023 *) # Check that GCC accepts it
27024 saved_CFLAGS
="$CFLAGS"
27025 CFLAGS
="$CFLAGS $w"
27026 cat >conftest.
$ac_ext <<_ACEOF
27029 cat confdefs.h
>>conftest.
$ac_ext
27030 cat >>conftest.
$ac_ext <<_ACEOF
27031 /* end confdefs.h. */
27041 rm -f conftest.
$ac_objext
27042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27043 (eval $ac_compile) 2>conftest.er1
27045 grep -v '^ *+' conftest.er1
>conftest.err
27047 cat conftest.err
>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); } &&
27050 { ac_try
='test -z "$ac_c_werror_flag"
27051 || test ! -s conftest.err'
27052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27053 (eval $ac_try) 2>&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); }; } &&
27057 { ac_try
='test -s conftest.$ac_objext'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; }; then
27063 WARN_CFLAGS
="${WARN_CFLAGS} $w"
27065 echo "$as_me: failed program was:" >&5
27066 sed 's/^/| /' conftest.
$ac_ext >&5
27069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27070 CFLAGS
="$saved_CFLAGS"
27073 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
27074 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
27079 # In the Cygwin environment, we need some additional flags.
27080 echo "$as_me:$LINENO: checking for cygwin" >&5
27081 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
27082 if test "${gdb_cv_os_cygwin+set}" = set; then
27083 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 cat >conftest.
$ac_ext <<_ACEOF
27088 cat confdefs.h
>>conftest.
$ac_ext
27089 cat >>conftest.
$ac_ext <<_ACEOF
27090 /* end confdefs.h. */
27092 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
27096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27097 $EGREP "lose" >/dev
/null
2>&1; then
27098 gdb_cv_os_cygwin
=yes
27100 gdb_cv_os_cygwin
=no
27105 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
27106 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
27109 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
27111 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
27112 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
27113 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
27117 # libreadline needs libuser32.a in a cygwin environment
27119 if test x
$gdb_cv_os_cygwin = xyes
; then
27120 WIN32LIBS
="-luser32"
27121 case "${target}" in
27122 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
27127 # The ser-tcp.c module requires sockets.
27131 cat >>confdefs.h
<<\_ACEOF
27132 #define USE_WIN32API 1
27135 WIN32LIBS
="$WIN32LIBS -lws2_32"
27140 # Add ELF support to GDB, but only if BFD includes ELF support.
27142 OLD_LDFLAGS
=$LDFLAGS
27144 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
27145 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
27146 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
27147 LIBS
="$LIBS -lbfd -liberty $intl"
27148 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
27149 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
27150 if test "${gdb_cv_var_elf+set}" = set; then
27151 echo $ECHO_N "(cached) $ECHO_C" >&6
27153 cat >conftest.
$ac_ext <<_ACEOF
27156 cat confdefs.h
>>conftest.
$ac_ext
27157 cat >>conftest.
$ac_ext <<_ACEOF
27158 /* end confdefs.h. */
27159 #include <stdlib.h>
27161 #include "elf-bfd.h"
27166 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
27171 rm -f conftest.
$ac_objext conftest
$ac_exeext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27173 (eval $ac_link) 2>conftest.er1
27175 grep -v '^ *+' conftest.er1
>conftest.err
27177 cat conftest.err
>&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try
='test -z "$ac_c_werror_flag"
27181 || test ! -s conftest.err'
27182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183 (eval $ac_try) 2>&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); }; } &&
27187 { ac_try
='test -s conftest$ac_exeext'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; }; then
27195 echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.
$ac_ext >&5
27200 rm -f conftest.err conftest.
$ac_objext \
27201 conftest
$ac_exeext conftest.
$ac_ext
27203 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
27204 echo "${ECHO_T}$gdb_cv_var_elf" >&6
27205 if test $gdb_cv_var_elf = yes; then
27206 CONFIG_OBS
="$CONFIG_OBS elfread.o"
27208 cat >>confdefs.h
<<\_ACEOF
27214 LDFLAGS
=$OLD_LDFLAGS
27217 # Add any host-specific objects to GDB.
27218 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
27220 LIBGUI
="../libgui/src/libgui.a"
27221 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
27230 *-*-cygwin* |
*-*-mingw* )
27239 if test "${enable_gdbtk}" = "yes"; then
27241 # Gdbtk must have an absolute path to srcdir in order to run
27242 # properly when not installed.
27245 GDBTK_SRC_DIR
=`pwd`
27250 # Ok, lets find the tcl configuration
27251 # First, look for one uninstalled.
27252 # the alternative search directory is invoked by --with-tclconfig
27255 if test x
"${no_tcl}" = x
; then
27256 # we reset no_tcl in case something fails here
27259 # Check whether --with-tclconfig or --without-tclconfig was given.
27260 if test "${with_tclconfig+set}" = set; then
27261 withval
="$with_tclconfig"
27262 with_tclconfig
=${withval}
27264 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
27265 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
27266 if test "${ac_cv_c_tclconfig+set}" = set; then
27267 echo $ECHO_N "(cached) $ECHO_C" >&6
27271 # First check to see if --with-tclconfig was specified.
27272 if test x
"${with_tclconfig}" != x
; then
27273 if test -f "${with_tclconfig}/tclConfig.sh" ; then
27274 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
27276 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
27277 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
27278 { (exit 1); exit 1; }; }
27282 # then check for a private Tcl installation
27283 if test x
"${ac_cv_c_tclconfig}" = x
; then
27286 `ls -dr ../tcl[7-9]* 2>/dev/null` \
27288 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
27290 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
27291 if test -f "$i/${configdir}/tclConfig.sh" ; then
27292 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
27297 # check in a few common install locations
27298 if test x
"${ac_cv_c_tclconfig}" = x
; then
27299 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
27300 if test -f "$i/tclConfig.sh" ; then
27301 ac_cv_c_tclconfig
=`(cd $i; pwd)`
27306 # check in a few other private locations
27307 if test x
"${ac_cv_c_tclconfig}" = x
; then
27310 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
27311 if test -f "$i/${configdir}/tclConfig.sh" ; then
27312 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
27320 if test x
"${ac_cv_c_tclconfig}" = x
; then
27321 TCLCONFIG
="# no Tcl configs found"
27322 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
27323 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
27326 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
27327 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
27328 echo "${ECHO_T}found $TCLCONFIG" >&6
27332 if test -z "${no_tcl}"; then
27363 # Ok, lets find the tk configuration
27364 # First, look for one uninstalled.
27365 # the alternative search directory is invoked by --with-tkconfig
27368 if test x
"${no_tk}" = x
; then
27369 # we reset no_tk in case something fails here
27372 # Check whether --with-tkconfig or --without-tkconfig was given.
27373 if test "${with_tkconfig+set}" = set; then
27374 withval
="$with_tkconfig"
27375 with_tkconfig
=${withval}
27377 echo "$as_me:$LINENO: checking for Tk configuration" >&5
27378 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
27379 if test "${ac_cv_c_tkconfig+set}" = set; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27384 # First check to see if --with-tkconfig was specified.
27385 if test x
"${with_tkconfig}" != x
; then
27386 if test -f "${with_tkconfig}/tkConfig.sh" ; then
27387 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
27389 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
27390 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
27391 { (exit 1); exit 1; }; }
27395 # then check for a private Tk library
27396 if test x
"${ac_cv_c_tkconfig}" = x
; then
27399 `ls -dr ../tk[4-9]* 2>/dev/null` \
27401 `ls -dr ../../tk[4-9]* 2>/dev/null` \
27403 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
27404 if test -f "$i/${configdir}/tkConfig.sh" ; then
27405 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
27410 # check in a few common install locations
27411 if test x
"${ac_cv_c_tkconfig}" = x
; then
27412 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
27413 if test -f "$i/tkConfig.sh" ; then
27414 ac_cv_c_tkconfig
=`(cd $i; pwd)`
27419 # check in a few other private locations
27420 if test x
"${ac_cv_c_tkconfig}" = x
; then
27423 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
27424 if test -f "$i/${configdir}/tkConfig.sh" ; then
27425 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
27433 if test x
"${ac_cv_c_tkconfig}" = x
; then
27434 TKCONFIG
="# no Tk configs found"
27435 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
27436 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
27439 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
27440 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
27441 echo "${ECHO_T}found $TKCONFIG" >&6
27447 # now look for Tcl library stuff
27449 tcldir
="../tcl/${configdir}/"
27451 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
27453 # If $no_tk is nonempty, then we can't do Tk, and there is no
27454 # point to doing Tcl.
27455 if test -z "${no_tk}"; then
27457 if test -f "$TKCONFIG" ; then
27475 # Ok, lets find the tcl source trees so we can use the headers
27476 # Warning: transition of version 9 to 10 will break this algorithm
27477 # because 10 sorts before 9. We also look for just tcl. We have to
27478 # be careful that we don't match stuff like tclX by accident.
27479 # the alternative search directory is involked by --with-tclinclude
27483 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
27484 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
27486 # Check whether --with-tclinclude or --without-tclinclude was given.
27487 if test "${with_tclinclude+set}" = set; then
27488 withval
="$with_tclinclude"
27489 with_tclinclude
=${withval}
27491 if test "${ac_cv_c_tclh+set}" = set; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27495 # first check to see if --with-tclinclude was specified
27496 if test x
"${with_tclinclude}" != x
; then
27497 if test -f ${with_tclinclude}/tclInt.h
; then
27498 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
27499 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
27500 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
27502 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
27503 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
27504 { (exit 1); exit 1; }; }
27508 # next check if it came with Tcl configuration file
27509 if test x
"${ac_cv_c_tclconfig}" = x
; then
27510 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
27511 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
27515 # next check in private source directory
27517 # since ls returns lowest version numbers first, reverse its output
27518 if test x
"${ac_cv_c_tclh}" = x
; then
27521 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
27522 ${srcdir}/..
/..
/tcl \
27523 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
27524 ${srcdir}/..
/..
/..
/tcl \
27525 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
27526 if test -f $i/generic
/tclInt.h
; then
27527 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
27532 # finally check in a few common install locations
27534 # since ls returns lowest version numbers first, reverse its output
27535 if test x
"${ac_cv_c_tclh}" = x
; then
27537 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
27538 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
27539 /usr
/local
/src
/tcl \
27540 /usr
/local
/lib
/tcl \
27541 ${prefix}/include
; do
27542 if test -f $i/generic
/tclInt.h
; then
27543 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
27548 # see if one is installed
27549 if test x
"${ac_cv_c_tclh}" = x
; then
27550 if test "${ac_cv_header_tclInt_h+set}" = set; then
27551 echo "$as_me:$LINENO: checking for tclInt.h" >&5
27552 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
27553 if test "${ac_cv_header_tclInt_h+set}" = set; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
27557 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
27559 # Is the header compilable?
27560 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
27561 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
27562 cat >conftest.
$ac_ext <<_ACEOF
27565 cat confdefs.h
>>conftest.
$ac_ext
27566 cat >>conftest.
$ac_ext <<_ACEOF
27567 /* end confdefs.h. */
27568 $ac_includes_default
27569 #include <tclInt.h>
27571 rm -f conftest.
$ac_objext
27572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27573 (eval $ac_compile) 2>conftest.er1
27575 grep -v '^ *+' conftest.er1
>conftest.err
27577 cat conftest.err
>&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); } &&
27580 { ac_try
='test -z "$ac_c_werror_flag"
27581 || test ! -s conftest.err'
27582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27583 (eval $ac_try) 2>&5
27585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586 (exit $ac_status); }; } &&
27587 { ac_try
='test -s conftest.$ac_objext'
27588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27589 (eval $ac_try) 2>&5
27591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592 (exit $ac_status); }; }; then
27593 ac_header_compiler
=yes
27595 echo "$as_me: failed program was:" >&5
27596 sed 's/^/| /' conftest.
$ac_ext >&5
27598 ac_header_compiler
=no
27600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27602 echo "${ECHO_T}$ac_header_compiler" >&6
27604 # Is the header present?
27605 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
27606 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
27607 cat >conftest.
$ac_ext <<_ACEOF
27610 cat confdefs.h
>>conftest.
$ac_ext
27611 cat >>conftest.
$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27613 #include <tclInt.h>
27615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27618 grep -v '^ *+' conftest.er1
>conftest.err
27620 cat conftest.err
>&5
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); } >/dev
/null
; then
27623 if test -s conftest.err
; then
27624 ac_cpp_err
=$ac_c_preproc_warn_flag
27625 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27632 if test -z "$ac_cpp_err"; then
27633 ac_header_preproc
=yes
27635 echo "$as_me: failed program was:" >&5
27636 sed 's/^/| /' conftest.
$ac_ext >&5
27638 ac_header_preproc
=no
27640 rm -f conftest.err conftest.
$ac_ext
27641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27642 echo "${ECHO_T}$ac_header_preproc" >&6
27644 # So? What about this header?
27645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27647 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27648 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27649 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
27650 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
27651 ac_header_preproc
=yes
27654 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
27655 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
27656 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
27657 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
27658 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
27659 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
27660 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
27661 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27662 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
27663 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
27664 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
27665 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
27668 ## ------------------------------------------ ##
27669 ## Report this to the AC_PACKAGE_NAME lists. ##
27670 ## ------------------------------------------ ##
27673 sed "s/^/$as_me: WARNING: /" >&2
27676 echo "$as_me:$LINENO: checking for tclInt.h" >&5
27677 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
27678 if test "${ac_cv_header_tclInt_h+set}" = set; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 ac_cv_header_tclInt_h
=$ac_header_preproc
27683 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
27684 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
27687 if test $ac_cv_header_tclInt_h = yes; then
27688 ac_cv_c_tclh
=installed
27698 if test x
"${ac_cv_c_tclh}" = x
; then
27699 TCLHDIR
="# no Tcl private headers found"
27700 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
27701 echo "$as_me: error: Can't find Tcl private headers" >&2;}
27702 { (exit 1); exit 1; }; }
27704 if test x
"${ac_cv_c_tclh}" != x
; then
27706 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
27707 echo "$as_me:$LINENO: result: is installed" >&5
27708 echo "${ECHO_T}is installed" >&6
27711 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
27712 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
27713 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
27714 TCLHDIR
="-I${ac_cv_c_tclh}"
27722 # Ok, lets find the tk source trees so we can use the headers
27723 # If the directory (presumably symlink) named "tk" exists, use that one
27724 # in preference to any others. Same logic is used when choosing library
27725 # and again with Tcl. The search order is the best place to look first, then in
27726 # decreasing significance. The loop breaks if the trigger file is found.
27727 # Note the gross little conversion here of srcdir by cd'ing to the found
27728 # directory. This converts the path from a relative to an absolute, so
27729 # recursive cache variables for the path will work right. We check all
27730 # the possible paths in one loop rather than many seperate loops to speed
27732 # the alternative search directory is involked by --with-tkinclude
27735 echo "$as_me:$LINENO: checking for Tk private headers" >&5
27736 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
27738 # Check whether --with-tkinclude or --without-tkinclude was given.
27739 if test "${with_tkinclude+set}" = set; then
27740 withval
="$with_tkinclude"
27741 with_tkinclude
=${withval}
27743 if test "${ac_cv_c_tkh+set}" = set; then
27744 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 # first check to see if --with-tkinclude was specified
27748 if test x
"${with_tkinclude}" != x
; then
27749 if test -f ${with_tkinclude}/tk.h
; then
27750 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
27751 elif test -f ${with_tkinclude}/generic
/tk.h
; then
27752 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
27754 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
27755 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
27756 { (exit 1); exit 1; }; }
27760 # next check if it came with Tk configuration file
27761 if test x
"${ac_cv_c_tkconfig}" = x
; then
27762 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
27763 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
27767 # next check in private source directory
27769 # since ls returns lowest version numbers first, reverse its output
27770 if test x
"${ac_cv_c_tkh}" = x
; then
27773 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
27774 ${srcdir}/..
/..
/tk \
27775 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
27776 ${srcdir}/..
/..
/..
/tk \
27777 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
27778 if test -f $i/generic
/tk.h
; then
27779 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
27784 # finally check in a few common install locations
27786 # since ls returns lowest version numbers first, reverse its output
27787 if test x
"${ac_cv_c_tkh}" = x
; then
27789 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
27790 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
27791 /usr
/local
/src
/tk \
27792 /usr
/local
/lib
/tk \
27793 ${prefix}/include
; do
27794 if test -f $i/generic
/tk.h
; then
27795 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
27800 # see if one is installed
27801 if test x
"${ac_cv_c_tkh}" = x
; then
27802 if test "${ac_cv_header_tk_h+set}" = set; then
27803 echo "$as_me:$LINENO: checking for tk.h" >&5
27804 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
27805 if test "${ac_cv_header_tk_h+set}" = set; then
27806 echo $ECHO_N "(cached) $ECHO_C" >&6
27808 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
27809 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
27811 # Is the header compilable?
27812 echo "$as_me:$LINENO: checking tk.h usability" >&5
27813 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
27814 cat >conftest.
$ac_ext <<_ACEOF
27817 cat confdefs.h
>>conftest.
$ac_ext
27818 cat >>conftest.
$ac_ext <<_ACEOF
27819 /* end confdefs.h. */
27820 $ac_includes_default
27823 rm -f conftest.
$ac_objext
27824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27825 (eval $ac_compile) 2>conftest.er1
27827 grep -v '^ *+' conftest.er1
>conftest.err
27829 cat conftest.err
>&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } &&
27832 { ac_try
='test -z "$ac_c_werror_flag"
27833 || test ! -s conftest.err'
27834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27835 (eval $ac_try) 2>&5
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; } &&
27839 { ac_try
='test -s conftest.$ac_objext'
27840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27841 (eval $ac_try) 2>&5
27843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); }; }; then
27845 ac_header_compiler
=yes
27847 echo "$as_me: failed program was:" >&5
27848 sed 's/^/| /' conftest.
$ac_ext >&5
27850 ac_header_compiler
=no
27852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27854 echo "${ECHO_T}$ac_header_compiler" >&6
27856 # Is the header present?
27857 echo "$as_me:$LINENO: checking tk.h presence" >&5
27858 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
27859 cat >conftest.
$ac_ext <<_ACEOF
27862 cat confdefs.h
>>conftest.
$ac_ext
27863 cat >>conftest.
$ac_ext <<_ACEOF
27864 /* end confdefs.h. */
27867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27870 grep -v '^ *+' conftest.er1
>conftest.err
27872 cat conftest.err
>&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); } >/dev
/null
; then
27875 if test -s conftest.err
; then
27876 ac_cpp_err
=$ac_c_preproc_warn_flag
27877 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27884 if test -z "$ac_cpp_err"; then
27885 ac_header_preproc
=yes
27887 echo "$as_me: failed program was:" >&5
27888 sed 's/^/| /' conftest.
$ac_ext >&5
27890 ac_header_preproc
=no
27892 rm -f conftest.err conftest.
$ac_ext
27893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27894 echo "${ECHO_T}$ac_header_preproc" >&6
27896 # So? What about this header?
27897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27899 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
27900 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27901 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
27902 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
27903 ac_header_preproc
=yes
27906 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
27907 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
27908 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
27909 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
27910 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
27911 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
27912 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
27913 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
27914 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
27915 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
27916 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
27917 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
27920 ## ------------------------------------------ ##
27921 ## Report this to the AC_PACKAGE_NAME lists. ##
27922 ## ------------------------------------------ ##
27925 sed "s/^/$as_me: WARNING: /" >&2
27928 echo "$as_me:$LINENO: checking for tk.h" >&5
27929 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
27930 if test "${ac_cv_header_tk_h+set}" = set; then
27931 echo $ECHO_N "(cached) $ECHO_C" >&6
27933 ac_cv_header_tk_h
=$ac_header_preproc
27935 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
27936 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
27939 if test $ac_cv_header_tk_h = yes; then
27940 ac_cv_c_tkh
=installed
27950 if test x
"${ac_cv_c_tkh}" != x
; then
27952 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
27953 echo "$as_me:$LINENO: result: is installed" >&5
27954 echo "${ECHO_T}is installed" >&6
27957 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
27958 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
27959 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
27960 TKHDIR
="-I${ac_cv_c_tkh}"
27963 TKHDIR
="# no Tk directory found"
27964 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
27965 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
27972 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
27973 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
27974 if test x
"${ac_cv_c_itclh}" = x
; then
27975 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
27976 if test -f $i/generic
/itcl.h
; then
27977 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
27982 if test x
"${ac_cv_c_itclh}" = x
; then
27983 ITCLHDIR
="# no Itcl private headers found"
27984 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
27985 echo "$as_me: error: Can't find Itcl private headers" >&2;}
27986 { (exit 1); exit 1; }; }
27988 if test x
"${ac_cv_c_itclh}" != x
; then
27989 ITCLHDIR
="-I${ac_cv_c_itclh}"
27991 # should always be here
27992 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
27997 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
27998 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
27999 if test x
"${ac_cv_c_itkh}" = x
; then
28000 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
28001 if test -f $i/generic
/itk.h
; then
28002 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
28007 if test x
"${ac_cv_c_itkh}" = x
; then
28008 ITKHDIR
="# no Itk private headers found"
28009 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
28010 echo "$as_me: error: Can't find Itk private headers" >&2;}
28011 { (exit 1); exit 1; }; }
28013 if test x
"${ac_cv_c_itkh}" != x
; then
28014 ITKHDIR
="-I${ac_cv_c_itkh}"
28016 # should always be here
28017 # ITKLIB="../itcl/itk/unix/libitk.a"
28023 # now look for Tk library stuff
28025 tkdir
="../tk/${configdir}/"
28027 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
28029 # now look for Itcl library stuff
28033 # Ok, lets find the itcl configuration
28034 # First, look for one uninstalled.
28035 # the alternative search directory is invoked by --with-itclconfig
28038 if test x
"${no_itcl}" = x
; then
28039 # we reset no_itcl in case something fails here
28042 # Check whether --with-itclconfig or --without-itclconfig was given.
28043 if test "${with_itclconfig+set}" = set; then
28044 withval
="$with_itclconfig"
28045 with_itclconfig
=${withval}
28047 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
28048 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
28049 if test "${ac_cv_c_itclconfig+set}" = set; then
28050 echo $ECHO_N "(cached) $ECHO_C" >&6
28054 # First check to see if --with-itclconfig was specified.
28055 if test x
"${with_itclconfig}" != x
; then
28056 if test -f "${with_itclconfig}/itclConfig.sh" ; then
28057 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
28059 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
28060 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
28061 { (exit 1); exit 1; }; }
28065 # then check for a private Itcl library
28066 if test x
"${ac_cv_c_itclconfig}" = x
; then
28069 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
28071 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
28073 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
28074 if test -f "$i/itclConfig.sh" ; then
28075 ac_cv_c_itclconfig
=`(cd $i; pwd)`
28080 # check in a few common install locations
28081 if test x
"${ac_cv_c_itclconfig}" = x
; then
28082 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
28083 if test -f "$i/itclConfig.sh" ; then
28084 ac_cv_c_itclconfig
=`(cd $i; pwd)`
28089 # check in a few other private locations
28090 if test x
"${ac_cv_c_itclconfig}" = x
; then
28092 ${srcdir}/..
/itcl
/itcl \
28093 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
28094 if test -f "$i/itclConfig.sh" ; then
28095 ac_cv_c_itclconfig
=`(cd $i; pwd)`
28103 if test x
"${ac_cv_c_itclconfig}" = x
; then
28104 ITCLCONFIG
="# no Itcl configs found"
28105 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
28106 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
28109 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
28110 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
28111 echo "${ECHO_T}found $ITCLCONFIG" >&6
28115 if test -z "${no_itcl}"; then
28117 if test -f "$ITCLCONFIG" ; then
28132 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
28133 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
28137 # now look for Itk library stuff
28140 # Ok, lets find the itk configuration
28141 # First, look for one uninstalled.
28142 # the alternative search directory is invoked by --with-itkconfig
28145 if test x
"${no_itk}" = x
; then
28146 # we reset no_itk in case something fails here
28149 # Check whether --with-itkconfig or --without-itkconfig was given.
28150 if test "${with_itkconfig+set}" = set; then
28151 withval
="$with_itkconfig"
28152 with_itkconfig
=${withval}
28154 echo "$as_me:$LINENO: checking for Itk configuration" >&5
28155 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
28156 if test "${ac_cv_c_itkconfig+set}" = set; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 # First check to see if --with-itkconfig was specified.
28162 if test x
"${with_itkconfig}" != x
; then
28163 if test -f "${with_itkconfig}/itkConfig.sh" ; then
28164 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
28166 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
28167 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
28168 { (exit 1); exit 1; }; }
28172 # then check for a private Itk library
28173 if test x
"${ac_cv_c_itkconfig}" = x
; then
28176 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
28178 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
28180 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
28181 if test -f "$i/itkConfig.sh" ; then
28182 ac_cv_c_itkconfig
=`(cd $i; pwd)`
28187 # check in a few common install locations
28188 if test x
"${ac_cv_c_itkconfig}" = x
; then
28189 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
28190 if test -f "$i/itkConfig.sh" ; then
28191 ac_cv_c_itkconfig
=`(cd $i; pwd)`
28196 # check in a few other private locations
28197 if test x
"${ac_cv_c_itkconfig}" = x
; then
28199 ${srcdir}/..
/itcl
/itk \
28200 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
28201 if test -f "$i/itkConfig.sh" ; then
28202 ac_cv_c_itkconfig
=`(cd $i; pwd)`
28210 if test x
"${ac_cv_c_itkconfig}" = x
; then
28211 ITKCONFIG
="# no Itk configs found"
28212 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
28213 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
28216 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
28217 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
28218 echo "${ECHO_T}found $ITKCONFIG" >&6
28223 if test -z "${no_itcl}"; then
28225 if test -f "$ITKCONFIG" ; then
28240 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
28241 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
28244 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
28246 # Include some libraries that Tcl and Tk want.
28247 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
28248 # Yes, the ordering seems wrong here. But it isn't.
28249 # TK_LIBS is the list of libraries that need to be linked
28250 # after Tcl/Tk. Note that this isn't put into LIBS. If it
28251 # were in LIBS then any link tests after this point would
28252 # try to include things like `$(LIBGUI)', which wouldn't work.
28253 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
28255 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
28256 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
28257 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
28258 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
28259 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
28260 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
28261 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
28263 if test x
$gdb_cv_os_cygwin = xyes
; then
28264 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
28265 WIN32LDAPP
="-Wl,--subsystem,console"
28266 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
28273 subdirs
="$subdirs gdbtk"
28290 echo "$as_me:$LINENO: checking for X" >&5
28291 echo $ECHO_N "checking for X... $ECHO_C" >&6
28294 # Check whether --with-x or --without-x was given.
28295 if test "${with_x+set}" = set; then
28299 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28300 if test "x$with_x" = xno
; then
28301 # The user explicitly disabled X.
28304 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28305 # Both variables are already set.
28308 if test "${ac_cv_have_x+set}" = set; then
28309 echo $ECHO_N "(cached) $ECHO_C" >&6
28311 # One or both of the vars are not set, and there is no cached value.
28312 ac_x_includes
=no ac_x_libraries
=no
28313 rm -fr conftest.dir
28314 if mkdir conftest.dir
; then
28316 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28317 cat >Imakefile
<<'_ACEOF'
28319 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28321 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28323 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28324 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28325 for ac_extension
in a so sl
; do
28326 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28327 test -f $ac_im_libdir/libX11.
$ac_extension; then
28328 ac_im_usrlibdir
=$ac_im_libdir; break
28331 # Screen out bogus values from the imake configuration. They are
28332 # bogus both because they are the default anyway, and because
28333 # using them would break gcc on systems where it needs fixed includes.
28334 case $ac_im_incroot in
28336 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28338 case $ac_im_usrlibdir in
28339 /usr
/lib |
/lib
) ;;
28340 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28344 rm -fr conftest.dir
28347 # Standard set of common directories for X headers.
28348 # Check X11 before X11Rn because it is often a symlink to the current release.
28360 /usr/local/X11/include
28361 /usr/local/X11R6/include
28362 /usr/local/X11R5/include
28363 /usr/local/X11R4/include
28365 /usr/local/include/X11
28366 /usr/local/include/X11R6
28367 /usr/local/include/X11R5
28368 /usr/local/include/X11R4
28372 /usr/XFree86/include/X11
28376 /usr/unsupported/include
28377 /usr/athena/include
28378 /usr/local/x11r5/include
28379 /usr/lpp/Xamples/include
28381 /usr/openwin/include
28382 /usr/openwin/share/include'
28384 if test "$ac_x_includes" = no
; then
28385 # Guess where to find include files, by looking for Intrinsic.h.
28386 # First, try using that file with no special directory specified.
28387 cat >conftest.
$ac_ext <<_ACEOF
28390 cat confdefs.h
>>conftest.
$ac_ext
28391 cat >>conftest.
$ac_ext <<_ACEOF
28392 /* end confdefs.h. */
28393 #include <X11/Intrinsic.h>
28395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28398 grep -v '^ *+' conftest.er1
>conftest.err
28400 cat conftest.err
>&5
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); } >/dev
/null
; then
28403 if test -s conftest.err
; then
28404 ac_cpp_err
=$ac_c_preproc_warn_flag
28405 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28412 if test -z "$ac_cpp_err"; then
28413 # We can compile using X headers with no special include directory.
28416 echo "$as_me: failed program was:" >&5
28417 sed 's/^/| /' conftest.
$ac_ext >&5
28419 for ac_dir
in $ac_x_header_dirs; do
28420 if test -r "$ac_dir/X11/Intrinsic.h"; then
28421 ac_x_includes
=$ac_dir
28426 rm -f conftest.err conftest.
$ac_ext
28427 fi # $ac_x_includes = no
28429 if test "$ac_x_libraries" = no
; then
28430 # Check for the libraries.
28431 # See if we find them without any special options.
28432 # Don't add to $LIBS permanently.
28435 cat >conftest.
$ac_ext <<_ACEOF
28438 cat confdefs.h
>>conftest.
$ac_ext
28439 cat >>conftest.
$ac_ext <<_ACEOF
28440 /* end confdefs.h. */
28441 #include <X11/Intrinsic.h>
28450 rm -f conftest.
$ac_objext conftest
$ac_exeext
28451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28452 (eval $ac_link) 2>conftest.er1
28454 grep -v '^ *+' conftest.er1
>conftest.err
28456 cat conftest.err
>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } &&
28459 { ac_try
='test -z "$ac_c_werror_flag"
28460 || test ! -s conftest.err'
28461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462 (eval $ac_try) 2>&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); }; } &&
28466 { ac_try
='test -s conftest$ac_exeext'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; }; then
28473 # We can link X programs with no special library path.
28476 echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.
$ac_ext >&5
28480 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28482 # Don't even attempt the hair of trying to link an X program!
28483 for ac_extension
in a so sl
; do
28484 if test -r $ac_dir/libXt.
$ac_extension; then
28485 ac_x_libraries
=$ac_dir
28491 rm -f conftest.err conftest.
$ac_objext \
28492 conftest
$ac_exeext conftest.
$ac_ext
28493 fi # $ac_x_libraries = no
28495 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
28496 # Didn't find X anywhere. Cache the known absence of X.
28497 ac_cv_have_x
="have_x=no"
28499 # Record where we found X for the cache.
28500 ac_cv_have_x
="have_x=yes \
28501 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28506 eval "$ac_cv_have_x"
28509 if test "$have_x" != yes; then
28510 echo "$as_me:$LINENO: result: $have_x" >&5
28511 echo "${ECHO_T}$have_x" >&6
28514 # If each of the values was on the command line, it overrides each guess.
28515 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28516 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28517 # Update the cache value to reflect the command line values.
28518 ac_cv_have_x
="have_x=yes \
28519 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28520 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28521 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28525 # Check whether we should enable the TUI, but only do so if we really
28527 if test x
"$enable_tui" = xyes
; then
28528 if test -d $srcdir/tui
; then
28529 if test "$ac_cv_search_waddstr" != no
; then
28530 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
28531 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
28532 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
28533 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
28534 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
28535 CONFIG_ALL
="${CONFIG_ALL} all-tui"
28536 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
28537 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
28538 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
28540 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
28541 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
28546 # Unlike the sim directory, whether a simulator is linked is controlled by
28547 # presence of a gdb_sim definition in the target configure.tgt entry.
28548 # This code just checks for a few cases where we'd like to ignore those
28549 # definitions, even when they're present in the '.mt' file. These cases
28550 # are when --disable-sim is specified, or if the simulator directory is
28551 # not part of the source tree.
28553 # Check whether --enable-sim or --disable-sim was given.
28554 if test "${enable_sim+set}" = set; then
28555 enableval
="$enable_sim"
28556 echo "enable_sim = $enable_sim";
28557 echo "enableval = ${enableval}";
28558 case "${enableval}" in
28559 yes) ignore_sim
=false
;;
28560 no
) ignore_sim
=true
;;
28561 *) ignore_sim
=false
;;
28567 if test ! -d "${srcdir}/../sim"; then
28573 if test "${ignore_sim}" = "false"; then
28574 if test x
"${gdb_sim}" != x
; then
28576 SIM_OBS
="remote-sim.o"
28578 cat >>confdefs.h
<<\_ACEOF
28598 # List of host floatformats.
28600 cat >>confdefs.h
<<_ACEOF
28601 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
28605 cat >>confdefs.h
<<_ACEOF
28606 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
28610 cat >>confdefs.h
<<_ACEOF
28611 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
28615 # target_subdir is used by the testsuite to find the target libraries.
28617 if test "${host}" != "${target}"; then
28618 target_subdir
="${target_alias}/"
28623 if test "${gdb_native}" = "yes"; then
28624 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
28625 if test ! -f ${host_makefile_frag}; then
28626 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
28627 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
28628 { (exit 1); exit 1; }; }
28630 frags
="$frags $host_makefile_frag"
28632 host_makefile_frag
=/dev
/null
28638 if test "${gdb_native}" = "yes"; then
28639 # We pick this up from the host configuration file (.mh) because we
28640 # do not have a native configuration Makefile fragment.
28641 nativefile
=`sed -n '
28642 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
28643 ' ${host_makefile_frag}`
28647 if test x
"${gdb_osabi}" != x
; then
28649 cat >>confdefs.h
<<_ACEOF
28650 #define GDB_OSABI_DEFAULT $gdb_osabi
28655 # Enable multi-ice-gdb-server.
28656 # Check whether --enable-multi-ice or --disable-multi-ice was given.
28657 if test "${enable_multi_ice+set}" = set; then
28658 enableval
="$enable_multi_ice"
28662 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
28663 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
28664 { (exit 1); exit 1; }; } ;;
28667 if test "x$enable_multi_ice" = xyes
; then
28670 subdirs
="$subdirs multi-ice"
28674 # We only build gdbserver automatically in a native configuration.
28675 if test "$gdb_native" = "yes"; then
28676 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
28677 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
28678 if test "x$build_gdbserver" = xyes
; then
28679 echo "$as_me:$LINENO: result: yes" >&5
28680 echo "${ECHO_T}yes" >&6
28683 subdirs
="$subdirs gdbserver"
28686 echo "$as_me:$LINENO: result: no" >&5
28687 echo "${ECHO_T}no" >&6
28691 # If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
28692 # to an empty version.
28699 if test "${nativefile}" != ""; then
28701 case "${nativefile}" in
28702 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
28703 * ) GDB_NM_FILE
="${nativefile}"
28705 files
="${files} ${GDB_NM_FILE}"
28706 links
="${links} nm.h"
28708 cat >>confdefs.h
<<_ACEOF
28709 #define GDB_NM_FILE "${GDB_NM_FILE}"
28715 ac_sources
="$files"
28717 while test -n "$ac_sources"; do
28718 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
28719 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
28720 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
28722 ac_config_links
="$ac_config_links $ac_config_links_1"
28729 cat >>confdefs.h
<<\_ACEOF
28730 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
28737 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28738 if test "${with_libiconv_prefix+set}" = set; then
28739 withval
="$with_libiconv_prefix"
28741 for dir
in `echo "$withval" | tr : ' '`; do
28742 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
28743 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
28748 echo "$as_me:$LINENO: checking for iconv" >&5
28749 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28750 if test "${am_cv_func_iconv+set}" = set; then
28751 echo $ECHO_N "(cached) $ECHO_C" >&6
28754 am_cv_func_iconv
="no, consider installing GNU libiconv"
28756 cat >conftest.
$ac_ext <<_ACEOF
28759 cat confdefs.h
>>conftest.
$ac_ext
28760 cat >>conftest.
$ac_ext <<_ACEOF
28761 /* end confdefs.h. */
28762 #include <stdlib.h>
28767 iconv_t cd = iconv_open("","");
28768 iconv(cd,NULL,NULL,NULL,NULL);
28774 rm -f conftest.
$ac_objext conftest
$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776 (eval $ac_link) 2>conftest.er1
28778 grep -v '^ *+' conftest.er1
>conftest.err
28780 cat conftest.err
>&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } &&
28783 { ac_try
='test -z "$ac_c_werror_flag"
28784 || test ! -s conftest.err'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; } &&
28790 { ac_try
='test -s conftest$ac_exeext'
28791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792 (eval $ac_try) 2>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28796 am_cv_func_iconv
=yes
28798 echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.
$ac_ext >&5
28802 rm -f conftest.err conftest.
$ac_objext \
28803 conftest
$ac_exeext conftest.
$ac_ext
28804 if test "$am_cv_func_iconv" != yes; then
28805 am_save_LIBS
="$LIBS"
28806 LIBS
="$LIBS -liconv"
28807 cat >conftest.
$ac_ext <<_ACEOF
28810 cat confdefs.h
>>conftest.
$ac_ext
28811 cat >>conftest.
$ac_ext <<_ACEOF
28812 /* end confdefs.h. */
28813 #include <stdlib.h>
28818 iconv_t cd = iconv_open("","");
28819 iconv(cd,NULL,NULL,NULL,NULL);
28825 rm -f conftest.
$ac_objext conftest
$ac_exeext
28826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28827 (eval $ac_link) 2>conftest.er1
28829 grep -v '^ *+' conftest.er1
>conftest.err
28831 cat conftest.err
>&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); } &&
28834 { ac_try
='test -z "$ac_c_werror_flag"
28835 || test ! -s conftest.err'
28836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28837 (eval $ac_try) 2>&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; } &&
28841 { ac_try
='test -s conftest$ac_exeext'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; }; then
28847 am_cv_lib_iconv
=yes
28848 am_cv_func_iconv
=yes
28850 echo "$as_me: failed program was:" >&5
28851 sed 's/^/| /' conftest.
$ac_ext >&5
28854 rm -f conftest.err conftest.
$ac_objext \
28855 conftest
$ac_exeext conftest.
$ac_ext
28856 LIBS
="$am_save_LIBS"
28860 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28861 echo "${ECHO_T}$am_cv_func_iconv" >&6
28862 if test "$am_cv_func_iconv" = yes; then
28864 cat >>confdefs.h
<<\_ACEOF
28865 #define HAVE_ICONV 1
28868 echo "$as_me:$LINENO: checking for iconv declaration" >&5
28869 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
28870 if test "${am_cv_proto_iconv+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28874 cat >conftest.
$ac_ext <<_ACEOF
28877 cat confdefs.h
>>conftest.
$ac_ext
28878 cat >>conftest.
$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28881 #include <stdlib.h>
28887 #if defined(__STDC__) || defined(__cplusplus)
28888 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28901 rm -f conftest.
$ac_objext
28902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28903 (eval $ac_compile) 2>conftest.er1
28905 grep -v '^ *+' conftest.er1
>conftest.err
28907 cat conftest.err
>&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } &&
28910 { ac_try
='test -z "$ac_c_werror_flag"
28911 || test ! -s conftest.err'
28912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28913 (eval $ac_try) 2>&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); }; } &&
28917 { ac_try
='test -s conftest.$ac_objext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 am_cv_proto_iconv_arg1
=""
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.
$ac_ext >&5
28928 am_cv_proto_iconv_arg1
="const"
28930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28931 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
28934 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28935 echo "$as_me:$LINENO: result: ${ac_t:-
28936 }$am_cv_proto_iconv" >&5
28937 echo "${ECHO_T}${ac_t:-
28938 }$am_cv_proto_iconv" >&6
28940 cat >>confdefs.h
<<_ACEOF
28941 #define ICONV_CONST $am_cv_proto_iconv_arg1
28946 if test "$am_cv_lib_iconv" = yes; then
28952 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in gnulib/Makefile"
28953 ac_config_commands
="$ac_config_commands default"
28954 cat >confcache
<<\_ACEOF
28955 # This file is a shell script that caches the results of configure
28956 # tests run on this system so they can be shared between configure
28957 # scripts and configure runs, see configure's option --config-cache.
28958 # It is not useful on other systems. If it contains results you don't
28959 # want to keep, you may remove or edit it.
28961 # config.status only pays attention to the cache file if you give it
28962 # the --recheck option to rerun configure.
28964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28966 # following values.
28970 # The following way of writing the cache mishandles newlines in values,
28971 # but we know of no workaround that is simple, portable, and efficient.
28972 # So, don't put newlines in cache variables' values.
28973 # Ultrix sh set writes to stderr and can't be redirected directly,
28974 # and sets the high bit in the cache file unless we assign to the vars.
28977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28979 # `set' does not quote correctly, so add quotes (double-quote
28980 # substitution turns \\\\ into \\, and sed turns \\ into \).
28983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28986 # `set' quotes correctly as required by POSIX, so do not add quotes.
28988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28999 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29000 if test -w $cache_file; then
29001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29002 cat confcache
>$cache_file
29004 echo "not updating unwritable cache $cache_file"
29009 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29010 # Let make expand exec_prefix.
29011 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29013 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29014 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29015 # trailing colons and then remove the whole line if VPATH becomes empty
29016 # (actually we leave an empty line to preserve line numbers).
29017 if test "x$srcdir" = x.
; then
29018 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
29019 s/:*\$(srcdir):*/:/;
29020 s/:*\${srcdir}:*/:/;
29022 s/^\([^=]*=[ ]*\):*/\1/;
29028 DEFS
=-DHAVE_CONFIG_H
29032 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
29033 # 1. Remove the extension, and $U if already installed.
29034 ac_i
=`echo "$ac_i" |
29035 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
29037 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
29038 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
29040 LIBOBJS
=$ac_libobjs
29042 LTLIBOBJS
=$ac_ltlibobjs
29045 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29046 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29047 Usually this means the macro was only invoked conditionally." >&5
29048 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29049 Usually this means the macro was only invoked conditionally." >&2;}
29050 { (exit 1); exit 1; }; }
29052 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
29053 { { echo "$as_me:$LINENO: error: conditional \"GL_COND_LIBTOOL\" was never defined.
29054 Usually this means the macro was only invoked conditionally." >&5
29055 echo "$as_me: error: conditional \"GL_COND_LIBTOOL\" was never defined.
29056 Usually this means the macro was only invoked conditionally." >&2;}
29057 { (exit 1); exit 1; }; }
29062 if test -n "$gl_LIBOBJS"; then
29063 # Remove the extension.
29064 sed_drop_objext
='s/\.o$//;s/\.obj$//'
29065 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
29066 gl_libobjs
="$gl_libobjs $i.$ac_objext"
29067 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
29070 gl_LIBOBJS
=$gl_libobjs
29072 gl_LTLIBOBJS
=$gl_ltlibobjs
29078 if test -n "$gltests_LIBOBJS"; then
29079 # Remove the extension.
29080 sed_drop_objext
='s/\.o$//;s/\.obj$//'
29081 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
29082 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
29083 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
29086 gltests_LIBOBJS
=$gltests_libobjs
29088 gltests_LTLIBOBJS
=$gltests_ltlibobjs
29091 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29092 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29093 Usually this means the macro was only invoked conditionally." >&5
29094 echo "$as_me: error: conditional \"AMDEP\" was never defined.
29095 Usually this means the macro was only invoked conditionally." >&2;}
29096 { (exit 1); exit 1; }; }
29098 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29099 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29100 Usually this means the macro was only invoked conditionally." >&5
29101 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29102 Usually this means the macro was only invoked conditionally." >&2;}
29103 { (exit 1); exit 1; }; }
29106 : ${CONFIG_STATUS=./config.status}
29107 ac_clean_files_save
=$ac_clean_files
29108 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
29109 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29110 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29111 cat >$CONFIG_STATUS <<_ACEOF
29113 # Generated by $as_me.
29114 # Run this file to recreate the current configuration.
29115 # Compiler output produced by configure, useful for debugging
29116 # configure, is in config.log if it exists.
29119 ac_cs_recheck=false
29121 SHELL=\${CONFIG_SHELL-$SHELL}
29124 cat >>$CONFIG_STATUS <<\_ACEOF
29125 ## --------------------- ##
29126 ## M4sh Initialization. ##
29127 ## --------------------- ##
29129 # Be Bourne compatible
29130 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29133 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
29134 # is contrary to our usage. Disable this feature.
29135 alias -g '${1+"$@"}'='"$@"'
29136 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
29139 DUALCASE
=1; export DUALCASE
# for MKS sh
29141 # Support unset when possible.
29142 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
29149 # Work around bugs in pre-3.0 UWIN ksh.
29150 $as_unset ENV MAIL MAILPATH
29157 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
29158 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
29159 LC_TELEPHONE LC_TIME
29161 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29162 eval $as_var=C
; export $as_var
29168 # Required to use basename.
29169 if expr a
: '\(a\)' >/dev
/null
2>&1; then
29175 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
29176 as_basename
=basename
29182 # Name of the executable.
29183 as_me
=`$as_basename "$0" ||
29184 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29185 X"$0" : 'X\(//\)$' \| \
29186 X"$0" : 'X\(/\)$' \| \
29187 . : '\(.\)' 2>/dev/null ||
29189 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
29190 /^X\/\(\/\/\)$/{ s//\1/; q; }
29191 /^X\/\(\/\).*/{ s//\1/; q; }
29195 # PATH needs CR, and LINENO needs CR and PATH.
29196 # Avoid depending upon Character Ranges.
29197 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
29198 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29199 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
29200 as_cr_digits
='0123456789'
29201 as_cr_alnum
=$as_cr_Letters$as_cr_digits
29203 # The user is always right.
29204 if test "${PATH_SEPARATOR+set}" != set; then
29205 echo "#! /bin/sh" >conf$$.sh
29206 echo "exit 0" >>conf$$.sh
29208 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
29217 as_lineno_1
=$LINENO
29218 as_lineno_2
=$LINENO
29219 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
29220 test "x$as_lineno_1" != "x$as_lineno_2" &&
29221 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
29222 # Find who we are. Look in the path if we contain no path at all
29225 *[\\/]* ) as_myself
=$0 ;;
29226 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29227 for as_dir
in $PATH
29230 test -z "$as_dir" && as_dir
=.
29231 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
29236 # We did not find ourselves, most probably we were run as `sh COMMAND'
29237 # in which case we are not to be found in the path.
29238 if test "x$as_myself" = x
; then
29241 if test ! -f "$as_myself"; then
29242 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29243 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29244 { (exit 1); exit 1; }; }
29246 case $CONFIG_SHELL in
29248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29249 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
29252 test -z "$as_dir" && as_dir
=.
29253 for as_base
in sh bash ksh sh5
; do
29256 if ("$as_dir/$as_base" -c '
29257 as_lineno_1=$LINENO
29258 as_lineno_2=$LINENO
29259 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29260 test "x$as_lineno_1" != "x$as_lineno_2" &&
29261 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
29262 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
29263 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
29264 CONFIG_SHELL
=$as_dir/$as_base
29265 export CONFIG_SHELL
29266 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29274 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29275 # uniformly replaced by the line number. The first 'sed' inserts a
29276 # line-number line before each line; the second 'sed' does the real
29277 # work. The second script uses 'N' to pair each line-number line
29278 # with the numbered line, and appends trailing '-' during
29279 # substitution so that $LINENO is not a special case at line end.
29280 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29281 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
29282 sed '=' <$as_myself |
29287 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
29290 s,^['$as_cr_digits']*\n,,
29291 ' >$as_me.lineno
&&
29292 chmod +x
$as_me.lineno ||
29293 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29294 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
29295 { (exit 1); exit 1; }; }
29297 # Don't try to exec as it changes $[0], causing all sort of problems
29298 # (the dirname of $[0] is not the place where we might find the
29299 # original and so on. Autoconf is especially sensible to this).
29301 # Exit status is that of the last command.
29306 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29307 *c
*,-n*) ECHO_N
= ECHO_C
='
29309 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
29310 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
29313 if expr a
: '\(a\)' >/dev
/null
2>&1; then
29319 rm -f conf$$ conf$$.exe conf$$.
file
29321 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
29322 # We could just check for DJGPP; but this test a) works b) is more generic
29323 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29324 if test -f conf$$.exe
; then
29325 # Don't use ln at all; we don't have any links
29330 elif ln conf$$.
file conf$$
2>/dev
/null
; then
29335 rm -f conf$$ conf$$.exe conf$$.
file
29337 if mkdir
-p .
2>/dev
/null
; then
29340 test -d .
/-p && rmdir .
/-p
29344 as_executable_p
="test -f"
29346 # Sed expression to map a string onto a valid CPP name.
29347 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29349 # Sed expression to map a string onto a valid variable name.
29350 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29354 # We need space, tab and new line, in precisely that order.
29364 # Open the log real soon, to keep \$[0] and so on meaningful, and to
29365 # report actual input values of CONFIG_FILES etc. instead of their
29366 # values after options handling. Logging --version etc. is OK.
29370 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29371 ## Running $as_me. ##
29376 This file was extended by $as_me, which was
29377 generated by GNU Autoconf 2.59. Invocation command line was
29379 CONFIG_FILES = $CONFIG_FILES
29380 CONFIG_HEADERS = $CONFIG_HEADERS
29381 CONFIG_LINKS = $CONFIG_LINKS
29382 CONFIG_COMMANDS = $CONFIG_COMMANDS
29386 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29390 # Files that config.status was made for.
29391 if test -n "$ac_config_files"; then
29392 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29395 if test -n "$ac_config_headers"; then
29396 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29399 if test -n "$ac_config_links"; then
29400 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29403 if test -n "$ac_config_commands"; then
29404 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29407 cat >>$CONFIG_STATUS <<\_ACEOF
29410 \`$as_me' instantiates files from templates according to the
29411 current configuration.
29413 Usage: $0 [OPTIONS] [FILE]...
29415 -h, --help print this help, then exit
29416 -V, --version print version number, then exit
29417 -q, --quiet do not print progress messages
29418 -d, --debug don't remove temporary files
29419 --recheck update $as_me by reconfiguring in the same conditions
29420 --file=FILE[:TEMPLATE]
29421 instantiate the configuration file FILE
29422 --header=FILE[:TEMPLATE]
29423 instantiate the configuration header FILE
29425 Configuration files:
29428 Configuration headers:
29431 Configuration links:
29434 Configuration commands:
29437 Report bugs to <bug-autoconf@gnu.org>."
29440 cat >>$CONFIG_STATUS <<_ACEOF
29443 configured by $0, generated by GNU Autoconf 2.59,
29444 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29446 Copyright (C) 2003 Free Software Foundation, Inc.
29447 This config.status script is free software; the Free Software Foundation
29448 gives unlimited permission to copy, distribute and modify it."
29453 cat >>$CONFIG_STATUS <<\_ACEOF
29454 # If no file are specified by the user, then we need to provide default
29455 # value. By we need to know if files were specified by the user.
29461 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
29462 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
29470 *) # This is not an option, so the user has probably given explicit
29473 ac_need_defaults
=false
;;
29477 # Handling of the options.
29479 cat >>$CONFIG_STATUS <<\_ACEOF
29480 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
29482 --version |
--vers* |
-V )
29483 echo "$ac_cs_version"; exit 0 ;;
29485 # Conflict between --help and --header
29486 { { echo "$as_me:$LINENO: error: ambiguous option: $1
29487 Try \`$0 --help' for more information." >&5
29488 echo "$as_me: error: ambiguous option: $1
29489 Try \`$0 --help' for more information." >&2;}
29490 { (exit 1); exit 1; }; };;
29491 --help |
--hel |
-h )
29492 echo "$ac_cs_usage"; exit 0 ;;
29493 --debug |
--d* |
-d )
29495 --file |
--fil |
--fi |
--f )
29497 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
29498 ac_need_defaults
=false
;;
29499 --header |
--heade |
--head |
--hea )
29501 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
29502 ac_need_defaults
=false
;;
29503 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
29504 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
29507 # This is an error.
29508 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29509 Try \`$0 --help' for more information." >&5
29510 echo "$as_me: error: unrecognized option: $1
29511 Try \`$0 --help' for more information." >&2;}
29512 { (exit 1); exit 1; }; } ;;
29514 *) ac_config_targets
="$ac_config_targets $1" ;;
29520 ac_configure_extra_args
=
29522 if $ac_cs_silent; then
29524 ac_configure_extra_args
="$ac_configure_extra_args --silent"
29528 cat >>$CONFIG_STATUS <<_ACEOF
29529 if \$ac_cs_recheck; then
29530 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29531 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29536 cat >>$CONFIG_STATUS <<_ACEOF
29538 # INIT-COMMANDS section.
29541 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29545 acx_cv_header_stdint="$acx_cv_header_stdint"
29546 acx_cv_type_int8_t="$acx_cv_type_int8_t"
29547 acx_cv_type_int16_t="$acx_cv_type_int16_t"
29548 acx_cv_type_int32_t="$acx_cv_type_int32_t"
29549 acx_cv_type_int64_t="$acx_cv_type_int64_t"
29550 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
29551 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
29552 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
29553 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
29554 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
29555 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
29556 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
29557 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
29558 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
29561 gdb_host_cpu=$gdb_host_cpu
29562 nativefile=$nativefile
29569 cat >>$CONFIG_STATUS <<\_ACEOF
29570 for ac_config_target
in $ac_config_targets
29572 case "$ac_config_target" in
29573 # Handling of arguments.
29574 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29575 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
29576 "gnulib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gnulib/Makefile" ;;
29577 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
29578 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29579 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
29580 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
29581 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
29582 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29583 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29584 { (exit 1); exit 1; }; };;
29588 # If the user did not use the arguments to specify the items to instantiate,
29589 # then the envvar interface is used. Set only those that are not.
29590 # We use the long form for the default assignment because of an extremely
29591 # bizarre bug on SunOS 4.1.3.
29592 if $ac_need_defaults; then
29593 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29594 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29595 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29596 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29599 # Have a temporary directory for convenience. Make it in the build tree
29600 # simply because there is no reason to put it here, and in addition,
29601 # creating and moving files from /tmp can sometimes cause problems.
29602 # Create a temporary directory, and hook for its removal unless debugging.
29605 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29606 trap '{ (exit 1); exit 1; }' 1 2 13 15
29609 # Create a (secure) tmp directory for tmp files.
29612 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29613 test -n "$tmp" && test -d "$tmp"
29616 tmp
=.
/confstat$$
-$RANDOM
29617 (umask 077 && mkdir
$tmp)
29620 echo "$me: cannot create a temporary directory in ." >&2
29621 { (exit 1); exit 1; }
29626 cat >>$CONFIG_STATUS <<_ACEOF
29629 # CONFIG_FILES section.
29632 # No need to generate the scripts if there are no CONFIG_FILES.
29633 # This happens for instance when ./config.status config.h
29634 if test -n "\$CONFIG_FILES"; then
29635 # Protect against being on the right side of a sed subst in config.status.
29636 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29637 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29638 s,@SHELL@,$SHELL,;t t
29639 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29640 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29641 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29642 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29643 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29644 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29645 s,@exec_prefix@,$exec_prefix,;t t
29646 s,@prefix@,$prefix,;t t
29647 s,@program_transform_name@,$program_transform_name,;t t
29648 s,@bindir@,$bindir,;t t
29649 s,@sbindir@,$sbindir,;t t
29650 s,@libexecdir@,$libexecdir,;t t
29651 s,@datadir@,$datadir,;t t
29652 s,@sysconfdir@,$sysconfdir,;t t
29653 s,@sharedstatedir@,$sharedstatedir,;t t
29654 s,@localstatedir@,$localstatedir,;t t
29655 s,@libdir@,$libdir,;t t
29656 s,@includedir@,$includedir,;t t
29657 s,@oldincludedir@,$oldincludedir,;t t
29658 s,@infodir@,$infodir,;t t
29659 s,@mandir@,$mandir,;t t
29660 s,@build_alias@,$build_alias,;t t
29661 s,@host_alias@,$host_alias,;t t
29662 s,@target_alias@,$target_alias,;t t
29663 s,@DEFS@,$DEFS,;t t
29664 s,@ECHO_C@,$ECHO_C,;t t
29665 s,@ECHO_N@,$ECHO_N,;t t
29666 s,@ECHO_T@,$ECHO_T,;t t
29667 s,@LIBS@,$LIBS,;t t
29668 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29669 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29670 s,@MAINT@,$MAINT,;t t
29672 s,@CFLAGS@,$CFLAGS,;t t
29673 s,@LDFLAGS@,$LDFLAGS,;t t
29674 s,@CPPFLAGS@,$CPPFLAGS,;t t
29675 s,@ac_ct_CC@,$ac_ct_CC,;t t
29676 s,@EXEEXT@,$EXEEXT,;t t
29677 s,@OBJEXT@,$OBJEXT,;t t
29679 s,@EGREP@,$EGREP,;t t
29680 s,@RANLIB@,$RANLIB,;t t
29681 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29682 s,@build@,$build,;t t
29683 s,@build_cpu@,$build_cpu,;t t
29684 s,@build_vendor@,$build_vendor,;t t
29685 s,@build_os@,$build_os,;t t
29686 s,@host@,$host,;t t
29687 s,@host_cpu@,$host_cpu,;t t
29688 s,@host_vendor@,$host_vendor,;t t
29689 s,@host_os@,$host_os,;t t
29690 s,@target@,$target,;t t
29691 s,@target_cpu@,$target_cpu,;t t
29692 s,@target_vendor@,$target_vendor,;t t
29693 s,@target_os@,$target_os,;t t
29694 s,@USE_NLS@,$USE_NLS,;t t
29695 s,@LIBINTL@,$LIBINTL,;t t
29696 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
29697 s,@INCINTL@,$INCINTL,;t t
29698 s,@XGETTEXT@,$XGETTEXT,;t t
29699 s,@GMSGFMT@,$GMSGFMT,;t t
29700 s,@POSUB@,$POSUB,;t t
29701 s,@CATALOGS@,$CATALOGS,;t t
29702 s,@DATADIRNAME@,$DATADIRNAME,;t t
29703 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
29704 s,@GENCAT@,$GENCAT,;t t
29705 s,@CATOBJEXT@,$CATOBJEXT,;t t
29706 s,@localedir@,$localedir,;t t
29707 s,@GL_COND_LIBTOOL_TRUE@,$GL_COND_LIBTOOL_TRUE,;t t
29708 s,@GL_COND_LIBTOOL_FALSE@,$GL_COND_LIBTOOL_FALSE,;t t
29709 s,@GNULIB_MEMMEM@,$GNULIB_MEMMEM,;t t
29710 s,@GNULIB_MEMPCPY@,$GNULIB_MEMPCPY,;t t
29711 s,@GNULIB_MEMRCHR@,$GNULIB_MEMRCHR,;t t
29712 s,@GNULIB_STPCPY@,$GNULIB_STPCPY,;t t
29713 s,@GNULIB_STPNCPY@,$GNULIB_STPNCPY,;t t
29714 s,@GNULIB_STRCHRNUL@,$GNULIB_STRCHRNUL,;t t
29715 s,@GNULIB_STRDUP@,$GNULIB_STRDUP,;t t
29716 s,@GNULIB_STRNDUP@,$GNULIB_STRNDUP,;t t
29717 s,@GNULIB_STRNLEN@,$GNULIB_STRNLEN,;t t
29718 s,@GNULIB_STRPBRK@,$GNULIB_STRPBRK,;t t
29719 s,@GNULIB_STRSEP@,$GNULIB_STRSEP,;t t
29720 s,@GNULIB_STRSTR@,$GNULIB_STRSTR,;t t
29721 s,@GNULIB_STRCASESTR@,$GNULIB_STRCASESTR,;t t
29722 s,@GNULIB_STRTOK_R@,$GNULIB_STRTOK_R,;t t
29723 s,@GNULIB_MBSLEN@,$GNULIB_MBSLEN,;t t
29724 s,@GNULIB_MBSNLEN@,$GNULIB_MBSNLEN,;t t
29725 s,@GNULIB_MBSCHR@,$GNULIB_MBSCHR,;t t
29726 s,@GNULIB_MBSRCHR@,$GNULIB_MBSRCHR,;t t
29727 s,@GNULIB_MBSSTR@,$GNULIB_MBSSTR,;t t
29728 s,@GNULIB_MBSCASECMP@,$GNULIB_MBSCASECMP,;t t
29729 s,@GNULIB_MBSNCASECMP@,$GNULIB_MBSNCASECMP,;t t
29730 s,@GNULIB_MBSPCASECMP@,$GNULIB_MBSPCASECMP,;t t
29731 s,@GNULIB_MBSCASESTR@,$GNULIB_MBSCASESTR,;t t
29732 s,@GNULIB_MBSCSPN@,$GNULIB_MBSCSPN,;t t
29733 s,@GNULIB_MBSPBRK@,$GNULIB_MBSPBRK,;t t
29734 s,@GNULIB_MBSSPN@,$GNULIB_MBSSPN,;t t
29735 s,@GNULIB_MBSSEP@,$GNULIB_MBSSEP,;t t
29736 s,@GNULIB_MBSTOK_R@,$GNULIB_MBSTOK_R,;t t
29737 s,@GNULIB_STRERROR@,$GNULIB_STRERROR,;t t
29738 s,@GNULIB_STRSIGNAL@,$GNULIB_STRSIGNAL,;t t
29739 s,@HAVE_DECL_MEMMEM@,$HAVE_DECL_MEMMEM,;t t
29740 s,@HAVE_MEMPCPY@,$HAVE_MEMPCPY,;t t
29741 s,@HAVE_DECL_MEMRCHR@,$HAVE_DECL_MEMRCHR,;t t
29742 s,@HAVE_STPCPY@,$HAVE_STPCPY,;t t
29743 s,@HAVE_STPNCPY@,$HAVE_STPNCPY,;t t
29744 s,@HAVE_STRCHRNUL@,$HAVE_STRCHRNUL,;t t
29745 s,@HAVE_DECL_STRDUP@,$HAVE_DECL_STRDUP,;t t
29746 s,@HAVE_STRNDUP@,$HAVE_STRNDUP,;t t
29747 s,@HAVE_DECL_STRNDUP@,$HAVE_DECL_STRNDUP,;t t
29748 s,@HAVE_DECL_STRNLEN@,$HAVE_DECL_STRNLEN,;t t
29749 s,@HAVE_STRPBRK@,$HAVE_STRPBRK,;t t
29750 s,@HAVE_STRSEP@,$HAVE_STRSEP,;t t
29751 s,@HAVE_STRCASESTR@,$HAVE_STRCASESTR,;t t
29752 s,@HAVE_DECL_STRTOK_R@,$HAVE_DECL_STRTOK_R,;t t
29753 s,@HAVE_DECL_STRERROR@,$HAVE_DECL_STRERROR,;t t
29754 s,@HAVE_DECL_STRSIGNAL@,$HAVE_DECL_STRSIGNAL,;t t
29755 s,@REPLACE_STRERROR@,$REPLACE_STRERROR,;t t
29756 s,@REPLACE_STRSIGNAL@,$REPLACE_STRSIGNAL,;t t
29757 s,@REPLACE_MEMMEM@,$REPLACE_MEMMEM,;t t
29758 s,@REPLACE_STRCASESTR@,$REPLACE_STRCASESTR,;t t
29759 s,@REPLACE_STRSTR@,$REPLACE_STRSTR,;t t
29760 s,@HAVE_LONG_LONG_INT@,$HAVE_LONG_LONG_INT,;t t
29761 s,@HAVE_UNSIGNED_LONG_LONG_INT@,$HAVE_UNSIGNED_LONG_LONG_INT,;t t
29762 s,@HAVE_INTTYPES_H@,$HAVE_INTTYPES_H,;t t
29763 s,@HAVE_SYS_TYPES_H@,$HAVE_SYS_TYPES_H,;t t
29764 s,@INCLUDE_NEXT@,$INCLUDE_NEXT,;t t
29765 s,@NEXT_STDINT_H@,$NEXT_STDINT_H,;t t
29766 s,@HAVE_STDINT_H@,$HAVE_STDINT_H,;t t
29767 s,@HAVE_SYS_INTTYPES_H@,$HAVE_SYS_INTTYPES_H,;t t
29768 s,@HAVE_SYS_BITYPES_H@,$HAVE_SYS_BITYPES_H,;t t
29769 s,@BITSIZEOF_PTRDIFF_T@,$BITSIZEOF_PTRDIFF_T,;t t
29770 s,@BITSIZEOF_SIG_ATOMIC_T@,$BITSIZEOF_SIG_ATOMIC_T,;t t
29771 s,@BITSIZEOF_SIZE_T@,$BITSIZEOF_SIZE_T,;t t
29772 s,@BITSIZEOF_WCHAR_T@,$BITSIZEOF_WCHAR_T,;t t
29773 s,@BITSIZEOF_WINT_T@,$BITSIZEOF_WINT_T,;t t
29774 s,@HAVE_SIGNED_SIG_ATOMIC_T@,$HAVE_SIGNED_SIG_ATOMIC_T,;t t
29775 s,@HAVE_SIGNED_WCHAR_T@,$HAVE_SIGNED_WCHAR_T,;t t
29776 s,@HAVE_SIGNED_WINT_T@,$HAVE_SIGNED_WINT_T,;t t
29777 s,@PTRDIFF_T_SUFFIX@,$PTRDIFF_T_SUFFIX,;t t
29778 s,@SIG_ATOMIC_T_SUFFIX@,$SIG_ATOMIC_T_SUFFIX,;t t
29779 s,@SIZE_T_SUFFIX@,$SIZE_T_SUFFIX,;t t
29780 s,@WCHAR_T_SUFFIX@,$WCHAR_T_SUFFIX,;t t
29781 s,@WINT_T_SUFFIX@,$WINT_T_SUFFIX,;t t
29782 s,@STDINT_H@,$STDINT_H,;t t
29783 s,@NEXT_STRING_H@,$NEXT_STRING_H,;t t
29784 s,@GNULIB_WCWIDTH@,$GNULIB_WCWIDTH,;t t
29785 s,@HAVE_DECL_WCWIDTH@,$HAVE_DECL_WCWIDTH,;t t
29786 s,@REPLACE_WCWIDTH@,$REPLACE_WCWIDTH,;t t
29787 s,@WCHAR_H@,$WCHAR_H,;t t
29788 s,@HAVE_WCHAR_H@,$HAVE_WCHAR_H,;t t
29789 s,@NEXT_WCHAR_H@,$NEXT_WCHAR_H,;t t
29790 s,@LIBGNU_LIBDEPS@,$LIBGNU_LIBDEPS,;t t
29791 s,@LIBGNU_LTLIBDEPS@,$LIBGNU_LTLIBDEPS,;t t
29792 s,@PACKAGE@,$PACKAGE,;t t
29793 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29794 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29795 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29796 s,@CYGPATH_W@,$CYGPATH_W,;t t
29797 s,@VERSION@,$VERSION,;t t
29798 s,@ACLOCAL@,$ACLOCAL,;t t
29799 s,@AUTOCONF@,$AUTOCONF,;t t
29800 s,@AUTOMAKE@,$AUTOMAKE,;t t
29801 s,@AUTOHEADER@,$AUTOHEADER,;t t
29802 s,@MAKEINFO@,$MAKEINFO,;t t
29803 s,@install_sh@,$install_sh,;t t
29804 s,@STRIP@,$STRIP,;t t
29805 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29806 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29807 s,@mkdir_p@,$mkdir_p,;t t
29809 s,@SET_MAKE@,$SET_MAKE,;t t
29810 s,@am__leading_dot@,$am__leading_dot,;t t
29811 s,@AMTAR@,$AMTAR,;t t
29812 s,@am__tar@,$am__tar,;t t
29813 s,@am__untar@,$am__untar,;t t
29814 s,@DEPDIR@,$DEPDIR,;t t
29815 s,@am__include@,$am__include,;t t
29816 s,@am__quote@,$am__quote,;t t
29817 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29818 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29819 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29820 s,@CCDEPMODE@,$CCDEPMODE,;t t
29821 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29822 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29823 s,@subdirs@,$subdirs,;t t
29824 s,@TARGET_OBS@,$TARGET_OBS,;t t
29825 s,@LN_S@,$LN_S,;t t
29826 s,@YACC@,$YACC,;t t
29828 s,@ac_ct_AR@,$ac_ct_AR,;t t
29829 s,@DLLTOOL@,$DLLTOOL,;t t
29830 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
29831 s,@WINDRES@,$WINDRES,;t t
29832 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
29834 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
29835 s,@READLINE@,$READLINE,;t t
29836 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
29837 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
29838 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
29839 s,@LIBEXPAT@,$LIBEXPAT,;t t
29840 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
29841 s,@ALLOCA@,$ALLOCA,;t t
29842 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
29843 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
29844 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
29845 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
29846 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
29847 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
29848 s,@WIN32LIBS@,$WIN32LIBS,;t t
29849 s,@LIBGUI@,$LIBGUI,;t t
29850 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
29851 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
29852 s,@TCL_VERSION@,$TCL_VERSION,;t t
29853 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
29854 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
29855 s,@TCL_CC@,$TCL_CC,;t t
29856 s,@TCL_DEFS@,$TCL_DEFS,;t t
29857 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
29858 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
29859 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
29860 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
29861 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
29862 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
29863 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
29864 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
29865 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
29866 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
29867 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
29868 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
29869 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
29870 s,@TK_VERSION@,$TK_VERSION,;t t
29871 s,@TK_DEFS@,$TK_DEFS,;t t
29872 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
29873 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
29874 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
29875 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
29876 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
29877 s,@TCLHDIR@,$TCLHDIR,;t t
29878 s,@TKHDIR@,$TKHDIR,;t t
29879 s,@ITCLHDIR@,$ITCLHDIR,;t t
29880 s,@ITKHDIR@,$ITKHDIR,;t t
29881 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
29882 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
29883 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
29884 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
29885 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
29886 s,@ITK_VERSION@,$ITK_VERSION,;t t
29887 s,@ITK_DEFS@,$ITK_DEFS,;t t
29888 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
29889 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
29890 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
29891 s,@X_CFLAGS@,$X_CFLAGS,;t t
29892 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
29893 s,@X_LIBS@,$X_LIBS,;t t
29894 s,@TCL_DEPS@,$TCL_DEPS,;t t
29895 s,@TK_DEPS@,$TK_DEPS,;t t
29896 s,@ITCLLIB@,$ITCLLIB,;t t
29897 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
29898 s,@ITKLIB@,$ITKLIB,;t t
29899 s,@ITK_DEPS@,$ITK_DEPS,;t t
29900 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
29901 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
29902 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
29904 s,@SIM_OBS@,$SIM_OBS,;t t
29905 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
29906 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
29907 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
29908 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
29909 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
29910 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
29911 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
29912 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
29913 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
29914 s,@target_subdir@,$target_subdir,;t t
29915 s,@frags@,$frags,;t t
29916 s,@nm_h@,$nm_h,;t t
29917 s,@LIBICONV@,$LIBICONV,;t t
29918 s,@LIBOBJS@,$LIBOBJS,;t t
29919 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29920 s,@gl_LIBOBJS@,$gl_LIBOBJS,;t t
29921 s,@gl_LTLIBOBJS@,$gl_LTLIBOBJS,;t t
29922 s,@gltests_LIBOBJS@,$gltests_LIBOBJS,;t t
29923 s,@gltests_LTLIBOBJS@,$gltests_LTLIBOBJS,;t t
29924 /@host_makefile_frag@/r $host_makefile_frag
29925 s,@host_makefile_frag@,,;t t
29930 cat >>$CONFIG_STATUS <<\_ACEOF
29931 # Split the substitutions into bite-sized pieces for seds with
29932 # small command number limits, like on Digital OSF/1 and HP-UX.
29933 ac_max_sed_lines
=48
29934 ac_sed_frag
=1 # Number of current file.
29935 ac_beg
=1 # First line for current file.
29936 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29939 while $ac_more_lines; do
29940 if test $ac_beg -gt 1; then
29941 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29943 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29945 if test ! -s $tmp/subs.frag
; then
29946 ac_more_lines
=false
29948 # The purpose of the label and of the branching condition is to
29949 # speed up the sed processing (if there are no `@' at all, there
29950 # is no need to browse any of the substitutions).
29951 # These are the two extra sed commands mentioned above.
29953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29954 if test -z "$ac_sed_cmds"; then
29955 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29957 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29959 ac_sed_frag
=`expr $ac_sed_frag + 1`
29961 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29964 if test -z "$ac_sed_cmds"; then
29967 fi # test -n "$CONFIG_FILES"
29970 cat >>$CONFIG_STATUS <<\_ACEOF
29971 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29972 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29974 - |
*:- |
*:-:* ) # input from stdin
29976 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29977 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29978 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29979 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29980 * ) ac_file_in
=$ac_file.
in ;;
29983 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29984 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29985 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29986 X"$ac_file" : 'X\(//\)[^/]' \| \
29987 X"$ac_file" : 'X\(//\)$' \| \
29988 X"$ac_file" : 'X\(/\)' \| \
29989 . : '\(.\)' 2>/dev/null ||
29991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29992 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29993 /^X\(\/\/\)$/{ s//\1/; q; }
29994 /^X\(\/\).*/{ s//\1/; q; }
29996 { if $as_mkdir_p; then
30001 while test ! -d "$as_dir"; do
30002 as_dirs
="$as_dir $as_dirs"
30003 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30005 X"$as_dir" : 'X\(//\)[^/]' \| \
30006 X"$as_dir" : 'X\(//\)$' \| \
30007 X"$as_dir" : 'X\(/\)' \| \
30008 . : '\(.\)' 2>/dev/null ||
30010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30012 /^X\(\/\/\)$/{ s//\1/; q; }
30013 /^X\(\/\).*/{ s//\1/; q; }
30016 test ! -n "$as_dirs" || mkdir
$as_dirs
30017 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30018 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30019 { (exit 1); exit 1; }; }; }
30023 if test "$ac_dir" != .
; then
30024 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30025 # A "../" for each directory in $ac_dir_suffix.
30026 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30028 ac_dir_suffix
= ac_top_builddir
=
30032 .
) # No --srcdir option. We are building in place.
30034 if test -z "$ac_top_builddir"; then
30037 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30039 [\\/]* | ?
:[\\/]* ) # Absolute path.
30040 ac_srcdir
=$srcdir$ac_dir_suffix;
30041 ac_top_srcdir
=$srcdir ;;
30042 *) # Relative path.
30043 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30044 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30047 # Do not use `cd foo && pwd` to compute absolute paths, because
30048 # the directories may not exist.
30050 .
) ac_abs_builddir
="$ac_dir";;
30053 .
) ac_abs_builddir
=`pwd`;;
30054 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30055 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30058 case $ac_abs_builddir in
30059 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30061 case ${ac_top_builddir}.
in
30062 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30063 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30064 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30067 case $ac_abs_builddir in
30068 .
) ac_abs_srcdir
=$ac_srcdir;;
30071 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30072 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30073 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30076 case $ac_abs_builddir in
30077 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30079 case $ac_top_srcdir in
30080 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30081 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30082 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30088 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
30089 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
30092 if test x
"$ac_file" != x-
; then
30093 { echo "$as_me:$LINENO: creating $ac_file" >&5
30094 echo "$as_me: creating $ac_file" >&6;}
30097 # Let's still pretend it is `configure' which instantiates (i.e., don't
30098 # use $as_me), people would be surprised to read:
30099 # /* config.h. Generated by config.status. */
30100 if test x
"$ac_file" = x-
; then
30103 configure_input
="$ac_file. "
30105 configure_input
=$configure_input"Generated from `echo $ac_file_in |
30106 sed 's,.*/,,'` by configure."
30108 # First look for the input files in the build tree, otherwise in the
30110 ac_file_inputs
=`IFS=:
30111 for f in $ac_file_in; do
30113 -) echo $tmp/stdin ;;
30115 # Absolute (can't be DOS-style, as IFS=:)
30116 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30117 echo "$as_me: error: cannot find input file: $f" >&2;}
30118 { (exit 1); exit 1; }; }
30121 if test -f "$f"; then
30124 elif test -f "$srcdir/$f"; then
30129 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30130 echo "$as_me: error: cannot find input file: $f" >&2;}
30131 { (exit 1); exit 1; }; }
30134 done` ||
{ (exit 1); exit 1; }
30136 cat >>$CONFIG_STATUS <<_ACEOF
30140 cat >>$CONFIG_STATUS <<\_ACEOF
30142 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
30143 s
,@configure_input@
,$configure_input,;t t
30144 s
,@srcdir@
,$ac_srcdir,;t t
30145 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
30146 s
,@top_srcdir@
,$ac_top_srcdir,;t t
30147 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
30148 s
,@builddir@
,$ac_builddir,;t t
30149 s
,@abs_builddir@
,$ac_abs_builddir,;t t
30150 s
,@top_builddir@
,$ac_top_builddir,;t t
30151 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
30152 s
,@INSTALL@
,$ac_INSTALL,;t t
30153 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30155 if test x"$ac_file" != x-; then
30156 mv $tmp/out $ac_file
30164 cat >>$CONFIG_STATUS <<\_ACEOF
30167 # CONFIG_HEADER section.
30170 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
30171 # NAME is the cpp macro being defined and VALUE is the value it is being given.
30173 # ac_d sets the value in "#define NAME VALUE" lines.
30174 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30175 ac_dB
='[ ].*$,\1#\2'
30178 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30179 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30180 ac_uB
='$,\1#\2define\3'
30184 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
30185 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30187 - |
*:- |
*:-:* ) # input from stdin
30189 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30190 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30191 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30192 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30193 * ) ac_file_in
=$ac_file.
in ;;
30196 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
30197 echo "$as_me: creating $ac_file" >&6;}
30199 # First look for the input files in the build tree, otherwise in the
30201 ac_file_inputs
=`IFS=:
30202 for f in $ac_file_in; do
30204 -) echo $tmp/stdin ;;
30206 # Absolute (can't be DOS-style, as IFS=:)
30207 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30208 echo "$as_me: error: cannot find input file: $f" >&2;}
30209 { (exit 1); exit 1; }; }
30210 # Do quote $f, to prevent DOS paths from being IFS'd.
30213 if test -f "$f"; then
30216 elif test -f "$srcdir/$f"; then
30221 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30222 echo "$as_me: error: cannot find input file: $f" >&2;}
30223 { (exit 1); exit 1; }; }
30226 done` ||
{ (exit 1); exit 1; }
30227 # Remove the trailing spaces.
30228 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30232 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30233 # `conftest.undefs', that substitutes the proper values into
30234 # config.h.in to produce config.h. The first handles `#define'
30235 # templates, and the second `#undef' templates.
30236 # And first: Protect against being on the right side of a sed subst in
30237 # config.status. Protect against being in an unquoted here document
30238 # in config.status.
30239 rm -f conftest.defines conftest.undefs
30240 # Using a here document instead of a string reduces the quoting nightmare.
30241 # Putting comments in sed scripts is not portable.
30243 # `end' is used to avoid that the second main sed command (meant for
30244 # 0-ary CPP macros) applies to n-ary macro definitions.
30245 # See the Autoconf documentation for `clear'.
30246 cat >confdef2sed.
sed <<\_ACEOF
30251 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30253 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30256 # If some macros were called several times there might be several times
30257 # the same #defines, which is useless. Nevertheless, we may not want to
30258 # sort them, since we want the *last* AC-DEFINE to be honored.
30259 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30260 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30261 rm -f confdef2sed.sed
30263 # This sed command replaces #undef with comments. This is necessary, for
30264 # example, in the case of _POSIX_SOURCE, which is predefined and required
30265 # on some systems where configure will not decide to define it.
30266 cat >>conftest.undefs <<\_ACEOF
30267 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30270 # Break up conftest.defines because some shells have a limit on the size
30271 # of here documents, and old seds have small limits too (100 cmds).
30272 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30273 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30274 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30275 echo ' :' >>$CONFIG_STATUS
30276 rm -f conftest.tail
30277 while grep . conftest.defines >/dev/null
30279 # Write a limited-size here document to $tmp/defines.sed.
30280 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30281 # Speed up: don't consider the non `#define' lines.
30282 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30283 # Work around the forget-to-reset-the-flag bug.
30284 echo 't clr' >>$CONFIG_STATUS
30285 echo ': clr' >>$CONFIG_STATUS
30286 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
30288 sed -f $tmp/defines.sed $tmp/in >$tmp/out
30290 mv $tmp/out $tmp/in
30292 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
30293 rm -f conftest.defines
30294 mv conftest.
tail conftest.defines
30296 rm -f conftest.defines
30297 echo ' fi # grep' >>$CONFIG_STATUS
30298 echo >>$CONFIG_STATUS
30300 # Break up conftest.undefs because some shells have a limit on the size
30301 # of here documents, and old seds have small limits too (100 cmds).
30302 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30303 rm -f conftest.
tail
30304 while grep . conftest.undefs
>/dev
/null
30306 # Write a limited-size here document to $tmp/undefs.sed.
30307 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30308 # Speed up: don't consider the non
`#undef'
30309 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30310 # Work around the forget-to-reset-the-flag bug.
30311 echo 't clr' >>$CONFIG_STATUS
30312 echo ': clr' >>$CONFIG_STATUS
30313 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30315 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30317 mv $tmp/out $tmp/in
30319 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30320 rm -f conftest.undefs
30321 mv conftest.tail conftest.undefs
30323 rm -f conftest.undefs
30325 cat >>$CONFIG_STATUS <<\_ACEOF
30326 # Let's still pretend it is `configure
' which instantiates (i.e., don't
30327 # use $as_me), people would be surprised to read:
30328 # /* config.h. Generated by config.status. */
30329 if test x
"$ac_file" = x-
; then
30330 echo "/* Generated by configure. */" >$tmp/config.h
30332 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30334 cat $tmp/in >>$tmp/config.h
30336 if test x
"$ac_file" != x-
; then
30337 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
30338 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30339 echo "$as_me: $ac_file is unchanged" >&6;}
30341 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30342 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30343 X"$ac_file" : 'X\(//\)[^/]' \| \
30344 X"$ac_file" : 'X\(//\)$' \| \
30345 X"$ac_file" : 'X\(/\)' \| \
30346 . : '\(.\)' 2>/dev/null ||
30348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30349 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30350 /^X\(\/\/\)$/{ s//\1/; q; }
30351 /^X\(\/\).*/{ s//\1/; q; }
30353 { if $as_mkdir_p; then
30358 while test ! -d "$as_dir"; do
30359 as_dirs
="$as_dir $as_dirs"
30360 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30361 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30362 X"$as_dir" : 'X\(//\)[^/]' \| \
30363 X"$as_dir" : 'X\(//\)$' \| \
30364 X"$as_dir" : 'X\(/\)' \| \
30365 . : '\(.\)' 2>/dev/null ||
30367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30369 /^X\(\/\/\)$/{ s//\1/; q; }
30370 /^X\(\/\).*/{ s//\1/; q; }
30373 test ! -n "$as_dirs" || mkdir
$as_dirs
30374 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30375 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30376 { (exit 1); exit 1; }; }; }
30379 mv $tmp/config.h
$ac_file
30383 rm -f $tmp/config.h
30385 # Compute $ac_file's index in $config_headers.
30387 for _am_header
in $config_headers :; do
30388 case $_am_header in
30389 $ac_file |
$ac_file:* )
30392 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
30395 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
30396 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30397 X$ac_file : 'X\(//\)[^/]' \| \
30398 X$ac_file : 'X\(//\)$' \| \
30399 X$ac_file : 'X\(/\)' \| \
30400 . : '\(.\)' 2>/dev/null ||
30402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30404 /^X\(\/\/\)$/{ s//\1/; q; }
30405 /^X\(\/\).*/{ s//\1/; q; }
30406 s/.*/./; q'`/stamp-h
$_am_stamp_count
30409 cat >>$CONFIG_STATUS <<\_ACEOF
30412 # CONFIG_LINKS section.
30415 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
30416 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30417 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30419 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
30420 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
30422 if test ! -r $srcdir/$ac_source; then
30423 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
30424 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
30425 { (exit 1); exit 1; }; }
30429 # Make relative symlinks.
30430 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30431 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30432 X"$ac_dest" : 'X\(//\)[^/]' \| \
30433 X"$ac_dest" : 'X\(//\)$' \| \
30434 X"$ac_dest" : 'X\(/\)' \| \
30435 . : '\(.\)' 2>/dev/null ||
30437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30439 /^X\(\/\/\)$/{ s//\1/; q; }
30440 /^X\(\/\).*/{ s//\1/; q; }
30442 { if $as_mkdir_p; then
30443 mkdir
-p "$ac_dest_dir"
30445 as_dir
="$ac_dest_dir"
30447 while test ! -d "$as_dir"; do
30448 as_dirs
="$as_dir $as_dirs"
30449 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30451 X"$as_dir" : 'X\(//\)[^/]' \| \
30452 X"$as_dir" : 'X\(//\)$' \| \
30453 X"$as_dir" : 'X\(/\)' \| \
30454 . : '\(.\)' 2>/dev/null ||
30456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30458 /^X\(\/\/\)$/{ s//\1/; q; }
30459 /^X\(\/\).*/{ s//\1/; q; }
30462 test ! -n "$as_dirs" || mkdir
$as_dirs
30463 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
30464 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
30465 { (exit 1); exit 1; }; }; }
30469 if test "$ac_dest_dir" != .
; then
30470 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
30471 # A "../" for each directory in $ac_dir_suffix.
30472 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30474 ac_dir_suffix
= ac_top_builddir
=
30478 .
) # No --srcdir option. We are building in place.
30480 if test -z "$ac_top_builddir"; then
30483 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30485 [\\/]* | ?
:[\\/]* ) # Absolute path.
30486 ac_srcdir
=$srcdir$ac_dir_suffix;
30487 ac_top_srcdir
=$srcdir ;;
30488 *) # Relative path.
30489 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30490 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30493 # Do not use `cd foo && pwd` to compute absolute paths, because
30494 # the directories may not exist.
30496 .
) ac_abs_builddir
="$ac_dest_dir";;
30498 case "$ac_dest_dir" in
30499 .
) ac_abs_builddir
=`pwd`;;
30500 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
30501 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
30504 case $ac_abs_builddir in
30505 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30507 case ${ac_top_builddir}.
in
30508 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30509 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30510 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30513 case $ac_abs_builddir in
30514 .
) ac_abs_srcdir
=$ac_srcdir;;
30517 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30518 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30519 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30522 case $ac_abs_builddir in
30523 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30525 case $ac_top_srcdir in
30526 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30527 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30528 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30534 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
30535 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
30538 # Try a symlink, then a hard link, then a copy.
30539 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
30540 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
30541 cp -p $srcdir/$ac_source $ac_dest ||
30542 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
30543 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
30544 { (exit 1); exit 1; }; }
30547 cat >>$CONFIG_STATUS <<\_ACEOF
30550 # CONFIG_COMMANDS section.
30552 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30553 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30554 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30555 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30556 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30557 X"$ac_dest" : 'X\(//\)[^/]' \| \
30558 X"$ac_dest" : 'X\(//\)$' \| \
30559 X"$ac_dest" : 'X\(/\)' \| \
30560 . : '\(.\)' 2>/dev/null ||
30562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30563 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30564 /^X\(\/\/\)$/{ s//\1/; q; }
30565 /^X\(\/\).*/{ s//\1/; q; }
30567 { if $as_mkdir_p; then
30572 while test ! -d "$as_dir"; do
30573 as_dirs
="$as_dir $as_dirs"
30574 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30575 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30576 X"$as_dir" : 'X\(//\)[^/]' \| \
30577 X"$as_dir" : 'X\(//\)$' \| \
30578 X"$as_dir" : 'X\(/\)' \| \
30579 . : '\(.\)' 2>/dev/null ||
30581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30582 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30583 /^X\(\/\/\)$/{ s//\1/; q; }
30584 /^X\(\/\).*/{ s//\1/; q; }
30587 test ! -n "$as_dirs" || mkdir
$as_dirs
30588 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30589 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30590 { (exit 1); exit 1; }; }; }
30594 if test "$ac_dir" != .
; then
30595 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30596 # A "../" for each directory in $ac_dir_suffix.
30597 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30599 ac_dir_suffix
= ac_top_builddir
=
30603 .
) # No --srcdir option. We are building in place.
30605 if test -z "$ac_top_builddir"; then
30608 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30610 [\\/]* | ?
:[\\/]* ) # Absolute path.
30611 ac_srcdir
=$srcdir$ac_dir_suffix;
30612 ac_top_srcdir
=$srcdir ;;
30613 *) # Relative path.
30614 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30615 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30618 # Do not use `cd foo && pwd` to compute absolute paths, because
30619 # the directories may not exist.
30621 .
) ac_abs_builddir
="$ac_dir";;
30624 .
) ac_abs_builddir
=`pwd`;;
30625 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30626 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30629 case $ac_abs_builddir in
30630 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30632 case ${ac_top_builddir}.
in
30633 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30634 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30635 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30638 case $ac_abs_builddir in
30639 .
) ac_abs_srcdir
=$ac_srcdir;;
30642 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30643 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30644 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30647 case $ac_abs_builddir in
30648 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30650 case $ac_top_srcdir in
30651 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30652 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30653 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30658 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30659 echo "$as_me: executing $ac_dest commands" >&6;}
30661 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30662 # Strip MF so we end up with the name of the file.
30663 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30664 # Check whether this is an Automake generated Makefile or not.
30665 # We used to match only the files named `Makefile.in', but
30666 # some people rename them; so instead we look at the file content.
30667 # Grep'ing the first line is not enough: some people post-process
30668 # each Makefile.in and add a new line on top of each file to say so.
30669 # So let's grep whole file.
30670 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30671 dirpart
=`(dirname "$mf") 2>/dev/null ||
30672 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30673 X"$mf" : 'X\(//\)[^/]' \| \
30674 X"$mf" : 'X\(//\)$' \| \
30675 X"$mf" : 'X\(/\)' \| \
30676 . : '\(.\)' 2>/dev/null ||
30678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30680 /^X\(\/\/\)$/{ s//\1/; q; }
30681 /^X\(\/\).*/{ s//\1/; q; }
30686 # Extract the definition of DEPDIR, am__include, and am__quote
30687 # from the Makefile without running `make'.
30688 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30689 test -z "$DEPDIR" && continue
30690 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30691 test -z "am__include" && continue
30692 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30693 # When using ansi2knr, U may be empty or an underscore; expand it
30694 U
=`sed -n 's/^U = //p' < "$mf"`
30695 # Find all dependency output files, they are included files with
30696 # $(DEPDIR) in their names. We invoke sed twice because it is the
30697 # simplest approach to changing $(DEPDIR) to its actual value in the
30699 for file in `sed -n "
30700 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30701 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30702 # Make sure the directory exists.
30703 test -f "$dirpart/$file" && continue
30704 fdir
=`(dirname "$file") 2>/dev/null ||
30705 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30706 X"$file" : 'X\(//\)[^/]' \| \
30707 X"$file" : 'X\(//\)$' \| \
30708 X"$file" : 'X\(/\)' \| \
30709 . : '\(.\)' 2>/dev/null ||
30711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30713 /^X\(\/\/\)$/{ s//\1/; q; }
30714 /^X\(\/\).*/{ s//\1/; q; }
30716 { if $as_mkdir_p; then
30717 mkdir
-p $dirpart/$fdir
30719 as_dir
=$dirpart/$fdir
30721 while test ! -d "$as_dir"; do
30722 as_dirs
="$as_dir $as_dirs"
30723 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30725 X"$as_dir" : 'X\(//\)[^/]' \| \
30726 X"$as_dir" : 'X\(//\)$' \| \
30727 X"$as_dir" : 'X\(/\)' \| \
30728 . : '\(.\)' 2>/dev/null ||
30730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30732 /^X\(\/\/\)$/{ s//\1/; q; }
30733 /^X\(\/\).*/{ s//\1/; q; }
30736 test ! -n "$as_dirs" || mkdir
$as_dirs
30737 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30738 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30739 { (exit 1); exit 1; }; }; }
30741 # echo "creating $dirpart/$file"
30742 echo '# dummy' > "$dirpart/$file"
30747 if test "$GCC" = yes; then
30748 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
30750 echo "/* generated for $CC */" > tmp-stdint.h
30753 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30755 #ifndef GCC_GENERATED_STDINT_H
30756 #define GCC_GENERATED_STDINT_H 1
30758 #include <sys/types.h>
30761 if test "$acx_cv_header_stdint" != stdint.h
; then
30762 echo "#include <stddef.h>" >> tmp-stdint.h
30764 if test "$acx_cv_header_stdint" != stddef.h
; then
30765 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
30768 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30769 /* glibc uses these symbols as guards to prevent redefinitions. */
30770 #ifdef __int8_t_defined
30775 #ifdef __uint32_t_defined
30781 # ----------------- done header, emit basic int types -------------
30782 if test "$acx_cv_header_stdint" = stddef.h
; then
30783 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30787 #ifndef __uint8_t_defined
30788 #define __uint8_t_defined
30789 typedef unsigned $acx_cv_type_int8_t uint8_t;
30795 #ifndef __uint16_t_defined
30796 #define __uint16_t_defined
30797 typedef unsigned $acx_cv_type_int16_t uint16_t;
30803 #ifndef __uint32_t_defined
30804 #define __uint32_t_defined
30805 typedef unsigned $acx_cv_type_int32_t uint32_t;
30811 #ifndef __int8_t_defined
30812 #define __int8_t_defined
30813 typedef $acx_cv_type_int8_t int8_t;
30819 #ifndef __int16_t_defined
30820 #define __int16_t_defined
30821 typedef $acx_cv_type_int16_t int16_t;
30827 #ifndef __int32_t_defined
30828 #define __int32_t_defined
30829 typedef $acx_cv_type_int32_t int32_t;
30833 elif test "$ac_cv_type_u_int32_t" = yes; then
30834 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30836 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
30849 #ifndef __uint8_t_defined
30850 #define __uint8_t_defined
30851 typedef u_int8_t uint8_t;
30857 #ifndef __uint16_t_defined
30858 #define __uint16_t_defined
30859 typedef u_int16_t uint16_t;
30865 #ifndef __uint32_t_defined
30866 #define __uint32_t_defined
30867 typedef u_int32_t uint32_t;
30872 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30874 /* Some systems have guard macros to prevent redefinitions, define them. */
30896 # ------------- done basic int types, emit int64_t types ------------
30897 if test "$ac_cv_type_uint64_t" = yes; then
30898 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30900 /* system headers have good uint64_t and int64_t */
30908 elif test "$ac_cv_type_u_int64_t" = yes; then
30909 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30911 /* system headers have an u_int64_t (and int64_t) */
30917 #ifndef __uint64_t_defined
30918 #define __uint64_t_defined
30919 typedef u_int64_t uint64_t;
30923 elif test -n "$acx_cv_type_int64_t"; then
30924 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30926 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
30929 typedef $acx_cv_type_int64_t int64_t;
30933 #ifndef __uint64_t_defined
30934 #define __uint64_t_defined
30935 typedef unsigned $acx_cv_type_int64_t uint64_t;
30940 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30942 /* some common heuristics for int64_t, using compiler-specific tests */
30943 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
30946 #ifndef __int64_t_defined
30947 typedef long long int64_t;
30952 typedef unsigned long long uint64_t;
30955 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
30956 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
30957 does not implement __extension__. But that compiler doesn't define
30959 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
30960 # define __extension__
30965 __extension__ typedef long long int64_t;
30969 __extension__ typedef unsigned long long uint64_t;
30972 #elif !defined __STRICT_ANSI__
30973 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
30977 typedef __int64 int64_t;
30981 typedef unsigned __int64 uint64_t;
30983 # endif /* compiler */
30985 #endif /* ANSI version */
30989 # ------------- done int64_t types, emit intptr types ------------
30990 if test "$ac_cv_type_uintptr_t" != yes; then
30991 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30993 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
30994 #ifndef __uintptr_t_defined
30995 typedef u$acx_cv_type_intptr_t uintptr_t;
30997 #ifndef __intptr_t_defined
30998 typedef $acx_cv_type_intptr_t intptr_t;
31003 # ------------- done intptr types, emit int_least types ------------
31004 if test "$ac_cv_type_int_least32_t" != yes; then
31005 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31007 /* Define int_least types */
31008 typedef int8_t int_least8_t;
31009 typedef int16_t int_least16_t;
31010 typedef int32_t int_least32_t;
31012 typedef int64_t int_least64_t;
31015 typedef uint8_t uint_least8_t;
31016 typedef uint16_t uint_least16_t;
31017 typedef uint32_t uint_least32_t;
31019 typedef uint64_t uint_least64_t;
31024 # ------------- done intptr types, emit int_fast types ------------
31025 if test "$ac_cv_type_int_fast32_t" != yes; then
31026 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31028 /* Define int_fast types. short is often slow */
31029 typedef int8_t int_fast8_t;
31030 typedef int int_fast16_t;
31031 typedef int32_t int_fast32_t;
31033 typedef int64_t int_fast64_t;
31036 typedef uint8_t uint_fast8_t;
31037 typedef unsigned int uint_fast16_t;
31038 typedef uint32_t uint_fast32_t;
31040 typedef uint64_t uint_fast64_t;
31045 if test "$ac_cv_type_uintmax_t" != yes; then
31046 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31048 /* Define intmax based on what we found */
31050 typedef int64_t intmax_t;
31052 typedef long intmax_t;
31055 typedef uint64_t uintmax_t;
31057 typedef unsigned long uintmax_t;
31062 sed 's/^ *//' >> tmp-stdint.h
<<EOF
31064 #endif /* GCC_GENERATED_STDINT_H */
31067 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
31070 mv -f tmp-stdint.h gdb_stdint.h
31076 sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
31077 mv -f Makefile.tmp Makefile
31080 case x
$CONFIG_HEADERS in
31081 xconfig.h
:config.
in)
31089 cat >>$CONFIG_STATUS <<\_ACEOF
31091 { (exit 0); exit 0; }
31093 chmod +x
$CONFIG_STATUS
31094 ac_clean_files
=$ac_clean_files_save
31097 # configure is writing to config.log, and then calls config.status.
31098 # config.status does its own redirection, appending to config.log.
31099 # Unfortunately, on DOS this fails, as config.log is still kept open
31100 # by configure, so config.status won't be able to write to it; its
31101 # output is simply discarded. So we exec the FD to /dev/null,
31102 # effectively closing config.log, so it can be properly (re)opened and
31103 # appended to by config.status. When coming back to configure, we
31104 # need to make the FD available again.
31105 if test "$no_create" != yes; then
31107 ac_config_status_args
=
31108 test "$silent" = yes &&
31109 ac_config_status_args
="$ac_config_status_args --quiet"
31111 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31113 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31114 # would make configure fail if this is the last instruction.
31115 $ac_cs_success ||
{ (exit 1); exit 1; }
31119 # CONFIG_SUBDIRS section.
31121 if test "$no_recursion" != yes; then
31123 # Remove --cache-file and --srcdir arguments so they do not pile up.
31124 ac_sub_configure_args
=
31126 for ac_arg
in $ac_configure_args; do
31127 if test -n "$ac_prev"; then
31132 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31133 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31134 ac_prev
=cache_file
;;
31135 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31136 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31139 --config-cache |
-C)
31141 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31143 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31145 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31147 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31149 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
31153 # Always prepend --prefix to ensure using the same prefix
31154 # in subdir configurations.
31155 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
31158 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31160 # Do not complain, so a configure script can configure whichever
31161 # parts of a large source tree are present.
31162 test -d $srcdir/$ac_dir ||
continue
31164 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31165 echo "$as_me: configuring in $ac_dir" >&6;}
31166 { if $as_mkdir_p; then
31171 while test ! -d "$as_dir"; do
31172 as_dirs
="$as_dir $as_dirs"
31173 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31175 X"$as_dir" : 'X\(//\)[^/]' \| \
31176 X"$as_dir" : 'X\(//\)$' \| \
31177 X"$as_dir" : 'X\(/\)' \| \
31178 . : '\(.\)' 2>/dev/null ||
31180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31181 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31182 /^X\(\/\/\)$/{ s//\1/; q; }
31183 /^X\(\/\).*/{ s//\1/; q; }
31186 test ! -n "$as_dirs" || mkdir
$as_dirs
31187 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31188 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31189 { (exit 1); exit 1; }; }; }
31193 if test "$ac_dir" != .
; then
31194 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31195 # A "../" for each directory in $ac_dir_suffix.
31196 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31198 ac_dir_suffix
= ac_top_builddir
=
31202 .
) # No --srcdir option. We are building in place.
31204 if test -z "$ac_top_builddir"; then
31207 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31209 [\\/]* | ?
:[\\/]* ) # Absolute path.
31210 ac_srcdir
=$srcdir$ac_dir_suffix;
31211 ac_top_srcdir
=$srcdir ;;
31212 *) # Relative path.
31213 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31214 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31217 # Do not use `cd foo && pwd` to compute absolute paths, because
31218 # the directories may not exist.
31220 .
) ac_abs_builddir
="$ac_dir";;
31223 .
) ac_abs_builddir
=`pwd`;;
31224 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31225 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31228 case $ac_abs_builddir in
31229 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31231 case ${ac_top_builddir}.
in
31232 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31233 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31234 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31237 case $ac_abs_builddir in
31238 .
) ac_abs_srcdir
=$ac_srcdir;;
31241 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31242 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31243 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31246 case $ac_abs_builddir in
31247 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31249 case $ac_top_srcdir in
31250 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31251 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31252 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31259 # Check for guested configure; otherwise get Cygnus style configure.
31260 if test -f $ac_srcdir/configure.gnu
; then
31261 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
31262 elif test -f $ac_srcdir/configure
; then
31263 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
31264 elif test -f $ac_srcdir/configure.
in; then
31265 ac_sub_configure
=$ac_configure
31267 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31268 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31272 # The recursion is here.
31273 if test -n "$ac_sub_configure"; then
31274 # Make the cache file name correct relative to the subdirectory.
31275 case $cache_file in
31276 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31277 *) # Relative path.
31278 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31281 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31282 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31283 # The eval makes quoting arguments work.
31284 eval $ac_sub_configure $ac_sub_configure_args \
31285 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
31286 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31287 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31288 { (exit 1); exit 1; }; }