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 # differences in whitespace do not lead to failure.
1297 ac_old_val_w=`echo x $ac_old_val`
1298 ac_new_val_w=`echo x $ac_new_val`
1299 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1300 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1301 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1302 ac_cache_corrupted=:
1304 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1305 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1306 eval $ac_var=\$ac_old_val
1308 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1309 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1310 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1311 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1314 # Pass precious variables to config.status.
1315 if test "$ac_new_set" = set; then
1317 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1318 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1319 *) ac_arg=$ac_var=$ac_new_val ;;
1321 case " $ac_configure_args " in
1322 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1323 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 if $ac_cache_corrupted; then
1328 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1329 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1330 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1331 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1332 { (exit 1); exit 1; }; }
1336 ac_cpp='$CPP $CPPFLAGS'
1337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1338 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1342 gl_header_list="$gl_header_list stdint.h"
1343 gl_header_list="$gl_header_list wchar.h"
1344 gl_header_list="$gl_header_list string.h"
1362 ac_config_headers="$ac_config_headers config.h:config.in"
1364 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1365 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1366 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1367 if test "${enable_maintainer_mode+set}" = set; then
1368 enableval="$enable_maintainer_mode"
1369 USE_MAINTAINER_MODE=$enableval
1371 USE_MAINTAINER_MODE=no
1373 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1374 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1377 if test $USE_MAINTAINER_MODE = yes; then
1378 MAINTAINER_MODE_TRUE=
1379 MAINTAINER_MODE_FALSE='#'
1381 MAINTAINER_MODE_TRUE
='#'
1382 MAINTAINER_MODE_FALSE
=
1385 MAINT
=$MAINTAINER_MODE_TRUE
1390 ac_cpp
='$CPP $CPPFLAGS'
1391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1394 if test -n "$ac_tool_prefix"; then
1395 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1396 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1397 echo "$as_me:$LINENO: checking for $ac_word" >&5
1398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1399 if test "${ac_cv_prog_CC+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 if test -n "$CC"; then
1403 ac_cv_prog_CC
="$CC" # Let the user override the test.
1405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1409 test -z "$as_dir" && as_dir
=.
1410 for ac_exec_ext
in '' $ac_executable_extensions; do
1411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1412 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1422 if test -n "$CC"; then
1423 echo "$as_me:$LINENO: result: $CC" >&5
1424 echo "${ECHO_T}$CC" >&6
1426 echo "$as_me:$LINENO: result: no" >&5
1427 echo "${ECHO_T}no" >&6
1431 if test -z "$ac_cv_prog_CC"; then
1433 # Extract the first word of "gcc", so it can be a program name with args.
1434 set dummy gcc
; ac_word
=$2
1435 echo "$as_me:$LINENO: checking for $ac_word" >&5
1436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1437 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 if test -n "$ac_ct_CC"; then
1441 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1447 test -z "$as_dir" && as_dir
=.
1448 for ac_exec_ext
in '' $ac_executable_extensions; do
1449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1450 ac_cv_prog_ac_ct_CC
="gcc"
1451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1459 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1460 if test -n "$ac_ct_CC"; then
1461 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1462 echo "${ECHO_T}$ac_ct_CC" >&6
1464 echo "$as_me:$LINENO: result: no" >&5
1465 echo "${ECHO_T}no" >&6
1473 if test -z "$CC"; then
1474 if test -n "$ac_tool_prefix"; then
1475 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1476 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1477 echo "$as_me:$LINENO: checking for $ac_word" >&5
1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1479 if test "${ac_cv_prog_CC+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 if test -n "$CC"; then
1483 ac_cv_prog_CC
="$CC" # Let the user override the test.
1485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1489 test -z "$as_dir" && as_dir
=.
1490 for ac_exec_ext
in '' $ac_executable_extensions; do
1491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1492 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502 if test -n "$CC"; then
1503 echo "$as_me:$LINENO: result: $CC" >&5
1504 echo "${ECHO_T}$CC" >&6
1506 echo "$as_me:$LINENO: result: no" >&5
1507 echo "${ECHO_T}no" >&6
1511 if test -z "$ac_cv_prog_CC"; then
1513 # Extract the first word of "cc", so it can be a program name with args.
1514 set dummy cc
; ac_word
=$2
1515 echo "$as_me:$LINENO: checking for $ac_word" >&5
1516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1517 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1518 echo $ECHO_N "(cached) $ECHO_C" >&6
1520 if test -n "$ac_ct_CC"; then
1521 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1527 test -z "$as_dir" && as_dir
=.
1528 for ac_exec_ext
in '' $ac_executable_extensions; do
1529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1530 ac_cv_prog_ac_ct_CC
="cc"
1531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1539 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1540 if test -n "$ac_ct_CC"; then
1541 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1542 echo "${ECHO_T}$ac_ct_CC" >&6
1544 echo "$as_me:$LINENO: result: no" >&5
1545 echo "${ECHO_T}no" >&6
1554 if test -z "$CC"; then
1555 # Extract the first word of "cc", so it can be a program name with args.
1556 set dummy cc
; ac_word
=$2
1557 echo "$as_me:$LINENO: checking for $ac_word" >&5
1558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559 if test "${ac_cv_prog_CC+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 if test -n "$CC"; then
1563 ac_cv_prog_CC
="$CC" # Let the user override the test.
1566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir
=.
1571 for ac_exec_ext
in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1574 ac_prog_rejected
=yes
1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584 if test $ac_prog_rejected = yes; then
1585 # We found a bogon in the path, so make sure we never use it.
1586 set dummy
$ac_cv_prog_CC
1588 if test $# != 0; then
1589 # We chose a different compiler from the bogus one.
1590 # However, it has the same basename, so the bogon will be chosen
1591 # first if we set CC to just the basename; use the full file name.
1593 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1599 if test -n "$CC"; then
1600 echo "$as_me:$LINENO: result: $CC" >&5
1601 echo "${ECHO_T}$CC" >&6
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1608 if test -z "$CC"; then
1609 if test -n "$ac_tool_prefix"; then
1612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1613 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1614 echo "$as_me:$LINENO: checking for $ac_word" >&5
1615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1616 if test "${ac_cv_prog_CC+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 if test -n "$CC"; then
1620 ac_cv_prog_CC
="$CC" # Let the user override the test.
1622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1626 test -z "$as_dir" && as_dir
=.
1627 for ac_exec_ext
in '' $ac_executable_extensions; do
1628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1629 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1639 if test -n "$CC"; then
1640 echo "$as_me:$LINENO: result: $CC" >&5
1641 echo "${ECHO_T}$CC" >&6
1643 echo "$as_me:$LINENO: result: no" >&5
1644 echo "${ECHO_T}no" >&6
1647 test -n "$CC" && break
1650 if test -z "$CC"; then
1654 # Extract the first word of "$ac_prog", so it can be a program name with args.
1655 set dummy
$ac_prog; ac_word
=$2
1656 echo "$as_me:$LINENO: checking for $ac_word" >&5
1657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1659 echo $ECHO_N "(cached) $ECHO_C" >&6
1661 if test -n "$ac_ct_CC"; then
1662 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1668 test -z "$as_dir" && as_dir
=.
1669 for ac_exec_ext
in '' $ac_executable_extensions; do
1670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1671 ac_cv_prog_ac_ct_CC
="$ac_prog"
1672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1681 if test -n "$ac_ct_CC"; then
1682 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1683 echo "${ECHO_T}$ac_ct_CC" >&6
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1689 test -n "$ac_ct_CC" && break
1698 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1699 See \`config.log' for more details." >&5
1700 echo "$as_me: error: no acceptable C compiler found in \$PATH
1701 See \`config.log' for more details." >&2;}
1702 { (exit 1); exit 1; }; }
1704 # Provide some information about the compiler.
1705 echo "$as_me:$LINENO:" \
1706 "checking for C compiler version" >&5
1707 ac_compiler
=`set X $ac_compile; echo $2`
1708 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1709 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1712 (exit $ac_status); }
1713 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1714 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717 (exit $ac_status); }
1718 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1719 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1722 (exit $ac_status); }
1724 cat >conftest.
$ac_ext <<_ACEOF
1727 cat confdefs.h
>>conftest.
$ac_ext
1728 cat >>conftest.
$ac_ext <<_ACEOF
1729 /* end confdefs.h. */
1739 ac_clean_files_save
=$ac_clean_files
1740 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1741 # Try to create an executable without -o first, disregard a.out.
1742 # It will help us diagnose broken compilers, and finding out an intuition
1744 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1745 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1746 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1747 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1748 (eval $ac_link_default) 2>&5
1750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1751 (exit $ac_status); }; then
1752 # Find the output, starting from the most likely. This scheme is
1753 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1756 # Be careful to initialize this variable, since it used to be cached.
1757 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1759 # b.out is created by i960 compilers.
1760 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1762 test -f "$ac_file" ||
continue
1764 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1767 # This is the source file.
1770 # We found the default executable, but exeext='' is most
1774 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1775 # FIXME: I believe we export ac_cv_exeext for Libtool,
1776 # but it would be cool to find out if it's true. Does anybody
1777 # maintain Libtool? --akim.
1785 echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.
$ac_ext >&5
1788 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1789 See \`config.log' for more details." >&5
1790 echo "$as_me: error: C compiler cannot create executables
1791 See \`config.log' for more details." >&2;}
1792 { (exit 77); exit 77; }; }
1795 ac_exeext
=$ac_cv_exeext
1796 echo "$as_me:$LINENO: result: $ac_file" >&5
1797 echo "${ECHO_T}$ac_file" >&6
1799 # Check the compiler produces executables we can run. If not, either
1800 # the compiler is broken, or we cross compile.
1801 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1802 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1803 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1804 # If not cross compiling, check that we can run a simple program.
1805 if test "$cross_compiling" != yes; then
1806 if { ac_try
='./$ac_file'
1807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1811 (exit $ac_status); }; }; then
1814 if test "$cross_compiling" = maybe
; then
1817 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1818 If you meant to cross compile, use \`--host'.
1819 See \`config.log' for more details." >&5
1820 echo "$as_me: error: cannot run C compiled programs.
1821 If you meant to cross compile, use \`--host'.
1822 See \`config.log' for more details." >&2;}
1823 { (exit 1); exit 1; }; }
1827 echo "$as_me:$LINENO: result: yes" >&5
1828 echo "${ECHO_T}yes" >&6
1830 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1831 ac_clean_files
=$ac_clean_files_save
1832 # Check the compiler produces executables we can run. If not, either
1833 # the compiler is broken, or we cross compile.
1834 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1835 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1836 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1837 echo "${ECHO_T}$cross_compiling" >&6
1839 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1840 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1842 (eval $ac_link) 2>&5
1844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1845 (exit $ac_status); }; then
1846 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1847 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1848 # work properly (i.e., refer to `conftest.exe'), while it won't with
1850 for ac_file
in conftest.exe conftest conftest.
*; do
1851 test -f "$ac_file" ||
continue
1853 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1854 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1861 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1862 See \`config.log' for more details." >&5
1863 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1864 See \`config.log' for more details." >&2;}
1865 { (exit 1); exit 1; }; }
1868 rm -f conftest
$ac_cv_exeext
1869 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1870 echo "${ECHO_T}$ac_cv_exeext" >&6
1872 rm -f conftest.
$ac_ext
1873 EXEEXT
=$ac_cv_exeext
1875 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1876 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1877 if test "${ac_cv_objext+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 cat >conftest.
$ac_ext <<_ACEOF
1883 cat confdefs.h
>>conftest.
$ac_ext
1884 cat >>conftest.
$ac_ext <<_ACEOF
1885 /* end confdefs.h. */
1895 rm -f conftest.o conftest.obj
1896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1897 (eval $ac_compile) 2>&5
1899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1900 (exit $ac_status); }; then
1901 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1903 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1904 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1909 echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.
$ac_ext >&5
1912 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1913 See \`config.log' for more details." >&5
1914 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1915 See \`config.log' for more details." >&2;}
1916 { (exit 1); exit 1; }; }
1919 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1921 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1922 echo "${ECHO_T}$ac_cv_objext" >&6
1923 OBJEXT
=$ac_cv_objext
1925 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1926 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1927 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 cat >conftest.
$ac_ext <<_ACEOF
1933 cat confdefs.h
>>conftest.
$ac_ext
1934 cat >>conftest.
$ac_ext <<_ACEOF
1935 /* end confdefs.h. */
1948 rm -f conftest.
$ac_objext
1949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1950 (eval $ac_compile) 2>conftest.er1
1952 grep -v '^ *+' conftest.er1
>conftest.err
1954 cat conftest.err
>&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); } &&
1957 { ac_try
='test -z "$ac_c_werror_flag"
1958 || test ! -s conftest.err'
1959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); }; } &&
1964 { ac_try
='test -s conftest.$ac_objext'
1965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; }; then
1972 echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.
$ac_ext >&5
1977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1978 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1981 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1982 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1983 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1984 ac_test_CFLAGS
=${CFLAGS+set}
1985 ac_save_CFLAGS
=$CFLAGS
1987 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1988 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1989 if test "${ac_cv_prog_cc_g+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 cat >conftest.
$ac_ext <<_ACEOF
1995 cat confdefs.h
>>conftest.
$ac_ext
1996 cat >>conftest.
$ac_ext <<_ACEOF
1997 /* end confdefs.h. */
2007 rm -f conftest.
$ac_objext
2008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2009 (eval $ac_compile) 2>conftest.er1
2011 grep -v '^ *+' conftest.er1
>conftest.err
2013 cat conftest.err
>&5
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); } &&
2016 { ac_try
='test -z "$ac_c_werror_flag"
2017 || test ! -s conftest.err'
2018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; } &&
2023 { ac_try
='test -s conftest.$ac_objext'
2024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028 (exit $ac_status); }; }; then
2031 echo "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.
$ac_ext >&5
2036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2038 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2039 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2040 if test "$ac_test_CFLAGS" = set; then
2041 CFLAGS
=$ac_save_CFLAGS
2042 elif test $ac_cv_prog_cc_g = yes; then
2043 if test "$GCC" = yes; then
2049 if test "$GCC" = yes; then
2055 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2056 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2057 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 ac_cv_prog_cc_stdc
=no
2062 cat >conftest.
$ac_ext <<_ACEOF
2065 cat confdefs.h
>>conftest.
$ac_ext
2066 cat >>conftest.
$ac_ext <<_ACEOF
2067 /* end confdefs.h. */
2070 #include <sys/types.h>
2071 #include <sys/stat.h>
2072 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2073 struct buf { int x; };
2074 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2075 static char *e (p, i)
2081 static char *f (char * (*g) (char **, int), char **p, ...)
2086 s = g (p, va_arg (v,int));
2091 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2092 function prototypes and stuff, but not '\xHH' hex character constants.
2093 These don't provoke an error unfortunately, instead are silently treated
2094 as 'x'. The following induces an error, until -std1 is added to get
2095 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2096 array size at least. It's necessary to write '\x00'==0 to get something
2097 that's true only with -std1. */
2098 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2100 int test (int i, double x);
2101 struct s1 {int (*f) (int a);};
2102 struct s2 {int (*f) (double a);};
2103 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2109 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2114 # Don't try gcc -ansi; that turns off useful extensions and
2115 # breaks some systems' header files.
2116 # AIX -qlanglvl=ansi
2117 # Ultrix and OSF/1 -std1
2118 # HP-UX 10.20 and later -Ae
2119 # HP-UX older versions -Aa -D_HPUX_SOURCE
2120 # SVR4 -Xc -D__EXTENSIONS__
2121 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2123 CC
="$ac_save_CC $ac_arg"
2124 rm -f conftest.
$ac_objext
2125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2126 (eval $ac_compile) 2>conftest.er1
2128 grep -v '^ *+' conftest.er1
>conftest.err
2130 cat conftest.err
>&5
2131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132 (exit $ac_status); } &&
2133 { ac_try
='test -z "$ac_c_werror_flag"
2134 || test ! -s conftest.err'
2135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }; } &&
2140 { ac_try
='test -s conftest.$ac_objext'
2141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); }; }; then
2146 ac_cv_prog_cc_stdc
=$ac_arg
2149 echo "$as_me: failed program was:" >&5
2150 sed 's/^/| /' conftest.
$ac_ext >&5
2153 rm -f conftest.err conftest.
$ac_objext
2155 rm -f conftest.
$ac_ext conftest.
$ac_objext
2160 case "x$ac_cv_prog_cc_stdc" in
2162 echo "$as_me:$LINENO: result: none needed" >&5
2163 echo "${ECHO_T}none needed" >&6 ;;
2165 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2166 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2167 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2170 # Some people use a C++ compiler to compile C. Since we use `exit',
2171 # in C++ we need to declare it. In case someone uses the same compiler
2172 # for both compiling C and C++ we need to have the C++ compiler decide
2173 # the declaration of exit, since it's the most demanding environment.
2174 cat >conftest.
$ac_ext <<_ACEOF
2179 rm -f conftest.
$ac_objext
2180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2181 (eval $ac_compile) 2>conftest.er1
2183 grep -v '^ *+' conftest.er1
>conftest.err
2185 cat conftest.err
>&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); } &&
2188 { ac_try
='test -z "$ac_c_werror_flag"
2189 || test ! -s conftest.err'
2190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); }; } &&
2195 { ac_try
='test -s conftest.$ac_objext'
2196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); }; }; then
2201 for ac_declaration
in \
2203 'extern "C" void std::exit (int) throw (); using std::exit;' \
2204 'extern "C" void std::exit (int); using std::exit;' \
2205 'extern "C" void exit (int) throw ();' \
2206 'extern "C" void exit (int);' \
2209 cat >conftest.
$ac_ext <<_ACEOF
2212 cat confdefs.h
>>conftest.
$ac_ext
2213 cat >>conftest.
$ac_ext <<_ACEOF
2214 /* end confdefs.h. */
2225 rm -f conftest.
$ac_objext
2226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2227 (eval $ac_compile) 2>conftest.er1
2229 grep -v '^ *+' conftest.er1
>conftest.err
2231 cat conftest.err
>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); } &&
2234 { ac_try
='test -z "$ac_c_werror_flag"
2235 || test ! -s conftest.err'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; } &&
2241 { ac_try
='test -s conftest.$ac_objext'
2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; }; then
2249 echo "$as_me: failed program was:" >&5
2250 sed 's/^/| /' conftest.
$ac_ext >&5
2254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2255 cat >conftest.
$ac_ext <<_ACEOF
2258 cat confdefs.h
>>conftest.
$ac_ext
2259 cat >>conftest.
$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2270 rm -f conftest.
$ac_objext
2271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2272 (eval $ac_compile) 2>conftest.er1
2274 grep -v '^ *+' conftest.er1
>conftest.err
2276 cat conftest.err
>&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); } &&
2279 { ac_try
='test -z "$ac_c_werror_flag"
2280 || test ! -s conftest.err'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; } &&
2286 { ac_try
='test -s conftest.$ac_objext'
2287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); }; }; then
2294 echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.
$ac_ext >&5
2298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2301 if test -n "$ac_declaration"; then
2302 echo '#ifdef __cplusplus' >>confdefs.h
2303 echo $ac_declaration >>confdefs.h
2304 echo '#endif' >>confdefs.h
2308 echo "$as_me: failed program was:" >&5
2309 sed 's/^/| /' conftest.
$ac_ext >&5
2312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2314 ac_cpp
='$CPP $CPPFLAGS'
2315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2320 cat >>confdefs.h
<<\_ACEOF
2321 #define _GNU_SOURCE 1
2327 ac_cpp
='$CPP $CPPFLAGS'
2328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2331 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2332 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2333 # On Suns, sometimes $CPP names a directory.
2334 if test -n "$CPP" && test -d "$CPP"; then
2337 if test -z "$CPP"; then
2338 if test "${ac_cv_prog_CPP+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 # Double quotes because CPP needs to be expanded
2342 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2345 for ac_c_preproc_warn_flag
in '' yes
2347 # Use a header file that comes with gcc, so configuring glibc
2348 # with a fresh cross-compiler works.
2349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2350 # <limits.h> exists even on freestanding compilers.
2351 # On the NeXT, cc -E runs the code through the compiler's parser,
2352 # not just through cpp. "Syntax error" is here to catch this case.
2353 cat >conftest.
$ac_ext <<_ACEOF
2356 cat confdefs.h
>>conftest.
$ac_ext
2357 cat >>conftest.
$ac_ext <<_ACEOF
2358 /* end confdefs.h. */
2360 # include <limits.h>
2362 # include <assert.h>
2366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2369 grep -v '^ *+' conftest.er1
>conftest.err
2371 cat conftest.err
>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } >/dev
/null
; then
2374 if test -s conftest.err
; then
2375 ac_cpp_err
=$ac_c_preproc_warn_flag
2376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2383 if test -z "$ac_cpp_err"; then
2386 echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.
$ac_ext >&5
2389 # Broken: fails on valid input.
2392 rm -f conftest.err conftest.
$ac_ext
2394 # OK, works on sane cases. Now check whether non-existent headers
2395 # can be detected and how.
2396 cat >conftest.
$ac_ext <<_ACEOF
2399 cat confdefs.h
>>conftest.
$ac_ext
2400 cat >>conftest.
$ac_ext <<_ACEOF
2401 /* end confdefs.h. */
2402 #include <ac_nonexistent.h>
2404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2407 grep -v '^ *+' conftest.er1
>conftest.err
2409 cat conftest.err
>&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); } >/dev
/null
; then
2412 if test -s conftest.err
; then
2413 ac_cpp_err
=$ac_c_preproc_warn_flag
2414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2421 if test -z "$ac_cpp_err"; then
2422 # Broken: success on invalid input.
2425 echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.
$ac_ext >&5
2428 # Passes both tests.
2432 rm -f conftest.err conftest.
$ac_ext
2435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2436 rm -f conftest.err conftest.
$ac_ext
2437 if $ac_preproc_ok; then
2449 echo "$as_me:$LINENO: result: $CPP" >&5
2450 echo "${ECHO_T}$CPP" >&6
2452 for ac_c_preproc_warn_flag
in '' yes
2454 # Use a header file that comes with gcc, so configuring glibc
2455 # with a fresh cross-compiler works.
2456 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2457 # <limits.h> exists even on freestanding compilers.
2458 # On the NeXT, cc -E runs the code through the compiler's parser,
2459 # not just through cpp. "Syntax error" is here to catch this case.
2460 cat >conftest.
$ac_ext <<_ACEOF
2463 cat confdefs.h
>>conftest.
$ac_ext
2464 cat >>conftest.
$ac_ext <<_ACEOF
2465 /* end confdefs.h. */
2467 # include <limits.h>
2469 # include <assert.h>
2473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2476 grep -v '^ *+' conftest.er1
>conftest.err
2478 cat conftest.err
>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); } >/dev
/null
; then
2481 if test -s conftest.err
; then
2482 ac_cpp_err
=$ac_c_preproc_warn_flag
2483 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2490 if test -z "$ac_cpp_err"; then
2493 echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.
$ac_ext >&5
2496 # Broken: fails on valid input.
2499 rm -f conftest.err conftest.
$ac_ext
2501 # OK, works on sane cases. Now check whether non-existent headers
2502 # can be detected and how.
2503 cat >conftest.
$ac_ext <<_ACEOF
2506 cat confdefs.h
>>conftest.
$ac_ext
2507 cat >>conftest.
$ac_ext <<_ACEOF
2508 /* end confdefs.h. */
2509 #include <ac_nonexistent.h>
2511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2512 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2514 grep -v '^ *+' conftest.er1
>conftest.err
2516 cat conftest.err
>&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); } >/dev
/null
; then
2519 if test -s conftest.err
; then
2520 ac_cpp_err
=$ac_c_preproc_warn_flag
2521 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2528 if test -z "$ac_cpp_err"; then
2529 # Broken: success on invalid input.
2532 echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.
$ac_ext >&5
2535 # Passes both tests.
2539 rm -f conftest.err conftest.
$ac_ext
2542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2543 rm -f conftest.err conftest.
$ac_ext
2544 if $ac_preproc_ok; then
2547 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2548 See \`config.log' for more details." >&5
2549 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2550 See \`config.log' for more details." >&2;}
2551 { (exit 1); exit 1; }; }
2555 ac_cpp
='$CPP $CPPFLAGS'
2556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2561 echo "$as_me:$LINENO: checking for egrep" >&5
2562 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2563 if test "${ac_cv_prog_egrep+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2567 then ac_cv_prog_egrep
='grep -E'
2568 else ac_cv_prog_egrep
='egrep'
2571 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2572 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2573 EGREP
=$ac_cv_prog_egrep
2577 echo "$as_me:$LINENO: checking for AIX" >&5
2578 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2579 cat >conftest.
$ac_ext <<_ACEOF
2582 cat confdefs.h
>>conftest.
$ac_ext
2583 cat >>conftest.
$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2591 $EGREP "yes" >/dev
/null
2>&1; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2594 cat >>confdefs.h
<<\_ACEOF
2595 #define _ALL_SOURCE 1
2599 echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6
2605 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2606 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2607 if test "${ac_cv_search_strerror+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 ac_func_search_save_LIBS
=$LIBS
2611 ac_cv_search_strerror
=no
2612 cat >conftest.
$ac_ext <<_ACEOF
2615 cat confdefs.h
>>conftest.
$ac_ext
2616 cat >>conftest.
$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2619 /* Override any gcc2 internal prototype to avoid an error. */
2623 /* We use char because int might match the return type of a gcc2
2624 builtin and then its argument prototype would still apply. */
2634 rm -f conftest.
$ac_objext conftest
$ac_exeext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2636 (eval $ac_link) 2>conftest.er1
2638 grep -v '^ *+' conftest.er1
>conftest.err
2640 cat conftest.err
>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try
='test -z "$ac_c_werror_flag"
2644 || test ! -s conftest.err'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; } &&
2650 { ac_try
='test -s conftest$ac_exeext'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then
2656 ac_cv_search_strerror
="none required"
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2662 rm -f conftest.err conftest.
$ac_objext \
2663 conftest
$ac_exeext conftest.
$ac_ext
2664 if test "$ac_cv_search_strerror" = no
; then
2665 for ac_lib
in cposix
; do
2666 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2667 cat >conftest.
$ac_ext <<_ACEOF
2670 cat confdefs.h
>>conftest.
$ac_ext
2671 cat >>conftest.
$ac_ext <<_ACEOF
2672 /* end confdefs.h. */
2674 /* Override any gcc2 internal prototype to avoid an error. */
2678 /* We use char because int might match the return type of a gcc2
2679 builtin and then its argument prototype would still apply. */
2689 rm -f conftest.
$ac_objext conftest
$ac_exeext
2690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2691 (eval $ac_link) 2>conftest.er1
2693 grep -v '^ *+' conftest.er1
>conftest.err
2695 cat conftest.err
>&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); } &&
2698 { ac_try
='test -z "$ac_c_werror_flag"
2699 || test ! -s conftest.err'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; } &&
2705 { ac_try
='test -s conftest$ac_exeext'
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; }; then
2711 ac_cv_search_strerror
="-l$ac_lib"
2714 echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.
$ac_ext >&5
2718 rm -f conftest.err conftest.
$ac_objext \
2719 conftest
$ac_exeext conftest.
$ac_ext
2722 LIBS
=$ac_func_search_save_LIBS
2724 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2725 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2726 if test "$ac_cv_search_strerror" != no
; then
2727 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2731 if test -n "$ac_tool_prefix"; then
2732 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2733 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2734 echo "$as_me:$LINENO: checking for $ac_word" >&5
2735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2736 if test "${ac_cv_prog_RANLIB+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 if test -n "$RANLIB"; then
2740 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 RANLIB
=$ac_cv_prog_RANLIB
2759 if test -n "$RANLIB"; then
2760 echo "$as_me:$LINENO: result: $RANLIB" >&5
2761 echo "${ECHO_T}$RANLIB" >&6
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2768 if test -z "$ac_cv_prog_RANLIB"; then
2769 ac_ct_RANLIB
=$RANLIB
2770 # Extract the first word of "ranlib", so it can be a program name with args.
2771 set dummy ranlib
; ac_word
=$2
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 if test -n "$ac_ct_RANLIB"; then
2778 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2797 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2798 if test -n "$ac_ct_RANLIB"; then
2799 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2800 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2802 echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6
2806 RANLIB
=$ac_ct_RANLIB
2808 RANLIB
="$ac_cv_prog_RANLIB"
2811 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2812 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2813 if test "${ac_cv_header_stdc+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 cat >conftest.
$ac_ext <<_ACEOF
2819 cat confdefs.h
>>conftest.
$ac_ext
2820 cat >>conftest.
$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2835 rm -f conftest.
$ac_objext
2836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837 (eval $ac_compile) 2>conftest.er1
2839 grep -v '^ *+' conftest.er1
>conftest.err
2841 cat conftest.err
>&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } &&
2844 { ac_try
='test -z "$ac_c_werror_flag"
2845 || test ! -s conftest.err'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; } &&
2851 { ac_try
='test -s conftest.$ac_objext'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2857 ac_cv_header_stdc
=yes
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.
$ac_ext >&5
2862 ac_cv_header_stdc
=no
2864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2866 if test $ac_cv_header_stdc = yes; then
2867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2868 cat >conftest.
$ac_ext <<_ACEOF
2871 cat confdefs.h
>>conftest.
$ac_ext
2872 cat >>conftest.
$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2878 $EGREP "memchr" >/dev
/null
2>&1; then
2881 ac_cv_header_stdc
=no
2887 if test $ac_cv_header_stdc = yes; then
2888 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2889 cat >conftest.
$ac_ext <<_ACEOF
2892 cat confdefs.h
>>conftest.
$ac_ext
2893 cat >>conftest.
$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2899 $EGREP "free" >/dev
/null
2>&1; then
2902 ac_cv_header_stdc
=no
2908 if test $ac_cv_header_stdc = yes; then
2909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2910 if test "$cross_compiling" = yes; then
2913 cat >conftest.
$ac_ext <<_ACEOF
2916 cat confdefs.h
>>conftest.
$ac_ext
2917 cat >>conftest.
$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2920 #if ((' ' & 0x0FF) == 0x020)
2921 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2922 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2924 # define ISLOWER(c) \
2925 (('a' <= (c) && (c) <= 'i') \
2926 || ('j' <= (c) && (c) <= 'r') \
2927 || ('s' <= (c) && (c) <= 'z'))
2928 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2931 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2936 for (i = 0; i < 256; i++)
2937 if (XOR (islower (i), ISLOWER (i))
2938 || toupper (i) != TOUPPER (i))
2943 rm -f conftest
$ac_exeext
2944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2945 (eval $ac_link) 2>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; }; then
2956 echo "$as_me: program exited with status $ac_status" >&5
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.
$ac_ext >&5
2961 ac_cv_header_stdc
=no
2963 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2967 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2968 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2969 if test $ac_cv_header_stdc = yes; then
2971 cat >>confdefs.h
<<\_ACEOF
2972 #define STDC_HEADERS 1
2977 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2987 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2988 inttypes.h stdint.h unistd.h
2990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2991 echo "$as_me:$LINENO: checking for $ac_header" >&5
2992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 cat >conftest.
$ac_ext <<_ACEOF
2999 cat confdefs.h
>>conftest.
$ac_ext
3000 cat >>conftest.
$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3002 $ac_includes_default
3004 #include <$ac_header>
3006 rm -f conftest.
$ac_objext
3007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3008 (eval $ac_compile) 2>conftest.er1
3010 grep -v '^ *+' conftest.er1
>conftest.err
3012 cat conftest.err
>&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); } &&
3015 { ac_try
='test -z "$ac_c_werror_flag"
3016 || test ! -s conftest.err'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; } &&
3022 { ac_try
='test -s conftest.$ac_objext'
3023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; }; then
3028 eval "$as_ac_Header=yes"
3030 echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.
$ac_ext >&5
3033 eval "$as_ac_Header=no"
3035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3040 cat >>confdefs.h
<<_ACEOF
3041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3050 if test "${ac_cv_header_minix_config_h+set}" = set; then
3051 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3052 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3053 if test "${ac_cv_header_minix_config_h+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3057 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3059 # Is the header compilable?
3060 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3061 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3062 cat >conftest.
$ac_ext <<_ACEOF
3065 cat confdefs.h
>>conftest.
$ac_ext
3066 cat >>conftest.
$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3068 $ac_includes_default
3069 #include <minix/config.h>
3071 rm -f conftest.
$ac_objext
3072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3073 (eval $ac_compile) 2>conftest.er1
3075 grep -v '^ *+' conftest.er1
>conftest.err
3077 cat conftest.err
>&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); } &&
3080 { ac_try
='test -z "$ac_c_werror_flag"
3081 || test ! -s conftest.err'
3082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }; } &&
3087 { ac_try
='test -s conftest.$ac_objext'
3088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }; }; then
3093 ac_header_compiler
=yes
3095 echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.
$ac_ext >&5
3098 ac_header_compiler
=no
3100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3102 echo "${ECHO_T}$ac_header_compiler" >&6
3104 # Is the header present?
3105 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3106 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3107 cat >conftest.
$ac_ext <<_ACEOF
3110 cat confdefs.h
>>conftest.
$ac_ext
3111 cat >>conftest.
$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3113 #include <minix/config.h>
3115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3118 grep -v '^ *+' conftest.er1
>conftest.err
3120 cat conftest.err
>&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); } >/dev
/null
; then
3123 if test -s conftest.err
; then
3124 ac_cpp_err
=$ac_c_preproc_warn_flag
3125 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3132 if test -z "$ac_cpp_err"; then
3133 ac_header_preproc
=yes
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.
$ac_ext >&5
3138 ac_header_preproc
=no
3140 rm -f conftest.err conftest.
$ac_ext
3141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3142 echo "${ECHO_T}$ac_header_preproc" >&6
3144 # So? What about this header?
3145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3147 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3148 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3149 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3150 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3151 ac_header_preproc
=yes
3154 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3155 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3156 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3157 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3158 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3159 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3160 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3161 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3162 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3163 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3164 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3165 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3168 ## ------------------------------------------ ##
3169 ## Report this to the AC_PACKAGE_NAME lists. ##
3170 ## ------------------------------------------ ##
3173 sed "s/^/$as_me: WARNING: /" >&2
3176 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3177 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3178 if test "${ac_cv_header_minix_config_h+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 ac_cv_header_minix_config_h
=$ac_header_preproc
3183 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3184 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3187 if test $ac_cv_header_minix_config_h = yes; then
3194 if test "$MINIX" = yes; then
3196 cat >>confdefs.h
<<\_ACEOF
3197 #define _POSIX_SOURCE 1
3201 cat >>confdefs.h
<<\_ACEOF
3202 #define _POSIX_1_SOURCE 2
3206 cat >>confdefs.h
<<\_ACEOF
3214 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3215 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
3216 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 cat >conftest.
$ac_ext <<_ACEOF
3222 cat confdefs.h
>>conftest.
$ac_ext
3223 cat >>conftest.
$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3226 # define __EXTENSIONS__ 1
3227 $ac_includes_default
3236 rm -f conftest.
$ac_objext
3237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3238 (eval $ac_compile) 2>conftest.er1
3240 grep -v '^ *+' conftest.er1
>conftest.err
3242 cat conftest.err
>&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); } &&
3245 { ac_try
='test -z "$ac_c_werror_flag"
3246 || test ! -s conftest.err'
3247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); }; } &&
3252 { ac_try
='test -s conftest.$ac_objext'
3253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }; }; then
3258 ac_cv_safe_to_define___extensions__
=yes
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.
$ac_ext >&5
3263 ac_cv_safe_to_define___extensions__
=no
3265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3267 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3268 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
3269 test $ac_cv_safe_to_define___extensions__ = yes &&
3270 cat >>confdefs.h
<<\_ACEOF
3271 #define __EXTENSIONS__ 1
3274 cat >>confdefs.h
<<\_ACEOF
3275 #define _ALL_SOURCE 1
3278 cat >>confdefs.h
<<\_ACEOF
3279 #define _GNU_SOURCE 1
3282 cat >>confdefs.h
<<\_ACEOF
3283 #define _POSIX_PTHREAD_SEMANTICS 1
3286 cat >>confdefs.h
<<\_ACEOF
3287 #define _TANDEM_SOURCE 1
3299 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3300 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3301 if test "${am_cv_prog_cc_stdc+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 am_cv_prog_cc_stdc
=no
3306 # Don't try gcc -ansi; that turns off useful extensions and
3307 # breaks some systems' header files.
3308 # AIX -qlanglvl=ansi
3309 # Ultrix and OSF/1 -std1
3310 # HP-UX 10.20 and later -Ae
3311 # HP-UX older versions -Aa -D_HPUX_SOURCE
3312 # SVR4 -Xc -D__EXTENSIONS__
3313 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3315 CC
="$ac_save_CC $ac_arg"
3316 cat >conftest.
$ac_ext <<_ACEOF
3319 cat confdefs.h
>>conftest.
$ac_ext
3320 cat >>conftest.
$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3324 #include <sys/types.h>
3325 #include <sys/stat.h>
3326 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3327 struct buf { int x; };
3328 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3329 static char *e (p, i)
3335 static char *f (char * (*g) (char **, int), char **p, ...)
3340 s = g (p, va_arg (v,int));
3344 int test (int i, double x);
3345 struct s1 {int (*f) (int a);};
3346 struct s2 {int (*f) (double a);};
3347 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3355 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3361 rm -f conftest.
$ac_objext
3362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3363 (eval $ac_compile) 2>conftest.er1
3365 grep -v '^ *+' conftest.er1
>conftest.err
3367 cat conftest.err
>&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } &&
3370 { ac_try
='test -z "$ac_c_werror_flag"
3371 || test ! -s conftest.err'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; } &&
3377 { ac_try
='test -s conftest.$ac_objext'
3378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); }; }; then
3383 am_cv_prog_cc_stdc
="$ac_arg"; break
3385 echo "$as_me: failed program was:" >&5
3386 sed 's/^/| /' conftest.
$ac_ext >&5
3389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3395 if test -z "$am_cv_prog_cc_stdc"; then
3396 echo "$as_me:$LINENO: result: none needed" >&5
3397 echo "${ECHO_T}none needed" >&6
3399 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3400 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3402 case "x$am_cv_prog_cc_stdc" in
3404 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3409 for ac_dir
in ..
$srcdir/..
; do
3410 if test -f $ac_dir/install-sh
; then
3412 ac_install_sh
="$ac_aux_dir/install-sh -c"
3414 elif test -f $ac_dir/install.sh
; then
3416 ac_install_sh
="$ac_aux_dir/install.sh -c"
3418 elif test -f $ac_dir/shtool
; then
3420 ac_install_sh
="$ac_aux_dir/shtool install -c"
3424 if test -z "$ac_aux_dir"; then
3425 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
3426 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
3427 { (exit 1); exit 1; }; }
3429 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
3430 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
3431 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3433 # Make sure we can run config.sub.
3434 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3435 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3436 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3437 { (exit 1); exit 1; }; }
3439 echo "$as_me:$LINENO: checking build system type" >&5
3440 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3441 if test "${ac_cv_build+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 ac_cv_build_alias
=$build_alias
3445 test -z "$ac_cv_build_alias" &&
3446 ac_cv_build_alias
=`$ac_config_guess`
3447 test -z "$ac_cv_build_alias" &&
3448 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3449 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3450 { (exit 1); exit 1; }; }
3451 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3452 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3453 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3454 { (exit 1); exit 1; }; }
3457 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3458 echo "${ECHO_T}$ac_cv_build" >&6
3460 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3461 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3462 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3465 echo "$as_me:$LINENO: checking host system type" >&5
3466 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3467 if test "${ac_cv_host+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 ac_cv_host_alias
=$host_alias
3471 test -z "$ac_cv_host_alias" &&
3472 ac_cv_host_alias
=$ac_cv_build_alias
3473 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3475 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3476 { (exit 1); exit 1; }; }
3479 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3480 echo "${ECHO_T}$ac_cv_host" >&6
3482 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3483 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3484 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3487 echo "$as_me:$LINENO: checking target system type" >&5
3488 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3489 if test "${ac_cv_target+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 ac_cv_target_alias
=$target_alias
3493 test "x$ac_cv_target_alias" = "x" &&
3494 ac_cv_target_alias
=$ac_cv_host_alias
3495 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
3496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3497 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3498 { (exit 1); exit 1; }; }
3501 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3502 echo "${ECHO_T}$ac_cv_target" >&6
3503 target
=$ac_cv_target
3504 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3505 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3506 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3509 # The aliases save the names the user supplied, while $host etc.
3510 # will get canonicalized.
3511 test -n "$target_alias" &&
3512 test "$program_prefix$program_suffix$program_transform_name" = \
3514 program_prefix
=${target_alias}-
3527 # If we haven't got the data from the intl directory,
3528 # assume NLS is disabled.
3537 if test -f ..
/intl
/config.intl
; then
3538 . ..
/intl
/config.intl
3540 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3541 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3542 if test x
"$USE_NLS" != xyes
; then
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3549 cat >>confdefs.h
<<\_ACEOF
3550 #define ENABLE_NLS 1
3554 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3555 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3556 # Look for .po and .gmo files in the source directory.
3559 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3560 # If there aren't any .gmo files the shell will give us the
3561 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3563 case "$cat" in *\
**)
3566 # The quadruple backslash is collapsed to a double backslash
3567 # by the backticks, then collapsed again by the double quotes,
3568 # leaving us with one backslash in the sed expression (right
3569 # before the dot that mustn't act as a wildcard).
3570 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3571 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3572 # The user is allowed to set LINGUAS to a list of languages to
3573 # install catalogs for. If it's empty that means "all of them."
3574 if test "x$LINGUAS" = x
; then
3575 CATALOGS
="$CATALOGS $cat"
3576 XLINGUAS
="$XLINGUAS $lang"
3578 case "$LINGUAS" in *$lang*)
3579 CATALOGS
="$CATALOGS $cat"
3580 XLINGUAS
="$XLINGUAS $lang"
3586 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3587 echo "${ECHO_T}$LINGUAS" >&6
3600 localedir
='${datadir}/locale'
3603 if test x
"$USE_NLS" = xyes
; then
3604 CONFIG_ALL
="$CONFIG_ALL all-po"
3605 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3606 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3607 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3623 GNULIB_STRCASESTR
=0;
3630 GNULIB_MBSCASECMP
=0;
3631 GNULIB_MBSNCASECMP
=0;
3632 GNULIB_MBSPCASECMP
=0;
3633 GNULIB_MBSCASESTR
=0;
3643 HAVE_DECL_MEMRCHR
=1;
3649 HAVE_DECL_STRNDUP
=1;
3650 HAVE_DECL_STRNLEN
=1;
3654 HAVE_DECL_STRTOK_R
=1;
3655 HAVE_DECL_STRERROR
=1;
3656 HAVE_DECL_STRSIGNAL
=1;
3658 REPLACE_STRSIGNAL
=0;
3660 REPLACE_STRCASESTR
=0;
3664 echo "$as_me:$LINENO: checking whether memmem is declared" >&5
3665 echo $ECHO_N "checking whether memmem is declared... $ECHO_C" >&6
3666 if test "${ac_cv_have_decl_memmem+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 cat >conftest.
$ac_ext <<_ACEOF
3672 cat confdefs.h
>>conftest.
$ac_ext
3673 cat >>conftest.
$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3675 $ac_includes_default
3680 char *p = (char *) memmem;
3687 rm -f conftest.
$ac_objext
3688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3689 (eval $ac_compile) 2>conftest.er1
3691 grep -v '^ *+' conftest.er1
>conftest.err
3693 cat conftest.err
>&5
3694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695 (exit $ac_status); } &&
3696 { ac_try
='test -z "$ac_c_werror_flag"
3697 || test ! -s conftest.err'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; } &&
3703 { ac_try
='test -s conftest.$ac_objext'
3704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; }; then
3709 ac_cv_have_decl_memmem
=yes
3711 echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.
$ac_ext >&5
3714 ac_cv_have_decl_memmem
=no
3716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3718 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memmem" >&5
3719 echo "${ECHO_T}$ac_cv_have_decl_memmem" >&6
3720 if test $ac_cv_have_decl_memmem = yes; then
3722 cat >>confdefs.h
<<_ACEOF
3723 #define HAVE_DECL_MEMMEM 1
3728 cat >>confdefs.h
<<_ACEOF
3729 #define HAVE_DECL_MEMMEM 0
3749 for ac_func
in memmem
3751 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3752 echo "$as_me:$LINENO: checking for $ac_func" >&5
3753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3754 if eval "test \"\${$as_ac_var+set}\" = set"; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 cat >conftest.
$ac_ext <<_ACEOF
3760 cat confdefs.h
>>conftest.
$ac_ext
3761 cat >>conftest.
$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3765 #define $ac_func innocuous_$ac_func
3767 /* System header to define __stub macros and hopefully few prototypes,
3768 which can conflict with char $ac_func (); below.
3769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3770 <limits.h> exists even on freestanding compilers. */
3773 # include <limits.h>
3775 # include <assert.h>
3780 /* Override any gcc2 internal prototype to avoid an error. */
3785 /* We use char because int might match the return type of a gcc2
3786 builtin and then its argument prototype would still apply. */
3788 /* The GNU C library defines this for functions which it implements
3789 to always fail with ENOSYS. Some functions are actually named
3790 something starting with __ and the normal name is an alias. */
3791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3794 char (*f) () = $ac_func;
3803 return f != $ac_func;
3808 rm -f conftest.
$ac_objext conftest
$ac_exeext
3809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3810 (eval $ac_link) 2>conftest.er1
3812 grep -v '^ *+' conftest.er1
>conftest.err
3814 cat conftest.err
>&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } &&
3817 { ac_try
='test -z "$ac_c_werror_flag"
3818 || test ! -s conftest.err'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; } &&
3824 { ac_try
='test -s conftest$ac_exeext'
3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); }; }; then
3830 eval "$as_ac_var=yes"
3832 echo "$as_me: failed program was:" >&5
3833 sed 's/^/| /' conftest.
$ac_ext >&5
3835 eval "$as_ac_var=no"
3837 rm -f conftest.err conftest.
$ac_objext \
3838 conftest
$ac_exeext conftest.
$ac_ext
3840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3842 if test `eval echo '${'$as_ac_var'}'` = yes; then
3843 cat >>confdefs.h
<<_ACEOF
3844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3849 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
3862 if test $ac_cv_have_decl_memmem = no
; then
3868 echo "$as_me:$LINENO: checking for long long int" >&5
3869 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
3870 if test "${ac_cv_type_long_long_int+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3873 cat >conftest.
$ac_ext <<_ACEOF
3877 cat confdefs.h
>>conftest.
$ac_ext
3878 cat >>conftest.
$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3880 /* For now, do not test the preprocessor; as of 2007 there are too many
3881 implementations with broken preprocessors. Perhaps this can
3882 be revisited in 2012. In the meantime, code should not expect
3883 #if to work with literals wider than 32 bits. */
3884 /* Test literals. */
3885 long long int ll = 9223372036854775807ll;
3886 long long int nll = -9223372036854775807LL;
3887 unsigned long long int ull = 18446744073709551615ULL;
3888 /* Test constant expressions. */
3889 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
3891 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
3897 /* Test availability of runtime routines for shift and division. */
3898 long long int llmax = 9223372036854775807ll;
3899 unsigned long long int ullmax = 18446744073709551615ull;
3900 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
3901 | (llmax / ll) | (llmax % ll)
3902 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
3903 | (ullmax / ull) | (ullmax % ull));
3909 rm -f conftest.
$ac_objext conftest
$ac_exeext
3910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3911 (eval $ac_link) 2>conftest.er1
3913 grep -v '^ *+' conftest.er1
>conftest.err
3915 cat conftest.err
>&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); } &&
3918 { ac_try
='test -z "$ac_c_werror_flag"
3919 || test ! -s conftest.err'
3920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); }; } &&
3925 { ac_try
='test -s conftest$ac_exeext'
3926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); }; }; then
3931 if test "$cross_compiling" = yes; then
3932 ac_cv_type_long_long_int
=yes
3934 cat >conftest.
$ac_ext <<_ACEOF
3937 cat confdefs.h
>>conftest.
$ac_ext
3938 cat >>conftest.
$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3943 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
3944 # define LLONG_MAX (HALF - 1 + HALF)
3949 long long int n = 1;
3953 long long int m = n << i;
3956 if (LLONG_MAX / 2 < m)
3964 rm -f conftest
$ac_exeext
3965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3966 (eval $ac_link) 2>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; }; then
3975 ac_cv_type_long_long_int
=yes
3977 echo "$as_me: program exited with status $ac_status" >&5
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3982 ac_cv_type_long_long_int
=no
3984 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3987 echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.
$ac_ext >&5
3990 ac_cv_type_long_long_int
=no
3992 rm -f conftest.err conftest.
$ac_objext \
3993 conftest
$ac_exeext conftest.
$ac_ext
3995 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
3996 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
3997 if test $ac_cv_type_long_long_int = yes; then
3999 cat >>confdefs.h
<<\_ACEOF
4000 #define HAVE_LONG_LONG_INT 1
4006 echo "$as_me:$LINENO: checking for unsigned long long int" >&5
4007 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6
4008 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 cat >conftest.
$ac_ext <<_ACEOF
4015 cat confdefs.h
>>conftest.
$ac_ext
4016 cat >>conftest.
$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4018 /* For now, do not test the preprocessor; as of 2007 there are too many
4019 implementations with broken preprocessors. Perhaps this can
4020 be revisited in 2012. In the meantime, code should not expect
4021 #if to work with literals wider than 32 bits. */
4022 /* Test literals. */
4023 long long int ll = 9223372036854775807ll;
4024 long long int nll = -9223372036854775807LL;
4025 unsigned long long int ull = 18446744073709551615ULL;
4026 /* Test constant expressions. */
4027 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4029 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4035 /* Test availability of runtime routines for shift and division. */
4036 long long int llmax = 9223372036854775807ll;
4037 unsigned long long int ullmax = 18446744073709551615ull;
4038 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4039 | (llmax / ll) | (llmax % ll)
4040 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4041 | (ullmax / ull) | (ullmax % ull));
4047 rm -f conftest.
$ac_objext conftest
$ac_exeext
4048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4049 (eval $ac_link) 2>conftest.er1
4051 grep -v '^ *+' conftest.er1
>conftest.err
4053 cat conftest.err
>&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } &&
4056 { ac_try
='test -z "$ac_c_werror_flag"
4057 || test ! -s conftest.err'
4058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); }; } &&
4063 { ac_try
='test -s conftest$ac_exeext'
4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); }; }; then
4069 ac_cv_type_unsigned_long_long_int
=yes
4071 echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.
$ac_ext >&5
4074 ac_cv_type_unsigned_long_long_int
=no
4076 rm -f conftest.err conftest.
$ac_objext \
4077 conftest
$ac_exeext conftest.
$ac_ext
4079 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
4080 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6
4081 if test $ac_cv_type_unsigned_long_long_int = yes; then
4083 cat >>confdefs.h
<<\_ACEOF
4084 #define HAVE_UNSIGNED_LONG_LONG_INT 1
4091 echo "$as_me:$LINENO: checking whether the preprocessor supports include_next" >&5
4092 echo $ECHO_N "checking whether the preprocessor supports include_next... $ECHO_C" >&6
4093 if test "${gl_cv_have_include_next+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 rm -rf conftestd1 conftestd2
4097 mkdir conftestd1 conftestd2
4098 cat <<EOF > conftestd1/conftest.h
4099 #define DEFINED_IN_CONFTESTD1
4100 #include_next <conftest.h>
4101 #ifdef DEFINED_IN_CONFTESTD2
4104 #error "include_next doesn't work"
4107 cat <<EOF > conftestd2/conftest.h
4108 #ifndef DEFINED_IN_CONFTESTD1
4109 #error "include_next test doesn't work"
4111 #define DEFINED_IN_CONFTESTD2
4113 save_CPPFLAGS
="$CPPFLAGS"
4114 CPPFLAGS
="$CPPFLAGS -Iconftestd1 -Iconftestd2"
4115 cat >conftest.
$ac_ext <<_ACEOF
4116 #include <conftest.h>
4118 rm -f conftest.
$ac_objext
4119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4120 (eval $ac_compile) 2>conftest.er1
4122 grep -v '^ *+' conftest.er1
>conftest.err
4124 cat conftest.err
>&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } &&
4127 { ac_try
='test -z "$ac_c_werror_flag"
4128 || test ! -s conftest.err'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; } &&
4134 { ac_try
='test -s conftest.$ac_objext'
4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; }; then
4140 gl_cv_have_include_next
=yes
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.
$ac_ext >&5
4145 gl_cv_have_include_next
=no
4147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4148 CPPFLAGS
="$save_CPPFLAGS"
4149 rm -rf conftestd1 conftestd2
4152 echo "$as_me:$LINENO: result: $gl_cv_have_include_next" >&5
4153 echo "${ECHO_T}$gl_cv_have_include_next" >&6
4154 if test $gl_cv_have_include_next = yes; then
4157 cat >>confdefs.h
<<\_ACEOF
4158 #define HAVE_INCLUDE_NEXT 1
4162 INCLUDE_NEXT
=include_next
4164 INCLUDE_NEXT
=include
4173 for ac_header
in $gl_header_list
4175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4177 echo "$as_me:$LINENO: checking for $ac_header" >&5
4178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4185 # Is the header compilable?
4186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4188 cat >conftest.
$ac_ext <<_ACEOF
4191 cat confdefs.h
>>conftest.
$ac_ext
4192 cat >>conftest.
$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4194 $ac_includes_default
4195 #include <$ac_header>
4197 rm -f conftest.
$ac_objext
4198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4199 (eval $ac_compile) 2>conftest.er1
4201 grep -v '^ *+' conftest.er1
>conftest.err
4203 cat conftest.err
>&5
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205 (exit $ac_status); } &&
4206 { ac_try
='test -z "$ac_c_werror_flag"
4207 || test ! -s conftest.err'
4208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); }; } &&
4213 { ac_try
='test -s conftest.$ac_objext'
4214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); }; }; then
4219 ac_header_compiler
=yes
4221 echo "$as_me: failed program was:" >&5
4222 sed 's/^/| /' conftest.
$ac_ext >&5
4224 ac_header_compiler
=no
4226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4228 echo "${ECHO_T}$ac_header_compiler" >&6
4230 # Is the header present?
4231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4233 cat >conftest.
$ac_ext <<_ACEOF
4236 cat confdefs.h
>>conftest.
$ac_ext
4237 cat >>conftest.
$ac_ext <<_ACEOF
4238 /* end confdefs.h. */
4239 #include <$ac_header>
4241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4244 grep -v '^ *+' conftest.er1
>conftest.err
4246 cat conftest.err
>&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); } >/dev
/null
; then
4249 if test -s conftest.err
; then
4250 ac_cpp_err
=$ac_c_preproc_warn_flag
4251 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4258 if test -z "$ac_cpp_err"; then
4259 ac_header_preproc
=yes
4261 echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.
$ac_ext >&5
4264 ac_header_preproc
=no
4266 rm -f conftest.err conftest.
$ac_ext
4267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4268 echo "${ECHO_T}$ac_header_preproc" >&6
4270 # So? What about this header?
4271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4277 ac_header_preproc
=yes
4280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4294 ## ------------------------------------------ ##
4295 ## Report this to the AC_PACKAGE_NAME lists. ##
4296 ## ------------------------------------------ ##
4299 sed "s/^/$as_me: WARNING: /" >&2
4302 echo "$as_me:$LINENO: checking for $ac_header" >&5
4303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 eval "$as_ac_Header=\$ac_header_preproc"
4309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4314 cat >>confdefs.h
<<_ACEOF
4315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4333 echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
4334 echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6
4335 if test "${ac_cv_c_restrict+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 # The order here caters to the fact that C++ does not require restrict.
4340 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
4341 cat >conftest.
$ac_ext <<_ACEOF
4344 cat confdefs.h
>>conftest.
$ac_ext
4345 cat >>conftest.
$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4347 typedef int * int_ptr;
4348 int foo (int_ptr $ac_kw ip) {
4362 rm -f conftest.
$ac_objext
4363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4364 (eval $ac_compile) 2>conftest.er1
4366 grep -v '^ *+' conftest.er1
>conftest.err
4368 cat conftest.err
>&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } &&
4371 { ac_try
='test -z "$ac_c_werror_flag"
4372 || test ! -s conftest.err'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; } &&
4378 { ac_try
='test -s conftest.$ac_objext'
4379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; }; then
4384 ac_cv_c_restrict
=$ac_kw
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.
$ac_ext >&5
4390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4391 test "$ac_cv_c_restrict" != no
&& break
4395 echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
4396 echo "${ECHO_T}$ac_cv_c_restrict" >&6
4399 case $ac_cv_c_restrict in
4401 no
) cat >>confdefs.h
<<\_ACEOF
4405 *) cat >>confdefs.h
<<_ACEOF
4406 #define restrict $ac_cv_c_restrict
4431 if test $gl_cv_have_include_next = yes; then
4432 gl_cv_next_string_h
='<'string.h
'>'
4434 echo "$as_me:$LINENO: checking absolute name of <string.h>" >&5
4435 echo $ECHO_N "checking absolute name of <string.h>... $ECHO_C" >&6
4436 if test "${gl_cv_next_string_h+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4440 if test $ac_cv_header_string_h = yes; then
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4450 gl_cv_next_string_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4451 sed -n '\#/string.h#{
4452 s#.*"\(.*/string.h\)".*#\1#
4458 gl_cv_next_string_h
='<'string.h
'>'
4462 echo "$as_me:$LINENO: result: $gl_cv_next_string_h" >&5
4463 echo "${ECHO_T}$gl_cv_next_string_h" >&6
4465 NEXT_STRING_H
=$gl_cv_next_string_h
4472 HAVE_DECL_WCWIDTH
=1;
4481 GL_COND_LIBTOOL_TRUE
=
4482 GL_COND_LIBTOOL_FALSE
='#'
4484 GL_COND_LIBTOOL_TRUE
='#'
4485 GL_COND_LIBTOOL_FALSE
=
4488 gl_cond_libtool
=false
4494 gl_source_base
='gnulib'
4504 for ac_func
in memchr
4506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4507 echo "$as_me:$LINENO: checking for $ac_func" >&5
4508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4509 if eval "test \"\${$as_ac_var+set}\" = set"; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 cat >conftest.
$ac_ext <<_ACEOF
4515 cat confdefs.h
>>conftest.
$ac_ext
4516 cat >>conftest.
$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4520 #define $ac_func innocuous_$ac_func
4522 /* System header to define __stub macros and hopefully few prototypes,
4523 which can conflict with char $ac_func (); below.
4524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4525 <limits.h> exists even on freestanding compilers. */
4528 # include <limits.h>
4530 # include <assert.h>
4535 /* Override any gcc2 internal prototype to avoid an error. */
4540 /* We use char because int might match the return type of a gcc2
4541 builtin and then its argument prototype would still apply. */
4543 /* The GNU C library defines this for functions which it implements
4544 to always fail with ENOSYS. Some functions are actually named
4545 something starting with __ and the normal name is an alias. */
4546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4549 char (*f) () = $ac_func;
4558 return f != $ac_func;
4563 rm -f conftest.
$ac_objext conftest
$ac_exeext
4564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4565 (eval $ac_link) 2>conftest.er1
4567 grep -v '^ *+' conftest.er1
>conftest.err
4569 cat conftest.err
>&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } &&
4572 { ac_try
='test -z "$ac_c_werror_flag"
4573 || test ! -s conftest.err'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; } &&
4579 { ac_try
='test -s conftest$ac_exeext'
4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; }; then
4585 eval "$as_ac_var=yes"
4587 echo "$as_me: failed program was:" >&5
4588 sed 's/^/| /' conftest.
$ac_ext >&5
4590 eval "$as_ac_var=no"
4592 rm -f conftest.err conftest.
$ac_objext \
4593 conftest
$ac_exeext conftest.
$ac_ext
4595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4597 if test `eval echo '${'$as_ac_var'}'` = yes; then
4598 cat >>confdefs.h
<<_ACEOF
4599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4604 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
4610 if test $ac_cv_func_memchr = no
; then
4613 for ac_header
in bp-sym.h
4615 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4617 echo "$as_me:$LINENO: checking for $ac_header" >&5
4618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4625 # Is the header compilable?
4626 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4627 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4628 cat >conftest.
$ac_ext <<_ACEOF
4631 cat confdefs.h
>>conftest.
$ac_ext
4632 cat >>conftest.
$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4634 $ac_includes_default
4635 #include <$ac_header>
4637 rm -f conftest.
$ac_objext
4638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4639 (eval $ac_compile) 2>conftest.er1
4641 grep -v '^ *+' conftest.er1
>conftest.err
4643 cat conftest.err
>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } &&
4646 { ac_try
='test -z "$ac_c_werror_flag"
4647 || test ! -s conftest.err'
4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }; } &&
4653 { ac_try
='test -s conftest.$ac_objext'
4654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; }; then
4659 ac_header_compiler
=yes
4661 echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.
$ac_ext >&5
4664 ac_header_compiler
=no
4666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4668 echo "${ECHO_T}$ac_header_compiler" >&6
4670 # Is the header present?
4671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4673 cat >conftest.
$ac_ext <<_ACEOF
4676 cat confdefs.h
>>conftest.
$ac_ext
4677 cat >>conftest.
$ac_ext <<_ACEOF
4678 /* end confdefs.h. */
4679 #include <$ac_header>
4681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4684 grep -v '^ *+' conftest.er1
>conftest.err
4686 cat conftest.err
>&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); } >/dev
/null
; then
4689 if test -s conftest.err
; then
4690 ac_cpp_err
=$ac_c_preproc_warn_flag
4691 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4698 if test -z "$ac_cpp_err"; then
4699 ac_header_preproc
=yes
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.
$ac_ext >&5
4704 ac_header_preproc
=no
4706 rm -f conftest.err conftest.
$ac_ext
4707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4708 echo "${ECHO_T}$ac_header_preproc" >&6
4710 # So? What about this header?
4711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4717 ac_header_preproc
=yes
4720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4724 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4725 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4726 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4727 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4730 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4731 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4734 ## ------------------------------------------ ##
4735 ## Report this to the AC_PACKAGE_NAME lists. ##
4736 ## ------------------------------------------ ##
4739 sed "s/^/$as_me: WARNING: /" >&2
4742 echo "$as_me:$LINENO: checking for $ac_header" >&5
4743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 eval "$as_ac_Header=\$ac_header_preproc"
4749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4754 cat >>confdefs.h
<<_ACEOF
4755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4766 echo "$as_me:$LINENO: checking for working memcmp" >&5
4767 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4768 if test "${ac_cv_func_memcmp_working+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 if test "$cross_compiling" = yes; then
4772 ac_cv_func_memcmp_working
=no
4774 cat >conftest.
$ac_ext <<_ACEOF
4777 cat confdefs.h
>>conftest.
$ac_ext
4778 cat >>conftest.
$ac_ext <<_ACEOF
4779 /* end confdefs.h. */
4780 $ac_includes_default
4785 /* Some versions of memcmp are not 8-bit clean. */
4786 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4787 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4790 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4791 or more and with at least one buffer not starting on a 4-byte boundary.
4792 William Lewis provided this test program. */
4797 for (i = 0; i < 4; i++)
4801 strcpy (a, "--------01111111");
4802 strcpy (b, "--------10000000");
4803 if (memcmp (a, b, 16) >= 0)
4813 rm -f conftest
$ac_exeext
4814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4815 (eval $ac_link) 2>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4824 ac_cv_func_memcmp_working
=yes
4826 echo "$as_me: program exited with status $ac_status" >&5
4827 echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.
$ac_ext >&5
4831 ac_cv_func_memcmp_working
=no
4833 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4836 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4837 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4838 test $ac_cv_func_memcmp_working = no
&&
4845 gl_LIBOBJS
="$gl_LIBOBJS memcmp.$ac_objext"
4848 if test $ac_cv_func_memcmp_working = no
; then
4850 cat >>confdefs.h
<<\_ACEOF
4851 #define memcmp rpl_memcmp
4859 if test $ac_cv_have_decl_memmem = yes; then
4860 echo "$as_me:$LINENO: checking whether memmem works in linear time" >&5
4861 echo $ECHO_N "checking whether memmem works in linear time... $ECHO_C" >&6
4862 if test "${gl_cv_func_memmem_works+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 if test "$cross_compiling" = yes; then
4866 gl_cv_func_memmem_works
="guessing no"
4868 cat >conftest.
$ac_ext <<_ACEOF
4871 cat confdefs.h
>>conftest.
$ac_ext
4872 cat >>conftest.
$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4875 #include <string.h> /* for memmem */
4876 #include <stdlib.h> /* for malloc */
4877 #include <unistd.h> /* for alarm */
4883 char *haystack = (char *) malloc (2 * m + 1);
4884 char *needle = (char *) malloc (m + 1);
4886 /* Failure to compile this test due to missing alarm is okay,
4887 since all such platforms (mingw) also lack memmem. */
4889 /* Check for quadratic performance. */
4890 if (haystack && needle)
4892 memset (haystack, 'A', 2 * m);
4893 haystack[2 * m] = 'B';
4894 memset (needle, 'A', m);
4896 result = memmem (haystack, 2 * m + 1, needle, m + 1);
4898 /* Check for empty needle behavior. */
4899 return !result || !memmem ("a", 1, 0, 0);
4904 rm -f conftest
$ac_exeext
4905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4906 (eval $ac_link) 2>&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; }; then
4915 gl_cv_func_memmem_works
=yes
4917 echo "$as_me: program exited with status $ac_status" >&5
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.
$ac_ext >&5
4922 gl_cv_func_memmem_works
=no
4924 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4927 echo "$as_me:$LINENO: result: $gl_cv_func_memmem_works" >&5
4928 echo "${ECHO_T}$gl_cv_func_memmem_works" >&6
4929 if test "$gl_cv_func_memmem_works" != yes; then
4938 gl_LIBOBJS
="$gl_LIBOBJS memmem.$ac_objext"
4955 for ac_func
in memmem
4957 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4958 echo "$as_me:$LINENO: checking for $ac_func" >&5
4959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4960 if eval "test \"\${$as_ac_var+set}\" = set"; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 cat >conftest.
$ac_ext <<_ACEOF
4966 cat confdefs.h
>>conftest.
$ac_ext
4967 cat >>conftest.
$ac_ext <<_ACEOF
4968 /* end confdefs.h. */
4969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4971 #define $ac_func innocuous_$ac_func
4973 /* System header to define __stub macros and hopefully few prototypes,
4974 which can conflict with char $ac_func (); below.
4975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4976 <limits.h> exists even on freestanding compilers. */
4979 # include <limits.h>
4981 # include <assert.h>
4986 /* Override any gcc2 internal prototype to avoid an error. */
4991 /* We use char because int might match the return type of a gcc2
4992 builtin and then its argument prototype would still apply. */
4994 /* The GNU C library defines this for functions which it implements
4995 to always fail with ENOSYS. Some functions are actually named
4996 something starting with __ and the normal name is an alias. */
4997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5000 char (*f) () = $ac_func;
5009 return f != $ac_func;
5014 rm -f conftest.
$ac_objext conftest
$ac_exeext
5015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5016 (eval $ac_link) 2>conftest.er1
5018 grep -v '^ *+' conftest.er1
>conftest.err
5020 cat conftest.err
>&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } &&
5023 { ac_try
='test -z "$ac_c_werror_flag"
5024 || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; } &&
5030 { ac_try
='test -s conftest$ac_exeext'
5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; }; then
5036 eval "$as_ac_var=yes"
5038 echo "$as_me: failed program was:" >&5
5039 sed 's/^/| /' conftest.
$ac_ext >&5
5041 eval "$as_ac_var=no"
5043 rm -f conftest.err conftest.
$ac_objext \
5044 conftest
$ac_exeext conftest.
$ac_ext
5046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5048 if test `eval echo '${'$as_ac_var'}'` = yes; then
5049 cat >>confdefs.h
<<_ACEOF
5050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5055 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
5068 if test $ac_cv_have_decl_memmem = no
; then
5080 if test $ac_cv_type_long_long_int = yes; then
5081 HAVE_LONG_LONG_INT
=1
5083 HAVE_LONG_LONG_INT
=0
5087 if test $ac_cv_type_unsigned_long_long_int = yes; then
5088 HAVE_UNSIGNED_LONG_LONG_INT
=1
5090 HAVE_UNSIGNED_LONG_LONG_INT
=0
5094 if test $ac_cv_header_inttypes_h = yes; then
5101 if test $ac_cv_header_sys_types_h = yes; then
5119 if test $gl_cv_have_include_next = yes; then
5120 gl_cv_next_stdint_h
='<'stdint.h
'>'
5122 echo "$as_me:$LINENO: checking absolute name of <stdint.h>" >&5
5123 echo $ECHO_N "checking absolute name of <stdint.h>... $ECHO_C" >&6
5124 if test "${gl_cv_next_stdint_h+set}" = set; then
5125 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 if test $ac_cv_header_stdint_h = yes; then
5129 cat >conftest.
$ac_ext <<_ACEOF
5132 cat confdefs.h
>>conftest.
$ac_ext
5133 cat >>conftest.
$ac_ext <<_ACEOF
5134 /* end confdefs.h. */
5138 gl_cv_next_stdint_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5139 sed -n '\#/stdint.h#{
5140 s#.*"\(.*/stdint.h\)".*#\1#
5146 gl_cv_next_stdint_h
='<'stdint.h
'>'
5150 echo "$as_me:$LINENO: result: $gl_cv_next_stdint_h" >&5
5151 echo "${ECHO_T}$gl_cv_next_stdint_h" >&6
5153 NEXT_STDINT_H
=$gl_cv_next_stdint_h
5157 if test $ac_cv_header_stdint_h = yes; then
5164 if test $ac_cv_header_stdint_h = yes; then
5165 echo "$as_me:$LINENO: checking whether stdint.h conforms to C99" >&5
5166 echo $ECHO_N "checking whether stdint.h conforms to C99... $ECHO_C" >&6
5167 if test "${gl_cv_header_working_stdint_h+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 gl_cv_header_working_stdint_h
=no
5171 cat >conftest.
$ac_ext <<_ACEOF
5175 cat confdefs.h
>>conftest.
$ac_ext
5176 cat >>conftest.
$ac_ext <<_ACEOF
5177 /* end confdefs.h. */
5179 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
5180 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
5181 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
5183 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
5184 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
5185 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
5189 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5190 included before <wchar.h>. */
5201 int8_t a1 = INT8_MAX;
5202 int8_t a1min = INT8_MIN;
5205 int16_t a2 = INT16_MAX;
5206 int16_t a2min = INT16_MIN;
5209 int32_t a3 = INT32_MAX;
5210 int32_t a3min = INT32_MIN;
5213 int64_t a4 = INT64_MAX;
5214 int64_t a4min = INT64_MIN;
5217 uint8_t b1 = UINT8_MAX;
5219 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
5222 uint16_t b2 = UINT16_MAX;
5225 uint32_t b3 = UINT32_MAX;
5228 uint64_t b4 = UINT64_MAX;
5230 int_least8_t c1 = INT8_C (0x7f);
5231 int_least8_t c1max = INT_LEAST8_MAX;
5232 int_least8_t c1min = INT_LEAST8_MIN;
5233 int_least16_t c2 = INT16_C (0x7fff);
5234 int_least16_t c2max = INT_LEAST16_MAX;
5235 int_least16_t c2min = INT_LEAST16_MIN;
5236 int_least32_t c3 = INT32_C (0x7fffffff);
5237 int_least32_t c3max = INT_LEAST32_MAX;
5238 int_least32_t c3min = INT_LEAST32_MIN;
5239 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
5240 int_least64_t c4max = INT_LEAST64_MAX;
5241 int_least64_t c4min = INT_LEAST64_MIN;
5242 uint_least8_t d1 = UINT8_C (0xff);
5243 uint_least8_t d1max = UINT_LEAST8_MAX;
5244 uint_least16_t d2 = UINT16_C (0xffff);
5245 uint_least16_t d2max = UINT_LEAST16_MAX;
5246 uint_least32_t d3 = UINT32_C (0xffffffff);
5247 uint_least32_t d3max = UINT_LEAST32_MAX;
5248 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
5249 uint_least64_t d4max = UINT_LEAST64_MAX;
5250 int_fast8_t e1 = INT_FAST8_MAX;
5251 int_fast8_t e1min = INT_FAST8_MIN;
5252 int_fast16_t e2 = INT_FAST16_MAX;
5253 int_fast16_t e2min = INT_FAST16_MIN;
5254 int_fast32_t e3 = INT_FAST32_MAX;
5255 int_fast32_t e3min = INT_FAST32_MIN;
5256 int_fast64_t e4 = INT_FAST64_MAX;
5257 int_fast64_t e4min = INT_FAST64_MIN;
5258 uint_fast8_t f1 = UINT_FAST8_MAX;
5259 uint_fast16_t f2 = UINT_FAST16_MAX;
5260 uint_fast32_t f3 = UINT_FAST32_MAX;
5261 uint_fast64_t f4 = UINT_FAST64_MAX;
5263 intptr_t g = INTPTR_MAX;
5264 intptr_t gmin = INTPTR_MIN;
5267 uintptr_t h = UINTPTR_MAX;
5269 intmax_t i = INTMAX_MAX;
5270 uintmax_t j = UINTMAX_MAX;
5272 #include <limits.h> /* for CHAR_BIT */
5273 #define TYPE_MINIMUM(t) \
5274 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
5275 #define TYPE_MAXIMUM(t) \
5276 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
5279 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
5280 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
5282 /* Detect bug in FreeBSD 6.0 / ia64. */
5283 int check_SIG_ATOMIC:
5284 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
5285 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
5287 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
5289 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
5290 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
5292 /* Detect bug in mingw. */
5294 WINT_MIN == TYPE_MINIMUM (wint_t)
5295 && WINT_MAX == TYPE_MAXIMUM (wint_t)
5298 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
5300 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
5302 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
5304 /* Detect bugs in OpenBSD 3.9 stdint.h. */
5306 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
5309 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
5312 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
5315 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
5317 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
5318 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
5319 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
5320 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
5321 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
5322 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
5323 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
5324 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
5325 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
5326 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
5327 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
5338 rm -f conftest.
$ac_objext
5339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5340 (eval $ac_compile) 2>conftest.er1
5342 grep -v '^ *+' conftest.er1
>conftest.err
5344 cat conftest.err
>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } &&
5347 { ac_try
='test -z "$ac_c_werror_flag"
5348 || test ! -s conftest.err'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; } &&
5354 { ac_try
='test -s conftest.$ac_objext'
5355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }; }; then
5360 gl_cv_header_working_stdint_h
=yes
5362 echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.
$ac_ext >&5
5366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5368 echo "$as_me:$LINENO: result: $gl_cv_header_working_stdint_h" >&5
5369 echo "${ECHO_T}$gl_cv_header_working_stdint_h" >&6
5371 if test "$gl_cv_header_working_stdint_h" = yes; then
5376 for ac_header
in sys
/inttypes.h sys
/bitypes.h
5378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5380 echo "$as_me:$LINENO: checking for $ac_header" >&5
5381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5383 echo $ECHO_N "(cached) $ECHO_C" >&6
5385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5388 # Is the header compilable?
5389 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5391 cat >conftest.
$ac_ext <<_ACEOF
5394 cat confdefs.h
>>conftest.
$ac_ext
5395 cat >>conftest.
$ac_ext <<_ACEOF
5396 /* end confdefs.h. */
5397 $ac_includes_default
5398 #include <$ac_header>
5400 rm -f conftest.
$ac_objext
5401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5402 (eval $ac_compile) 2>conftest.er1
5404 grep -v '^ *+' conftest.er1
>conftest.err
5406 cat conftest.err
>&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); } &&
5409 { ac_try
='test -z "$ac_c_werror_flag"
5410 || test ! -s conftest.err'
5411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); }; } &&
5416 { ac_try
='test -s conftest.$ac_objext'
5417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); }; }; then
5422 ac_header_compiler
=yes
5424 echo "$as_me: failed program was:" >&5
5425 sed 's/^/| /' conftest.
$ac_ext >&5
5427 ac_header_compiler
=no
5429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5431 echo "${ECHO_T}$ac_header_compiler" >&6
5433 # Is the header present?
5434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5436 cat >conftest.
$ac_ext <<_ACEOF
5439 cat confdefs.h
>>conftest.
$ac_ext
5440 cat >>conftest.
$ac_ext <<_ACEOF
5441 /* end confdefs.h. */
5442 #include <$ac_header>
5444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5447 grep -v '^ *+' conftest.er1
>conftest.err
5449 cat conftest.err
>&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); } >/dev
/null
; then
5452 if test -s conftest.err
; then
5453 ac_cpp_err
=$ac_c_preproc_warn_flag
5454 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5461 if test -z "$ac_cpp_err"; then
5462 ac_header_preproc
=yes
5464 echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.
$ac_ext >&5
5467 ac_header_preproc
=no
5469 rm -f conftest.err conftest.
$ac_ext
5470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5471 echo "${ECHO_T}$ac_header_preproc" >&6
5473 # So? What about this header?
5474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5480 ac_header_preproc
=yes
5483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5497 ## ------------------------------------------ ##
5498 ## Report this to the AC_PACKAGE_NAME lists. ##
5499 ## ------------------------------------------ ##
5502 sed "s/^/$as_me: WARNING: /" >&2
5505 echo "$as_me:$LINENO: checking for $ac_header" >&5
5506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 eval "$as_ac_Header=\$ac_header_preproc"
5512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5517 cat >>confdefs.h
<<_ACEOF
5518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5525 if test $ac_cv_header_sys_inttypes_h = yes; then
5526 HAVE_SYS_INTTYPES_H
=1
5528 HAVE_SYS_INTTYPES_H
=0
5531 if test $ac_cv_header_sys_bitypes_h = yes; then
5532 HAVE_SYS_BITYPES_H
=1
5534 HAVE_SYS_BITYPES_H
=0
5554 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
5555 echo "$as_me:$LINENO: checking for bit size of $gltype" >&5
5556 echo $ECHO_N "checking for bit size of $gltype... $ECHO_C" >&6
5557 if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\" = set"; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5560 if test "$cross_compiling" = yes; then
5561 # Depending upon the size, compute the lo and hi bounds.
5562 cat >conftest.
$ac_ext <<_ACEOF
5565 cat confdefs.h
>>conftest.
$ac_ext
5566 cat >>conftest.
$ac_ext <<_ACEOF
5567 /* end confdefs.h. */
5569 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5570 included before <wchar.h>. */
5583 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= 0)];
5590 rm -f conftest.
$ac_objext
5591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5592 (eval $ac_compile) 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -z "$ac_c_werror_flag"
5600 || test ! -s conftest.err'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try
='test -s conftest.$ac_objext'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5614 cat >conftest.
$ac_ext <<_ACEOF
5617 cat confdefs.h
>>conftest.
$ac_ext
5618 cat >>conftest.
$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5621 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5622 included before <wchar.h>. */
5635 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5642 rm -f conftest.
$ac_objext
5643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5644 (eval $ac_compile) 2>conftest.er1
5646 grep -v '^ *+' conftest.er1
>conftest.err
5648 cat conftest.err
>&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } &&
5651 { ac_try
='test -z "$ac_c_werror_flag"
5652 || test ! -s conftest.err'
5653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 (exit $ac_status); }; } &&
5658 { ac_try
='test -s conftest.$ac_objext'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); }; }; then
5664 ac_hi
=$ac_mid; break
5666 echo "$as_me: failed program was:" >&5
5667 sed 's/^/| /' conftest.
$ac_ext >&5
5669 ac_lo
=`expr $ac_mid + 1`
5670 if test $ac_lo -le $ac_mid; then
5674 ac_mid
=`expr 2 '*' $ac_mid + 1`
5676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5679 echo "$as_me: failed program was:" >&5
5680 sed 's/^/| /' conftest.
$ac_ext >&5
5682 cat >conftest.
$ac_ext <<_ACEOF
5685 cat confdefs.h
>>conftest.
$ac_ext
5686 cat >>conftest.
$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5689 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5690 included before <wchar.h>. */
5703 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) < 0)];
5710 rm -f conftest.
$ac_objext
5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>conftest.er1
5714 grep -v '^ *+' conftest.er1
>conftest.err
5716 cat conftest.err
>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); } &&
5719 { ac_try
='test -z "$ac_c_werror_flag"
5720 || test ! -s conftest.err'
5721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); }; } &&
5726 { ac_try
='test -s conftest.$ac_objext'
5727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; }; then
5734 cat >conftest.
$ac_ext <<_ACEOF
5737 cat confdefs.h
>>conftest.
$ac_ext
5738 cat >>conftest.
$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5741 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5742 included before <wchar.h>. */
5755 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= $ac_mid)];
5762 rm -f conftest.
$ac_objext
5763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5764 (eval $ac_compile) 2>conftest.er1
5766 grep -v '^ *+' conftest.er1
>conftest.err
5768 cat conftest.err
>&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); } &&
5771 { ac_try
='test -z "$ac_c_werror_flag"
5772 || test ! -s conftest.err'
5773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); }; } &&
5778 { ac_try
='test -s conftest.$ac_objext'
5779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); }; }; then
5784 ac_lo
=$ac_mid; break
5786 echo "$as_me: failed program was:" >&5
5787 sed 's/^/| /' conftest.
$ac_ext >&5
5789 ac_hi
=`expr '(' $ac_mid ')' - 1`
5790 if test $ac_mid -le $ac_hi; then
5794 ac_mid
=`expr 2 '*' $ac_mid`
5796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.
$ac_ext >&5
5804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5807 # Binary search between lo and hi bounds.
5808 while test "x$ac_lo" != "x$ac_hi"; do
5809 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5810 cat >conftest.
$ac_ext <<_ACEOF
5813 cat confdefs.h
>>conftest.
$ac_ext
5814 cat >>conftest.
$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5817 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5818 included before <wchar.h>. */
5831 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5838 rm -f conftest.
$ac_objext
5839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5840 (eval $ac_compile) 2>conftest.er1
5842 grep -v '^ *+' conftest.er1
>conftest.err
5844 cat conftest.err
>&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } &&
5847 { ac_try
='test -z "$ac_c_werror_flag"
5848 || test ! -s conftest.err'
5849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); }; } &&
5854 { ac_try
='test -s conftest.$ac_objext'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; }; then
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.
$ac_ext >&5
5865 ac_lo
=`expr '(' $ac_mid ')' + 1`
5867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5871 '') result
=unknown
;;
5874 if test "$cross_compiling" = yes; then
5875 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5876 See \`config.log' for more details." >&5
5877 echo "$as_me: error: cannot run test program while cross compiling
5878 See \`config.log' for more details." >&2;}
5879 { (exit 1); exit 1; }; }
5881 cat >conftest.
$ac_ext <<_ACEOF
5884 cat confdefs.h
>>conftest.
$ac_ext
5885 cat >>conftest.
$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5888 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5889 included before <wchar.h>. */
5899 long longval () { return sizeof ($gltype) * CHAR_BIT; }
5900 unsigned long ulongval () { return sizeof ($gltype) * CHAR_BIT; }
5907 FILE *f = fopen ("conftest.val", "w");
5910 if ((sizeof ($gltype) * CHAR_BIT) < 0)
5912 long i = longval ();
5913 if (i != (sizeof ($gltype) * CHAR_BIT))
5915 fprintf (f, "%ld\n", i);
5919 unsigned long i = ulongval ();
5920 if (i != (sizeof ($gltype) * CHAR_BIT))
5922 fprintf (f, "%lu\n", i);
5924 exit (ferror (f) || fclose (f) != 0);
5930 rm -f conftest
$ac_exeext
5931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5932 (eval $ac_link) 2>&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 result
=`cat conftest.val`
5943 echo "$as_me: program exited with status $ac_status" >&5
5944 echo "$as_me: failed program was:" >&5
5945 sed 's/^/| /' conftest.
$ac_ext >&5
5950 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5954 eval gl_cv_bitsizeof_
${gltype}=\
$result
5957 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&5
5958 echo "${ECHO_T}`eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&6
5959 eval result
=\
$gl_cv_bitsizeof_${gltype}
5960 if test $result = unknown
; then
5963 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5964 cat >>confdefs.h
<<_ACEOF
5965 #define BITSIZEOF_${GLTYPE} $result
5968 eval BITSIZEOF_
${GLTYPE}=\
$result
5977 for gltype
in sig_atomic_t wchar_t wint_t
; do
5978 echo "$as_me:$LINENO: checking whether $gltype is signed" >&5
5979 echo $ECHO_N "checking whether $gltype is signed... $ECHO_C" >&6
5980 if eval "test \"\${gl_cv_type_${gltype}_signed+set}\" = set"; then
5981 echo $ECHO_N "(cached) $ECHO_C" >&6
5983 cat >conftest.
$ac_ext <<_ACEOF
5986 cat confdefs.h
>>conftest.
$ac_ext
5987 cat >>conftest.
$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5990 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5991 included before <wchar.h>. */
6000 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
6009 rm -f conftest.
$ac_objext
6010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6011 (eval $ac_compile) 2>conftest.er1
6013 grep -v '^ *+' conftest.er1
>conftest.err
6015 cat conftest.err
>&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); } &&
6018 { ac_try
='test -z "$ac_c_werror_flag"
6019 || test ! -s conftest.err'
6020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); }; } &&
6025 { ac_try
='test -s conftest.$ac_objext'
6026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); }; }; then
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.
$ac_ext >&5
6038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6039 eval gl_cv_type_
${gltype}_signed
=\
$result
6042 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&5
6043 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&6
6044 eval result
=\
$gl_cv_type_${gltype}_signed
6045 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6046 if test "$result" = yes; then
6047 cat >>confdefs.h
<<_ACEOF
6048 #define HAVE_SIGNED_${GLTYPE} 1
6051 eval HAVE_SIGNED_
${GLTYPE}=1
6053 eval HAVE_SIGNED_
${GLTYPE}=0
6058 gl_cv_type_ptrdiff_t_signed
=yes
6059 gl_cv_type_size_t_signed
=no
6067 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
6068 echo "$as_me:$LINENO: checking for $gltype integer literal suffix" >&5
6069 echo $ECHO_N "checking for $gltype integer literal suffix... $ECHO_C" >&6
6070 if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\" = set"; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 eval gl_cv_type_
${gltype}_suffix
=no
6074 eval result
=\
$gl_cv_type_${gltype}_signed
6075 if test "$result" = yes; then
6080 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
6083 l
) gltype1
='long int';;
6084 ll
) gltype1
='long long int';;
6085 i64
) gltype1
='__int64';;
6086 u
) gltype1
='unsigned int';;
6087 ul
) gltype1
='unsigned long int';;
6088 ull
) gltype1
='unsigned long long int';;
6089 ui64
)gltype1
='unsigned __int64';;
6091 cat >conftest.
$ac_ext <<_ACEOF
6094 cat confdefs.h
>>conftest.
$ac_ext
6095 cat >>conftest.
$ac_ext <<_ACEOF
6096 /* end confdefs.h. */
6098 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6099 included before <wchar.h>. */
6109 extern $gltype1 foo;
6118 rm -f conftest.
$ac_objext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6120 (eval $ac_compile) 2>conftest.er1
6122 grep -v '^ *+' conftest.er1
>conftest.err
6124 cat conftest.err
>&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } &&
6127 { ac_try
='test -z "$ac_c_werror_flag"
6128 || test ! -s conftest.err'
6129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); }; } &&
6134 { ac_try
='test -s conftest.$ac_objext'
6135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); }; }; then
6140 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
6142 echo "$as_me: failed program was:" >&5
6143 sed 's/^/| /' conftest.
$ac_ext >&5
6146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6147 eval result
=\
$gl_cv_type_${gltype}_suffix
6148 test "$result" != no
&& break
6151 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&5
6152 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&6
6153 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6154 eval result
=\
$gl_cv_type_${gltype}_suffix
6155 test "$result" = no
&& result
=
6156 eval ${GLTYPE}_SUFFIX
=\
$result
6157 cat >>confdefs.h
<<_ACEOF
6158 #define ${GLTYPE}_SUFFIX $result
6174 echo "$as_me:$LINENO: checking whether <wchar.h> is standalone" >&5
6175 echo $ECHO_N "checking whether <wchar.h> is standalone... $ECHO_C" >&6
6176 if test "${gl_cv_header_wchar_h_standalone+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6179 cat >conftest.
$ac_ext <<_ACEOF
6183 rm -f conftest.
$ac_objext
6184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6185 (eval $ac_compile) 2>conftest.er1
6187 grep -v '^ *+' conftest.er1
>conftest.err
6189 cat conftest.err
>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } &&
6192 { ac_try
='test -z "$ac_c_werror_flag"
6193 || test ! -s conftest.err'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; } &&
6199 { ac_try
='test -s conftest.$ac_objext'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; }; then
6205 gl_cv_header_wchar_h_standalone
=yes
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.
$ac_ext >&5
6210 gl_cv_header_wchar_h_standalone
=no
6212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6214 echo "$as_me:$LINENO: result: $gl_cv_header_wchar_h_standalone" >&5
6215 echo "${ECHO_T}$gl_cv_header_wchar_h_standalone" >&6
6216 if test $gl_cv_header_wchar_h_standalone != yes; then
6227 if test $ac_cv_header_wchar_h = yes; then
6244 if test $gl_cv_have_include_next = yes; then
6245 gl_cv_next_wchar_h
='<'wchar.h
'>'
6247 echo "$as_me:$LINENO: checking absolute name of <wchar.h>" >&5
6248 echo $ECHO_N "checking absolute name of <wchar.h>... $ECHO_C" >&6
6249 if test "${gl_cv_next_wchar_h+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 if test $ac_cv_header_wchar_h = yes; then
6254 cat >conftest.
$ac_ext <<_ACEOF
6257 cat confdefs.h
>>conftest.
$ac_ext
6258 cat >>conftest.
$ac_ext <<_ACEOF
6259 /* end confdefs.h. */
6263 gl_cv_next_wchar_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6264 sed -n '\#/wchar.h#{
6265 s#.*"\(.*/wchar.h\)".*#\1#
6271 gl_cv_next_wchar_h
='<'wchar.h
'>'
6275 echo "$as_me:$LINENO: result: $gl_cv_next_wchar_h" >&5
6276 echo "${ECHO_T}$gl_cv_next_wchar_h" >&6
6278 NEXT_WCHAR_H
=$gl_cv_next_wchar_h
6292 gl_source_base
='tests'
6297 LIBGNU_LIBDEPS
="$gl_libdeps"
6299 LIBGNU_LTLIBDEPS
="$gl_ltlibdeps"
6305 cat >>confdefs.h
<<_ACEOF
6306 #define PACKAGE "$PACKAGE"
6311 # GDB does not use automake, but gnulib does. This line lets us
6312 # generate its Makefile.in.
6313 am__api_version
="1.9"
6314 # Find a good install program. We prefer a C program (faster),
6315 # so one script is as good as another. But avoid the broken or
6316 # incompatible versions:
6317 # SysV /etc/install, /usr/sbin/install
6318 # SunOS /usr/etc/install
6319 # IRIX /sbin/install
6321 # AmigaOS /C/install, which installs bootblocks on floppy discs
6322 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6323 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6324 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6325 # OS/2's system install, which has a completely different semantic
6326 # ./install, which can be erroneously created by make from ./install.sh.
6327 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6328 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6329 if test -z "$INSTALL"; then
6330 if test "${ac_cv_path_install+set}" = set; then
6331 echo $ECHO_N "(cached) $ECHO_C" >&6
6333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6337 test -z "$as_dir" && as_dir
=.
6338 # Account for people who put trailing slashes in PATH elements.
6340 .
/ | .
// |
/cC
/* | \
6341 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6342 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6345 # OSF1 and SCO ODT 3.0 have their own names for install.
6346 # Don't use installbsd from OSF since it installs stuff as root
6348 for ac_prog
in ginstall scoinst
install; do
6349 for ac_exec_ext
in '' $ac_executable_extensions; do
6350 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6351 if test $ac_prog = install &&
6352 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6353 # AIX install. It has an incompatible calling convention.
6355 elif test $ac_prog = install &&
6356 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6357 # program-specific install script used by HP pwplus--don't use.
6360 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6372 if test "${ac_cv_path_install+set}" = set; then
6373 INSTALL
=$ac_cv_path_install
6375 # As a last resort, use the slow shell script. We don't cache a
6376 # path for INSTALL within a source directory, because that will
6377 # break other packages using the cache if that directory is
6378 # removed, or if the path is relative.
6379 INSTALL
=$ac_install_sh
6382 echo "$as_me:$LINENO: result: $INSTALL" >&5
6383 echo "${ECHO_T}$INSTALL" >&6
6385 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6386 # It thinks the first close brace ends the variable substitution.
6387 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6389 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6391 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6393 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
6394 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
6397 echo timestamp
> conftest.
file
6398 # Do `set' in a subshell so we don't clobber the current shell's
6399 # arguments. Must try -L first in case configure is actually a
6400 # symlink; some systems play weird games with the mod time of symlinks
6401 # (eg FreeBSD returns the mod time of the symlink's containing
6404 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6405 if test "$*" = "X"; then
6407 set X
`ls -t $srcdir/configure conftest.file`
6410 if test "$*" != "X $srcdir/configure conftest.file" \
6411 && test "$*" != "X conftest.file $srcdir/configure"; then
6413 # If neither matched, then we have a broken ls. This can happen
6414 # if, for instance, CONFIG_SHELL is bash and it inherits a
6415 # broken ls alias from the environment. This has actually
6416 # happened. Such a system could not be considered "sane".
6417 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
6418 alias in your environment" >&5
6419 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
6420 alias in your environment" >&2;}
6421 { (exit 1); exit 1; }; }
6424 test "$2" = conftest.
file
6430 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
6431 Check your system clock" >&5
6432 echo "$as_me: error: newly created file is older than distributed files!
6433 Check your system clock" >&2;}
6434 { (exit 1); exit 1; }; }
6436 echo "$as_me:$LINENO: result: yes" >&5
6437 echo "${ECHO_T}yes" >&6
6438 test "$program_prefix" != NONE
&&
6439 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
6440 # Use a double $ so make ignores it.
6441 test "$program_suffix" != NONE
&&
6442 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
6443 # Double any \ or $. echo might interpret backslashes.
6444 # By default was `s,x,x', remove it if useless.
6445 cat <<\_ACEOF
>conftest.
sed
6446 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
6448 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
6451 # expand $ac_aux_dir to an absolute path
6452 am_aux_dir
=`cd $ac_aux_dir && pwd`
6454 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
6455 # Use eval to expand $SHELL
6456 if eval "$MISSING --run true"; then
6457 am_missing_run
="$MISSING --run "
6460 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
6461 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
6464 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
6465 # We used to keeping the `.' as first argument, in order to
6466 # allow $(mkdir_p) to be used without argument. As in
6467 # $(mkdir_p) $(somedir)
6468 # where $(somedir) is conditionally defined. However this is wrong
6470 # 1. if the package is installed by a user who cannot write `.'
6471 # make install will fail,
6472 # 2. the above comment should most certainly read
6473 # $(mkdir_p) $(DESTDIR)$(somedir)
6474 # so it does not work when $(somedir) is undefined and
6475 # $(DESTDIR) is not.
6476 # To support the latter case, we have to write
6477 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
6478 # so the `.' trick is pointless.
6479 mkdir_p
='mkdir -p --'
6481 # On NextStep and OpenStep, the `mkdir' command does not
6482 # recognize any option. It will interpret all options as
6483 # directories to create, and then abort because `.' already
6485 for d
in .
/-p .
/--version;
6487 test -d $d && rmdir $d
6489 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6490 if test -f "$ac_aux_dir/mkinstalldirs"; then
6491 mkdir_p
='$(mkinstalldirs)'
6493 mkdir_p
='$(install_sh) -d'
6497 for ac_prog
in gawk mawk nawk
awk
6499 # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy
$ac_prog; ac_word
=$2
6501 echo "$as_me:$LINENO: checking for $ac_word" >&5
6502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6503 if test "${ac_cv_prog_AWK+set}" = set; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6506 if test -n "$AWK"; then
6507 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir
=.
6514 for ac_exec_ext
in '' $ac_executable_extensions; do
6515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6516 ac_cv_prog_AWK
="$ac_prog"
6517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 if test -n "$AWK"; then
6527 echo "$as_me:$LINENO: result: $AWK" >&5
6528 echo "${ECHO_T}$AWK" >&6
6530 echo "$as_me:$LINENO: result: no" >&5
6531 echo "${ECHO_T}no" >&6
6534 test -n "$AWK" && break
6537 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6538 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6539 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
6540 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 cat >conftest.
make <<\_ACEOF
6545 @
echo 'ac_maketemp="$(MAKE)"'
6547 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6548 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6549 if test -n "$ac_maketemp"; then
6550 eval ac_cv_prog_make_
${ac_make}_set
=yes
6552 eval ac_cv_prog_make_
${ac_make}_set
=no
6556 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6561 echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6
6563 SET_MAKE
="MAKE=${MAKE-make}"
6566 rm -rf .tst
2>/dev
/null
6567 mkdir .tst
2>/dev
/null
6568 if test -d .tst
; then
6573 rmdir .tst
2>/dev
/null
6575 DEPDIR
="${am__leading_dot}deps"
6577 ac_config_commands
="$ac_config_commands depfiles"
6580 am_make
=${MAKE-make}
6581 cat > confinc
<< 'END'
6586 # If we don't find an include directive, just comment out the code.
6587 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6588 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
6592 # First try GNU make style include.
6593 echo "include confinc" > confmf
6594 # We grep out `Entering directory' and `Leaving directory'
6595 # messages which can occur if `w' ends up in MAKEFLAGS.
6596 # In particular we don't look at `^make:' because GNU make might
6597 # be invoked under some other name (usually "gmake"), in which
6598 # case it prints its new name instead of `make'.
6599 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6604 # Now try BSD make style include.
6605 if test "$am__include" = "#"; then
6606 echo '.include "confinc"' > confmf
6607 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6608 am__include
=.include
6615 echo "$as_me:$LINENO: result: $_am_result" >&5
6616 echo "${ECHO_T}$_am_result" >&6
6617 rm -f confinc confmf
6619 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
6620 if test "${enable_dependency_tracking+set}" = set; then
6621 enableval
="$enable_dependency_tracking"
6624 if test "x$enable_dependency_tracking" != xno
; then
6625 am_depcomp
="$ac_aux_dir/depcomp"
6630 if test "x$enable_dependency_tracking" != xno; then
6640 # test to see if srcdir already configured
6641 if test "`cd $srcdir && pwd`" != "`pwd`" &&
6642 test -f $srcdir/config.status
; then
6643 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
6644 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
6645 { (exit 1); exit 1; }; }
6648 # test whether we have cygpath
6649 if test -z "$CYGPATH_W"; then
6650 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
6651 CYGPATH_W
='cygpath -w'
6658 # Define the identity of the package.
6660 VERSION
=UNUSED-VERSION
6663 # Some tools Automake needs.
6665 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6668 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6671 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6674 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6677 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6679 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
6681 # Installed binaries are usually stripped using `strip' when the user
6682 # run `make install-strip'. However `strip' might not be the right
6683 # tool to use in cross-compilation environments, therefore Automake
6684 # will honor the `STRIP' environment variable to overrule this program.
6685 if test "$cross_compiling" != no
; then
6686 if test -n "$ac_tool_prefix"; then
6687 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6688 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6689 echo "$as_me:$LINENO: checking for $ac_word" >&5
6690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6691 if test "${ac_cv_prog_STRIP+set}" = set; then
6692 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 if test -n "$STRIP"; then
6695 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6701 test -z "$as_dir" && as_dir
=.
6702 for ac_exec_ext
in '' $ac_executable_extensions; do
6703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6713 STRIP
=$ac_cv_prog_STRIP
6714 if test -n "$STRIP"; then
6715 echo "$as_me:$LINENO: result: $STRIP" >&5
6716 echo "${ECHO_T}$STRIP" >&6
6718 echo "$as_me:$LINENO: result: no" >&5
6719 echo "${ECHO_T}no" >&6
6723 if test -z "$ac_cv_prog_STRIP"; then
6725 # Extract the first word of "strip", so it can be a program name with args.
6726 set dummy strip
; ac_word
=$2
6727 echo "$as_me:$LINENO: checking for $ac_word" >&5
6728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6729 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 if test -n "$ac_ct_STRIP"; then
6733 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir
=.
6740 for ac_exec_ext
in '' $ac_executable_extensions; do
6741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_ac_ct_STRIP
="strip"
6743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6749 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6752 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6753 if test -n "$ac_ct_STRIP"; then
6754 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6755 echo "${ECHO_T}$ac_ct_STRIP" >&6
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6763 STRIP
="$ac_cv_prog_STRIP"
6767 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
6769 # We need awk for the "check" target. The system "awk" is bad on
6771 # Always define AMTAR for backward compatibility.
6773 AMTAR
=${AMTAR-"${am_missing_run}tar"}
6775 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
6780 depcc
="$CC" am_compiler_list
=
6782 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6783 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6784 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6788 # We make a subdir and do the tests there. Otherwise we can end up
6789 # making bogus files that we don't know about and never remove. For
6790 # instance it was reported that on HP-UX the gcc test will end up
6791 # making a dummy file named `D' -- because `-MD' means `put the output
6794 # Copy depcomp to subdir because otherwise we won't find it if we're
6795 # using a relative directory.
6796 cp "$am_depcomp" conftest.dir
6798 # We will build objects and dependencies in a subdirectory because
6799 # it helps to detect inapplicable dependency modes. For instance
6800 # both Tru64's cc and ICC support -MD to output dependencies as a
6801 # side effect of compilation, but ICC will put the dependencies in
6802 # the current directory while Tru64 will put them in the object
6806 am_cv_CC_dependencies_compiler_type
=none
6807 if test "$am_compiler_list" = ""; then
6808 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6810 for depmode
in $am_compiler_list; do
6811 # Setup a source with many dependencies, because some compilers
6812 # like to wrap large dependency lists on column 80 (with \), and
6813 # we should not choose a depcomp mode which is confused by this.
6815 # We need to recreate these files for each test, as the compiler may
6816 # overwrite some of them when testing with obscure command lines.
6817 # This happens at least with the AIX C compiler.
6819 for i
in 1 2 3 4 5 6; do
6820 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6821 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6822 # Solaris 8's {/usr,}/bin/sh.
6823 touch sub
/conftst
$i.h
6825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6829 # after this tag, mechanisms are not by side-effect, so they'll
6830 # only be used when explicitly requested
6831 if test "x$enable_dependency_tracking" = xyes
; then
6839 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6840 # mode. It turns out that the SunPro C++ compiler does not properly
6841 # handle `-M -o', and we need to detect this.
6842 if depmode
=$depmode \
6843 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6844 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6845 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6846 >/dev
/null
2>conftest.err
&&
6847 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6848 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6849 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6850 # icc doesn't choke on unknown options, it will just issue warnings
6851 # or remarks (even with -Werror). So we grep stderr for any message
6852 # that says an option was ignored or not supported.
6853 # When given -MP, icc 7.0 and 7.1 complain thusly:
6854 # icc: Command line warning: ignoring option '-M'; no argument required
6855 # The diagnosis changed in icc 8.0:
6856 # icc: Command line remark: option '-MP' not supported
6857 if (grep 'ignoring option' conftest.err ||
6858 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6859 am_cv_CC_dependencies_compiler_type
=$depmode
6868 am_cv_CC_dependencies_compiler_type
=none
6872 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6873 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6874 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6879 test "x$enable_dependency_tracking" != xno \
6880 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6882 am__fastdepCC_FALSE
='#'
6884 am__fastdepCC_TRUE
='#'
6885 am__fastdepCC_FALSE
=
6891 debugdir
=${libdir}/debug
6894 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
6895 if test "${with_separate_debug_dir+set}" = set; then
6896 withval
="$with_separate_debug_dir"
6897 debugdir
="${withval}"
6901 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
6902 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6903 ac_define_dir
=`eval echo $debugdir`
6904 ac_define_dir
=`eval echo $ac_define_dir`
6906 cat >>confdefs.h
<<_ACEOF
6907 #define DEBUGDIR "$ac_define_dir"
6911 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
6913 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
6914 if test "x$prefix" = xNONE
; then
6915 test_prefix
=/usr
/local
6920 test_prefix
=$exec_prefix
6923 "${test_prefix}"|
"${test_prefix}/"*|\
6924 '${exec_prefix}'|
'${exec_prefix}/'*)
6926 cat >>confdefs.h
<<\_ACEOF
6927 #define DEBUGDIR_RELOCATABLE 1
6935 subdirs
="$subdirs doc testsuite"
6938 # Check whether to support alternative target configurations
6939 # Check whether --enable-targets or --disable-targets was given.
6940 if test "${enable_targets+set}" = set; then
6941 enableval
="$enable_targets"
6942 case "${enableval}" in
6943 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
6944 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
6945 { (exit 1); exit 1; }; }
6947 no
) enable_targets
= ;;
6948 *) enable_targets
=$enableval ;;
6952 # Check whether to enable 64-bit support on 32-bit hosts
6953 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
6954 if test "${enable_64_bit_bfd+set}" = set; then
6955 enableval
="$enable_64_bit_bfd"
6956 case "${enableval}" in
6959 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
6960 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
6961 { (exit 1); exit 1; }; } ;;
6966 # Provide defaults for some variables set by the per-host and per-target
6968 gdb_host_obs
=posix-hdep.o
6970 if test "${target}" = "${host}"; then
6976 .
$srcdir/configure.
host
6978 # Accumulate some settings from configure.tgt over all enabled targets
6983 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
6985 if test "$targ_alias" = "all"; then
6988 # Canonicalize the secondary target names.
6989 result
=`$ac_config_sub $targ_alias 2>/dev/null`
6990 if test -n "$result"; then
6996 .
${srcdir}/configure.tgt
6998 # Target-specific object files
6999 for i
in ${gdb_target_obs}; do
7000 case " $TARGET_OBS " in
7003 TARGET_OBS
="$TARGET_OBS ${i}"
7008 # Check whether this target needs 64-bit CORE_ADDR
7009 if test x
${want64} = xfalse
; then
7010 .
${srcdir}/..
/bfd
/config.bfd
7015 if test x
${all_targets} = xtrue
; then
7017 # We want all 64-bit targets if we either:
7018 # - run on a 64-bit host or
7019 # - already require 64-bit support for some other target or
7020 # - the --enable-64-bit-bfd option was supplied
7021 # Otherwise we only support all 32-bit targets.
7023 # NOTE: This test must be in sync with the corresponding
7026 if test x
${want64} = xfalse
; then
7027 echo "$as_me:$LINENO: checking for long" >&5
7028 echo $ECHO_N "checking for long... $ECHO_C" >&6
7029 if test "${ac_cv_type_long+set}" = set; then
7030 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 cat >conftest.
$ac_ext <<_ACEOF
7035 cat confdefs.h
>>conftest.
$ac_ext
7036 cat >>conftest.
$ac_ext <<_ACEOF
7037 /* end confdefs.h. */
7038 $ac_includes_default
7050 rm -f conftest.
$ac_objext
7051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7052 (eval $ac_compile) 2>conftest.er1
7054 grep -v '^ *+' conftest.er1
>conftest.err
7056 cat conftest.err
>&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } &&
7059 { ac_try
='test -z "$ac_c_werror_flag"
7060 || test ! -s conftest.err'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; } &&
7066 { ac_try
='test -s conftest.$ac_objext'
7067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; }; then
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.
$ac_ext >&5
7079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7081 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7082 echo "${ECHO_T}$ac_cv_type_long" >&6
7084 echo "$as_me:$LINENO: checking size of long" >&5
7085 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7086 if test "${ac_cv_sizeof_long+set}" = set; then
7087 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 if test "$ac_cv_type_long" = yes; then
7090 # The cast to unsigned long works around a bug in the HP C Compiler
7091 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7092 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7093 # This bug is HP SR number 8606223364.
7094 if test "$cross_compiling" = yes; then
7095 # Depending upon the size, compute the lo and hi bounds.
7096 cat >conftest.
$ac_ext <<_ACEOF
7099 cat confdefs.h
>>conftest.
$ac_ext
7100 cat >>conftest.
$ac_ext <<_ACEOF
7101 /* end confdefs.h. */
7102 $ac_includes_default
7106 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7113 rm -f conftest.
$ac_objext
7114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7115 (eval $ac_compile) 2>conftest.er1
7117 grep -v '^ *+' conftest.er1
>conftest.err
7119 cat conftest.err
>&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } &&
7122 { ac_try
='test -z "$ac_c_werror_flag"
7123 || test ! -s conftest.err'
7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); }; } &&
7129 { ac_try
='test -s conftest.$ac_objext'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; }; then
7137 cat >conftest.
$ac_ext <<_ACEOF
7140 cat confdefs.h
>>conftest.
$ac_ext
7141 cat >>conftest.
$ac_ext <<_ACEOF
7142 /* end confdefs.h. */
7143 $ac_includes_default
7147 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7154 rm -f conftest.
$ac_objext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7156 (eval $ac_compile) 2>conftest.er1
7158 grep -v '^ *+' conftest.er1
>conftest.err
7160 cat conftest.err
>&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try
='test -z "$ac_c_werror_flag"
7164 || test ! -s conftest.err'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; } &&
7170 { ac_try
='test -s conftest.$ac_objext'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; }; then
7176 ac_hi
=$ac_mid; break
7178 echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.
$ac_ext >&5
7181 ac_lo
=`expr $ac_mid + 1`
7182 if test $ac_lo -le $ac_mid; then
7186 ac_mid
=`expr 2 '*' $ac_mid + 1`
7188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7191 echo "$as_me: failed program was:" >&5
7192 sed 's/^/| /' conftest.
$ac_ext >&5
7194 cat >conftest.
$ac_ext <<_ACEOF
7197 cat confdefs.h
>>conftest.
$ac_ext
7198 cat >>conftest.
$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7200 $ac_includes_default
7204 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7211 rm -f conftest.
$ac_objext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7213 (eval $ac_compile) 2>conftest.er1
7215 grep -v '^ *+' conftest.er1
>conftest.err
7217 cat conftest.err
>&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } &&
7220 { ac_try
='test -z "$ac_c_werror_flag"
7221 || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try
='test -s conftest.$ac_objext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7235 cat >conftest.
$ac_ext <<_ACEOF
7238 cat confdefs.h
>>conftest.
$ac_ext
7239 cat >>conftest.
$ac_ext <<_ACEOF
7240 /* end confdefs.h. */
7241 $ac_includes_default
7245 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7252 rm -f conftest.
$ac_objext
7253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7254 (eval $ac_compile) 2>conftest.er1
7256 grep -v '^ *+' conftest.er1
>conftest.err
7258 cat conftest.err
>&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); } &&
7261 { ac_try
='test -z "$ac_c_werror_flag"
7262 || test ! -s conftest.err'
7263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; } &&
7268 { ac_try
='test -s conftest.$ac_objext'
7269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); }; }; then
7274 ac_lo
=$ac_mid; break
7276 echo "$as_me: failed program was:" >&5
7277 sed 's/^/| /' conftest.
$ac_ext >&5
7279 ac_hi
=`expr '(' $ac_mid ')' - 1`
7280 if test $ac_mid -le $ac_hi; then
7284 ac_mid
=`expr 2 '*' $ac_mid`
7286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.
$ac_ext >&5
7294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7297 # Binary search between lo and hi bounds.
7298 while test "x$ac_lo" != "x$ac_hi"; do
7299 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7300 cat >conftest.
$ac_ext <<_ACEOF
7303 cat confdefs.h
>>conftest.
$ac_ext
7304 cat >>conftest.
$ac_ext <<_ACEOF
7305 /* end confdefs.h. */
7306 $ac_includes_default
7310 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7317 rm -f conftest.
$ac_objext
7318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7319 (eval $ac_compile) 2>conftest.er1
7321 grep -v '^ *+' conftest.er1
>conftest.err
7323 cat conftest.err
>&5
7324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325 (exit $ac_status); } &&
7326 { ac_try
='test -z "$ac_c_werror_flag"
7327 || test ! -s conftest.err'
7328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; } &&
7333 { ac_try
='test -s conftest.$ac_objext'
7334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); }; }; then
7341 echo "$as_me: failed program was:" >&5
7342 sed 's/^/| /' conftest.
$ac_ext >&5
7344 ac_lo
=`expr '(' $ac_mid ')' + 1`
7346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7349 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7350 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7351 See \`config.log' for more details." >&5
7352 echo "$as_me: error: cannot compute sizeof (long), 77
7353 See \`config.log' for more details." >&2;}
7354 { (exit 1); exit 1; }; } ;;
7357 if test "$cross_compiling" = yes; then
7358 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7359 See \`config.log' for more details." >&5
7360 echo "$as_me: error: cannot run test program while cross compiling
7361 See \`config.log' for more details." >&2;}
7362 { (exit 1); exit 1; }; }
7364 cat >conftest.
$ac_ext <<_ACEOF
7367 cat confdefs.h
>>conftest.
$ac_ext
7368 cat >>conftest.
$ac_ext <<_ACEOF
7369 /* end confdefs.h. */
7370 $ac_includes_default
7371 long longval () { return (long) (sizeof (long)); }
7372 unsigned long ulongval () { return (long) (sizeof (long)); }
7379 FILE *f = fopen ("conftest.val", "w");
7382 if (((long) (sizeof (long))) < 0)
7384 long i = longval ();
7385 if (i != ((long) (sizeof (long))))
7387 fprintf (f, "%ld\n", i);
7391 unsigned long i = ulongval ();
7392 if (i != ((long) (sizeof (long))))
7394 fprintf (f, "%lu\n", i);
7396 exit (ferror (f) || fclose (f) != 0);
7402 rm -f conftest
$ac_exeext
7403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7404 (eval $ac_link) 2>&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); }; }; then
7413 ac_cv_sizeof_long
=`cat conftest.val`
7415 echo "$as_me: program exited with status $ac_status" >&5
7416 echo "$as_me: failed program was:" >&5
7417 sed 's/^/| /' conftest.
$ac_ext >&5
7420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7421 See \`config.log' for more details." >&5
7422 echo "$as_me: error: cannot compute sizeof (long), 77
7423 See \`config.log' for more details." >&2;}
7424 { (exit 1); exit 1; }; }
7426 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7434 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7435 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7436 cat >>confdefs.h
<<_ACEOF
7437 #define SIZEOF_LONG $ac_cv_sizeof_long
7441 if test "x${ac_cv_sizeof_long}" = "x8"; then
7445 if test x
${want64} = xtrue
; then
7446 TARGET_OBS
='$(ALL_TARGET_OBS) $(ALL_64_TARGET_OBS)'
7448 TARGET_OBS
='$(ALL_TARGET_OBS)'
7454 # For other settings, only the main target counts.
7458 targ
=$target; .
${srcdir}/configure.tgt
7460 # Fetch the default architecture and default target vector from BFD.
7461 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
7463 # We only want the first architecture, so strip off the others if
7464 # there is more than one.
7465 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
7467 if test "x$targ_archs" != x
; then
7469 cat >>confdefs.h
<<_ACEOF
7470 #define DEFAULT_BFD_ARCH $targ_archs
7474 if test "x$targ_defvec" != x
; then
7476 cat >>confdefs.h
<<_ACEOF
7477 #define DEFAULT_BFD_VEC $targ_defvec
7482 # The CLI cannot be disabled yet, but may be in the future.
7485 # Check whether --enable-gdbcli or --disable-gdbcli was given.
7486 if test "${enable_gdbcli+set}" = set; then
7487 enableval
="$enable_gdbcli"
7492 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
7493 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
7494 { (exit 1); exit 1; }; } ;;
7496 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
7497 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
7498 { (exit 1); exit 1; }; } ;;
7503 if test x
"$enable_gdbcli" = xyes
; then
7504 if test -d $srcdir/cli
; then
7505 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
7506 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
7507 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
7508 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
7513 # Check whether --enable-gdbmi or --disable-gdbmi was given.
7514 if test "${enable_gdbmi+set}" = set; then
7515 enableval
="$enable_gdbmi"
7520 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
7521 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
7522 { (exit 1); exit 1; }; } ;;
7527 if test x
"$enable_gdbmi" = xyes
; then
7528 if test -d $srcdir/mi
; then
7529 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
7530 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
7531 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
7532 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
7537 # Check whether --enable-tui or --disable-tui was given.
7538 if test "${enable_tui+set}" = set; then
7539 enableval
="$enable_tui"
7544 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
7545 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
7546 { (exit 1); exit 1; }; } ;;
7553 # Check whether --enable-gdbtk or --disable-gdbtk was given.
7554 if test "${enable_gdbtk+set}" = set; then
7555 enableval
="$enable_gdbtk"
7560 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
7561 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
7562 { (exit 1); exit 1; }; } ;;
7565 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
7571 # We unconditionally disable gdbtk tests on selected platforms.
7574 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
7575 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
7579 # Libunwind support.
7581 # Check whether --with-libunwind or --without-libunwind was given.
7582 if test "${with_libunwind+set}" = set; then
7583 withval
="$with_libunwind"
7584 case "${withval}" in
7585 yes) enable_libunwind
=yes ;;
7586 no
) enable_libunwind
=no
;;
7587 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
7588 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
7589 { (exit 1); exit 1; }; } ;;
7594 for ac_header
in libunwind.h
7596 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7598 echo "$as_me:$LINENO: checking for $ac_header" >&5
7599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7601 echo $ECHO_N "(cached) $ECHO_C" >&6
7603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7606 # Is the header compilable?
7607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7615 $ac_includes_default
7616 #include <$ac_header>
7618 rm -f conftest.
$ac_objext
7619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7620 (eval $ac_compile) 2>conftest.er1
7622 grep -v '^ *+' conftest.er1
>conftest.err
7624 cat conftest.err
>&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); } &&
7627 { ac_try
='test -z "$ac_c_werror_flag"
7628 || test ! -s conftest.err'
7629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); }; } &&
7634 { ac_try
='test -s conftest.$ac_objext'
7635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); }; }; then
7640 ac_header_compiler
=yes
7642 echo "$as_me: failed program was:" >&5
7643 sed 's/^/| /' conftest.
$ac_ext >&5
7645 ac_header_compiler
=no
7647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7649 echo "${ECHO_T}$ac_header_compiler" >&6
7651 # Is the header present?
7652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7654 cat >conftest.
$ac_ext <<_ACEOF
7657 cat confdefs.h
>>conftest.
$ac_ext
7658 cat >>conftest.
$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7660 #include <$ac_header>
7662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7665 grep -v '^ *+' conftest.er1
>conftest.err
7667 cat conftest.err
>&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } >/dev
/null
; then
7670 if test -s conftest.err
; then
7671 ac_cpp_err
=$ac_c_preproc_warn_flag
7672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7679 if test -z "$ac_cpp_err"; then
7680 ac_header_preproc
=yes
7682 echo "$as_me: failed program was:" >&5
7683 sed 's/^/| /' conftest.
$ac_ext >&5
7685 ac_header_preproc
=no
7687 rm -f conftest.err conftest.
$ac_ext
7688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7689 echo "${ECHO_T}$ac_header_preproc" >&6
7691 # So? What about this header?
7692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7698 ac_header_preproc
=yes
7701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7715 ## ------------------------------------------ ##
7716 ## Report this to the AC_PACKAGE_NAME lists. ##
7717 ## ------------------------------------------ ##
7720 sed "s/^/$as_me: WARNING: /" >&2
7723 echo "$as_me:$LINENO: checking for $ac_header" >&5
7724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7726 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 eval "$as_ac_Header=\$ac_header_preproc"
7730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7735 cat >>confdefs.h
<<_ACEOF
7736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7744 for ac_header
in libunwind-ia64.h
7746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7748 echo "$as_me:$LINENO: checking for $ac_header" >&5
7749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7756 # Is the header compilable?
7757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7759 cat >conftest.
$ac_ext <<_ACEOF
7762 cat confdefs.h
>>conftest.
$ac_ext
7763 cat >>conftest.
$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 $ac_includes_default
7766 #include <$ac_header>
7768 rm -f conftest.
$ac_objext
7769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7770 (eval $ac_compile) 2>conftest.er1
7772 grep -v '^ *+' conftest.er1
>conftest.err
7774 cat conftest.err
>&5
7775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776 (exit $ac_status); } &&
7777 { ac_try
='test -z "$ac_c_werror_flag"
7778 || test ! -s conftest.err'
7779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); }; } &&
7784 { ac_try
='test -s conftest.$ac_objext'
7785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); }; }; then
7790 ac_header_compiler
=yes
7792 echo "$as_me: failed program was:" >&5
7793 sed 's/^/| /' conftest.
$ac_ext >&5
7795 ac_header_compiler
=no
7797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7799 echo "${ECHO_T}$ac_header_compiler" >&6
7801 # Is the header present?
7802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7804 cat >conftest.
$ac_ext <<_ACEOF
7807 cat confdefs.h
>>conftest.
$ac_ext
7808 cat >>conftest.
$ac_ext <<_ACEOF
7809 /* end confdefs.h. */
7810 #include <$ac_header>
7812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7815 grep -v '^ *+' conftest.er1
>conftest.err
7817 cat conftest.err
>&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } >/dev
/null
; then
7820 if test -s conftest.err
; then
7821 ac_cpp_err
=$ac_c_preproc_warn_flag
7822 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7829 if test -z "$ac_cpp_err"; then
7830 ac_header_preproc
=yes
7832 echo "$as_me: failed program was:" >&5
7833 sed 's/^/| /' conftest.
$ac_ext >&5
7835 ac_header_preproc
=no
7837 rm -f conftest.err conftest.
$ac_ext
7838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7839 echo "${ECHO_T}$ac_header_preproc" >&6
7841 # So? What about this header?
7842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7848 ac_header_preproc
=yes
7851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7865 ## ------------------------------------------ ##
7866 ## Report this to the AC_PACKAGE_NAME lists. ##
7867 ## ------------------------------------------ ##
7870 sed "s/^/$as_me: WARNING: /" >&2
7873 echo "$as_me:$LINENO: checking for $ac_header" >&5
7874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7876 echo $ECHO_N "(cached) $ECHO_C" >&6
7878 eval "$as_ac_Header=\$ac_header_preproc"
7880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7885 cat >>confdefs.h
<<_ACEOF
7886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7893 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
7894 enable_libunwind
=yes;
7899 if test x
"$enable_libunwind" = xyes
; then
7901 for ac_header
in libunwind.h
7903 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7905 echo "$as_me:$LINENO: checking for $ac_header" >&5
7906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7908 echo $ECHO_N "(cached) $ECHO_C" >&6
7910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7913 # Is the header compilable?
7914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7916 cat >conftest.
$ac_ext <<_ACEOF
7919 cat confdefs.h
>>conftest.
$ac_ext
7920 cat >>conftest.
$ac_ext <<_ACEOF
7921 /* end confdefs.h. */
7922 $ac_includes_default
7923 #include <$ac_header>
7925 rm -f conftest.
$ac_objext
7926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7927 (eval $ac_compile) 2>conftest.er1
7929 grep -v '^ *+' conftest.er1
>conftest.err
7931 cat conftest.err
>&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } &&
7934 { ac_try
='test -z "$ac_c_werror_flag"
7935 || test ! -s conftest.err'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try
='test -s conftest.$ac_objext'
7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 ac_header_compiler
=yes
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.
$ac_ext >&5
7952 ac_header_compiler
=no
7954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7956 echo "${ECHO_T}$ac_header_compiler" >&6
7958 # Is the header present?
7959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7961 cat >conftest.
$ac_ext <<_ACEOF
7964 cat confdefs.h
>>conftest.
$ac_ext
7965 cat >>conftest.
$ac_ext <<_ACEOF
7966 /* end confdefs.h. */
7967 #include <$ac_header>
7969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7972 grep -v '^ *+' conftest.er1
>conftest.err
7974 cat conftest.err
>&5
7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976 (exit $ac_status); } >/dev
/null
; then
7977 if test -s conftest.err
; then
7978 ac_cpp_err
=$ac_c_preproc_warn_flag
7979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7986 if test -z "$ac_cpp_err"; then
7987 ac_header_preproc
=yes
7989 echo "$as_me: failed program was:" >&5
7990 sed 's/^/| /' conftest.
$ac_ext >&5
7992 ac_header_preproc
=no
7994 rm -f conftest.err conftest.
$ac_ext
7995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7996 echo "${ECHO_T}$ac_header_preproc" >&6
7998 # So? What about this header?
7999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8005 ac_header_preproc
=yes
8008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8022 ## ------------------------------------------ ##
8023 ## Report this to the AC_PACKAGE_NAME lists. ##
8024 ## ------------------------------------------ ##
8027 sed "s/^/$as_me: WARNING: /" >&2
8030 echo "$as_me:$LINENO: checking for $ac_header" >&5
8031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8033 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 eval "$as_ac_Header=\$ac_header_preproc"
8037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8042 cat >>confdefs.h
<<_ACEOF
8043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8051 for ac_header
in libunwind-ia64.h
8053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8055 echo "$as_me:$LINENO: checking for $ac_header" >&5
8056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8063 # Is the header compilable?
8064 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8066 cat >conftest.
$ac_ext <<_ACEOF
8069 cat confdefs.h
>>conftest.
$ac_ext
8070 cat >>conftest.
$ac_ext <<_ACEOF
8071 /* end confdefs.h. */
8072 $ac_includes_default
8073 #include <$ac_header>
8075 rm -f conftest.
$ac_objext
8076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8077 (eval $ac_compile) 2>conftest.er1
8079 grep -v '^ *+' conftest.er1
>conftest.err
8081 cat conftest.err
>&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); } &&
8084 { ac_try
='test -z "$ac_c_werror_flag"
8085 || test ! -s conftest.err'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; } &&
8091 { ac_try
='test -s conftest.$ac_objext'
8092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); }; }; then
8097 ac_header_compiler
=yes
8099 echo "$as_me: failed program was:" >&5
8100 sed 's/^/| /' conftest.
$ac_ext >&5
8102 ac_header_compiler
=no
8104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8105 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8106 echo "${ECHO_T}$ac_header_compiler" >&6
8108 # Is the header present?
8109 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8110 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8111 cat >conftest.
$ac_ext <<_ACEOF
8114 cat confdefs.h
>>conftest.
$ac_ext
8115 cat >>conftest.
$ac_ext <<_ACEOF
8116 /* end confdefs.h. */
8117 #include <$ac_header>
8119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8122 grep -v '^ *+' conftest.er1
>conftest.err
8124 cat conftest.err
>&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } >/dev
/null
; then
8127 if test -s conftest.err
; then
8128 ac_cpp_err
=$ac_c_preproc_warn_flag
8129 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8136 if test -z "$ac_cpp_err"; then
8137 ac_header_preproc
=yes
8139 echo "$as_me: failed program was:" >&5
8140 sed 's/^/| /' conftest.
$ac_ext >&5
8142 ac_header_preproc
=no
8144 rm -f conftest.err conftest.
$ac_ext
8145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8146 echo "${ECHO_T}$ac_header_preproc" >&6
8148 # So? What about this header?
8149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8151 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8152 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8154 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8155 ac_header_preproc
=yes
8158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8159 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8161 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8162 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8163 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8164 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8165 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8167 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8168 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8169 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8172 ## ------------------------------------------ ##
8173 ## Report this to the AC_PACKAGE_NAME lists. ##
8174 ## ------------------------------------------ ##
8177 sed "s/^/$as_me: WARNING: /" >&2
8180 echo "$as_me:$LINENO: checking for $ac_header" >&5
8181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8183 echo $ECHO_N "(cached) $ECHO_C" >&6
8185 eval "$as_ac_Header=\$ac_header_preproc"
8187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8192 cat >>confdefs.h
<<_ACEOF
8193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8201 cat >>confdefs.h
<<\_ACEOF
8202 #define HAVE_LIBUNWIND 1
8205 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
8206 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
8207 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
8210 # Profiling support.
8211 # Check whether --enable-profiling or --disable-profiling was given.
8212 if test "${enable_profiling+set}" = set; then
8213 enableval
="$enable_profiling"
8218 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
8219 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
8220 { (exit 1); exit 1; }; } ;;
8228 for ac_func
in monstartup _mcleanup
8230 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8231 echo "$as_me:$LINENO: checking for $ac_func" >&5
8232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8233 if eval "test \"\${$as_ac_var+set}\" = set"; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 cat >conftest.
$ac_ext <<_ACEOF
8239 cat confdefs.h
>>conftest.
$ac_ext
8240 cat >>conftest.
$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8244 #define $ac_func innocuous_$ac_func
8246 /* System header to define __stub macros and hopefully few prototypes,
8247 which can conflict with char $ac_func (); below.
8248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8249 <limits.h> exists even on freestanding compilers. */
8252 # include <limits.h>
8254 # include <assert.h>
8259 /* Override any gcc2 internal prototype to avoid an error. */
8264 /* We use char because int might match the return type of a gcc2
8265 builtin and then its argument prototype would still apply. */
8267 /* The GNU C library defines this for functions which it implements
8268 to always fail with ENOSYS. Some functions are actually named
8269 something starting with __ and the normal name is an alias. */
8270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8273 char (*f) () = $ac_func;
8282 return f != $ac_func;
8287 rm -f conftest.
$ac_objext conftest
$ac_exeext
8288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8289 (eval $ac_link) 2>conftest.er1
8291 grep -v '^ *+' conftest.er1
>conftest.err
8293 cat conftest.err
>&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); } &&
8296 { ac_try
='test -z "$ac_c_werror_flag"
8297 || test ! -s conftest.err'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; } &&
8303 { ac_try
='test -s conftest$ac_exeext'
8304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; }; then
8309 eval "$as_ac_var=yes"
8311 echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.
$ac_ext >&5
8314 eval "$as_ac_var=no"
8316 rm -f conftest.err conftest.
$ac_objext \
8317 conftest
$ac_exeext conftest.
$ac_ext
8319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8321 if test `eval echo '${'$as_ac_var'}'` = yes; then
8322 cat >>confdefs.h
<<_ACEOF
8323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8329 echo "$as_me:$LINENO: checking for _etext" >&5
8330 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
8331 if test "${ac_cv_var__etext+set}" = set; then
8332 echo $ECHO_N "(cached) $ECHO_C" >&6
8334 cat >conftest.
$ac_ext <<_ACEOF
8337 cat confdefs.h
>>conftest.
$ac_ext
8338 cat >>conftest.
$ac_ext <<_ACEOF
8339 /* end confdefs.h. */
8351 rm -f conftest.
$ac_objext conftest
$ac_exeext
8352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8353 (eval $ac_link) 2>conftest.er1
8355 grep -v '^ *+' conftest.er1
>conftest.err
8357 cat conftest.err
>&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); } &&
8360 { ac_try
='test -z "$ac_c_werror_flag"
8361 || test ! -s conftest.err'
8362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); }; } &&
8367 { ac_try
='test -s conftest$ac_exeext'
8368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then
8373 ac_cv_var__etext
=yes
8375 echo "$as_me: failed program was:" >&5
8376 sed 's/^/| /' conftest.
$ac_ext >&5
8380 rm -f conftest.err conftest.
$ac_objext \
8381 conftest
$ac_exeext conftest.
$ac_ext
8383 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
8384 echo "${ECHO_T}$ac_cv_var__etext" >&6
8385 if test $ac_cv_var__etext = yes; then
8387 cat >>confdefs.h
<<\_ACEOF
8388 #define HAVE__ETEXT 1
8392 echo "$as_me:$LINENO: checking for etext" >&5
8393 echo $ECHO_N "checking for etext... $ECHO_C" >&6
8394 if test "${ac_cv_var_etext+set}" = set; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6
8397 cat >conftest.
$ac_ext <<_ACEOF
8400 cat confdefs.h
>>conftest.
$ac_ext
8401 cat >>conftest.
$ac_ext <<_ACEOF
8402 /* end confdefs.h. */
8414 rm -f conftest.
$ac_objext conftest
$ac_exeext
8415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8416 (eval $ac_link) 2>conftest.er1
8418 grep -v '^ *+' conftest.er1
>conftest.err
8420 cat conftest.err
>&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); } &&
8423 { ac_try
='test -z "$ac_c_werror_flag"
8424 || test ! -s conftest.err'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; } &&
8430 { ac_try
='test -s conftest$ac_exeext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.
$ac_ext >&5
8443 rm -f conftest.err conftest.
$ac_objext \
8444 conftest
$ac_exeext conftest.
$ac_ext
8446 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
8447 echo "${ECHO_T}$ac_cv_var_etext" >&6
8448 if test $ac_cv_var_etext = yes; then
8450 cat >>confdefs.h
<<\_ACEOF
8451 #define HAVE_ETEXT 1
8455 if test "$enable_profiling" = yes ; then
8456 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
8457 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
8458 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
8459 { (exit 1); exit 1; }; }
8462 OLD_CFLAGS
="$CFLAGS"
8463 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
8465 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
8466 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
8467 if test "${ac_cv_cc_supports_pg+set}" = set; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8470 cat >conftest.
$ac_ext <<_ACEOF
8473 cat confdefs.h
>>conftest.
$ac_ext
8474 cat >>conftest.
$ac_ext <<_ACEOF
8475 /* end confdefs.h. */
8485 rm -f conftest.
$ac_objext
8486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8487 (eval $ac_compile) 2>conftest.er1
8489 grep -v '^ *+' conftest.er1
>conftest.err
8491 cat conftest.err
>&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } &&
8494 { ac_try
='test -z "$ac_c_werror_flag"
8495 || test ! -s conftest.err'
8496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; } &&
8501 { ac_try
='test -s conftest.$ac_objext'
8502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); }; }; then
8507 ac_cv_cc_supports_pg
=yes
8509 echo "$as_me: failed program was:" >&5
8510 sed 's/^/| /' conftest.
$ac_ext >&5
8512 ac_cv_cc_supports_pg
=no
8514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8516 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
8517 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
8519 if test $ac_cv_cc_supports_pg = no
; then
8520 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
8521 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
8522 { (exit 1); exit 1; }; }
8525 CFLAGS
="$OLD_CFLAGS"
8528 # --------------------- #
8529 # Checks for programs. #
8530 # --------------------- #
8532 for ac_prog
in gawk mawk nawk
awk
8534 # Extract the first word of "$ac_prog", so it can be a program name with args.
8535 set dummy
$ac_prog; ac_word
=$2
8536 echo "$as_me:$LINENO: checking for $ac_word" >&5
8537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8538 if test "${ac_cv_prog_AWK+set}" = set; then
8539 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 if test -n "$AWK"; then
8542 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
8544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8548 test -z "$as_dir" && as_dir
=.
8549 for ac_exec_ext
in '' $ac_executable_extensions; do
8550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8551 ac_cv_prog_AWK
="$ac_prog"
8552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8561 if test -n "$AWK"; then
8562 echo "$as_me:$LINENO: result: $AWK" >&5
8563 echo "${ECHO_T}$AWK" >&6
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8569 test -n "$AWK" && break
8572 # Find a good install program. We prefer a C program (faster),
8573 # so one script is as good as another. But avoid the broken or
8574 # incompatible versions:
8575 # SysV /etc/install, /usr/sbin/install
8576 # SunOS /usr/etc/install
8577 # IRIX /sbin/install
8579 # AmigaOS /C/install, which installs bootblocks on floppy discs
8580 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8583 # OS/2's system install, which has a completely different semantic
8584 # ./install, which can be erroneously created by make from ./install.sh.
8585 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8586 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8587 if test -z "$INSTALL"; then
8588 if test "${ac_cv_path_install+set}" = set; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir
=.
8596 # Account for people who put trailing slashes in PATH elements.
8598 .
/ | .
// |
/cC
/* | \
8599 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8600 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8603 # OSF1 and SCO ODT 3.0 have their own names for install.
8604 # Don't use installbsd from OSF since it installs stuff as root
8606 for ac_prog
in ginstall scoinst
install; do
8607 for ac_exec_ext
in '' $ac_executable_extensions; do
8608 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8609 if test $ac_prog = install &&
8610 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8611 # AIX install. It has an incompatible calling convention.
8613 elif test $ac_prog = install &&
8614 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8615 # program-specific install script used by HP pwplus--don't use.
8618 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8630 if test "${ac_cv_path_install+set}" = set; then
8631 INSTALL
=$ac_cv_path_install
8633 # As a last resort, use the slow shell script. We don't cache a
8634 # path for INSTALL within a source directory, because that will
8635 # break other packages using the cache if that directory is
8636 # removed, or if the path is relative.
8637 INSTALL
=$ac_install_sh
8640 echo "$as_me:$LINENO: result: $INSTALL" >&5
8641 echo "${ECHO_T}$INSTALL" >&6
8643 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8644 # It thinks the first close brace ends the variable substitution.
8645 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8647 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8649 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8651 echo "$as_me:$LINENO: checking whether ln -s works" >&5
8652 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8654 if test "$LN_S" = "ln -s"; then
8655 echo "$as_me:$LINENO: result: yes" >&5
8656 echo "${ECHO_T}yes" >&6
8658 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8659 echo "${ECHO_T}no, using $LN_S" >&6
8662 if test -n "$ac_tool_prefix"; then
8663 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8664 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8665 echo "$as_me:$LINENO: checking for $ac_word" >&5
8666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8667 if test "${ac_cv_prog_RANLIB+set}" = set; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8670 if test -n "$RANLIB"; then
8671 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8677 test -z "$as_dir" && as_dir
=.
8678 for ac_exec_ext
in '' $ac_executable_extensions; do
8679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8689 RANLIB
=$ac_cv_prog_RANLIB
8690 if test -n "$RANLIB"; then
8691 echo "$as_me:$LINENO: result: $RANLIB" >&5
8692 echo "${ECHO_T}$RANLIB" >&6
8694 echo "$as_me:$LINENO: result: no" >&5
8695 echo "${ECHO_T}no" >&6
8699 if test -z "$ac_cv_prog_RANLIB"; then
8700 ac_ct_RANLIB
=$RANLIB
8701 # Extract the first word of "ranlib", so it can be a program name with args.
8702 set dummy ranlib
; ac_word
=$2
8703 echo "$as_me:$LINENO: checking for $ac_word" >&5
8704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8705 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 if test -n "$ac_ct_RANLIB"; then
8709 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8715 test -z "$as_dir" && as_dir
=.
8716 for ac_exec_ext
in '' $ac_executable_extensions; do
8717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8718 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8725 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
8728 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8729 if test -n "$ac_ct_RANLIB"; then
8730 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8731 echo "${ECHO_T}$ac_ct_RANLIB" >&6
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8737 RANLIB
=$ac_ct_RANLIB
8739 RANLIB
="$ac_cv_prog_RANLIB"
8742 for ac_prog
in 'bison -y' byacc
8744 # Extract the first word of "$ac_prog", so it can be a program name with args.
8745 set dummy
$ac_prog; ac_word
=$2
8746 echo "$as_me:$LINENO: checking for $ac_word" >&5
8747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8748 if test "${ac_cv_prog_YACC+set}" = set; then
8749 echo $ECHO_N "(cached) $ECHO_C" >&6
8751 if test -n "$YACC"; then
8752 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir
=.
8759 for ac_exec_ext
in '' $ac_executable_extensions; do
8760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8761 ac_cv_prog_YACC
="$ac_prog"
8762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8770 YACC
=$ac_cv_prog_YACC
8771 if test -n "$YACC"; then
8772 echo "$as_me:$LINENO: result: $YACC" >&5
8773 echo "${ECHO_T}$YACC" >&6
8775 echo "$as_me:$LINENO: result: no" >&5
8776 echo "${ECHO_T}no" >&6
8779 test -n "$YACC" && break
8781 test -n "$YACC" || YACC
="yacc"
8784 if test -n "$ac_tool_prefix"; then
8785 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8786 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8787 echo "$as_me:$LINENO: checking for $ac_word" >&5
8788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8789 if test "${ac_cv_prog_AR+set}" = set; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8792 if test -n "$AR"; then
8793 ac_cv_prog_AR
="$AR" # Let the user override the test.
8795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8799 test -z "$as_dir" && as_dir
=.
8800 for ac_exec_ext
in '' $ac_executable_extensions; do
8801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8802 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8812 if test -n "$AR"; then
8813 echo "$as_me:$LINENO: result: $AR" >&5
8814 echo "${ECHO_T}$AR" >&6
8816 echo "$as_me:$LINENO: result: no" >&5
8817 echo "${ECHO_T}no" >&6
8821 if test -z "$ac_cv_prog_AR"; then
8823 # Extract the first word of "ar", so it can be a program name with args.
8824 set dummy
ar; ac_word
=$2
8825 echo "$as_me:$LINENO: checking for $ac_word" >&5
8826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8827 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8828 echo $ECHO_N "(cached) $ECHO_C" >&6
8830 if test -n "$ac_ct_AR"; then
8831 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8837 test -z "$as_dir" && as_dir
=.
8838 for ac_exec_ext
in '' $ac_executable_extensions; do
8839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8840 ac_cv_prog_ac_ct_AR
="ar"
8841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8849 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8850 if test -n "$ac_ct_AR"; then
8851 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8852 echo "${ECHO_T}$ac_ct_AR" >&6
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8863 if test -n "$ac_tool_prefix"; then
8864 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8865 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8866 echo "$as_me:$LINENO: checking for $ac_word" >&5
8867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8868 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8869 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 if test -n "$DLLTOOL"; then
8872 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8878 test -z "$as_dir" && as_dir
=.
8879 for ac_exec_ext
in '' $ac_executable_extensions; do
8880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8881 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8890 DLLTOOL
=$ac_cv_prog_DLLTOOL
8891 if test -n "$DLLTOOL"; then
8892 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8893 echo "${ECHO_T}$DLLTOOL" >&6
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8900 if test -z "$ac_cv_prog_DLLTOOL"; then
8901 ac_ct_DLLTOOL
=$DLLTOOL
8902 # Extract the first word of "dlltool", so it can be a program name with args.
8903 set dummy dlltool
; ac_word
=$2
8904 echo "$as_me:$LINENO: checking for $ac_word" >&5
8905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8906 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8907 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 if test -n "$ac_ct_DLLTOOL"; then
8910 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8916 test -z "$as_dir" && as_dir
=.
8917 for ac_exec_ext
in '' $ac_executable_extensions; do
8918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8919 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8928 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8929 if test -n "$ac_ct_DLLTOOL"; then
8930 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8931 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
8933 echo "$as_me:$LINENO: result: no" >&5
8934 echo "${ECHO_T}no" >&6
8937 DLLTOOL
=$ac_ct_DLLTOOL
8939 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8942 if test -n "$ac_tool_prefix"; then
8943 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8944 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
8945 echo "$as_me:$LINENO: checking for $ac_word" >&5
8946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8947 if test "${ac_cv_prog_WINDRES+set}" = set; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 if test -n "$WINDRES"; then
8951 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
8953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8957 test -z "$as_dir" && as_dir
=.
8958 for ac_exec_ext
in '' $ac_executable_extensions; do
8959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8960 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
8961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8969 WINDRES
=$ac_cv_prog_WINDRES
8970 if test -n "$WINDRES"; then
8971 echo "$as_me:$LINENO: result: $WINDRES" >&5
8972 echo "${ECHO_T}$WINDRES" >&6
8974 echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6
8979 if test -z "$ac_cv_prog_WINDRES"; then
8980 ac_ct_WINDRES
=$WINDRES
8981 # Extract the first word of "windres", so it can be a program name with args.
8982 set dummy windres
; ac_word
=$2
8983 echo "$as_me:$LINENO: checking for $ac_word" >&5
8984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8985 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 if test -n "$ac_ct_WINDRES"; then
8989 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
8991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8995 test -z "$as_dir" && as_dir
=.
8996 for ac_exec_ext
in '' $ac_executable_extensions; do
8997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8998 ac_cv_prog_ac_ct_WINDRES
="windres"
8999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9007 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
9008 if test -n "$ac_ct_WINDRES"; then
9009 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
9010 echo "${ECHO_T}$ac_ct_WINDRES" >&6
9012 echo "$as_me:$LINENO: result: no" >&5
9013 echo "${ECHO_T}no" >&6
9016 WINDRES
=$ac_ct_WINDRES
9018 WINDRES
="$ac_cv_prog_WINDRES"
9022 # Needed for GNU/Hurd.
9023 if test -n "$ac_tool_prefix"; then
9024 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
9025 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
9026 echo "$as_me:$LINENO: checking for $ac_word" >&5
9027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9028 if test "${ac_cv_prog_MIG+set}" = set; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9031 if test -n "$MIG"; then
9032 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
9034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9038 test -z "$as_dir" && as_dir
=.
9039 for ac_exec_ext
in '' $ac_executable_extensions; do
9040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9041 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
9042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9051 if test -n "$MIG"; then
9052 echo "$as_me:$LINENO: result: $MIG" >&5
9053 echo "${ECHO_T}$MIG" >&6
9055 echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6
9060 if test -z "$ac_cv_prog_MIG"; then
9062 # Extract the first word of "mig", so it can be a program name with args.
9063 set dummy mig
; ac_word
=$2
9064 echo "$as_me:$LINENO: checking for $ac_word" >&5
9065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9066 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 if test -n "$ac_ct_MIG"; then
9070 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
9072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9076 test -z "$as_dir" && as_dir
=.
9077 for ac_exec_ext
in '' $ac_executable_extensions; do
9078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9079 ac_cv_prog_ac_ct_MIG
="mig"
9080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9088 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
9089 if test -n "$ac_ct_MIG"; then
9090 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
9091 echo "${ECHO_T}$ac_ct_MIG" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 MIG
="$ac_cv_prog_MIG"
9103 # ---------------------- #
9104 # Checks for libraries. #
9105 # ---------------------- #
9107 # We might need to link with -lm; most simulators need it.
9109 echo "$as_me:$LINENO: checking for main in -lm" >&5
9110 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9111 if test "${ac_cv_lib_m_main+set}" = set; then
9112 echo $ECHO_N "(cached) $ECHO_C" >&6
9114 ac_check_lib_save_LIBS
=$LIBS
9116 cat >conftest.
$ac_ext <<_ACEOF
9119 cat confdefs.h
>>conftest.
$ac_ext
9120 cat >>conftest.
$ac_ext <<_ACEOF
9121 /* end confdefs.h. */
9132 rm -f conftest.
$ac_objext conftest
$ac_exeext
9133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9134 (eval $ac_link) 2>conftest.er1
9136 grep -v '^ *+' conftest.er1
>conftest.err
9138 cat conftest.err
>&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } &&
9141 { ac_try
='test -z "$ac_c_werror_flag"
9142 || test ! -s conftest.err'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try
='test -s conftest$ac_exeext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_cv_lib_m_main
=yes
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.
$ac_ext >&5
9161 rm -f conftest.err conftest.
$ac_objext \
9162 conftest
$ac_exeext conftest.
$ac_ext
9163 LIBS
=$ac_check_lib_save_LIBS
9165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9166 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
9167 if test $ac_cv_lib_m_main = yes; then
9168 cat >>confdefs.h
<<_ACEOF
9177 # We need to link with -lw to get `wctype' on Solaris before Solaris
9178 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
9179 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
9180 # is known to have this problem). Therefore we avoid libw if we can.
9181 echo "$as_me:$LINENO: checking for wctype" >&5
9182 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
9183 if test "${ac_cv_func_wctype+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 cat >conftest.
$ac_ext <<_ACEOF
9189 cat confdefs.h
>>conftest.
$ac_ext
9190 cat >>conftest.
$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9192 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
9193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9194 #define wctype innocuous_wctype
9196 /* System header to define __stub macros and hopefully few prototypes,
9197 which can conflict with char wctype (); below.
9198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9199 <limits.h> exists even on freestanding compilers. */
9202 # include <limits.h>
9204 # include <assert.h>
9209 /* Override any gcc2 internal prototype to avoid an error. */
9214 /* We use char because int might match the return type of a gcc2
9215 builtin and then its argument prototype would still apply. */
9217 /* The GNU C library defines this for functions which it implements
9218 to always fail with ENOSYS. Some functions are actually named
9219 something starting with __ and the normal name is an alias. */
9220 #if defined (__stub_wctype) || defined (__stub___wctype)
9223 char (*f) () = wctype;
9237 rm -f conftest.
$ac_objext conftest
$ac_exeext
9238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9239 (eval $ac_link) 2>conftest.er1
9241 grep -v '^ *+' conftest.er1
>conftest.err
9243 cat conftest.err
>&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); } &&
9246 { ac_try
='test -z "$ac_c_werror_flag"
9247 || test ! -s conftest.err'
9248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); }; } &&
9253 { ac_try
='test -s conftest$ac_exeext'
9254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); }; }; then
9259 ac_cv_func_wctype
=yes
9261 echo "$as_me: failed program was:" >&5
9262 sed 's/^/| /' conftest.
$ac_ext >&5
9264 ac_cv_func_wctype
=no
9266 rm -f conftest.err conftest.
$ac_objext \
9267 conftest
$ac_exeext conftest.
$ac_ext
9269 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
9270 echo "${ECHO_T}$ac_cv_func_wctype" >&6
9271 if test $ac_cv_func_wctype = yes; then
9275 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
9276 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
9277 if test "${ac_cv_lib_w_wctype+set}" = set; then
9278 echo $ECHO_N "(cached) $ECHO_C" >&6
9280 ac_check_lib_save_LIBS
=$LIBS
9282 cat >conftest.
$ac_ext <<_ACEOF
9285 cat confdefs.h
>>conftest.
$ac_ext
9286 cat >>conftest.
$ac_ext <<_ACEOF
9287 /* end confdefs.h. */
9289 /* Override any gcc2 internal prototype to avoid an error. */
9293 /* We use char because int might match the return type of a gcc2
9294 builtin and then its argument prototype would still apply. */
9304 rm -f conftest.
$ac_objext conftest
$ac_exeext
9305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9306 (eval $ac_link) 2>conftest.er1
9308 grep -v '^ *+' conftest.er1
>conftest.err
9310 cat conftest.err
>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try
='test -z "$ac_c_werror_flag"
9314 || test ! -s conftest.err'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; } &&
9320 { ac_try
='test -s conftest$ac_exeext'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 ac_cv_lib_w_wctype
=yes
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.
$ac_ext >&5
9331 ac_cv_lib_w_wctype
=no
9333 rm -f conftest.err conftest.
$ac_objext \
9334 conftest
$ac_exeext conftest.
$ac_ext
9335 LIBS
=$ac_check_lib_save_LIBS
9337 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
9338 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
9339 if test $ac_cv_lib_w_wctype = yes; then
9340 cat >>confdefs.h
<<_ACEOF
9351 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
9352 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
9353 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
9354 if test "${ac_cv_search_gethostbyname+set}" = set; then
9355 echo $ECHO_N "(cached) $ECHO_C" >&6
9357 ac_func_search_save_LIBS
=$LIBS
9358 ac_cv_search_gethostbyname
=no
9359 cat >conftest.
$ac_ext <<_ACEOF
9362 cat confdefs.h
>>conftest.
$ac_ext
9363 cat >>conftest.
$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9366 /* Override any gcc2 internal prototype to avoid an error. */
9370 /* We use char because int might match the return type of a gcc2
9371 builtin and then its argument prototype would still apply. */
9372 char gethostbyname ();
9381 rm -f conftest.
$ac_objext conftest
$ac_exeext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9383 (eval $ac_link) 2>conftest.er1
9385 grep -v '^ *+' conftest.er1
>conftest.err
9387 cat conftest.err
>&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try
='test -z "$ac_c_werror_flag"
9391 || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try
='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_cv_search_gethostbyname
="none required"
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.
$ac_ext >&5
9409 rm -f conftest.err conftest.
$ac_objext \
9410 conftest
$ac_exeext conftest.
$ac_ext
9411 if test "$ac_cv_search_gethostbyname" = no
; then
9412 for ac_lib
in nsl
; do
9413 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9414 cat >conftest.
$ac_ext <<_ACEOF
9417 cat confdefs.h
>>conftest.
$ac_ext
9418 cat >>conftest.
$ac_ext <<_ACEOF
9419 /* end confdefs.h. */
9421 /* Override any gcc2 internal prototype to avoid an error. */
9425 /* We use char because int might match the return type of a gcc2
9426 builtin and then its argument prototype would still apply. */
9427 char gethostbyname ();
9436 rm -f conftest.
$ac_objext conftest
$ac_exeext
9437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9438 (eval $ac_link) 2>conftest.er1
9440 grep -v '^ *+' conftest.er1
>conftest.err
9442 cat conftest.err
>&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); } &&
9445 { ac_try
='test -z "$ac_c_werror_flag"
9446 || test ! -s conftest.err'
9447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); }; } &&
9452 { ac_try
='test -s conftest$ac_exeext'
9453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); }; }; then
9458 ac_cv_search_gethostbyname
="-l$ac_lib"
9461 echo "$as_me: failed program was:" >&5
9462 sed 's/^/| /' conftest.
$ac_ext >&5
9465 rm -f conftest.err conftest.
$ac_objext \
9466 conftest
$ac_exeext conftest.
$ac_ext
9469 LIBS
=$ac_func_search_save_LIBS
9471 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
9472 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
9473 if test "$ac_cv_search_gethostbyname" != no
; then
9474 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
9479 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
9480 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
9481 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
9482 if test "${ac_cv_search_socketpair+set}" = set; then
9483 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 ac_func_search_save_LIBS
=$LIBS
9486 ac_cv_search_socketpair
=no
9487 cat >conftest.
$ac_ext <<_ACEOF
9490 cat confdefs.h
>>conftest.
$ac_ext
9491 cat >>conftest.
$ac_ext <<_ACEOF
9492 /* end confdefs.h. */
9494 /* Override any gcc2 internal prototype to avoid an error. */
9498 /* We use char because int might match the return type of a gcc2
9499 builtin and then its argument prototype would still apply. */
9509 rm -f conftest.
$ac_objext conftest
$ac_exeext
9510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9511 (eval $ac_link) 2>conftest.er1
9513 grep -v '^ *+' conftest.er1
>conftest.err
9515 cat conftest.err
>&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } &&
9518 { ac_try
='test -z "$ac_c_werror_flag"
9519 || test ! -s conftest.err'
9520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); }; } &&
9525 { ac_try
='test -s conftest$ac_exeext'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; }; then
9531 ac_cv_search_socketpair
="none required"
9533 echo "$as_me: failed program was:" >&5
9534 sed 's/^/| /' conftest.
$ac_ext >&5
9537 rm -f conftest.err conftest.
$ac_objext \
9538 conftest
$ac_exeext conftest.
$ac_ext
9539 if test "$ac_cv_search_socketpair" = no
; then
9540 for ac_lib
in socket
; do
9541 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9542 cat >conftest.
$ac_ext <<_ACEOF
9545 cat confdefs.h
>>conftest.
$ac_ext
9546 cat >>conftest.
$ac_ext <<_ACEOF
9547 /* end confdefs.h. */
9549 /* Override any gcc2 internal prototype to avoid an error. */
9553 /* We use char because int might match the return type of a gcc2
9554 builtin and then its argument prototype would still apply. */
9564 rm -f conftest.
$ac_objext conftest
$ac_exeext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9566 (eval $ac_link) 2>conftest.er1
9568 grep -v '^ *+' conftest.er1
>conftest.err
9570 cat conftest.err
>&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); } &&
9573 { ac_try
='test -z "$ac_c_werror_flag"
9574 || test ! -s conftest.err'
9575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); }; } &&
9580 { ac_try
='test -s conftest$ac_exeext'
9581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); }; }; then
9586 ac_cv_search_socketpair
="-l$ac_lib"
9589 echo "$as_me: failed program was:" >&5
9590 sed 's/^/| /' conftest.
$ac_ext >&5
9593 rm -f conftest.err conftest.
$ac_objext \
9594 conftest
$ac_exeext conftest.
$ac_ext
9597 LIBS
=$ac_func_search_save_LIBS
9599 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
9600 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
9601 if test "$ac_cv_search_socketpair" != no
; then
9602 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
9607 # Link in zlib if we can. This allows us to read compressed debug sections.
9608 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
9609 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
9610 if test "${ac_cv_search_zlibVersion+set}" = set; then
9611 echo $ECHO_N "(cached) $ECHO_C" >&6
9613 ac_func_search_save_LIBS
=$LIBS
9614 ac_cv_search_zlibVersion
=no
9615 cat >conftest.
$ac_ext <<_ACEOF
9618 cat confdefs.h
>>conftest.
$ac_ext
9619 cat >>conftest.
$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9622 /* Override any gcc2 internal prototype to avoid an error. */
9626 /* We use char because int might match the return type of a gcc2
9627 builtin and then its argument prototype would still apply. */
9628 char zlibVersion ();
9637 rm -f conftest.
$ac_objext conftest
$ac_exeext
9638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9639 (eval $ac_link) 2>conftest.er1
9641 grep -v '^ *+' conftest.er1
>conftest.err
9643 cat conftest.err
>&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); } &&
9646 { ac_try
='test -z "$ac_c_werror_flag"
9647 || test ! -s conftest.err'
9648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); }; } &&
9653 { ac_try
='test -s conftest$ac_exeext'
9654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); }; }; then
9659 ac_cv_search_zlibVersion
="none required"
9661 echo "$as_me: failed program was:" >&5
9662 sed 's/^/| /' conftest.
$ac_ext >&5
9665 rm -f conftest.err conftest.
$ac_objext \
9666 conftest
$ac_exeext conftest.
$ac_ext
9667 if test "$ac_cv_search_zlibVersion" = no
; then
9669 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9670 cat >conftest.
$ac_ext <<_ACEOF
9673 cat confdefs.h
>>conftest.
$ac_ext
9674 cat >>conftest.
$ac_ext <<_ACEOF
9675 /* end confdefs.h. */
9677 /* Override any gcc2 internal prototype to avoid an error. */
9681 /* We use char because int might match the return type of a gcc2
9682 builtin and then its argument prototype would still apply. */
9683 char zlibVersion ();
9692 rm -f conftest.
$ac_objext conftest
$ac_exeext
9693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9694 (eval $ac_link) 2>conftest.er1
9696 grep -v '^ *+' conftest.er1
>conftest.err
9698 cat conftest.err
>&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); } &&
9701 { ac_try
='test -z "$ac_c_werror_flag"
9702 || test ! -s conftest.err'
9703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); }; } &&
9708 { ac_try
='test -s conftest$ac_exeext'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; }; then
9714 ac_cv_search_zlibVersion
="-l$ac_lib"
9717 echo "$as_me: failed program was:" >&5
9718 sed 's/^/| /' conftest.
$ac_ext >&5
9721 rm -f conftest.err conftest.
$ac_objext \
9722 conftest
$ac_exeext conftest.
$ac_ext
9725 LIBS
=$ac_func_search_save_LIBS
9727 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
9728 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
9729 if test "$ac_cv_search_zlibVersion" != no
; then
9730 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
9732 for ac_header
in zlib.h
9734 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9736 echo "$as_me:$LINENO: checking for $ac_header" >&5
9737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9739 echo $ECHO_N "(cached) $ECHO_C" >&6
9741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9744 # Is the header compilable?
9745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9747 cat >conftest.
$ac_ext <<_ACEOF
9750 cat confdefs.h
>>conftest.
$ac_ext
9751 cat >>conftest.
$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9753 $ac_includes_default
9754 #include <$ac_header>
9756 rm -f conftest.
$ac_objext
9757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9758 (eval $ac_compile) 2>conftest.er1
9760 grep -v '^ *+' conftest.er1
>conftest.err
9762 cat conftest.err
>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } &&
9765 { ac_try
='test -z "$ac_c_werror_flag"
9766 || test ! -s conftest.err'
9767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); }; } &&
9772 { ac_try
='test -s conftest.$ac_objext'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; }; then
9778 ac_header_compiler
=yes
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.
$ac_ext >&5
9783 ac_header_compiler
=no
9785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9787 echo "${ECHO_T}$ac_header_compiler" >&6
9789 # Is the header present?
9790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9792 cat >conftest.
$ac_ext <<_ACEOF
9795 cat confdefs.h
>>conftest.
$ac_ext
9796 cat >>conftest.
$ac_ext <<_ACEOF
9797 /* end confdefs.h. */
9798 #include <$ac_header>
9800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9803 grep -v '^ *+' conftest.er1
>conftest.err
9805 cat conftest.err
>&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); } >/dev
/null
; then
9808 if test -s conftest.err
; then
9809 ac_cpp_err
=$ac_c_preproc_warn_flag
9810 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9817 if test -z "$ac_cpp_err"; then
9818 ac_header_preproc
=yes
9820 echo "$as_me: failed program was:" >&5
9821 sed 's/^/| /' conftest.
$ac_ext >&5
9823 ac_header_preproc
=no
9825 rm -f conftest.err conftest.
$ac_ext
9826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9827 echo "${ECHO_T}$ac_header_preproc" >&6
9829 # So? What about this header?
9830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9836 ac_header_preproc
=yes
9839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9853 ## ------------------------------------------ ##
9854 ## Report this to the AC_PACKAGE_NAME lists. ##
9855 ## ------------------------------------------ ##
9858 sed "s/^/$as_me: WARNING: /" >&2
9861 echo "$as_me:$LINENO: checking for $ac_header" >&5
9862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9864 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 eval "$as_ac_Header=\$ac_header_preproc"
9868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9873 cat >>confdefs.h
<<_ACEOF
9874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9884 # For the TUI, we need enhanced curses functionality.
9886 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
9887 # curses library because the latter might not provide all the
9888 # functionality we need. However, this leads to problems on systems
9889 # where the linker searches /usr/local/lib, but the compiler doesn't
9890 # search /usr/local/include, if ncurses is installed in /usr/local. A
9891 # default installation of ncurses on alpha*-dec-osf* will lead to such
9893 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
9894 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
9895 if test "${ac_cv_search_waddstr+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 ac_func_search_save_LIBS
=$LIBS
9899 ac_cv_search_waddstr
=no
9900 cat >conftest.
$ac_ext <<_ACEOF
9903 cat confdefs.h
>>conftest.
$ac_ext
9904 cat >>conftest.
$ac_ext <<_ACEOF
9905 /* end confdefs.h. */
9907 /* Override any gcc2 internal prototype to avoid an error. */
9911 /* We use char because int might match the return type of a gcc2
9912 builtin and then its argument prototype would still apply. */
9922 rm -f conftest.
$ac_objext conftest
$ac_exeext
9923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9924 (eval $ac_link) 2>conftest.er1
9926 grep -v '^ *+' conftest.er1
>conftest.err
9928 cat conftest.err
>&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } &&
9931 { ac_try
='test -z "$ac_c_werror_flag"
9932 || test ! -s conftest.err'
9933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; } &&
9938 { ac_try
='test -s conftest$ac_exeext'
9939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; }; then
9944 ac_cv_search_waddstr
="none required"
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.
$ac_ext >&5
9950 rm -f conftest.err conftest.
$ac_objext \
9951 conftest
$ac_exeext conftest.
$ac_ext
9952 if test "$ac_cv_search_waddstr" = no
; then
9953 for ac_lib
in ncurses cursesX curses
; do
9954 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9955 cat >conftest.
$ac_ext <<_ACEOF
9958 cat confdefs.h
>>conftest.
$ac_ext
9959 cat >>conftest.
$ac_ext <<_ACEOF
9960 /* end confdefs.h. */
9962 /* Override any gcc2 internal prototype to avoid an error. */
9966 /* We use char because int might match the return type of a gcc2
9967 builtin and then its argument prototype would still apply. */
9977 rm -f conftest.
$ac_objext conftest
$ac_exeext
9978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9979 (eval $ac_link) 2>conftest.er1
9981 grep -v '^ *+' conftest.er1
>conftest.err
9983 cat conftest.err
>&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); } &&
9986 { ac_try
='test -z "$ac_c_werror_flag"
9987 || test ! -s conftest.err'
9988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); }; } &&
9993 { ac_try
='test -s conftest$ac_exeext'
9994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); }; }; then
9999 ac_cv_search_waddstr
="-l$ac_lib"
10002 echo "$as_me: failed program was:" >&5
10003 sed 's/^/| /' conftest.
$ac_ext >&5
10006 rm -f conftest.err conftest.
$ac_objext \
10007 conftest
$ac_exeext conftest.
$ac_ext
10010 LIBS
=$ac_func_search_save_LIBS
10012 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
10013 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
10014 if test "$ac_cv_search_waddstr" != no
; then
10015 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
10020 # On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
10021 echo "$as_me:$LINENO: checking for library containing dlgetmodinfo" >&5
10022 echo $ECHO_N "checking for library containing dlgetmodinfo... $ECHO_C" >&6
10023 if test "${ac_cv_search_dlgetmodinfo+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10026 ac_func_search_save_LIBS
=$LIBS
10027 ac_cv_search_dlgetmodinfo
=no
10028 cat >conftest.
$ac_ext <<_ACEOF
10031 cat confdefs.h
>>conftest.
$ac_ext
10032 cat >>conftest.
$ac_ext <<_ACEOF
10033 /* end confdefs.h. */
10035 /* Override any gcc2 internal prototype to avoid an error. */
10039 /* We use char because int might match the return type of a gcc2
10040 builtin and then its argument prototype would still apply. */
10041 char dlgetmodinfo ();
10050 rm -f conftest.
$ac_objext conftest
$ac_exeext
10051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10052 (eval $ac_link) 2>conftest.er1
10054 grep -v '^ *+' conftest.er1
>conftest.err
10056 cat conftest.err
>&5
10057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10058 (exit $ac_status); } &&
10059 { ac_try
='test -z "$ac_c_werror_flag"
10060 || test ! -s conftest.err'
10061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10062 (eval $ac_try) 2>&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); }; } &&
10066 { ac_try
='test -s conftest$ac_exeext'
10067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10068 (eval $ac_try) 2>&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); }; }; then
10072 ac_cv_search_dlgetmodinfo
="none required"
10074 echo "$as_me: failed program was:" >&5
10075 sed 's/^/| /' conftest.
$ac_ext >&5
10078 rm -f conftest.err conftest.
$ac_objext \
10079 conftest
$ac_exeext conftest.
$ac_ext
10080 if test "$ac_cv_search_dlgetmodinfo" = no
; then
10081 for ac_lib
in dl xpdl
; do
10082 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10083 cat >conftest.
$ac_ext <<_ACEOF
10086 cat confdefs.h
>>conftest.
$ac_ext
10087 cat >>conftest.
$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10090 /* Override any gcc2 internal prototype to avoid an error. */
10094 /* We use char because int might match the return type of a gcc2
10095 builtin and then its argument prototype would still apply. */
10096 char dlgetmodinfo ();
10105 rm -f conftest.
$ac_objext conftest
$ac_exeext
10106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10107 (eval $ac_link) 2>conftest.er1
10109 grep -v '^ *+' conftest.er1
>conftest.err
10111 cat conftest.err
>&5
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); } &&
10114 { ac_try
='test -z "$ac_c_werror_flag"
10115 || test ! -s conftest.err'
10116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10117 (eval $ac_try) 2>&5
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); }; } &&
10121 { ac_try
='test -s conftest$ac_exeext'
10122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10123 (eval $ac_try) 2>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); }; }; then
10127 ac_cv_search_dlgetmodinfo
="-l$ac_lib"
10130 echo "$as_me: failed program was:" >&5
10131 sed 's/^/| /' conftest.
$ac_ext >&5
10134 rm -f conftest.err conftest.
$ac_objext \
10135 conftest
$ac_exeext conftest.
$ac_ext
10138 LIBS
=$ac_func_search_save_LIBS
10140 echo "$as_me:$LINENO: result: $ac_cv_search_dlgetmodinfo" >&5
10141 echo "${ECHO_T}$ac_cv_search_dlgetmodinfo" >&6
10142 if test "$ac_cv_search_dlgetmodinfo" != no
; then
10143 test "$ac_cv_search_dlgetmodinfo" = "none required" || LIBS
="$ac_cv_search_dlgetmodinfo $LIBS"
10148 # Since GDB uses Readline, we need termcap functionality. In many
10149 # cases this will be provided by the curses library, but some systems
10150 # have a seperate termcap library, or no curses library at all.
10154 if test -d $srcdir/libtermcap
; then
10155 LIBS
="../libtermcap/libtermcap.a $LIBS"
10156 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
10159 ac_cv_search_tgetent
="none required"
10162 ac_cv_search_tgetent
="none required"
10163 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
10167 # These are the libraries checked by Readline.
10168 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
10169 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
10170 if test "${ac_cv_search_tgetent+set}" = set; then
10171 echo $ECHO_N "(cached) $ECHO_C" >&6
10173 ac_func_search_save_LIBS
=$LIBS
10174 ac_cv_search_tgetent
=no
10175 cat >conftest.
$ac_ext <<_ACEOF
10178 cat confdefs.h
>>conftest.
$ac_ext
10179 cat >>conftest.
$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10182 /* Override any gcc2 internal prototype to avoid an error. */
10186 /* We use char because int might match the return type of a gcc2
10187 builtin and then its argument prototype would still apply. */
10197 rm -f conftest.
$ac_objext conftest
$ac_exeext
10198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10199 (eval $ac_link) 2>conftest.er1
10201 grep -v '^ *+' conftest.er1
>conftest.err
10203 cat conftest.err
>&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } &&
10206 { ac_try
='test -z "$ac_c_werror_flag"
10207 || test ! -s conftest.err'
10208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10209 (eval $ac_try) 2>&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); }; } &&
10213 { ac_try
='test -s conftest$ac_exeext'
10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215 (eval $ac_try) 2>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); }; }; then
10219 ac_cv_search_tgetent
="none required"
10221 echo "$as_me: failed program was:" >&5
10222 sed 's/^/| /' conftest.
$ac_ext >&5
10225 rm -f conftest.err conftest.
$ac_objext \
10226 conftest
$ac_exeext conftest.
$ac_ext
10227 if test "$ac_cv_search_tgetent" = no
; then
10228 for ac_lib
in termcap tinfo curses ncurses
; do
10229 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10230 cat >conftest.
$ac_ext <<_ACEOF
10233 cat confdefs.h
>>conftest.
$ac_ext
10234 cat >>conftest.
$ac_ext <<_ACEOF
10235 /* end confdefs.h. */
10237 /* Override any gcc2 internal prototype to avoid an error. */
10241 /* We use char because int might match the return type of a gcc2
10242 builtin and then its argument prototype would still apply. */
10252 rm -f conftest.
$ac_objext conftest
$ac_exeext
10253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10254 (eval $ac_link) 2>conftest.er1
10256 grep -v '^ *+' conftest.er1
>conftest.err
10258 cat conftest.err
>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); } &&
10261 { ac_try
='test -z "$ac_c_werror_flag"
10262 || test ! -s conftest.err'
10263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10264 (eval $ac_try) 2>&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); }; } &&
10268 { ac_try
='test -s conftest$ac_exeext'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; }; then
10274 ac_cv_search_tgetent
="-l$ac_lib"
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.
$ac_ext >&5
10281 rm -f conftest.err conftest.
$ac_objext \
10282 conftest
$ac_exeext conftest.
$ac_ext
10285 LIBS
=$ac_func_search_save_LIBS
10287 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
10288 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
10289 if test "$ac_cv_search_tgetent" != no
; then
10290 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
10295 if test "$ac_cv_search_tgetent" = no
; then
10296 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
10297 echo "$as_me: error: no termcap library found" >&2;}
10298 { (exit 1); exit 1; }; }
10302 # Check whether --with-system-readline or --without-system-readline was given.
10303 if test "${with_system_readline+set}" = set; then
10304 withval
="$with_system_readline"
10308 if test "$with_system_readline" = yes; then
10309 READLINE
=-lreadline
10313 READLINE
='$(READLINE_DIR)/libreadline.a'
10314 READLINE_DEPS
='$(READLINE)'
10315 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
10322 # Check whether --with-expat or --without-expat was given.
10323 if test "${with_expat+set}" = set; then
10324 withval
="$with_expat"
10329 echo "$as_me:$LINENO: checking whether to use expat" >&5
10330 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
10331 echo "$as_me:$LINENO: result: $with_expat" >&5
10332 echo "${ECHO_T}$with_expat" >&6
10334 if test "${with_expat}" = no
; then
10335 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
10336 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
10340 if test "X$prefix" = "XNONE"; then
10341 acl_final_prefix
="$ac_default_prefix"
10343 acl_final_prefix
="$prefix"
10345 if test "X$exec_prefix" = "XNONE"; then
10346 acl_final_exec_prefix
='${prefix}'
10348 acl_final_exec_prefix
="$exec_prefix"
10350 acl_save_prefix
="$prefix"
10351 prefix
="$acl_final_prefix"
10352 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10353 prefix
="$acl_save_prefix"
10356 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10357 if test "${with_gnu_ld+set}" = set; then
10358 withval
="$with_gnu_ld"
10359 test "$withval" = no || with_gnu_ld
=yes
10363 # Prepare PATH_SEPARATOR.
10364 # The user is always right.
10365 if test "${PATH_SEPARATOR+set}" != set; then
10366 echo "#! /bin/sh" >conf$$.sh
10367 echo "exit 0" >>conf$$.sh
10369 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10377 if test "$GCC" = yes; then
10378 # Check if gcc -print-prog-name=ld gives a path.
10379 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10380 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10383 # gcc leaves a trailing carriage return which upsets mingw
10384 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10386 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10389 # Accept absolute paths.
10390 [\\/]* |
[A-Za-z
]:[\\/]*)
10391 re_direlt
='/[^/][^/]*/\.\./'
10392 # Canonicalize the path of ld
10393 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10394 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10395 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10397 test -z "$LD" && LD
="$ac_prog"
10400 # If it fails, then pretend we aren't using GCC.
10404 # If it is relative, then search for the first ld in PATH.
10405 with_gnu_ld
=unknown
10408 elif test "$with_gnu_ld" = yes; then
10409 echo "$as_me:$LINENO: checking for GNU ld" >&5
10410 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10412 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10413 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10415 if test "${acl_cv_path_LD+set}" = set; then
10416 echo $ECHO_N "(cached) $ECHO_C" >&6
10418 if test -z "$LD"; then
10419 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10420 for ac_dir
in $PATH; do
10421 test -z "$ac_dir" && ac_dir
=.
10422 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10423 acl_cv_path_LD
="$ac_dir/$ac_prog"
10424 # Check to see if the program is GNU ld. I'd rather use --version,
10425 # but apparently some GNU ld's only accept -v.
10426 # Break only if it was the GNU/non-GNU ld that we prefer.
10427 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10428 test "$with_gnu_ld" != no
&& break
10430 test "$with_gnu_ld" != yes && break
10436 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10440 LD
="$acl_cv_path_LD"
10441 if test -n "$LD"; then
10442 echo "$as_me:$LINENO: result: $LD" >&5
10443 echo "${ECHO_T}$LD" >&6
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10448 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10449 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10450 { (exit 1); exit 1; }; }
10451 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10452 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10453 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10454 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10457 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10458 acl_cv_prog_gnu_ld
=yes
10460 acl_cv_prog_gnu_ld
=no
10463 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10464 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10465 with_gnu_ld
=$acl_cv_prog_gnu_ld
10469 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10470 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10471 if test "${acl_cv_rpath+set}" = set; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10475 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10476 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10478 rm -f .
/conftest.sh
10482 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10483 echo "${ECHO_T}$acl_cv_rpath" >&6
10485 libext
="$acl_cv_libext"
10486 shlibext
="$acl_cv_shlibext"
10487 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10488 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10489 hardcode_direct
="$acl_cv_hardcode_direct"
10490 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10491 # Check whether --enable-rpath or --disable-rpath was given.
10492 if test "${enable_rpath+set}" = set; then
10493 enableval
="$enable_rpath"
10509 acl_save_prefix
="$prefix"
10510 prefix
="$acl_final_prefix"
10511 acl_save_exec_prefix
="$exec_prefix"
10512 exec_prefix
="$acl_final_exec_prefix"
10514 eval additional_includedir
=\"$includedir\"
10515 eval additional_libdir
=\"$libdir\"
10517 exec_prefix
="$acl_save_exec_prefix"
10518 prefix
="$acl_save_prefix"
10521 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
10522 if test "${with_libexpat_prefix+set}" = set; then
10523 withval
="$with_libexpat_prefix"
10525 if test "X$withval" = "Xno"; then
10528 if test "X$withval" = "X"; then
10530 acl_save_prefix
="$prefix"
10531 prefix
="$acl_final_prefix"
10532 acl_save_exec_prefix
="$exec_prefix"
10533 exec_prefix
="$acl_final_exec_prefix"
10535 eval additional_includedir
=\"$includedir\"
10536 eval additional_libdir
=\"$libdir\"
10538 exec_prefix
="$acl_save_exec_prefix"
10539 prefix
="$acl_save_prefix"
10542 additional_includedir
="$withval/include"
10543 additional_libdir
="$withval/lib"
10553 names_already_handled
=
10554 names_next_round
='expat '
10555 while test -n "$names_next_round"; do
10556 names_this_round
="$names_next_round"
10558 for name
in $names_this_round; do
10560 for n
in $names_already_handled; do
10561 if test "$n" = "$name"; then
10562 already_handled
=yes
10566 if test -z "$already_handled"; then
10567 names_already_handled
="$names_already_handled $name"
10568 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10569 eval value
=\"\
$HAVE_LIB$uppername\"
10570 if test -n "$value"; then
10571 if test "$value" = yes; then
10572 eval value
=\"\
$LIB$uppername\"
10573 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
10574 eval value
=\"\
$LTLIB$uppername\"
10575 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
10584 if test $use_additional = yes; then
10585 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10586 found_dir
="$additional_libdir"
10587 found_so
="$additional_libdir/lib$name.$shlibext"
10588 if test -f "$additional_libdir/lib$name.la"; then
10589 found_la
="$additional_libdir/lib$name.la"
10592 if test -f "$additional_libdir/lib$name.$libext"; then
10593 found_dir
="$additional_libdir"
10594 found_a
="$additional_libdir/lib$name.$libext"
10595 if test -f "$additional_libdir/lib$name.la"; then
10596 found_la
="$additional_libdir/lib$name.la"
10601 if test "X$found_dir" = "X"; then
10602 for x
in $LDFLAGS $LTLIBEXPAT; do
10604 acl_save_prefix
="$prefix"
10605 prefix
="$acl_final_prefix"
10606 acl_save_exec_prefix
="$exec_prefix"
10607 exec_prefix
="$acl_final_exec_prefix"
10609 exec_prefix
="$acl_save_exec_prefix"
10610 prefix
="$acl_save_prefix"
10614 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10615 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10617 found_so
="$dir/lib$name.$shlibext"
10618 if test -f "$dir/lib$name.la"; then
10619 found_la
="$dir/lib$name.la"
10622 if test -f "$dir/lib$name.$libext"; then
10624 found_a
="$dir/lib$name.$libext"
10625 if test -f "$dir/lib$name.la"; then
10626 found_la
="$dir/lib$name.la"
10632 if test "X$found_dir" != "X"; then
10637 if test "X$found_dir" != "X"; then
10638 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
10639 if test "X$found_so" != "X"; then
10640 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10641 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10644 for x
in $ltrpathdirs; do
10645 if test "X$x" = "X$found_dir"; then
10650 if test -z "$haveit"; then
10651 ltrpathdirs
="$ltrpathdirs $found_dir"
10653 if test "$hardcode_direct" = yes; then
10654 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10656 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10657 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10659 for x
in $rpathdirs; do
10660 if test "X$x" = "X$found_dir"; then
10665 if test -z "$haveit"; then
10666 rpathdirs
="$rpathdirs $found_dir"
10670 for x
in $LDFLAGS $LIBEXPAT; do
10672 acl_save_prefix
="$prefix"
10673 prefix
="$acl_final_prefix"
10674 acl_save_exec_prefix
="$exec_prefix"
10675 exec_prefix
="$acl_final_exec_prefix"
10677 exec_prefix
="$acl_save_exec_prefix"
10678 prefix
="$acl_save_prefix"
10680 if test "X$x" = "X-L$found_dir"; then
10685 if test -z "$haveit"; then
10686 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
10688 if test "$hardcode_minus_L" != no
; then
10689 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10691 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
10697 if test "X$found_a" != "X"; then
10698 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
10700 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
10703 additional_includedir
=
10704 case "$found_dir" in
10706 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10707 additional_includedir
="$basedir/include"
10710 if test "X$additional_includedir" != "X"; then
10711 if test "X$additional_includedir" != "X/usr/include"; then
10713 if test "X$additional_includedir" = "X/usr/local/include"; then
10714 if test -n "$GCC"; then
10716 linux
*) haveit
=yes;;
10720 if test -z "$haveit"; then
10721 for x
in $CPPFLAGS $INCEXPAT; do
10723 acl_save_prefix
="$prefix"
10724 prefix
="$acl_final_prefix"
10725 acl_save_exec_prefix
="$exec_prefix"
10726 exec_prefix
="$acl_final_exec_prefix"
10728 exec_prefix
="$acl_save_exec_prefix"
10729 prefix
="$acl_save_prefix"
10731 if test "X$x" = "X-I$additional_includedir"; then
10736 if test -z "$haveit"; then
10737 if test -d "$additional_includedir"; then
10738 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
10744 if test -n "$found_la"; then
10745 save_libdir
="$libdir"
10746 case "$found_la" in
10747 */* |
*\\*) .
"$found_la" ;;
10748 *) .
"./$found_la" ;;
10750 libdir
="$save_libdir"
10751 for dep
in $dependency_libs; do
10754 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10755 if test "X$additional_libdir" != "X/usr/lib"; then
10757 if test "X$additional_libdir" = "X/usr/local/lib"; then
10758 if test -n "$GCC"; then
10760 linux
*) haveit
=yes;;
10764 if test -z "$haveit"; then
10766 for x
in $LDFLAGS $LIBEXPAT; do
10768 acl_save_prefix
="$prefix"
10769 prefix
="$acl_final_prefix"
10770 acl_save_exec_prefix
="$exec_prefix"
10771 exec_prefix
="$acl_final_exec_prefix"
10773 exec_prefix
="$acl_save_exec_prefix"
10774 prefix
="$acl_save_prefix"
10776 if test "X$x" = "X-L$additional_libdir"; then
10781 if test -z "$haveit"; then
10782 if test -d "$additional_libdir"; then
10783 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
10787 for x
in $LDFLAGS $LTLIBEXPAT; do
10789 acl_save_prefix
="$prefix"
10790 prefix
="$acl_final_prefix"
10791 acl_save_exec_prefix
="$exec_prefix"
10792 exec_prefix
="$acl_final_exec_prefix"
10794 exec_prefix
="$acl_save_exec_prefix"
10795 prefix
="$acl_save_prefix"
10797 if test "X$x" = "X-L$additional_libdir"; then
10802 if test -z "$haveit"; then
10803 if test -d "$additional_libdir"; then
10804 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
10811 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10812 if test "$enable_rpath" != no
; then
10814 for x
in $rpathdirs; do
10815 if test "X$x" = "X$dir"; then
10820 if test -z "$haveit"; then
10821 rpathdirs
="$rpathdirs $dir"
10824 for x
in $ltrpathdirs; do
10825 if test "X$x" = "X$dir"; then
10830 if test -z "$haveit"; then
10831 ltrpathdirs
="$ltrpathdirs $dir"
10836 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10839 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10842 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
10843 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
10849 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
10850 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
10856 if test "X$rpathdirs" != "X"; then
10857 if test -n "$hardcode_libdir_separator"; then
10859 for found_dir
in $rpathdirs; do
10860 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10862 acl_save_libdir
="$libdir"
10864 eval flag
=\"$hardcode_libdir_flag_spec\"
10865 libdir
="$acl_save_libdir"
10866 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
10868 for found_dir
in $rpathdirs; do
10869 acl_save_libdir
="$libdir"
10870 libdir
="$found_dir"
10871 eval flag
=\"$hardcode_libdir_flag_spec\"
10872 libdir
="$acl_save_libdir"
10873 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
10877 if test "X$ltrpathdirs" != "X"; then
10878 for found_dir
in $ltrpathdirs; do
10879 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
10884 ac_save_CPPFLAGS
="$CPPFLAGS"
10886 for element
in $INCEXPAT; do
10888 for x
in $CPPFLAGS; do
10890 acl_save_prefix
="$prefix"
10891 prefix
="$acl_final_prefix"
10892 acl_save_exec_prefix
="$exec_prefix"
10893 exec_prefix
="$acl_final_exec_prefix"
10895 exec_prefix
="$acl_save_exec_prefix"
10896 prefix
="$acl_save_prefix"
10898 if test "X$x" = "X$element"; then
10903 if test -z "$haveit"; then
10904 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10909 echo "$as_me:$LINENO: checking for libexpat" >&5
10910 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
10911 if test "${ac_cv_libexpat+set}" = set; then
10912 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 ac_save_LIBS
="$LIBS"
10916 LIBS
="$LIBS $LIBEXPAT"
10917 cat >conftest.
$ac_ext <<_ACEOF
10920 cat confdefs.h
>>conftest.
$ac_ext
10921 cat >>conftest.
$ac_ext <<_ACEOF
10922 /* end confdefs.h. */
10927 XML_Parser p = XML_ParserCreate (0);
10932 rm -f conftest.
$ac_objext conftest
$ac_exeext
10933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10934 (eval $ac_link) 2>conftest.er1
10936 grep -v '^ *+' conftest.er1
>conftest.err
10938 cat conftest.err
>&5
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); } &&
10941 { ac_try
='test -z "$ac_c_werror_flag"
10942 || test ! -s conftest.err'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; } &&
10948 { ac_try
='test -s conftest$ac_exeext'
10949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10950 (eval $ac_try) 2>&5
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); }; }; then
10956 echo "$as_me: failed program was:" >&5
10957 sed 's/^/| /' conftest.
$ac_ext >&5
10961 rm -f conftest.err conftest.
$ac_objext \
10962 conftest
$ac_exeext conftest.
$ac_ext
10963 LIBS
="$ac_save_LIBS"
10966 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
10967 echo "${ECHO_T}$ac_cv_libexpat" >&6
10968 if test "$ac_cv_libexpat" = yes; then
10971 cat >>confdefs.h
<<\_ACEOF
10972 #define HAVE_LIBEXPAT 1
10975 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
10976 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
10977 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
10978 echo "${ECHO_T}$LIBEXPAT" >&6
10981 CPPFLAGS
="$ac_save_CPPFLAGS"
10991 if test "$HAVE_LIBEXPAT" != yes; then
10992 if test "$with_expat" = yes; then
10993 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
10994 echo "$as_me: error: expat is missing or unusable" >&2;}
10995 { (exit 1); exit 1; }; }
10997 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
10998 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
11002 LIBS
="$LIBS $LIBEXPAT"
11004 for ac_func
in XML_StopParser
11006 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11007 echo "$as_me:$LINENO: checking for $ac_func" >&5
11008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11009 if eval "test \"\${$as_ac_var+set}\" = set"; then
11010 echo $ECHO_N "(cached) $ECHO_C" >&6
11012 cat >conftest.
$ac_ext <<_ACEOF
11015 cat confdefs.h
>>conftest.
$ac_ext
11016 cat >>conftest.
$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11020 #define $ac_func innocuous_$ac_func
11022 /* System header to define __stub macros and hopefully few prototypes,
11023 which can conflict with char $ac_func (); below.
11024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11025 <limits.h> exists even on freestanding compilers. */
11028 # include <limits.h>
11030 # include <assert.h>
11035 /* Override any gcc2 internal prototype to avoid an error. */
11040 /* We use char because int might match the return type of a gcc2
11041 builtin and then its argument prototype would still apply. */
11043 /* The GNU C library defines this for functions which it implements
11044 to always fail with ENOSYS. Some functions are actually named
11045 something starting with __ and the normal name is an alias. */
11046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11049 char (*f) () = $ac_func;
11058 return f != $ac_func;
11063 rm -f conftest.
$ac_objext conftest
$ac_exeext
11064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11065 (eval $ac_link) 2>conftest.er1
11067 grep -v '^ *+' conftest.er1
>conftest.err
11069 cat conftest.err
>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); } &&
11072 { ac_try
='test -z "$ac_c_werror_flag"
11073 || test ! -s conftest.err'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; } &&
11079 { ac_try
='test -s conftest$ac_exeext'
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then
11085 eval "$as_ac_var=yes"
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.
$ac_ext >&5
11090 eval "$as_ac_var=no"
11092 rm -f conftest.err conftest.
$ac_objext \
11093 conftest
$ac_exeext conftest.
$ac_ext
11095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11097 if test `eval echo '${'$as_ac_var'}'` = yes; then
11098 cat >>confdefs.h
<<_ACEOF
11099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11109 # ------------------------- #
11110 # Checks for header files. #
11111 # ------------------------- #
11118 ac_header_dirent
=no
11119 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
11120 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11121 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
11122 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
11123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 cat >conftest.
$ac_ext <<_ACEOF
11129 cat confdefs.h
>>conftest.
$ac_ext
11130 cat >>conftest.
$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 #include <sys/types.h>
11144 rm -f conftest.
$ac_objext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11146 (eval $ac_compile) 2>conftest.er1
11148 grep -v '^ *+' conftest.er1
>conftest.err
11150 cat conftest.err
>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); } &&
11153 { ac_try
='test -z "$ac_c_werror_flag"
11154 || test ! -s conftest.err'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; } &&
11160 { ac_try
='test -s conftest.$ac_objext'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11166 eval "$as_ac_Header=yes"
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.
$ac_ext >&5
11171 eval "$as_ac_Header=no"
11173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11178 cat >>confdefs.h
<<_ACEOF
11179 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11182 ac_header_dirent
=$ac_hdr; break
11186 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11187 if test $ac_header_dirent = dirent.h
; then
11188 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11189 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11190 if test "${ac_cv_search_opendir+set}" = set; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 ac_func_search_save_LIBS
=$LIBS
11194 ac_cv_search_opendir
=no
11195 cat >conftest.
$ac_ext <<_ACEOF
11198 cat confdefs.h
>>conftest.
$ac_ext
11199 cat >>conftest.
$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11202 /* Override any gcc2 internal prototype to avoid an error. */
11206 /* We use char because int might match the return type of a gcc2
11207 builtin and then its argument prototype would still apply. */
11217 rm -f conftest.
$ac_objext conftest
$ac_exeext
11218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11219 (eval $ac_link) 2>conftest.er1
11221 grep -v '^ *+' conftest.er1
>conftest.err
11223 cat conftest.err
>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } &&
11226 { ac_try
='test -z "$ac_c_werror_flag"
11227 || test ! -s conftest.err'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; } &&
11233 { ac_try
='test -s conftest$ac_exeext'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; }; then
11239 ac_cv_search_opendir
="none required"
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.
$ac_ext >&5
11245 rm -f conftest.err conftest.
$ac_objext \
11246 conftest
$ac_exeext conftest.
$ac_ext
11247 if test "$ac_cv_search_opendir" = no
; then
11248 for ac_lib
in dir
; do
11249 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11250 cat >conftest.
$ac_ext <<_ACEOF
11253 cat confdefs.h
>>conftest.
$ac_ext
11254 cat >>conftest.
$ac_ext <<_ACEOF
11255 /* end confdefs.h. */
11257 /* Override any gcc2 internal prototype to avoid an error. */
11261 /* We use char because int might match the return type of a gcc2
11262 builtin and then its argument prototype would still apply. */
11272 rm -f conftest.
$ac_objext conftest
$ac_exeext
11273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11274 (eval $ac_link) 2>conftest.er1
11276 grep -v '^ *+' conftest.er1
>conftest.err
11278 cat conftest.err
>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } &&
11281 { ac_try
='test -z "$ac_c_werror_flag"
11282 || test ! -s conftest.err'
11283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11284 (eval $ac_try) 2>&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); }; } &&
11288 { ac_try
='test -s conftest$ac_exeext'
11289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11290 (eval $ac_try) 2>&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); }; }; then
11294 ac_cv_search_opendir
="-l$ac_lib"
11297 echo "$as_me: failed program was:" >&5
11298 sed 's/^/| /' conftest.
$ac_ext >&5
11301 rm -f conftest.err conftest.
$ac_objext \
11302 conftest
$ac_exeext conftest.
$ac_ext
11305 LIBS
=$ac_func_search_save_LIBS
11307 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11308 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11309 if test "$ac_cv_search_opendir" != no
; then
11310 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11315 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11316 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11317 if test "${ac_cv_search_opendir+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 ac_func_search_save_LIBS
=$LIBS
11321 ac_cv_search_opendir
=no
11322 cat >conftest.
$ac_ext <<_ACEOF
11325 cat confdefs.h
>>conftest.
$ac_ext
11326 cat >>conftest.
$ac_ext <<_ACEOF
11327 /* end confdefs.h. */
11329 /* Override any gcc2 internal prototype to avoid an error. */
11333 /* We use char because int might match the return type of a gcc2
11334 builtin and then its argument prototype would still apply. */
11344 rm -f conftest.
$ac_objext conftest
$ac_exeext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11346 (eval $ac_link) 2>conftest.er1
11348 grep -v '^ *+' conftest.er1
>conftest.err
11350 cat conftest.err
>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } &&
11353 { ac_try
='test -z "$ac_c_werror_flag"
11354 || test ! -s conftest.err'
11355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11356 (eval $ac_try) 2>&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); }; } &&
11360 { ac_try
='test -s conftest$ac_exeext'
11361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11362 (eval $ac_try) 2>&5
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); }; }; then
11366 ac_cv_search_opendir
="none required"
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.
$ac_ext >&5
11372 rm -f conftest.err conftest.
$ac_objext \
11373 conftest
$ac_exeext conftest.
$ac_ext
11374 if test "$ac_cv_search_opendir" = no
; then
11375 for ac_lib
in x
; do
11376 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11377 cat >conftest.
$ac_ext <<_ACEOF
11380 cat confdefs.h
>>conftest.
$ac_ext
11381 cat >>conftest.
$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11384 /* Override any gcc2 internal prototype to avoid an error. */
11388 /* We use char because int might match the return type of a gcc2
11389 builtin and then its argument prototype would still apply. */
11399 rm -f conftest.
$ac_objext conftest
$ac_exeext
11400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11401 (eval $ac_link) 2>conftest.er1
11403 grep -v '^ *+' conftest.er1
>conftest.err
11405 cat conftest.err
>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); } &&
11408 { ac_try
='test -z "$ac_c_werror_flag"
11409 || test ! -s conftest.err'
11410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411 (eval $ac_try) 2>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); }; } &&
11415 { ac_try
='test -s conftest$ac_exeext'
11416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417 (eval $ac_try) 2>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); }; }; then
11421 ac_cv_search_opendir
="-l$ac_lib"
11424 echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.
$ac_ext >&5
11428 rm -f conftest.err conftest.
$ac_objext \
11429 conftest
$ac_exeext conftest.
$ac_ext
11432 LIBS
=$ac_func_search_save_LIBS
11434 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11435 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11436 if test "$ac_cv_search_opendir" != no
; then
11437 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11443 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11444 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11445 if test "${ac_cv_header_stat_broken+set}" = set; then
11446 echo $ECHO_N "(cached) $ECHO_C" >&6
11448 cat >conftest.
$ac_ext <<_ACEOF
11451 cat confdefs.h
>>conftest.
$ac_ext
11452 cat >>conftest.
$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11454 #include <sys/types.h>
11455 #include <sys/stat.h>
11457 #if defined(S_ISBLK) && defined(S_IFDIR)
11458 # if S_ISBLK (S_IFDIR)
11463 #if defined(S_ISBLK) && defined(S_IFCHR)
11464 # if S_ISBLK (S_IFCHR)
11469 #if defined(S_ISLNK) && defined(S_IFREG)
11470 # if S_ISLNK (S_IFREG)
11475 #if defined(S_ISSOCK) && defined(S_IFREG)
11476 # if S_ISSOCK (S_IFREG)
11482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11483 $EGREP "You lose" >/dev
/null
2>&1; then
11484 ac_cv_header_stat_broken
=yes
11486 ac_cv_header_stat_broken
=no
11491 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11492 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11493 if test $ac_cv_header_stat_broken = yes; then
11495 cat >>confdefs.h
<<\_ACEOF
11496 #define STAT_MACROS_BROKEN 1
11501 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11502 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11503 if test "${ac_cv_header_stdc+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 cat >conftest.
$ac_ext <<_ACEOF
11509 cat confdefs.h
>>conftest.
$ac_ext
11510 cat >>conftest.
$ac_ext <<_ACEOF
11511 /* end confdefs.h. */
11512 #include <stdlib.h>
11513 #include <stdarg.h>
11514 #include <string.h>
11525 rm -f conftest.
$ac_objext
11526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11527 (eval $ac_compile) 2>conftest.er1
11529 grep -v '^ *+' conftest.er1
>conftest.err
11531 cat conftest.err
>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); } &&
11534 { ac_try
='test -z "$ac_c_werror_flag"
11535 || test ! -s conftest.err'
11536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11537 (eval $ac_try) 2>&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); }; } &&
11541 { ac_try
='test -s conftest.$ac_objext'
11542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11543 (eval $ac_try) 2>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; }; then
11547 ac_cv_header_stdc
=yes
11549 echo "$as_me: failed program was:" >&5
11550 sed 's/^/| /' conftest.
$ac_ext >&5
11552 ac_cv_header_stdc
=no
11554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11556 if test $ac_cv_header_stdc = yes; then
11557 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 #include <string.h>
11567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11568 $EGREP "memchr" >/dev
/null
2>&1; then
11571 ac_cv_header_stdc
=no
11577 if test $ac_cv_header_stdc = yes; then
11578 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11579 cat >conftest.
$ac_ext <<_ACEOF
11582 cat confdefs.h
>>conftest.
$ac_ext
11583 cat >>conftest.
$ac_ext <<_ACEOF
11584 /* end confdefs.h. */
11585 #include <stdlib.h>
11588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11589 $EGREP "free" >/dev
/null
2>&1; then
11592 ac_cv_header_stdc
=no
11598 if test $ac_cv_header_stdc = yes; then
11599 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11600 if test "$cross_compiling" = yes; then
11603 cat >conftest.
$ac_ext <<_ACEOF
11606 cat confdefs.h
>>conftest.
$ac_ext
11607 cat >>conftest.
$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11610 #if ((' ' & 0x0FF) == 0x020)
11611 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11612 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11614 # define ISLOWER(c) \
11615 (('a' <= (c) && (c) <= 'i') \
11616 || ('j' <= (c) && (c) <= 'r') \
11617 || ('s' <= (c) && (c) <= 'z'))
11618 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11621 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11626 for (i = 0; i < 256; i++)
11627 if (XOR (islower (i), ISLOWER (i))
11628 || toupper (i) != TOUPPER (i))
11633 rm -f conftest
$ac_exeext
11634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11635 (eval $ac_link) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then
11646 echo "$as_me: program exited with status $ac_status" >&5
11647 echo "$as_me: failed program was:" >&5
11648 sed 's/^/| /' conftest.
$ac_ext >&5
11650 ( exit $ac_status )
11651 ac_cv_header_stdc
=no
11653 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11657 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11658 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11659 if test $ac_cv_header_stdc = yes; then
11661 cat >>confdefs.h
<<\_ACEOF
11662 #define STDC_HEADERS 1
11668 for ac_header
in nlist.h
11670 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11672 echo "$as_me:$LINENO: checking for $ac_header" >&5
11673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11675 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11680 # Is the header compilable?
11681 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11682 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11683 cat >conftest.
$ac_ext <<_ACEOF
11686 cat confdefs.h
>>conftest.
$ac_ext
11687 cat >>conftest.
$ac_ext <<_ACEOF
11688 /* end confdefs.h. */
11689 $ac_includes_default
11690 #include <$ac_header>
11692 rm -f conftest.
$ac_objext
11693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11694 (eval $ac_compile) 2>conftest.er1
11696 grep -v '^ *+' conftest.er1
>conftest.err
11698 cat conftest.err
>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); } &&
11701 { ac_try
='test -z "$ac_c_werror_flag"
11702 || test ! -s conftest.err'
11703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11704 (eval $ac_try) 2>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); }; } &&
11708 { ac_try
='test -s conftest.$ac_objext'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; }; then
11714 ac_header_compiler
=yes
11716 echo "$as_me: failed program was:" >&5
11717 sed 's/^/| /' conftest.
$ac_ext >&5
11719 ac_header_compiler
=no
11721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11723 echo "${ECHO_T}$ac_header_compiler" >&6
11725 # Is the header present?
11726 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11728 cat >conftest.
$ac_ext <<_ACEOF
11731 cat confdefs.h
>>conftest.
$ac_ext
11732 cat >>conftest.
$ac_ext <<_ACEOF
11733 /* end confdefs.h. */
11734 #include <$ac_header>
11736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11737 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11739 grep -v '^ *+' conftest.er1
>conftest.err
11741 cat conftest.err
>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); } >/dev
/null
; then
11744 if test -s conftest.err
; then
11745 ac_cpp_err
=$ac_c_preproc_warn_flag
11746 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11753 if test -z "$ac_cpp_err"; then
11754 ac_header_preproc
=yes
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11759 ac_header_preproc
=no
11761 rm -f conftest.err conftest.
$ac_ext
11762 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11763 echo "${ECHO_T}$ac_header_preproc" >&6
11765 # So? What about this header?
11766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11772 ac_header_preproc
=yes
11775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11789 ## ------------------------------------------ ##
11790 ## Report this to the AC_PACKAGE_NAME lists. ##
11791 ## ------------------------------------------ ##
11794 sed "s/^/$as_me: WARNING: /" >&2
11797 echo "$as_me:$LINENO: checking for $ac_header" >&5
11798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11802 eval "$as_ac_Header=\$ac_header_preproc"
11804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11809 cat >>confdefs.h
<<_ACEOF
11810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11818 for ac_header
in link.h
11820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11821 echo "$as_me:$LINENO: checking for $ac_header" >&5
11822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11824 echo $ECHO_N "(cached) $ECHO_C" >&6
11826 cat >conftest.
$ac_ext <<_ACEOF
11829 cat confdefs.h
>>conftest.
$ac_ext
11830 cat >>conftest.
$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11832 #if HAVE_SYS_TYPES_H
11833 # include <sys/types.h>
11836 # include <nlist.h>
11840 #include <$ac_header>
11842 rm -f conftest.
$ac_objext
11843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11844 (eval $ac_compile) 2>conftest.er1
11846 grep -v '^ *+' conftest.er1
>conftest.err
11848 cat conftest.err
>&5
11849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11850 (exit $ac_status); } &&
11851 { ac_try
='test -z "$ac_c_werror_flag"
11852 || test ! -s conftest.err'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; } &&
11858 { ac_try
='test -s conftest.$ac_objext'
11859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }; }; then
11864 eval "$as_ac_Header=yes"
11866 echo "$as_me: failed program was:" >&5
11867 sed 's/^/| /' conftest.
$ac_ext >&5
11869 eval "$as_ac_Header=no"
11871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11876 cat >>confdefs.h
<<_ACEOF
11877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11885 for ac_header
in machine
/reg.h
11887 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11889 echo "$as_me:$LINENO: checking for $ac_header" >&5
11890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11897 # Is the header compilable?
11898 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11900 cat >conftest.
$ac_ext <<_ACEOF
11903 cat confdefs.h
>>conftest.
$ac_ext
11904 cat >>conftest.
$ac_ext <<_ACEOF
11905 /* end confdefs.h. */
11906 $ac_includes_default
11907 #include <$ac_header>
11909 rm -f conftest.
$ac_objext
11910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11911 (eval $ac_compile) 2>conftest.er1
11913 grep -v '^ *+' conftest.er1
>conftest.err
11915 cat conftest.err
>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try
='test -z "$ac_c_werror_flag"
11919 || test ! -s conftest.err'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; } &&
11925 { ac_try
='test -s conftest.$ac_objext'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; }; then
11931 ac_header_compiler
=yes
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.
$ac_ext >&5
11936 ac_header_compiler
=no
11938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11940 echo "${ECHO_T}$ac_header_compiler" >&6
11942 # Is the header present?
11943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11945 cat >conftest.
$ac_ext <<_ACEOF
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 #include <$ac_header>
11953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11956 grep -v '^ *+' conftest.er1
>conftest.err
11958 cat conftest.err
>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } >/dev
/null
; then
11961 if test -s conftest.err
; then
11962 ac_cpp_err
=$ac_c_preproc_warn_flag
11963 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11970 if test -z "$ac_cpp_err"; then
11971 ac_header_preproc
=yes
11973 echo "$as_me: failed program was:" >&5
11974 sed 's/^/| /' conftest.
$ac_ext >&5
11976 ac_header_preproc
=no
11978 rm -f conftest.err conftest.
$ac_ext
11979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11980 echo "${ECHO_T}$ac_header_preproc" >&6
11982 # So? What about this header?
11983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11989 ac_header_preproc
=yes
11992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12006 ## ------------------------------------------ ##
12007 ## Report this to the AC_PACKAGE_NAME lists. ##
12008 ## ------------------------------------------ ##
12011 sed "s/^/$as_me: WARNING: /" >&2
12014 echo "$as_me:$LINENO: checking for $ac_header" >&5
12015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 eval "$as_ac_Header=\$ac_header_preproc"
12021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12026 cat >>confdefs.h
<<_ACEOF
12027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12036 for ac_header
in poll.h sys
/poll.h
12038 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12040 echo "$as_me:$LINENO: checking for $ac_header" >&5
12041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12048 # Is the header compilable?
12049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12051 cat >conftest.
$ac_ext <<_ACEOF
12054 cat confdefs.h
>>conftest.
$ac_ext
12055 cat >>conftest.
$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12057 $ac_includes_default
12058 #include <$ac_header>
12060 rm -f conftest.
$ac_objext
12061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12062 (eval $ac_compile) 2>conftest.er1
12064 grep -v '^ *+' conftest.er1
>conftest.err
12066 cat conftest.err
>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } &&
12069 { ac_try
='test -z "$ac_c_werror_flag"
12070 || test ! -s conftest.err'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; } &&
12076 { ac_try
='test -s conftest.$ac_objext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_header_compiler
=yes
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 ac_header_compiler
=no
12089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12091 echo "${ECHO_T}$ac_header_compiler" >&6
12093 # Is the header present?
12094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12096 cat >conftest.
$ac_ext <<_ACEOF
12099 cat confdefs.h
>>conftest.
$ac_ext
12100 cat >>conftest.
$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102 #include <$ac_header>
12104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12107 grep -v '^ *+' conftest.er1
>conftest.err
12109 cat conftest.err
>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } >/dev
/null
; then
12112 if test -s conftest.err
; then
12113 ac_cpp_err
=$ac_c_preproc_warn_flag
12114 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12121 if test -z "$ac_cpp_err"; then
12122 ac_header_preproc
=yes
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.
$ac_ext >&5
12127 ac_header_preproc
=no
12129 rm -f conftest.err conftest.
$ac_ext
12130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12131 echo "${ECHO_T}$ac_header_preproc" >&6
12133 # So? What about this header?
12134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12140 ac_header_preproc
=yes
12143 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12145 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12146 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12147 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12150 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12153 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12157 ## ------------------------------------------ ##
12158 ## Report this to the AC_PACKAGE_NAME lists. ##
12159 ## ------------------------------------------ ##
12162 sed "s/^/$as_me: WARNING: /" >&2
12165 echo "$as_me:$LINENO: checking for $ac_header" >&5
12166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 eval "$as_ac_Header=\$ac_header_preproc"
12172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12177 cat >>confdefs.h
<<_ACEOF
12178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12188 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
12190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12192 echo "$as_me:$LINENO: checking for $ac_header" >&5
12193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12200 # Is the header compilable?
12201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12203 cat >conftest.
$ac_ext <<_ACEOF
12206 cat confdefs.h
>>conftest.
$ac_ext
12207 cat >>conftest.
$ac_ext <<_ACEOF
12208 /* end confdefs.h. */
12209 $ac_includes_default
12210 #include <$ac_header>
12212 rm -f conftest.
$ac_objext
12213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12214 (eval $ac_compile) 2>conftest.er1
12216 grep -v '^ *+' conftest.er1
>conftest.err
12218 cat conftest.err
>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } &&
12221 { ac_try
='test -z "$ac_c_werror_flag"
12222 || test ! -s conftest.err'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; } &&
12228 { ac_try
='test -s conftest.$ac_objext'
12229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234 ac_header_compiler
=yes
12236 echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.
$ac_ext >&5
12239 ac_header_compiler
=no
12241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12243 echo "${ECHO_T}$ac_header_compiler" >&6
12245 # Is the header present?
12246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12248 cat >conftest.
$ac_ext <<_ACEOF
12251 cat confdefs.h
>>conftest.
$ac_ext
12252 cat >>conftest.
$ac_ext <<_ACEOF
12253 /* end confdefs.h. */
12254 #include <$ac_header>
12256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12259 grep -v '^ *+' conftest.er1
>conftest.err
12261 cat conftest.err
>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } >/dev
/null
; then
12264 if test -s conftest.err
; then
12265 ac_cpp_err
=$ac_c_preproc_warn_flag
12266 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12273 if test -z "$ac_cpp_err"; then
12274 ac_header_preproc
=yes
12276 echo "$as_me: failed program was:" >&5
12277 sed 's/^/| /' conftest.
$ac_ext >&5
12279 ac_header_preproc
=no
12281 rm -f conftest.err conftest.
$ac_ext
12282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12283 echo "${ECHO_T}$ac_header_preproc" >&6
12285 # So? What about this header?
12286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12292 ac_header_preproc
=yes
12295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12309 ## ------------------------------------------ ##
12310 ## Report this to the AC_PACKAGE_NAME lists. ##
12311 ## ------------------------------------------ ##
12314 sed "s/^/$as_me: WARNING: /" >&2
12317 echo "$as_me:$LINENO: checking for $ac_header" >&5
12318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 eval "$as_ac_Header=\$ac_header_preproc"
12324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12329 cat >>confdefs.h
<<_ACEOF
12330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12338 for ac_header
in signal.h
12340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12342 echo "$as_me:$LINENO: checking for $ac_header" >&5
12343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12345 echo $ECHO_N "(cached) $ECHO_C" >&6
12347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12350 # Is the header compilable?
12351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12353 cat >conftest.
$ac_ext <<_ACEOF
12356 cat confdefs.h
>>conftest.
$ac_ext
12357 cat >>conftest.
$ac_ext <<_ACEOF
12358 /* end confdefs.h. */
12359 $ac_includes_default
12360 #include <$ac_header>
12362 rm -f conftest.
$ac_objext
12363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12364 (eval $ac_compile) 2>conftest.er1
12366 grep -v '^ *+' conftest.er1
>conftest.err
12368 cat conftest.err
>&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); } &&
12371 { ac_try
='test -z "$ac_c_werror_flag"
12372 || test ! -s conftest.err'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; } &&
12378 { ac_try
='test -s conftest.$ac_objext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 ac_header_compiler
=yes
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.
$ac_ext >&5
12389 ac_header_compiler
=no
12391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12393 echo "${ECHO_T}$ac_header_compiler" >&6
12395 # Is the header present?
12396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12398 cat >conftest.
$ac_ext <<_ACEOF
12401 cat confdefs.h
>>conftest.
$ac_ext
12402 cat >>conftest.
$ac_ext <<_ACEOF
12403 /* end confdefs.h. */
12404 #include <$ac_header>
12406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12409 grep -v '^ *+' conftest.er1
>conftest.err
12411 cat conftest.err
>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); } >/dev
/null
; then
12414 if test -s conftest.err
; then
12415 ac_cpp_err
=$ac_c_preproc_warn_flag
12416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12423 if test -z "$ac_cpp_err"; then
12424 ac_header_preproc
=yes
12426 echo "$as_me: failed program was:" >&5
12427 sed 's/^/| /' conftest.
$ac_ext >&5
12429 ac_header_preproc
=no
12431 rm -f conftest.err conftest.
$ac_ext
12432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12433 echo "${ECHO_T}$ac_header_preproc" >&6
12435 # So? What about this header?
12436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12442 ac_header_preproc
=yes
12445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12459 ## ------------------------------------------ ##
12460 ## Report this to the AC_PACKAGE_NAME lists. ##
12461 ## ------------------------------------------ ##
12464 sed "s/^/$as_me: WARNING: /" >&2
12467 echo "$as_me:$LINENO: checking for $ac_header" >&5
12468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12470 echo $ECHO_N "(cached) $ECHO_C" >&6
12472 eval "$as_ac_Header=\$ac_header_preproc"
12474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12479 cat >>confdefs.h
<<_ACEOF
12480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12488 for ac_header
in stddef.h
12490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12492 echo "$as_me:$LINENO: checking for $ac_header" >&5
12493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12500 # Is the header compilable?
12501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12503 cat >conftest.
$ac_ext <<_ACEOF
12506 cat confdefs.h
>>conftest.
$ac_ext
12507 cat >>conftest.
$ac_ext <<_ACEOF
12508 /* end confdefs.h. */
12509 $ac_includes_default
12510 #include <$ac_header>
12512 rm -f conftest.
$ac_objext
12513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12514 (eval $ac_compile) 2>conftest.er1
12516 grep -v '^ *+' conftest.er1
>conftest.err
12518 cat conftest.err
>&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); } &&
12521 { ac_try
='test -z "$ac_c_werror_flag"
12522 || test ! -s conftest.err'
12523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12524 (eval $ac_try) 2>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); }; } &&
12528 { ac_try
='test -s conftest.$ac_objext'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; }; then
12534 ac_header_compiler
=yes
12536 echo "$as_me: failed program was:" >&5
12537 sed 's/^/| /' conftest.
$ac_ext >&5
12539 ac_header_compiler
=no
12541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12543 echo "${ECHO_T}$ac_header_compiler" >&6
12545 # Is the header present?
12546 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12548 cat >conftest.
$ac_ext <<_ACEOF
12551 cat confdefs.h
>>conftest.
$ac_ext
12552 cat >>conftest.
$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12554 #include <$ac_header>
12556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12559 grep -v '^ *+' conftest.er1
>conftest.err
12561 cat conftest.err
>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } >/dev
/null
; then
12564 if test -s conftest.err
; then
12565 ac_cpp_err
=$ac_c_preproc_warn_flag
12566 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12573 if test -z "$ac_cpp_err"; then
12574 ac_header_preproc
=yes
12576 echo "$as_me: failed program was:" >&5
12577 sed 's/^/| /' conftest.
$ac_ext >&5
12579 ac_header_preproc
=no
12581 rm -f conftest.err conftest.
$ac_ext
12582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12583 echo "${ECHO_T}$ac_header_preproc" >&6
12585 # So? What about this header?
12586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12592 ac_header_preproc
=yes
12595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12609 ## ------------------------------------------ ##
12610 ## Report this to the AC_PACKAGE_NAME lists. ##
12611 ## ------------------------------------------ ##
12614 sed "s/^/$as_me: WARNING: /" >&2
12617 echo "$as_me:$LINENO: checking for $ac_header" >&5
12618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 eval "$as_ac_Header=\$ac_header_preproc"
12624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12629 cat >>confdefs.h
<<_ACEOF
12630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12638 for ac_header
in stdlib.h
12640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12642 echo "$as_me:$LINENO: checking for $ac_header" >&5
12643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12650 # Is the header compilable?
12651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12653 cat >conftest.
$ac_ext <<_ACEOF
12656 cat confdefs.h
>>conftest.
$ac_ext
12657 cat >>conftest.
$ac_ext <<_ACEOF
12658 /* end confdefs.h. */
12659 $ac_includes_default
12660 #include <$ac_header>
12662 rm -f conftest.
$ac_objext
12663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12664 (eval $ac_compile) 2>conftest.er1
12666 grep -v '^ *+' conftest.er1
>conftest.err
12668 cat conftest.err
>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try
='test -z "$ac_c_werror_flag"
12672 || test ! -s conftest.err'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; } &&
12678 { ac_try
='test -s conftest.$ac_objext'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 ac_header_compiler
=yes
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.
$ac_ext >&5
12689 ac_header_compiler
=no
12691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12693 echo "${ECHO_T}$ac_header_compiler" >&6
12695 # Is the header present?
12696 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12698 cat >conftest.
$ac_ext <<_ACEOF
12701 cat confdefs.h
>>conftest.
$ac_ext
12702 cat >>conftest.
$ac_ext <<_ACEOF
12703 /* end confdefs.h. */
12704 #include <$ac_header>
12706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12707 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12709 grep -v '^ *+' conftest.er1
>conftest.err
12711 cat conftest.err
>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } >/dev
/null
; then
12714 if test -s conftest.err
; then
12715 ac_cpp_err
=$ac_c_preproc_warn_flag
12716 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12723 if test -z "$ac_cpp_err"; then
12724 ac_header_preproc
=yes
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.
$ac_ext >&5
12729 ac_header_preproc
=no
12731 rm -f conftest.err conftest.
$ac_ext
12732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12733 echo "${ECHO_T}$ac_header_preproc" >&6
12735 # So? What about this header?
12736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12738 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12739 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12741 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12742 ac_header_preproc
=yes
12745 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12746 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12747 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12748 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12749 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12750 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12751 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12752 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12755 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12756 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12759 ## ------------------------------------------ ##
12760 ## Report this to the AC_PACKAGE_NAME lists. ##
12761 ## ------------------------------------------ ##
12764 sed "s/^/$as_me: WARNING: /" >&2
12767 echo "$as_me:$LINENO: checking for $ac_header" >&5
12768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12770 echo $ECHO_N "(cached) $ECHO_C" >&6
12772 eval "$as_ac_Header=\$ac_header_preproc"
12774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12779 cat >>confdefs.h
<<_ACEOF
12780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12788 for ac_header
in stdint.h
12790 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12792 echo "$as_me:$LINENO: checking for $ac_header" >&5
12793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12800 # Is the header compilable?
12801 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12802 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12803 cat >conftest.
$ac_ext <<_ACEOF
12806 cat confdefs.h
>>conftest.
$ac_ext
12807 cat >>conftest.
$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12809 $ac_includes_default
12810 #include <$ac_header>
12812 rm -f conftest.
$ac_objext
12813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12814 (eval $ac_compile) 2>conftest.er1
12816 grep -v '^ *+' conftest.er1
>conftest.err
12818 cat conftest.err
>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); } &&
12821 { ac_try
='test -z "$ac_c_werror_flag"
12822 || test ! -s conftest.err'
12823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12824 (eval $ac_try) 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); }; } &&
12828 { ac_try
='test -s conftest.$ac_objext'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; }; then
12834 ac_header_compiler
=yes
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.
$ac_ext >&5
12839 ac_header_compiler
=no
12841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12843 echo "${ECHO_T}$ac_header_compiler" >&6
12845 # Is the header present?
12846 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12847 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12848 cat >conftest.
$ac_ext <<_ACEOF
12851 cat confdefs.h
>>conftest.
$ac_ext
12852 cat >>conftest.
$ac_ext <<_ACEOF
12853 /* end confdefs.h. */
12854 #include <$ac_header>
12856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12857 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12859 grep -v '^ *+' conftest.er1
>conftest.err
12861 cat conftest.err
>&5
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); } >/dev
/null
; then
12864 if test -s conftest.err
; then
12865 ac_cpp_err
=$ac_c_preproc_warn_flag
12866 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12873 if test -z "$ac_cpp_err"; then
12874 ac_header_preproc
=yes
12876 echo "$as_me: failed program was:" >&5
12877 sed 's/^/| /' conftest.
$ac_ext >&5
12879 ac_header_preproc
=no
12881 rm -f conftest.err conftest.
$ac_ext
12882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12883 echo "${ECHO_T}$ac_header_preproc" >&6
12885 # So? What about this header?
12886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12889 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12891 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12892 ac_header_preproc
=yes
12895 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12897 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12899 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12900 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12901 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12902 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12905 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12906 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12909 ## ------------------------------------------ ##
12910 ## Report this to the AC_PACKAGE_NAME lists. ##
12911 ## ------------------------------------------ ##
12914 sed "s/^/$as_me: WARNING: /" >&2
12917 echo "$as_me:$LINENO: checking for $ac_header" >&5
12918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12920 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 eval "$as_ac_Header=\$ac_header_preproc"
12924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12929 cat >>confdefs.h
<<_ACEOF
12930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12940 for ac_header
in string.h memory.h
strings.h
12942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12944 echo "$as_me:$LINENO: checking for $ac_header" >&5
12945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12952 # Is the header compilable?
12953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12955 cat >conftest.
$ac_ext <<_ACEOF
12958 cat confdefs.h
>>conftest.
$ac_ext
12959 cat >>conftest.
$ac_ext <<_ACEOF
12960 /* end confdefs.h. */
12961 $ac_includes_default
12962 #include <$ac_header>
12964 rm -f conftest.
$ac_objext
12965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12966 (eval $ac_compile) 2>conftest.er1
12968 grep -v '^ *+' conftest.er1
>conftest.err
12970 cat conftest.err
>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); } &&
12973 { ac_try
='test -z "$ac_c_werror_flag"
12974 || test ! -s conftest.err'
12975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12976 (eval $ac_try) 2>&5
12978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); }; } &&
12980 { ac_try
='test -s conftest.$ac_objext'
12981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12982 (eval $ac_try) 2>&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); }; }; then
12986 ac_header_compiler
=yes
12988 echo "$as_me: failed program was:" >&5
12989 sed 's/^/| /' conftest.
$ac_ext >&5
12991 ac_header_compiler
=no
12993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12995 echo "${ECHO_T}$ac_header_compiler" >&6
12997 # Is the header present?
12998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13000 cat >conftest.
$ac_ext <<_ACEOF
13003 cat confdefs.h
>>conftest.
$ac_ext
13004 cat >>conftest.
$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13006 #include <$ac_header>
13008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13011 grep -v '^ *+' conftest.er1
>conftest.err
13013 cat conftest.err
>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); } >/dev
/null
; then
13016 if test -s conftest.err
; then
13017 ac_cpp_err
=$ac_c_preproc_warn_flag
13018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13025 if test -z "$ac_cpp_err"; then
13026 ac_header_preproc
=yes
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.
$ac_ext >&5
13031 ac_header_preproc
=no
13033 rm -f conftest.err conftest.
$ac_ext
13034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13035 echo "${ECHO_T}$ac_header_preproc" >&6
13037 # So? What about this header?
13038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13044 ac_header_preproc
=yes
13047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13061 ## ------------------------------------------ ##
13062 ## Report this to the AC_PACKAGE_NAME lists. ##
13063 ## ------------------------------------------ ##
13066 sed "s/^/$as_me: WARNING: /" >&2
13069 echo "$as_me:$LINENO: checking for $ac_header" >&5
13070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 eval "$as_ac_Header=\$ac_header_preproc"
13076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13081 cat >>confdefs.h
<<_ACEOF
13082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13090 for ac_header
in sys
/fault.h
13092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13094 echo "$as_me:$LINENO: checking for $ac_header" >&5
13095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13102 # Is the header compilable?
13103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13105 cat >conftest.
$ac_ext <<_ACEOF
13108 cat confdefs.h
>>conftest.
$ac_ext
13109 cat >>conftest.
$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 $ac_includes_default
13112 #include <$ac_header>
13114 rm -f conftest.
$ac_objext
13115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13116 (eval $ac_compile) 2>conftest.er1
13118 grep -v '^ *+' conftest.er1
>conftest.err
13120 cat conftest.err
>&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); } &&
13123 { ac_try
='test -z "$ac_c_werror_flag"
13124 || test ! -s conftest.err'
13125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 (eval $ac_try) 2>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; } &&
13130 { ac_try
='test -s conftest.$ac_objext'
13131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13132 (eval $ac_try) 2>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }; }; then
13136 ac_header_compiler
=yes
13138 echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.
$ac_ext >&5
13141 ac_header_compiler
=no
13143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13145 echo "${ECHO_T}$ac_header_compiler" >&6
13147 # Is the header present?
13148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13150 cat >conftest.
$ac_ext <<_ACEOF
13153 cat confdefs.h
>>conftest.
$ac_ext
13154 cat >>conftest.
$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13156 #include <$ac_header>
13158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13161 grep -v '^ *+' conftest.er1
>conftest.err
13163 cat conftest.err
>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); } >/dev
/null
; then
13166 if test -s conftest.err
; then
13167 ac_cpp_err
=$ac_c_preproc_warn_flag
13168 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13175 if test -z "$ac_cpp_err"; then
13176 ac_header_preproc
=yes
13178 echo "$as_me: failed program was:" >&5
13179 sed 's/^/| /' conftest.
$ac_ext >&5
13181 ac_header_preproc
=no
13183 rm -f conftest.err conftest.
$ac_ext
13184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13185 echo "${ECHO_T}$ac_header_preproc" >&6
13187 # So? What about this header?
13188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13194 ac_header_preproc
=yes
13197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13211 ## ------------------------------------------ ##
13212 ## Report this to the AC_PACKAGE_NAME lists. ##
13213 ## ------------------------------------------ ##
13216 sed "s/^/$as_me: WARNING: /" >&2
13219 echo "$as_me:$LINENO: checking for $ac_header" >&5
13220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13224 eval "$as_ac_Header=\$ac_header_preproc"
13226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13231 cat >>confdefs.h
<<_ACEOF
13232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13240 for ac_header
in sys
/file.h
13242 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13244 echo "$as_me:$LINENO: checking for $ac_header" >&5
13245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13247 echo $ECHO_N "(cached) $ECHO_C" >&6
13249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13252 # Is the header compilable?
13253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13255 cat >conftest.
$ac_ext <<_ACEOF
13258 cat confdefs.h
>>conftest.
$ac_ext
13259 cat >>conftest.
$ac_ext <<_ACEOF
13260 /* end confdefs.h. */
13261 $ac_includes_default
13262 #include <$ac_header>
13264 rm -f conftest.
$ac_objext
13265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13266 (eval $ac_compile) 2>conftest.er1
13268 grep -v '^ *+' conftest.er1
>conftest.err
13270 cat conftest.err
>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try
='test -z "$ac_c_werror_flag"
13274 || test ! -s conftest.err'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; } &&
13280 { ac_try
='test -s conftest.$ac_objext'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; }; then
13286 ac_header_compiler
=yes
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.
$ac_ext >&5
13291 ac_header_compiler
=no
13293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13295 echo "${ECHO_T}$ac_header_compiler" >&6
13297 # Is the header present?
13298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13300 cat >conftest.
$ac_ext <<_ACEOF
13303 cat confdefs.h
>>conftest.
$ac_ext
13304 cat >>conftest.
$ac_ext <<_ACEOF
13305 /* end confdefs.h. */
13306 #include <$ac_header>
13308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13311 grep -v '^ *+' conftest.er1
>conftest.err
13313 cat conftest.err
>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); } >/dev
/null
; then
13316 if test -s conftest.err
; then
13317 ac_cpp_err
=$ac_c_preproc_warn_flag
13318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13325 if test -z "$ac_cpp_err"; then
13326 ac_header_preproc
=yes
13328 echo "$as_me: failed program was:" >&5
13329 sed 's/^/| /' conftest.
$ac_ext >&5
13331 ac_header_preproc
=no
13333 rm -f conftest.err conftest.
$ac_ext
13334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13335 echo "${ECHO_T}$ac_header_preproc" >&6
13337 # So? What about this header?
13338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13344 ac_header_preproc
=yes
13347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13361 ## ------------------------------------------ ##
13362 ## Report this to the AC_PACKAGE_NAME lists. ##
13363 ## ------------------------------------------ ##
13366 sed "s/^/$as_me: WARNING: /" >&2
13369 echo "$as_me:$LINENO: checking for $ac_header" >&5
13370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 eval "$as_ac_Header=\$ac_header_preproc"
13376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13381 cat >>confdefs.h
<<_ACEOF
13382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13390 for ac_header
in sys
/filio.h
13392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13394 echo "$as_me:$LINENO: checking for $ac_header" >&5
13395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13402 # Is the header compilable?
13403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13405 cat >conftest.
$ac_ext <<_ACEOF
13408 cat confdefs.h
>>conftest.
$ac_ext
13409 cat >>conftest.
$ac_ext <<_ACEOF
13410 /* end confdefs.h. */
13411 $ac_includes_default
13412 #include <$ac_header>
13414 rm -f conftest.
$ac_objext
13415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13416 (eval $ac_compile) 2>conftest.er1
13418 grep -v '^ *+' conftest.er1
>conftest.err
13420 cat conftest.err
>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); } &&
13423 { ac_try
='test -z "$ac_c_werror_flag"
13424 || test ! -s conftest.err'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; } &&
13430 { ac_try
='test -s conftest.$ac_objext'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; }; then
13436 ac_header_compiler
=yes
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.
$ac_ext >&5
13441 ac_header_compiler
=no
13443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13445 echo "${ECHO_T}$ac_header_compiler" >&6
13447 # Is the header present?
13448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13450 cat >conftest.
$ac_ext <<_ACEOF
13453 cat confdefs.h
>>conftest.
$ac_ext
13454 cat >>conftest.
$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 #include <$ac_header>
13458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13461 grep -v '^ *+' conftest.er1
>conftest.err
13463 cat conftest.err
>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } >/dev
/null
; then
13466 if test -s conftest.err
; then
13467 ac_cpp_err
=$ac_c_preproc_warn_flag
13468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13475 if test -z "$ac_cpp_err"; then
13476 ac_header_preproc
=yes
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.
$ac_ext >&5
13481 ac_header_preproc
=no
13483 rm -f conftest.err conftest.
$ac_ext
13484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13485 echo "${ECHO_T}$ac_header_preproc" >&6
13487 # So? What about this header?
13488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13494 ac_header_preproc
=yes
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13511 ## ------------------------------------------ ##
13512 ## Report this to the AC_PACKAGE_NAME lists. ##
13513 ## ------------------------------------------ ##
13516 sed "s/^/$as_me: WARNING: /" >&2
13519 echo "$as_me:$LINENO: checking for $ac_header" >&5
13520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 eval "$as_ac_Header=\$ac_header_preproc"
13526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13531 cat >>confdefs.h
<<_ACEOF
13532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13540 for ac_header
in sys
/ioctl.h
13542 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13544 echo "$as_me:$LINENO: checking for $ac_header" >&5
13545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13552 # Is the header compilable?
13553 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13555 cat >conftest.
$ac_ext <<_ACEOF
13558 cat confdefs.h
>>conftest.
$ac_ext
13559 cat >>conftest.
$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13561 $ac_includes_default
13562 #include <$ac_header>
13564 rm -f conftest.
$ac_objext
13565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13566 (eval $ac_compile) 2>conftest.er1
13568 grep -v '^ *+' conftest.er1
>conftest.err
13570 cat conftest.err
>&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); } &&
13573 { ac_try
='test -z "$ac_c_werror_flag"
13574 || test ! -s conftest.err'
13575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13576 (eval $ac_try) 2>&5
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); }; } &&
13580 { ac_try
='test -s conftest.$ac_objext'
13581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582 (eval $ac_try) 2>&5
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }; }; then
13586 ac_header_compiler
=yes
13588 echo "$as_me: failed program was:" >&5
13589 sed 's/^/| /' conftest.
$ac_ext >&5
13591 ac_header_compiler
=no
13593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13595 echo "${ECHO_T}$ac_header_compiler" >&6
13597 # Is the header present?
13598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13600 cat >conftest.
$ac_ext <<_ACEOF
13603 cat confdefs.h
>>conftest.
$ac_ext
13604 cat >>conftest.
$ac_ext <<_ACEOF
13605 /* end confdefs.h. */
13606 #include <$ac_header>
13608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13611 grep -v '^ *+' conftest.er1
>conftest.err
13613 cat conftest.err
>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } >/dev
/null
; then
13616 if test -s conftest.err
; then
13617 ac_cpp_err
=$ac_c_preproc_warn_flag
13618 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13625 if test -z "$ac_cpp_err"; then
13626 ac_header_preproc
=yes
13628 echo "$as_me: failed program was:" >&5
13629 sed 's/^/| /' conftest.
$ac_ext >&5
13631 ac_header_preproc
=no
13633 rm -f conftest.err conftest.
$ac_ext
13634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13635 echo "${ECHO_T}$ac_header_preproc" >&6
13637 # So? What about this header?
13638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13644 ac_header_preproc
=yes
13647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13651 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13653 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13654 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13657 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13661 ## ------------------------------------------ ##
13662 ## Report this to the AC_PACKAGE_NAME lists. ##
13663 ## ------------------------------------------ ##
13666 sed "s/^/$as_me: WARNING: /" >&2
13669 echo "$as_me:$LINENO: checking for $ac_header" >&5
13670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13672 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 eval "$as_ac_Header=\$ac_header_preproc"
13676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13681 cat >>confdefs.h
<<_ACEOF
13682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13690 for ac_header
in sys
/param.h
13692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13694 echo "$as_me:$LINENO: checking for $ac_header" >&5
13695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13697 echo $ECHO_N "(cached) $ECHO_C" >&6
13699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13702 # Is the header compilable?
13703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13705 cat >conftest.
$ac_ext <<_ACEOF
13708 cat confdefs.h
>>conftest.
$ac_ext
13709 cat >>conftest.
$ac_ext <<_ACEOF
13710 /* end confdefs.h. */
13711 $ac_includes_default
13712 #include <$ac_header>
13714 rm -f conftest.
$ac_objext
13715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13716 (eval $ac_compile) 2>conftest.er1
13718 grep -v '^ *+' conftest.er1
>conftest.err
13720 cat conftest.err
>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } &&
13723 { ac_try
='test -z "$ac_c_werror_flag"
13724 || test ! -s conftest.err'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; } &&
13730 { ac_try
='test -s conftest.$ac_objext'
13731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 (eval $ac_try) 2>&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }; }; then
13736 ac_header_compiler
=yes
13738 echo "$as_me: failed program was:" >&5
13739 sed 's/^/| /' conftest.
$ac_ext >&5
13741 ac_header_compiler
=no
13743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13745 echo "${ECHO_T}$ac_header_compiler" >&6
13747 # Is the header present?
13748 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13750 cat >conftest.
$ac_ext <<_ACEOF
13753 cat confdefs.h
>>conftest.
$ac_ext
13754 cat >>conftest.
$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756 #include <$ac_header>
13758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13759 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13761 grep -v '^ *+' conftest.er1
>conftest.err
13763 cat conftest.err
>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); } >/dev
/null
; then
13766 if test -s conftest.err
; then
13767 ac_cpp_err
=$ac_c_preproc_warn_flag
13768 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13775 if test -z "$ac_cpp_err"; then
13776 ac_header_preproc
=yes
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.
$ac_ext >&5
13781 ac_header_preproc
=no
13783 rm -f conftest.err conftest.
$ac_ext
13784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13785 echo "${ECHO_T}$ac_header_preproc" >&6
13787 # So? What about this header?
13788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13793 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13794 ac_header_preproc
=yes
13797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13801 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13802 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13803 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13804 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13807 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13808 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13811 ## ------------------------------------------ ##
13812 ## Report this to the AC_PACKAGE_NAME lists. ##
13813 ## ------------------------------------------ ##
13816 sed "s/^/$as_me: WARNING: /" >&2
13819 echo "$as_me:$LINENO: checking for $ac_header" >&5
13820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13822 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 eval "$as_ac_Header=\$ac_header_preproc"
13826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13831 cat >>confdefs.h
<<_ACEOF
13832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13840 for ac_header
in sys
/resource.h
13842 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13844 echo "$as_me:$LINENO: checking for $ac_header" >&5
13845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13852 # Is the header compilable?
13853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13855 cat >conftest.
$ac_ext <<_ACEOF
13858 cat confdefs.h
>>conftest.
$ac_ext
13859 cat >>conftest.
$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 $ac_includes_default
13862 #include <$ac_header>
13864 rm -f conftest.
$ac_objext
13865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13866 (eval $ac_compile) 2>conftest.er1
13868 grep -v '^ *+' conftest.er1
>conftest.err
13870 cat conftest.err
>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); } &&
13873 { ac_try
='test -z "$ac_c_werror_flag"
13874 || test ! -s conftest.err'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; } &&
13880 { ac_try
='test -s conftest.$ac_objext'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; }; then
13886 ac_header_compiler
=yes
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.
$ac_ext >&5
13891 ac_header_compiler
=no
13893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13895 echo "${ECHO_T}$ac_header_compiler" >&6
13897 # Is the header present?
13898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13900 cat >conftest.
$ac_ext <<_ACEOF
13903 cat confdefs.h
>>conftest.
$ac_ext
13904 cat >>conftest.
$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906 #include <$ac_header>
13908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13911 grep -v '^ *+' conftest.er1
>conftest.err
13913 cat conftest.err
>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } >/dev
/null
; then
13916 if test -s conftest.err
; then
13917 ac_cpp_err
=$ac_c_preproc_warn_flag
13918 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13925 if test -z "$ac_cpp_err"; then
13926 ac_header_preproc
=yes
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.
$ac_ext >&5
13931 ac_header_preproc
=no
13933 rm -f conftest.err conftest.
$ac_ext
13934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13935 echo "${ECHO_T}$ac_header_preproc" >&6
13937 # So? What about this header?
13938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13944 ac_header_preproc
=yes
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13961 ## ------------------------------------------ ##
13962 ## Report this to the AC_PACKAGE_NAME lists. ##
13963 ## ------------------------------------------ ##
13966 sed "s/^/$as_me: WARNING: /" >&2
13969 echo "$as_me:$LINENO: checking for $ac_header" >&5
13970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13974 eval "$as_ac_Header=\$ac_header_preproc"
13976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13981 cat >>confdefs.h
<<_ACEOF
13982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13990 for ac_header
in sys
/proc.h
13992 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13993 echo "$as_me:$LINENO: checking for $ac_header" >&5
13994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13996 echo $ECHO_N "(cached) $ECHO_C" >&6
13998 cat >conftest.
$ac_ext <<_ACEOF
14001 cat confdefs.h
>>conftest.
$ac_ext
14002 cat >>conftest.
$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 #if HAVE_SYS_PARAM_H
14005 # include <sys/param.h>
14009 #include <$ac_header>
14011 rm -f conftest.
$ac_objext
14012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14013 (eval $ac_compile) 2>conftest.er1
14015 grep -v '^ *+' conftest.er1
>conftest.err
14017 cat conftest.err
>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } &&
14020 { ac_try
='test -z "$ac_c_werror_flag"
14021 || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try
='test -s conftest.$ac_objext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 eval "$as_ac_Header=yes"
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 eval "$as_ac_Header=no"
14040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14045 cat >>confdefs.h
<<_ACEOF
14046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14054 for ac_header
in sys
/procfs.h
14056 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14058 echo "$as_me:$LINENO: checking for $ac_header" >&5
14059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14066 # Is the header compilable?
14067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14069 cat >conftest.
$ac_ext <<_ACEOF
14072 cat confdefs.h
>>conftest.
$ac_ext
14073 cat >>conftest.
$ac_ext <<_ACEOF
14074 /* end confdefs.h. */
14075 $ac_includes_default
14076 #include <$ac_header>
14078 rm -f conftest.
$ac_objext
14079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080 (eval $ac_compile) 2>conftest.er1
14082 grep -v '^ *+' conftest.er1
>conftest.err
14084 cat conftest.err
>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } &&
14087 { ac_try
='test -z "$ac_c_werror_flag"
14088 || test ! -s conftest.err'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; } &&
14094 { ac_try
='test -s conftest.$ac_objext'
14095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14096 (eval $ac_try) 2>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }; }; then
14100 ac_header_compiler
=yes
14102 echo "$as_me: failed program was:" >&5
14103 sed 's/^/| /' conftest.
$ac_ext >&5
14105 ac_header_compiler
=no
14107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14109 echo "${ECHO_T}$ac_header_compiler" >&6
14111 # Is the header present?
14112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14114 cat >conftest.
$ac_ext <<_ACEOF
14117 cat confdefs.h
>>conftest.
$ac_ext
14118 cat >>conftest.
$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14120 #include <$ac_header>
14122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14125 grep -v '^ *+' conftest.er1
>conftest.err
14127 cat conftest.err
>&5
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); } >/dev
/null
; then
14130 if test -s conftest.err
; then
14131 ac_cpp_err
=$ac_c_preproc_warn_flag
14132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14139 if test -z "$ac_cpp_err"; then
14140 ac_header_preproc
=yes
14142 echo "$as_me: failed program was:" >&5
14143 sed 's/^/| /' conftest.
$ac_ext >&5
14145 ac_header_preproc
=no
14147 rm -f conftest.err conftest.
$ac_ext
14148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14149 echo "${ECHO_T}$ac_header_preproc" >&6
14151 # So? What about this header?
14152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14158 ac_header_preproc
=yes
14161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14175 ## ------------------------------------------ ##
14176 ## Report this to the AC_PACKAGE_NAME lists. ##
14177 ## ------------------------------------------ ##
14180 sed "s/^/$as_me: WARNING: /" >&2
14183 echo "$as_me:$LINENO: checking for $ac_header" >&5
14184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 eval "$as_ac_Header=\$ac_header_preproc"
14190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14195 cat >>confdefs.h
<<_ACEOF
14196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14205 for ac_header
in sys
/ptrace.h ptrace.h
14207 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14209 echo "$as_me:$LINENO: checking for $ac_header" >&5
14210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14212 echo $ECHO_N "(cached) $ECHO_C" >&6
14214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14217 # Is the header compilable?
14218 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14219 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14220 cat >conftest.
$ac_ext <<_ACEOF
14223 cat confdefs.h
>>conftest.
$ac_ext
14224 cat >>conftest.
$ac_ext <<_ACEOF
14225 /* end confdefs.h. */
14226 $ac_includes_default
14227 #include <$ac_header>
14229 rm -f conftest.
$ac_objext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14231 (eval $ac_compile) 2>conftest.er1
14233 grep -v '^ *+' conftest.er1
>conftest.err
14235 cat conftest.err
>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try
='test -z "$ac_c_werror_flag"
14239 || test ! -s conftest.err'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; } &&
14245 { ac_try
='test -s conftest.$ac_objext'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; }; then
14251 ac_header_compiler
=yes
14253 echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.
$ac_ext >&5
14256 ac_header_compiler
=no
14258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14260 echo "${ECHO_T}$ac_header_compiler" >&6
14262 # Is the header present?
14263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14265 cat >conftest.
$ac_ext <<_ACEOF
14268 cat confdefs.h
>>conftest.
$ac_ext
14269 cat >>conftest.
$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14271 #include <$ac_header>
14273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14276 grep -v '^ *+' conftest.er1
>conftest.err
14278 cat conftest.err
>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); } >/dev
/null
; then
14281 if test -s conftest.err
; then
14282 ac_cpp_err
=$ac_c_preproc_warn_flag
14283 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14290 if test -z "$ac_cpp_err"; then
14291 ac_header_preproc
=yes
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.
$ac_ext >&5
14296 ac_header_preproc
=no
14298 rm -f conftest.err conftest.
$ac_ext
14299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14300 echo "${ECHO_T}$ac_header_preproc" >&6
14302 # So? What about this header?
14303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14309 ac_header_preproc
=yes
14312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14326 ## ------------------------------------------ ##
14327 ## Report this to the AC_PACKAGE_NAME lists. ##
14328 ## ------------------------------------------ ##
14331 sed "s/^/$as_me: WARNING: /" >&2
14334 echo "$as_me:$LINENO: checking for $ac_header" >&5
14335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14337 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 eval "$as_ac_Header=\$ac_header_preproc"
14341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14346 cat >>confdefs.h
<<_ACEOF
14347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14356 for ac_header
in sys
/reg.h sys
/debugreg.h
14358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14360 echo "$as_me:$LINENO: checking for $ac_header" >&5
14361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14368 # Is the header compilable?
14369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14371 cat >conftest.
$ac_ext <<_ACEOF
14374 cat confdefs.h
>>conftest.
$ac_ext
14375 cat >>conftest.
$ac_ext <<_ACEOF
14376 /* end confdefs.h. */
14377 $ac_includes_default
14378 #include <$ac_header>
14380 rm -f conftest.
$ac_objext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14382 (eval $ac_compile) 2>conftest.er1
14384 grep -v '^ *+' conftest.er1
>conftest.err
14386 cat conftest.err
>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } &&
14389 { ac_try
='test -z "$ac_c_werror_flag"
14390 || test ! -s conftest.err'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; } &&
14396 { ac_try
='test -s conftest.$ac_objext'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; }; then
14402 ac_header_compiler
=yes
14404 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.
$ac_ext >&5
14407 ac_header_compiler
=no
14409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14411 echo "${ECHO_T}$ac_header_compiler" >&6
14413 # Is the header present?
14414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14416 cat >conftest.
$ac_ext <<_ACEOF
14419 cat confdefs.h
>>conftest.
$ac_ext
14420 cat >>conftest.
$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14422 #include <$ac_header>
14424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14425 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14427 grep -v '^ *+' conftest.er1
>conftest.err
14429 cat conftest.err
>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } >/dev
/null
; then
14432 if test -s conftest.err
; then
14433 ac_cpp_err
=$ac_c_preproc_warn_flag
14434 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14441 if test -z "$ac_cpp_err"; then
14442 ac_header_preproc
=yes
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.
$ac_ext >&5
14447 ac_header_preproc
=no
14449 rm -f conftest.err conftest.
$ac_ext
14450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14451 echo "${ECHO_T}$ac_header_preproc" >&6
14453 # So? What about this header?
14454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14460 ac_header_preproc
=yes
14463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14477 ## ------------------------------------------ ##
14478 ## Report this to the AC_PACKAGE_NAME lists. ##
14479 ## ------------------------------------------ ##
14482 sed "s/^/$as_me: WARNING: /" >&2
14485 echo "$as_me:$LINENO: checking for $ac_header" >&5
14486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14488 echo $ECHO_N "(cached) $ECHO_C" >&6
14490 eval "$as_ac_Header=\$ac_header_preproc"
14492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14497 cat >>confdefs.h
<<_ACEOF
14498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14506 for ac_header
in sys
/select.h
14508 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14510 echo "$as_me:$LINENO: checking for $ac_header" >&5
14511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14518 # Is the header compilable?
14519 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14521 cat >conftest.
$ac_ext <<_ACEOF
14524 cat confdefs.h
>>conftest.
$ac_ext
14525 cat >>conftest.
$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14527 $ac_includes_default
14528 #include <$ac_header>
14530 rm -f conftest.
$ac_objext
14531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14532 (eval $ac_compile) 2>conftest.er1
14534 grep -v '^ *+' conftest.er1
>conftest.err
14536 cat conftest.err
>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } &&
14539 { ac_try
='test -z "$ac_c_werror_flag"
14540 || test ! -s conftest.err'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; } &&
14546 { ac_try
='test -s conftest.$ac_objext'
14547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548 (eval $ac_try) 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; }; then
14552 ac_header_compiler
=yes
14554 echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.
$ac_ext >&5
14557 ac_header_compiler
=no
14559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14561 echo "${ECHO_T}$ac_header_compiler" >&6
14563 # Is the header present?
14564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14566 cat >conftest.
$ac_ext <<_ACEOF
14569 cat confdefs.h
>>conftest.
$ac_ext
14570 cat >>conftest.
$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14572 #include <$ac_header>
14574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14577 grep -v '^ *+' conftest.er1
>conftest.err
14579 cat conftest.err
>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } >/dev
/null
; then
14582 if test -s conftest.err
; then
14583 ac_cpp_err
=$ac_c_preproc_warn_flag
14584 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14591 if test -z "$ac_cpp_err"; then
14592 ac_header_preproc
=yes
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.
$ac_ext >&5
14597 ac_header_preproc
=no
14599 rm -f conftest.err conftest.
$ac_ext
14600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14601 echo "${ECHO_T}$ac_header_preproc" >&6
14603 # So? What about this header?
14604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14610 ac_header_preproc
=yes
14613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14627 ## ------------------------------------------ ##
14628 ## Report this to the AC_PACKAGE_NAME lists. ##
14629 ## ------------------------------------------ ##
14632 sed "s/^/$as_me: WARNING: /" >&2
14635 echo "$as_me:$LINENO: checking for $ac_header" >&5
14636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14638 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 eval "$as_ac_Header=\$ac_header_preproc"
14642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14647 cat >>confdefs.h
<<_ACEOF
14648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14656 for ac_header
in sys
/syscall.h
14658 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14660 echo "$as_me:$LINENO: checking for $ac_header" >&5
14661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14668 # Is the header compilable?
14669 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14670 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14671 cat >conftest.
$ac_ext <<_ACEOF
14674 cat confdefs.h
>>conftest.
$ac_ext
14675 cat >>conftest.
$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 $ac_includes_default
14678 #include <$ac_header>
14680 rm -f conftest.
$ac_objext
14681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14682 (eval $ac_compile) 2>conftest.er1
14684 grep -v '^ *+' conftest.er1
>conftest.err
14686 cat conftest.err
>&5
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); } &&
14689 { ac_try
='test -z "$ac_c_werror_flag"
14690 || test ! -s conftest.err'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; } &&
14696 { ac_try
='test -s conftest.$ac_objext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14702 ac_header_compiler
=yes
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.
$ac_ext >&5
14707 ac_header_compiler
=no
14709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14711 echo "${ECHO_T}$ac_header_compiler" >&6
14713 # Is the header present?
14714 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14715 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14716 cat >conftest.
$ac_ext <<_ACEOF
14719 cat confdefs.h
>>conftest.
$ac_ext
14720 cat >>conftest.
$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14722 #include <$ac_header>
14724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14727 grep -v '^ *+' conftest.er1
>conftest.err
14729 cat conftest.err
>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } >/dev
/null
; then
14732 if test -s conftest.err
; then
14733 ac_cpp_err
=$ac_c_preproc_warn_flag
14734 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14741 if test -z "$ac_cpp_err"; then
14742 ac_header_preproc
=yes
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.
$ac_ext >&5
14747 ac_header_preproc
=no
14749 rm -f conftest.err conftest.
$ac_ext
14750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14751 echo "${ECHO_T}$ac_header_preproc" >&6
14753 # So? What about this header?
14754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14756 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14757 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14759 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14760 ac_header_preproc
=yes
14763 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14764 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14765 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14766 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14767 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14768 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14769 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14770 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14772 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14773 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14774 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14777 ## ------------------------------------------ ##
14778 ## Report this to the AC_PACKAGE_NAME lists. ##
14779 ## ------------------------------------------ ##
14782 sed "s/^/$as_me: WARNING: /" >&2
14785 echo "$as_me:$LINENO: checking for $ac_header" >&5
14786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14788 echo $ECHO_N "(cached) $ECHO_C" >&6
14790 eval "$as_ac_Header=\$ac_header_preproc"
14792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14797 cat >>confdefs.h
<<_ACEOF
14798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14806 for ac_header
in sys
/types.h
14808 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14810 echo "$as_me:$LINENO: checking for $ac_header" >&5
14811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14818 # Is the header compilable?
14819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14821 cat >conftest.
$ac_ext <<_ACEOF
14824 cat confdefs.h
>>conftest.
$ac_ext
14825 cat >>conftest.
$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 $ac_includes_default
14828 #include <$ac_header>
14830 rm -f conftest.
$ac_objext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14832 (eval $ac_compile) 2>conftest.er1
14834 grep -v '^ *+' conftest.er1
>conftest.err
14836 cat conftest.err
>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try
='test -z "$ac_c_werror_flag"
14840 || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try
='test -s conftest.$ac_objext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 ac_header_compiler
=yes
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.
$ac_ext >&5
14857 ac_header_compiler
=no
14859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14861 echo "${ECHO_T}$ac_header_compiler" >&6
14863 # Is the header present?
14864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14866 cat >conftest.
$ac_ext <<_ACEOF
14869 cat confdefs.h
>>conftest.
$ac_ext
14870 cat >>conftest.
$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 #include <$ac_header>
14874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14875 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14877 grep -v '^ *+' conftest.er1
>conftest.err
14879 cat conftest.err
>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } >/dev
/null
; then
14882 if test -s conftest.err
; then
14883 ac_cpp_err
=$ac_c_preproc_warn_flag
14884 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14891 if test -z "$ac_cpp_err"; then
14892 ac_header_preproc
=yes
14894 echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.
$ac_ext >&5
14897 ac_header_preproc
=no
14899 rm -f conftest.err conftest.
$ac_ext
14900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14901 echo "${ECHO_T}$ac_header_preproc" >&6
14903 # So? What about this header?
14904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14910 ac_header_preproc
=yes
14913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14927 ## ------------------------------------------ ##
14928 ## Report this to the AC_PACKAGE_NAME lists. ##
14929 ## ------------------------------------------ ##
14932 sed "s/^/$as_me: WARNING: /" >&2
14935 echo "$as_me:$LINENO: checking for $ac_header" >&5
14936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 eval "$as_ac_Header=\$ac_header_preproc"
14942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14947 cat >>confdefs.h
<<_ACEOF
14948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14956 for ac_header
in sys
/user.h
14958 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14959 echo "$as_me:$LINENO: checking for $ac_header" >&5
14960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14962 echo $ECHO_N "(cached) $ECHO_C" >&6
14964 cat >conftest.
$ac_ext <<_ACEOF
14967 cat confdefs.h
>>conftest.
$ac_ext
14968 cat >>conftest.
$ac_ext <<_ACEOF
14969 /* end confdefs.h. */
14970 #if HAVE_SYS_PARAM_H
14971 # include <sys/param.h>
14975 #include <$ac_header>
14977 rm -f conftest.
$ac_objext
14978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14979 (eval $ac_compile) 2>conftest.er1
14981 grep -v '^ *+' conftest.er1
>conftest.err
14983 cat conftest.err
>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } &&
14986 { ac_try
='test -z "$ac_c_werror_flag"
14987 || test ! -s conftest.err'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; } &&
14993 { ac_try
='test -s conftest.$ac_objext'
14994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995 (eval $ac_try) 2>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); }; }; then
14999 eval "$as_ac_Header=yes"
15001 echo "$as_me: failed program was:" >&5
15002 sed 's/^/| /' conftest.
$ac_ext >&5
15004 eval "$as_ac_Header=no"
15006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15011 cat >>confdefs.h
<<_ACEOF
15012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15021 for ac_header
in sys
/wait.h
wait.h
15023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15025 echo "$as_me:$LINENO: checking for $ac_header" >&5
15026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15033 # Is the header compilable?
15034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15036 cat >conftest.
$ac_ext <<_ACEOF
15039 cat confdefs.h
>>conftest.
$ac_ext
15040 cat >>conftest.
$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042 $ac_includes_default
15043 #include <$ac_header>
15045 rm -f conftest.
$ac_objext
15046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15047 (eval $ac_compile) 2>conftest.er1
15049 grep -v '^ *+' conftest.er1
>conftest.err
15051 cat conftest.err
>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); } &&
15054 { ac_try
='test -z "$ac_c_werror_flag"
15055 || test ! -s conftest.err'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; } &&
15061 { ac_try
='test -s conftest.$ac_objext'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; }; then
15067 ac_header_compiler
=yes
15069 echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.
$ac_ext >&5
15072 ac_header_compiler
=no
15074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15076 echo "${ECHO_T}$ac_header_compiler" >&6
15078 # Is the header present?
15079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15081 cat >conftest.
$ac_ext <<_ACEOF
15084 cat confdefs.h
>>conftest.
$ac_ext
15085 cat >>conftest.
$ac_ext <<_ACEOF
15086 /* end confdefs.h. */
15087 #include <$ac_header>
15089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15092 grep -v '^ *+' conftest.er1
>conftest.err
15094 cat conftest.err
>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } >/dev
/null
; then
15097 if test -s conftest.err
; then
15098 ac_cpp_err
=$ac_c_preproc_warn_flag
15099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15106 if test -z "$ac_cpp_err"; then
15107 ac_header_preproc
=yes
15109 echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.
$ac_ext >&5
15112 ac_header_preproc
=no
15114 rm -f conftest.err conftest.
$ac_ext
15115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15116 echo "${ECHO_T}$ac_header_preproc" >&6
15118 # So? What about this header?
15119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15125 ac_header_preproc
=yes
15128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15142 ## ------------------------------------------ ##
15143 ## Report this to the AC_PACKAGE_NAME lists. ##
15144 ## ------------------------------------------ ##
15147 sed "s/^/$as_me: WARNING: /" >&2
15150 echo "$as_me:$LINENO: checking for $ac_header" >&5
15151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 eval "$as_ac_Header=\$ac_header_preproc"
15157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15162 cat >>confdefs.h
<<_ACEOF
15163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15173 for ac_header
in termios.h termio.h sgtty.h
15175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15177 echo "$as_me:$LINENO: checking for $ac_header" >&5
15178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15185 # Is the header compilable?
15186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15188 cat >conftest.
$ac_ext <<_ACEOF
15191 cat confdefs.h
>>conftest.
$ac_ext
15192 cat >>conftest.
$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 $ac_includes_default
15195 #include <$ac_header>
15197 rm -f conftest.
$ac_objext
15198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15199 (eval $ac_compile) 2>conftest.er1
15201 grep -v '^ *+' conftest.er1
>conftest.err
15203 cat conftest.err
>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); } &&
15206 { ac_try
='test -z "$ac_c_werror_flag"
15207 || test ! -s conftest.err'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; } &&
15213 { ac_try
='test -s conftest.$ac_objext'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; }; then
15219 ac_header_compiler
=yes
15221 echo "$as_me: failed program was:" >&5
15222 sed 's/^/| /' conftest.
$ac_ext >&5
15224 ac_header_compiler
=no
15226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15228 echo "${ECHO_T}$ac_header_compiler" >&6
15230 # Is the header present?
15231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15233 cat >conftest.
$ac_ext <<_ACEOF
15236 cat confdefs.h
>>conftest.
$ac_ext
15237 cat >>conftest.
$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15239 #include <$ac_header>
15241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15244 grep -v '^ *+' conftest.er1
>conftest.err
15246 cat conftest.err
>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } >/dev
/null
; then
15249 if test -s conftest.err
; then
15250 ac_cpp_err
=$ac_c_preproc_warn_flag
15251 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15258 if test -z "$ac_cpp_err"; then
15259 ac_header_preproc
=yes
15261 echo "$as_me: failed program was:" >&5
15262 sed 's/^/| /' conftest.
$ac_ext >&5
15264 ac_header_preproc
=no
15266 rm -f conftest.err conftest.
$ac_ext
15267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15268 echo "${ECHO_T}$ac_header_preproc" >&6
15270 # So? What about this header?
15271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15277 ac_header_preproc
=yes
15280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15294 ## ------------------------------------------ ##
15295 ## Report this to the AC_PACKAGE_NAME lists. ##
15296 ## ------------------------------------------ ##
15299 sed "s/^/$as_me: WARNING: /" >&2
15302 echo "$as_me:$LINENO: checking for $ac_header" >&5
15303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15305 echo $ECHO_N "(cached) $ECHO_C" >&6
15307 eval "$as_ac_Header=\$ac_header_preproc"
15309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15314 cat >>confdefs.h
<<_ACEOF
15315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15323 for ac_header
in unistd.h
15325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15327 echo "$as_me:$LINENO: checking for $ac_header" >&5
15328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15335 # Is the header compilable?
15336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15338 cat >conftest.
$ac_ext <<_ACEOF
15341 cat confdefs.h
>>conftest.
$ac_ext
15342 cat >>conftest.
$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 $ac_includes_default
15345 #include <$ac_header>
15347 rm -f conftest.
$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15351 grep -v '^ *+' conftest.er1
>conftest.err
15353 cat conftest.err
>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try
='test -z "$ac_c_werror_flag"
15357 || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try
='test -s conftest.$ac_objext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_header_compiler
=yes
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.
$ac_ext >&5
15374 ac_header_compiler
=no
15376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15378 echo "${ECHO_T}$ac_header_compiler" >&6
15380 # Is the header present?
15381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15383 cat >conftest.
$ac_ext <<_ACEOF
15386 cat confdefs.h
>>conftest.
$ac_ext
15387 cat >>conftest.
$ac_ext <<_ACEOF
15388 /* end confdefs.h. */
15389 #include <$ac_header>
15391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15394 grep -v '^ *+' conftest.er1
>conftest.err
15396 cat conftest.err
>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } >/dev
/null
; then
15399 if test -s conftest.err
; then
15400 ac_cpp_err
=$ac_c_preproc_warn_flag
15401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15408 if test -z "$ac_cpp_err"; then
15409 ac_header_preproc
=yes
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.
$ac_ext >&5
15414 ac_header_preproc
=no
15416 rm -f conftest.err conftest.
$ac_ext
15417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15418 echo "${ECHO_T}$ac_header_preproc" >&6
15420 # So? What about this header?
15421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15427 ac_header_preproc
=yes
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15444 ## ------------------------------------------ ##
15445 ## Report this to the AC_PACKAGE_NAME lists. ##
15446 ## ------------------------------------------ ##
15449 sed "s/^/$as_me: WARNING: /" >&2
15452 echo "$as_me:$LINENO: checking for $ac_header" >&5
15453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 eval "$as_ac_Header=\$ac_header_preproc"
15459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15464 cat >>confdefs.h
<<_ACEOF
15465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15473 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
15474 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
15475 # think that we don't have <curses.h> if we're using GCC.
15478 if test "$GCC" = yes; then
15480 cat >>confdefs.h
<<\_ACEOF
15481 #define _MSE_INT_H 1
15490 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
15492 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15494 echo "$as_me:$LINENO: checking for $ac_header" >&5
15495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15497 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15502 # Is the header compilable?
15503 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15505 cat >conftest.
$ac_ext <<_ACEOF
15508 cat confdefs.h
>>conftest.
$ac_ext
15509 cat >>conftest.
$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 $ac_includes_default
15512 #include <$ac_header>
15514 rm -f conftest.
$ac_objext
15515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15516 (eval $ac_compile) 2>conftest.er1
15518 grep -v '^ *+' conftest.er1
>conftest.err
15520 cat conftest.err
>&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); } &&
15523 { ac_try
='test -z "$ac_c_werror_flag"
15524 || test ! -s conftest.err'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; } &&
15530 { ac_try
='test -s conftest.$ac_objext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_header_compiler
=yes
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.
$ac_ext >&5
15541 ac_header_compiler
=no
15543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15545 echo "${ECHO_T}$ac_header_compiler" >&6
15547 # Is the header present?
15548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15550 cat >conftest.
$ac_ext <<_ACEOF
15553 cat confdefs.h
>>conftest.
$ac_ext
15554 cat >>conftest.
$ac_ext <<_ACEOF
15555 /* end confdefs.h. */
15556 #include <$ac_header>
15558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15561 grep -v '^ *+' conftest.er1
>conftest.err
15563 cat conftest.err
>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } >/dev
/null
; then
15566 if test -s conftest.err
; then
15567 ac_cpp_err
=$ac_c_preproc_warn_flag
15568 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15575 if test -z "$ac_cpp_err"; then
15576 ac_header_preproc
=yes
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.
$ac_ext >&5
15581 ac_header_preproc
=no
15583 rm -f conftest.err conftest.
$ac_ext
15584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15585 echo "${ECHO_T}$ac_header_preproc" >&6
15587 # So? What about this header?
15588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15594 ac_header_preproc
=yes
15597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15611 ## ------------------------------------------ ##
15612 ## Report this to the AC_PACKAGE_NAME lists. ##
15613 ## ------------------------------------------ ##
15616 sed "s/^/$as_me: WARNING: /" >&2
15619 echo "$as_me:$LINENO: checking for $ac_header" >&5
15620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 eval "$as_ac_Header=\$ac_header_preproc"
15626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15631 cat >>confdefs.h
<<_ACEOF
15632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15640 for ac_header
in ncurses
/term.h
15642 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15644 echo "$as_me:$LINENO: checking for $ac_header" >&5
15645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15652 # Is the header compilable?
15653 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15655 cat >conftest.
$ac_ext <<_ACEOF
15658 cat confdefs.h
>>conftest.
$ac_ext
15659 cat >>conftest.
$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15661 $ac_includes_default
15662 #include <$ac_header>
15664 rm -f conftest.
$ac_objext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15666 (eval $ac_compile) 2>conftest.er1
15668 grep -v '^ *+' conftest.er1
>conftest.err
15670 cat conftest.err
>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try
='test -z "$ac_c_werror_flag"
15674 || test ! -s conftest.err'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; } &&
15680 { ac_try
='test -s conftest.$ac_objext'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; }; then
15686 ac_header_compiler
=yes
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.
$ac_ext >&5
15691 ac_header_compiler
=no
15693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15694 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15695 echo "${ECHO_T}$ac_header_compiler" >&6
15697 # Is the header present?
15698 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15699 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15700 cat >conftest.
$ac_ext <<_ACEOF
15703 cat confdefs.h
>>conftest.
$ac_ext
15704 cat >>conftest.
$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 #include <$ac_header>
15708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15709 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15711 grep -v '^ *+' conftest.er1
>conftest.err
15713 cat conftest.err
>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } >/dev
/null
; then
15716 if test -s conftest.err
; then
15717 ac_cpp_err
=$ac_c_preproc_warn_flag
15718 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15725 if test -z "$ac_cpp_err"; then
15726 ac_header_preproc
=yes
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.
$ac_ext >&5
15731 ac_header_preproc
=no
15733 rm -f conftest.err conftest.
$ac_ext
15734 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15735 echo "${ECHO_T}$ac_header_preproc" >&6
15737 # So? What about this header?
15738 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15740 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15741 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15743 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15744 ac_header_preproc
=yes
15747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15751 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15752 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15753 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15754 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15757 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15758 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15761 ## ------------------------------------------ ##
15762 ## Report this to the AC_PACKAGE_NAME lists. ##
15763 ## ------------------------------------------ ##
15766 sed "s/^/$as_me: WARNING: /" >&2
15769 echo "$as_me:$LINENO: checking for $ac_header" >&5
15770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15772 echo $ECHO_N "(cached) $ECHO_C" >&6
15774 eval "$as_ac_Header=\$ac_header_preproc"
15776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15781 cat >>confdefs.h
<<_ACEOF
15782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15790 for ac_header
in term.h
15792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15793 echo "$as_me:$LINENO: checking for $ac_header" >&5
15794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15798 cat >conftest.
$ac_ext <<_ACEOF
15801 cat confdefs.h
>>conftest.
$ac_ext
15802 cat >>conftest.
$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15805 # include <curses.h>
15809 #include <$ac_header>
15811 rm -f conftest.
$ac_objext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15813 (eval $ac_compile) 2>conftest.er1
15815 grep -v '^ *+' conftest.er1
>conftest.err
15817 cat conftest.err
>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try
='test -z "$ac_c_werror_flag"
15821 || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try
='test -s conftest.$ac_objext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 eval "$as_ac_Header=yes"
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.
$ac_ext >&5
15838 eval "$as_ac_Header=no"
15840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15845 cat >>confdefs.h
<<_ACEOF
15846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15854 # Check for HP/UX 64-bit shared library support
15856 for ac_header
in elf_hp.h
15858 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15860 echo "$as_me:$LINENO: checking for $ac_header" >&5
15861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15868 # Is the header compilable?
15869 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15871 cat >conftest.
$ac_ext <<_ACEOF
15874 cat confdefs.h
>>conftest.
$ac_ext
15875 cat >>conftest.
$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15877 $ac_includes_default
15878 #include <$ac_header>
15880 rm -f conftest.
$ac_objext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15882 (eval $ac_compile) 2>conftest.er1
15884 grep -v '^ *+' conftest.er1
>conftest.err
15886 cat conftest.err
>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try
='test -z "$ac_c_werror_flag"
15890 || test ! -s conftest.err'
15891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 (eval $ac_try) 2>&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); }; } &&
15896 { ac_try
='test -s conftest.$ac_objext'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15902 ac_header_compiler
=yes
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.
$ac_ext >&5
15907 ac_header_compiler
=no
15909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15910 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15911 echo "${ECHO_T}$ac_header_compiler" >&6
15913 # Is the header present?
15914 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15915 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15916 cat >conftest.
$ac_ext <<_ACEOF
15919 cat confdefs.h
>>conftest.
$ac_ext
15920 cat >>conftest.
$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <$ac_header>
15924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15925 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15927 grep -v '^ *+' conftest.er1
>conftest.err
15929 cat conftest.err
>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } >/dev
/null
; then
15932 if test -s conftest.err
; then
15933 ac_cpp_err
=$ac_c_preproc_warn_flag
15934 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15941 if test -z "$ac_cpp_err"; then
15942 ac_header_preproc
=yes
15944 echo "$as_me: failed program was:" >&5
15945 sed 's/^/| /' conftest.
$ac_ext >&5
15947 ac_header_preproc
=no
15949 rm -f conftest.err conftest.
$ac_ext
15950 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15951 echo "${ECHO_T}$ac_header_preproc" >&6
15953 # So? What about this header?
15954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15957 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15959 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15960 ac_header_preproc
=yes
15963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15967 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15968 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15969 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15970 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15974 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15977 ## ------------------------------------------ ##
15978 ## Report this to the AC_PACKAGE_NAME lists. ##
15979 ## ------------------------------------------ ##
15982 sed "s/^/$as_me: WARNING: /" >&2
15985 echo "$as_me:$LINENO: checking for $ac_header" >&5
15986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15990 eval "$as_ac_Header=\$ac_header_preproc"
15992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15997 cat >>confdefs.h
<<_ACEOF
15998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16006 # FIXME: kettenis/20030102: In most cases we include these
16007 # unconditionally, so what's the point in checking these?
16010 for ac_header
in ctype.h
time.h
16012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16014 echo "$as_me:$LINENO: checking for $ac_header" >&5
16015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16022 # Is the header compilable?
16023 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16024 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16025 cat >conftest.
$ac_ext <<_ACEOF
16028 cat confdefs.h
>>conftest.
$ac_ext
16029 cat >>conftest.
$ac_ext <<_ACEOF
16030 /* end confdefs.h. */
16031 $ac_includes_default
16032 #include <$ac_header>
16034 rm -f conftest.
$ac_objext
16035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16036 (eval $ac_compile) 2>conftest.er1
16038 grep -v '^ *+' conftest.er1
>conftest.err
16040 cat conftest.err
>&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } &&
16043 { ac_try
='test -z "$ac_c_werror_flag"
16044 || test ! -s conftest.err'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; } &&
16050 { ac_try
='test -s conftest.$ac_objext'
16051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052 (eval $ac_try) 2>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); }; }; then
16056 ac_header_compiler
=yes
16058 echo "$as_me: failed program was:" >&5
16059 sed 's/^/| /' conftest.
$ac_ext >&5
16061 ac_header_compiler
=no
16063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16065 echo "${ECHO_T}$ac_header_compiler" >&6
16067 # Is the header present?
16068 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16069 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 #include <$ac_header>
16078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16079 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16081 grep -v '^ *+' conftest.er1
>conftest.err
16083 cat conftest.err
>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } >/dev
/null
; then
16086 if test -s conftest.err
; then
16087 ac_cpp_err
=$ac_c_preproc_warn_flag
16088 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16095 if test -z "$ac_cpp_err"; then
16096 ac_header_preproc
=yes
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.
$ac_ext >&5
16101 ac_header_preproc
=no
16103 rm -f conftest.err conftest.
$ac_ext
16104 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16105 echo "${ECHO_T}$ac_header_preproc" >&6
16107 # So? What about this header?
16108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16110 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16111 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16113 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16114 ac_header_preproc
=yes
16117 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16118 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16119 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16120 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16121 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16122 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16123 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16124 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16126 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16127 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16128 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16131 ## ------------------------------------------ ##
16132 ## Report this to the AC_PACKAGE_NAME lists. ##
16133 ## ------------------------------------------ ##
16136 sed "s/^/$as_me: WARNING: /" >&2
16139 echo "$as_me:$LINENO: checking for $ac_header" >&5
16140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16142 echo $ECHO_N "(cached) $ECHO_C" >&6
16144 eval "$as_ac_Header=\$ac_header_preproc"
16146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16151 cat >>confdefs.h
<<_ACEOF
16152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16160 # Create a header we can use portably to get the standard integer types.
16163 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16165 acx_cv_header_stdint
=stddef.h
16166 acx_cv_header_stdint_kind
="(already complete)"
16167 for i
in stdint.h
$inttype_headers; do
16168 unset ac_cv_type_uintptr_t
16169 unset ac_cv_type_uintmax_t
16170 unset ac_cv_type_int_least32_t
16171 unset ac_cv_type_int_fast32_t
16172 unset ac_cv_type_uint64_t
16173 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
16174 echo "$as_me:$LINENO: checking for uintmax_t" >&5
16175 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
16176 if test "${ac_cv_type_uintmax_t+set}" = set; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 cat >conftest.
$ac_ext <<_ACEOF
16182 cat confdefs.h
>>conftest.
$ac_ext
16183 cat >>conftest.
$ac_ext <<_ACEOF
16184 /* end confdefs.h. */
16185 #include <sys/types.h>
16191 if ((uintmax_t *) 0)
16193 if (sizeof (uintmax_t))
16199 rm -f conftest.
$ac_objext
16200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16201 (eval $ac_compile) 2>conftest.er1
16203 grep -v '^ *+' conftest.er1
>conftest.err
16205 cat conftest.err
>&5
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); } &&
16208 { ac_try
='test -z "$ac_c_werror_flag"
16209 || test ! -s conftest.err'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; } &&
16215 { ac_try
='test -s conftest.$ac_objext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 ac_cv_type_uintmax_t
=yes
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.
$ac_ext >&5
16226 ac_cv_type_uintmax_t
=no
16228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16230 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
16231 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
16232 if test $ac_cv_type_uintmax_t = yes; then
16233 acx_cv_header_stdint
=$i
16238 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16239 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16240 if test "${ac_cv_type_uintptr_t+set}" = set; then
16241 echo $ECHO_N "(cached) $ECHO_C" >&6
16243 cat >conftest.
$ac_ext <<_ACEOF
16246 cat confdefs.h
>>conftest.
$ac_ext
16247 cat >>conftest.
$ac_ext <<_ACEOF
16248 /* end confdefs.h. */
16249 #include <sys/types.h>
16255 if ((uintptr_t *) 0)
16257 if (sizeof (uintptr_t))
16263 rm -f conftest.
$ac_objext
16264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16265 (eval $ac_compile) 2>conftest.er1
16267 grep -v '^ *+' conftest.er1
>conftest.err
16269 cat conftest.err
>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); } &&
16272 { ac_try
='test -z "$ac_c_werror_flag"
16273 || test ! -s conftest.err'
16274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16275 (eval $ac_try) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); }; } &&
16279 { ac_try
='test -s conftest.$ac_objext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16285 ac_cv_type_uintptr_t
=yes
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.
$ac_ext >&5
16290 ac_cv_type_uintptr_t
=no
16292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16294 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16295 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16296 if test $ac_cv_type_uintptr_t = yes; then
16299 acx_cv_header_stdint_kind
="(mostly complete)"
16302 echo "$as_me:$LINENO: checking for int_least32_t" >&5
16303 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
16304 if test "${ac_cv_type_int_least32_t+set}" = set; then
16305 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 cat >conftest.
$ac_ext <<_ACEOF
16310 cat confdefs.h
>>conftest.
$ac_ext
16311 cat >>conftest.
$ac_ext <<_ACEOF
16312 /* end confdefs.h. */
16313 #include <sys/types.h>
16319 if ((int_least32_t *) 0)
16321 if (sizeof (int_least32_t))
16327 rm -f conftest.
$ac_objext
16328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16329 (eval $ac_compile) 2>conftest.er1
16331 grep -v '^ *+' conftest.er1
>conftest.err
16333 cat conftest.err
>&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } &&
16336 { ac_try
='test -z "$ac_c_werror_flag"
16337 || test ! -s conftest.err'
16338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16339 (eval $ac_try) 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); }; } &&
16343 { ac_try
='test -s conftest.$ac_objext'
16344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16345 (eval $ac_try) 2>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); }; }; then
16349 ac_cv_type_int_least32_t
=yes
16351 echo "$as_me: failed program was:" >&5
16352 sed 's/^/| /' conftest.
$ac_ext >&5
16354 ac_cv_type_int_least32_t
=no
16356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16358 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
16359 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
16360 if test $ac_cv_type_int_least32_t = yes; then
16363 acx_cv_header_stdint_kind
="(mostly complete)"
16366 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
16367 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
16368 if test "${ac_cv_type_int_fast32_t+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16371 cat >conftest.
$ac_ext <<_ACEOF
16374 cat confdefs.h
>>conftest.
$ac_ext
16375 cat >>conftest.
$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 #include <sys/types.h>
16383 if ((int_fast32_t *) 0)
16385 if (sizeof (int_fast32_t))
16391 rm -f conftest.
$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16395 grep -v '^ *+' conftest.er1
>conftest.err
16397 cat conftest.err
>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try
='test -z "$ac_c_werror_flag"
16401 || test ! -s conftest.err'
16402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16403 (eval $ac_try) 2>&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; } &&
16407 { ac_try
='test -s conftest.$ac_objext'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; }; then
16413 ac_cv_type_int_fast32_t
=yes
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.
$ac_ext >&5
16418 ac_cv_type_int_fast32_t
=no
16420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16422 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
16423 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
16424 if test $ac_cv_type_int_fast32_t = yes; then
16427 acx_cv_header_stdint_kind
="(mostly complete)"
16430 echo "$as_me:$LINENO: checking for uint64_t" >&5
16431 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16432 if test "${ac_cv_type_uint64_t+set}" = set; then
16433 echo $ECHO_N "(cached) $ECHO_C" >&6
16435 cat >conftest.
$ac_ext <<_ACEOF
16438 cat confdefs.h
>>conftest.
$ac_ext
16439 cat >>conftest.
$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16441 #include <sys/types.h>
16447 if ((uint64_t *) 0)
16449 if (sizeof (uint64_t))
16455 rm -f conftest.
$ac_objext
16456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16457 (eval $ac_compile) 2>conftest.er1
16459 grep -v '^ *+' conftest.er1
>conftest.err
16461 cat conftest.err
>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); } &&
16464 { ac_try
='test -z "$ac_c_werror_flag"
16465 || test ! -s conftest.err'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; } &&
16471 { ac_try
='test -s conftest.$ac_objext'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; }; then
16477 ac_cv_type_uint64_t
=yes
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.
$ac_ext >&5
16482 ac_cv_type_uint64_t
=no
16484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16486 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16487 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16488 if test $ac_cv_type_uint64_t = yes; then
16491 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16496 if test "$acx_cv_header_stdint" = stddef.h
; then
16497 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16498 for i
in stdint.h
$inttype_headers; do
16499 unset ac_cv_type_uintptr_t
16500 unset ac_cv_type_uint32_t
16501 unset ac_cv_type_uint64_t
16502 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
16503 echo "$as_me:$LINENO: checking for uint32_t" >&5
16504 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16505 if test "${ac_cv_type_uint32_t+set}" = set; then
16506 echo $ECHO_N "(cached) $ECHO_C" >&6
16508 cat >conftest.
$ac_ext <<_ACEOF
16511 cat confdefs.h
>>conftest.
$ac_ext
16512 cat >>conftest.
$ac_ext <<_ACEOF
16513 /* end confdefs.h. */
16514 #include <sys/types.h>
16520 if ((uint32_t *) 0)
16522 if (sizeof (uint32_t))
16528 rm -f conftest.
$ac_objext
16529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16530 (eval $ac_compile) 2>conftest.er1
16532 grep -v '^ *+' conftest.er1
>conftest.err
16534 cat conftest.err
>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); } &&
16537 { ac_try
='test -z "$ac_c_werror_flag"
16538 || test ! -s conftest.err'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; } &&
16544 { ac_try
='test -s conftest.$ac_objext'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; }; then
16550 ac_cv_type_uint32_t
=yes
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.
$ac_ext >&5
16555 ac_cv_type_uint32_t
=no
16557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16559 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16560 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16561 if test $ac_cv_type_uint32_t = yes; then
16562 acx_cv_header_stdint
=$i
16567 echo "$as_me:$LINENO: checking for uint64_t" >&5
16568 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16569 if test "${ac_cv_type_uint64_t+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 cat >conftest.
$ac_ext <<_ACEOF
16575 cat confdefs.h
>>conftest.
$ac_ext
16576 cat >>conftest.
$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 #include <sys/types.h>
16584 if ((uint64_t *) 0)
16586 if (sizeof (uint64_t))
16592 rm -f conftest.
$ac_objext
16593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16594 (eval $ac_compile) 2>conftest.er1
16596 grep -v '^ *+' conftest.er1
>conftest.err
16598 cat conftest.err
>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try
='test -z "$ac_c_werror_flag"
16602 || test ! -s conftest.err'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; } &&
16608 { ac_try
='test -s conftest.$ac_objext'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; }; then
16614 ac_cv_type_uint64_t
=yes
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.
$ac_ext >&5
16619 ac_cv_type_uint64_t
=no
16621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16623 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16624 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16626 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16627 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16628 if test "${ac_cv_type_uintptr_t+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 cat >conftest.
$ac_ext <<_ACEOF
16634 cat confdefs.h
>>conftest.
$ac_ext
16635 cat >>conftest.
$ac_ext <<_ACEOF
16636 /* end confdefs.h. */
16637 #include <sys/types.h>
16643 if ((uintptr_t *) 0)
16645 if (sizeof (uintptr_t))
16651 rm -f conftest.
$ac_objext
16652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16653 (eval $ac_compile) 2>conftest.er1
16655 grep -v '^ *+' conftest.er1
>conftest.err
16657 cat conftest.err
>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try
='test -z "$ac_c_werror_flag"
16661 || test ! -s conftest.err'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; } &&
16667 { ac_try
='test -s conftest.$ac_objext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 ac_cv_type_uintptr_t
=yes
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.
$ac_ext >&5
16678 ac_cv_type_uintptr_t
=no
16680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16682 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16683 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16688 if test "$acx_cv_header_stdint" = stddef.h
; then
16689 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16690 for i
in sys
/types.h
$inttype_headers; do
16691 unset ac_cv_type_u_int32_t
16692 unset ac_cv_type_u_int64_t
16693 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16694 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16695 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16696 if test "${ac_cv_type_u_int32_t+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 cat >conftest.
$ac_ext <<_ACEOF
16702 cat confdefs.h
>>conftest.
$ac_ext
16703 cat >>conftest.
$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <sys/types.h>
16711 if ((u_int32_t *) 0)
16713 if (sizeof (u_int32_t))
16719 rm -f conftest.
$ac_objext
16720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16721 (eval $ac_compile) 2>conftest.er1
16723 grep -v '^ *+' conftest.er1
>conftest.err
16725 cat conftest.err
>&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); } &&
16728 { ac_try
='test -z "$ac_c_werror_flag"
16729 || test ! -s conftest.err'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; } &&
16735 { ac_try
='test -s conftest.$ac_objext'
16736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16737 (eval $ac_try) 2>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); }; }; then
16741 ac_cv_type_u_int32_t
=yes
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.
$ac_ext >&5
16746 ac_cv_type_u_int32_t
=no
16748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16750 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16751 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16752 if test $ac_cv_type_u_int32_t = yes; then
16753 acx_cv_header_stdint
=$i
16758 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16759 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16760 if test "${ac_cv_type_u_int64_t+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 cat >conftest.
$ac_ext <<_ACEOF
16766 cat confdefs.h
>>conftest.
$ac_ext
16767 cat >>conftest.
$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769 #include <sys/types.h>
16775 if ((u_int64_t *) 0)
16777 if (sizeof (u_int64_t))
16783 rm -f conftest.
$ac_objext
16784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16785 (eval $ac_compile) 2>conftest.er1
16787 grep -v '^ *+' conftest.er1
>conftest.err
16789 cat conftest.err
>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } &&
16792 { ac_try
='test -z "$ac_c_werror_flag"
16793 || test ! -s conftest.err'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; } &&
16799 { ac_try
='test -s conftest.$ac_objext'
16800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16801 (eval $ac_try) 2>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); }; }; then
16805 ac_cv_type_u_int64_t
=yes
16807 echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.
$ac_ext >&5
16810 ac_cv_type_u_int64_t
=no
16812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16814 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16815 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16820 if test "$acx_cv_header_stdint" = stddef.h
; then
16821 acx_cv_header_stdint_kind
="(using manual detection)"
16824 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16825 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16826 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16827 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16828 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16830 # ----------------- Summarize what we found so far
16832 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
16833 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
16835 case `$as_basename gdb_stdint.h ||
16836 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
16837 Xgdb_stdint.h : 'X\(//\)$' \| \
16838 Xgdb_stdint.h : 'X\(/\)$' \| \
16839 . : '\(.\)' 2>/dev/null ||
16840 echo X/gdb_stdint.h |
16841 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16842 /^X\/\(\/\/\)$/{ s//\1/; q; }
16843 /^X\/\(\/\).*/{ s//\1/; q; }
16845 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16846 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16847 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16848 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16852 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16853 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16855 # ----------------- done included file, check C basic types --------
16857 # Lacking an uintptr_t? Test size of void *
16858 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16859 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
16860 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16861 if test "${ac_cv_type_void_p+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 cat >conftest.
$ac_ext <<_ACEOF
16867 cat confdefs.h
>>conftest.
$ac_ext
16868 cat >>conftest.
$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 $ac_includes_default
16876 if (sizeof (void *))
16882 rm -f conftest.
$ac_objext
16883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884 (eval $ac_compile) 2>conftest.er1
16886 grep -v '^ *+' conftest.er1
>conftest.err
16888 cat conftest.err
>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try
='test -z "$ac_c_werror_flag"
16892 || test ! -s conftest.err'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; } &&
16898 { ac_try
='test -s conftest.$ac_objext'
16899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16900 (eval $ac_try) 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; }; then
16904 ac_cv_type_void_p
=yes
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.
$ac_ext >&5
16909 ac_cv_type_void_p
=no
16911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16913 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16914 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16916 echo "$as_me:$LINENO: checking size of void *" >&5
16917 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16918 if test "${ac_cv_sizeof_void_p+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 if test "$ac_cv_type_void_p" = yes; then
16922 # The cast to unsigned long works around a bug in the HP C Compiler
16923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16925 # This bug is HP SR number 8606223364.
16926 if test "$cross_compiling" = yes; then
16927 # Depending upon the size, compute the lo and hi bounds.
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16938 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16945 rm -f conftest.
$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try
='test -z "$ac_c_werror_flag"
16955 || test ! -s conftest.err'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; } &&
16961 { ac_try
='test -s conftest.$ac_objext'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; }; then
16969 cat >conftest.
$ac_ext <<_ACEOF
16972 cat confdefs.h
>>conftest.
$ac_ext
16973 cat >>conftest.
$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 $ac_includes_default
16979 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16986 rm -f conftest.
$ac_objext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16988 (eval $ac_compile) 2>conftest.er1
16990 grep -v '^ *+' conftest.er1
>conftest.err
16992 cat conftest.err
>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try
='test -z "$ac_c_werror_flag"
16996 || test ! -s conftest.err'
16997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16998 (eval $ac_try) 2>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); }; } &&
17002 { ac_try
='test -s conftest.$ac_objext'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; }; then
17008 ac_hi
=$ac_mid; break
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.
$ac_ext >&5
17013 ac_lo
=`expr $ac_mid + 1`
17014 if test $ac_lo -le $ac_mid; then
17018 ac_mid
=`expr 2 '*' $ac_mid + 1`
17020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.
$ac_ext >&5
17026 cat >conftest.
$ac_ext <<_ACEOF
17029 cat confdefs.h
>>conftest.
$ac_ext
17030 cat >>conftest.
$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17032 $ac_includes_default
17036 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17043 rm -f conftest.
$ac_objext
17044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17045 (eval $ac_compile) 2>conftest.er1
17047 grep -v '^ *+' conftest.er1
>conftest.err
17049 cat conftest.err
>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } &&
17052 { ac_try
='test -z "$ac_c_werror_flag"
17053 || test ! -s conftest.err'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; } &&
17059 { ac_try
='test -s conftest.$ac_objext'
17060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17061 (eval $ac_try) 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); }; }; then
17067 cat >conftest.
$ac_ext <<_ACEOF
17070 cat confdefs.h
>>conftest.
$ac_ext
17071 cat >>conftest.
$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17073 $ac_includes_default
17077 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17084 rm -f conftest.
$ac_objext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086 (eval $ac_compile) 2>conftest.er1
17088 grep -v '^ *+' conftest.er1
>conftest.err
17090 cat conftest.err
>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
17093 { ac_try
='test -z "$ac_c_werror_flag"
17094 || test ! -s conftest.err'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; } &&
17100 { ac_try
='test -s conftest.$ac_objext'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; }; then
17106 ac_lo
=$ac_mid; break
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.
$ac_ext >&5
17111 ac_hi
=`expr '(' $ac_mid ')' - 1`
17112 if test $ac_mid -le $ac_hi; then
17116 ac_mid
=`expr 2 '*' $ac_mid`
17118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.
$ac_ext >&5
17126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17129 # Binary search between lo and hi bounds.
17130 while test "x$ac_lo" != "x$ac_hi"; do
17131 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
17142 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17149 rm -f conftest.
$ac_objext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17151 (eval $ac_compile) 2>conftest.er1
17153 grep -v '^ *+' conftest.er1
>conftest.err
17155 cat conftest.err
>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } &&
17158 { ac_try
='test -z "$ac_c_werror_flag"
17159 || test ! -s conftest.err'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; } &&
17165 { ac_try
='test -s conftest.$ac_objext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.
$ac_ext >&5
17176 ac_lo
=`expr '(' $ac_mid ')' + 1`
17178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17181 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17182 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17183 See \`config.log' for more details." >&5
17184 echo "$as_me: error: cannot compute sizeof (void *), 77
17185 See \`config.log' for more details." >&2;}
17186 { (exit 1); exit 1; }; } ;;
17189 if test "$cross_compiling" = yes; then
17190 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17191 See \`config.log' for more details." >&5
17192 echo "$as_me: error: cannot run test program while cross compiling
17193 See \`config.log' for more details." >&2;}
17194 { (exit 1); exit 1; }; }
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
17203 long longval () { return (long) (sizeof (void *)); }
17204 unsigned long ulongval () { return (long) (sizeof (void *)); }
17206 #include <stdlib.h>
17211 FILE *f = fopen ("conftest.val", "w");
17214 if (((long) (sizeof (void *))) < 0)
17216 long i = longval ();
17217 if (i != ((long) (sizeof (void *))))
17219 fprintf (f, "%ld\n", i);
17223 unsigned long i = ulongval ();
17224 if (i != ((long) (sizeof (void *))))
17226 fprintf (f, "%lu\n", i);
17228 exit (ferror (f) || fclose (f) != 0);
17234 rm -f conftest
$ac_exeext
17235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17236 (eval $ac_link) 2>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17245 ac_cv_sizeof_void_p
=`cat conftest.val`
17247 echo "$as_me: program exited with status $ac_status" >&5
17248 echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.
$ac_ext >&5
17251 ( exit $ac_status )
17252 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17253 See \`config.log' for more details." >&5
17254 echo "$as_me: error: cannot compute sizeof (void *), 77
17255 See \`config.log' for more details." >&2;}
17256 { (exit 1); exit 1; }; }
17258 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17263 ac_cv_sizeof_void_p
=0
17266 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17267 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17268 cat >>confdefs.h
<<_ACEOF
17269 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17275 # Lacking an uint64_t? Test size of long
17276 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
17277 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
17278 echo $ECHO_N "checking for long... $ECHO_C" >&6
17279 if test "${ac_cv_type_long+set}" = set; then
17280 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 cat >conftest.
$ac_ext <<_ACEOF
17285 cat confdefs.h
>>conftest.
$ac_ext
17286 cat >>conftest.
$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 $ac_includes_default
17300 rm -f conftest.
$ac_objext
17301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17302 (eval $ac_compile) 2>conftest.er1
17304 grep -v '^ *+' conftest.er1
>conftest.err
17306 cat conftest.err
>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } &&
17309 { ac_try
='test -z "$ac_c_werror_flag"
17310 || test ! -s conftest.err'
17311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17312 (eval $ac_try) 2>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; } &&
17316 { ac_try
='test -s conftest.$ac_objext'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; }; then
17322 ac_cv_type_long
=yes
17324 echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.
$ac_ext >&5
17329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17331 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17332 echo "${ECHO_T}$ac_cv_type_long" >&6
17334 echo "$as_me:$LINENO: checking size of long" >&5
17335 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17336 if test "${ac_cv_sizeof_long+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 if test "$ac_cv_type_long" = yes; then
17340 # The cast to unsigned long works around a bug in the HP C Compiler
17341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17343 # This bug is HP SR number 8606223364.
17344 if test "$cross_compiling" = yes; then
17345 # Depending upon the size, compute the lo and hi bounds.
17346 cat >conftest.
$ac_ext <<_ACEOF
17349 cat confdefs.h
>>conftest.
$ac_ext
17350 cat >>conftest.
$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 $ac_includes_default
17356 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17363 rm -f conftest.
$ac_objext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17365 (eval $ac_compile) 2>conftest.er1
17367 grep -v '^ *+' conftest.er1
>conftest.err
17369 cat conftest.err
>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } &&
17372 { ac_try
='test -z "$ac_c_werror_flag"
17373 || test ! -s conftest.err'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; } &&
17379 { ac_try
='test -s conftest.$ac_objext'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; }; then
17387 cat >conftest.
$ac_ext <<_ACEOF
17390 cat confdefs.h
>>conftest.
$ac_ext
17391 cat >>conftest.
$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393 $ac_includes_default
17397 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17404 rm -f conftest.
$ac_objext
17405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17406 (eval $ac_compile) 2>conftest.er1
17408 grep -v '^ *+' conftest.er1
>conftest.err
17410 cat conftest.err
>&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } &&
17413 { ac_try
='test -z "$ac_c_werror_flag"
17414 || test ! -s conftest.err'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; } &&
17420 { ac_try
='test -s conftest.$ac_objext'
17421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17422 (eval $ac_try) 2>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); }; }; then
17426 ac_hi
=$ac_mid; break
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.
$ac_ext >&5
17431 ac_lo
=`expr $ac_mid + 1`
17432 if test $ac_lo -le $ac_mid; then
17436 ac_mid
=`expr 2 '*' $ac_mid + 1`
17438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.
$ac_ext >&5
17444 cat >conftest.
$ac_ext <<_ACEOF
17447 cat confdefs.h
>>conftest.
$ac_ext
17448 cat >>conftest.
$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17454 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17461 rm -f conftest.
$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try
='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try
='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17485 cat >conftest.
$ac_ext <<_ACEOF
17488 cat confdefs.h
>>conftest.
$ac_ext
17489 cat >>conftest.
$ac_ext <<_ACEOF
17490 /* end confdefs.h. */
17491 $ac_includes_default
17495 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17502 rm -f conftest.
$ac_objext
17503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17504 (eval $ac_compile) 2>conftest.er1
17506 grep -v '^ *+' conftest.er1
>conftest.err
17508 cat conftest.err
>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); } &&
17511 { ac_try
='test -z "$ac_c_werror_flag"
17512 || test ! -s conftest.err'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; } &&
17518 { ac_try
='test -s conftest.$ac_objext'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; }; then
17524 ac_lo
=$ac_mid; break
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.
$ac_ext >&5
17529 ac_hi
=`expr '(' $ac_mid ')' - 1`
17530 if test $ac_mid -le $ac_hi; then
17534 ac_mid
=`expr 2 '*' $ac_mid`
17536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.
$ac_ext >&5
17544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17547 # Binary search between lo and hi bounds.
17548 while test "x$ac_lo" != "x$ac_hi"; do
17549 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
17560 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17567 rm -f conftest.
$ac_objext
17568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17569 (eval $ac_compile) 2>conftest.er1
17571 grep -v '^ *+' conftest.er1
>conftest.err
17573 cat conftest.err
>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try
='test -z "$ac_c_werror_flag"
17577 || test ! -s conftest.err'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; } &&
17583 { ac_try
='test -s conftest.$ac_objext'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; }; then
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.
$ac_ext >&5
17594 ac_lo
=`expr '(' $ac_mid ')' + 1`
17596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17599 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17600 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17601 See \`config.log' for more details." >&5
17602 echo "$as_me: error: cannot compute sizeof (long), 77
17603 See \`config.log' for more details." >&2;}
17604 { (exit 1); exit 1; }; } ;;
17607 if test "$cross_compiling" = yes; then
17608 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17609 See \`config.log' for more details." >&5
17610 echo "$as_me: error: cannot run test program while cross compiling
17611 See \`config.log' for more details." >&2;}
17612 { (exit 1); exit 1; }; }
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
17621 long longval () { return (long) (sizeof (long)); }
17622 unsigned long ulongval () { return (long) (sizeof (long)); }
17624 #include <stdlib.h>
17629 FILE *f = fopen ("conftest.val", "w");
17632 if (((long) (sizeof (long))) < 0)
17634 long i = longval ();
17635 if (i != ((long) (sizeof (long))))
17637 fprintf (f, "%ld\n", i);
17641 unsigned long i = ulongval ();
17642 if (i != ((long) (sizeof (long))))
17644 fprintf (f, "%lu\n", i);
17646 exit (ferror (f) || fclose (f) != 0);
17652 rm -f conftest
$ac_exeext
17653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17654 (eval $ac_link) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; }; then
17663 ac_cv_sizeof_long
=`cat conftest.val`
17665 echo "$as_me: program exited with status $ac_status" >&5
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.
$ac_ext >&5
17669 ( exit $ac_status )
17670 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17671 See \`config.log' for more details." >&5
17672 echo "$as_me: error: cannot compute sizeof (long), 77
17673 See \`config.log' for more details." >&2;}
17674 { (exit 1); exit 1; }; }
17676 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17681 ac_cv_sizeof_long
=0
17684 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17685 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17686 cat >>confdefs.h
<<_ACEOF
17687 #define SIZEOF_LONG $ac_cv_sizeof_long
17693 if test $acx_cv_header_stdint = stddef.h
; then
17694 # Lacking a good header? Test size of everything and deduce all types.
17695 echo "$as_me:$LINENO: checking for int" >&5
17696 echo $ECHO_N "checking for int... $ECHO_C" >&6
17697 if test "${ac_cv_type_int+set}" = set; then
17698 echo $ECHO_N "(cached) $ECHO_C" >&6
17700 cat >conftest.
$ac_ext <<_ACEOF
17703 cat confdefs.h
>>conftest.
$ac_ext
17704 cat >>conftest.
$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 $ac_includes_default
17718 rm -f conftest.
$ac_objext
17719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17720 (eval $ac_compile) 2>conftest.er1
17722 grep -v '^ *+' conftest.er1
>conftest.err
17724 cat conftest.err
>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } &&
17727 { ac_try
='test -z "$ac_c_werror_flag"
17728 || test ! -s conftest.err'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; } &&
17734 { ac_try
='test -s conftest.$ac_objext'
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; }; then
17742 echo "$as_me: failed program was:" >&5
17743 sed 's/^/| /' conftest.
$ac_ext >&5
17747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17749 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17750 echo "${ECHO_T}$ac_cv_type_int" >&6
17752 echo "$as_me:$LINENO: checking size of int" >&5
17753 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17754 if test "${ac_cv_sizeof_int+set}" = set; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 if test "$ac_cv_type_int" = yes; then
17758 # The cast to unsigned long works around a bug in the HP C Compiler
17759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17761 # This bug is HP SR number 8606223364.
17762 if test "$cross_compiling" = yes; then
17763 # Depending upon the size, compute the lo and hi bounds.
17764 cat >conftest.
$ac_ext <<_ACEOF
17767 cat confdefs.h
>>conftest.
$ac_ext
17768 cat >>conftest.
$ac_ext <<_ACEOF
17769 /* end confdefs.h. */
17770 $ac_includes_default
17774 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17781 rm -f conftest.
$ac_objext
17782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17783 (eval $ac_compile) 2>conftest.er1
17785 grep -v '^ *+' conftest.er1
>conftest.err
17787 cat conftest.err
>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } &&
17790 { ac_try
='test -z "$ac_c_werror_flag"
17791 || test ! -s conftest.err'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; } &&
17797 { ac_try
='test -s conftest.$ac_objext'
17798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17799 (eval $ac_try) 2>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; }; then
17805 cat >conftest.
$ac_ext <<_ACEOF
17808 cat confdefs.h
>>conftest.
$ac_ext
17809 cat >>conftest.
$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17811 $ac_includes_default
17815 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17822 rm -f conftest.
$ac_objext
17823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17824 (eval $ac_compile) 2>conftest.er1
17826 grep -v '^ *+' conftest.er1
>conftest.err
17828 cat conftest.err
>&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); } &&
17831 { ac_try
='test -z "$ac_c_werror_flag"
17832 || test ! -s conftest.err'
17833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17834 (eval $ac_try) 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; } &&
17838 { ac_try
='test -s conftest.$ac_objext'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; }; then
17844 ac_hi
=$ac_mid; break
17846 echo "$as_me: failed program was:" >&5
17847 sed 's/^/| /' conftest.
$ac_ext >&5
17849 ac_lo
=`expr $ac_mid + 1`
17850 if test $ac_lo -le $ac_mid; then
17854 ac_mid
=`expr 2 '*' $ac_mid + 1`
17856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.
$ac_ext >&5
17862 cat >conftest.
$ac_ext <<_ACEOF
17865 cat confdefs.h
>>conftest.
$ac_ext
17866 cat >>conftest.
$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 $ac_includes_default
17872 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17879 rm -f conftest.
$ac_objext
17880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17881 (eval $ac_compile) 2>conftest.er1
17883 grep -v '^ *+' conftest.er1
>conftest.err
17885 cat conftest.err
>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } &&
17888 { ac_try
='test -z "$ac_c_werror_flag"
17889 || test ! -s conftest.err'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; } &&
17895 { ac_try
='test -s conftest.$ac_objext'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; }; then
17903 cat >conftest.
$ac_ext <<_ACEOF
17906 cat confdefs.h
>>conftest.
$ac_ext
17907 cat >>conftest.
$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909 $ac_includes_default
17913 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17920 rm -f conftest.
$ac_objext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17922 (eval $ac_compile) 2>conftest.er1
17924 grep -v '^ *+' conftest.er1
>conftest.err
17926 cat conftest.err
>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
17929 { ac_try
='test -z "$ac_c_werror_flag"
17930 || test ! -s conftest.err'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; } &&
17936 { ac_try
='test -s conftest.$ac_objext'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; }; then
17942 ac_lo
=$ac_mid; break
17944 echo "$as_me: failed program was:" >&5
17945 sed 's/^/| /' conftest.
$ac_ext >&5
17947 ac_hi
=`expr '(' $ac_mid ')' - 1`
17948 if test $ac_mid -le $ac_hi; then
17952 ac_mid
=`expr 2 '*' $ac_mid`
17954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.
$ac_ext >&5
17962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17965 # Binary search between lo and hi bounds.
17966 while test "x$ac_lo" != "x$ac_hi"; do
17967 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
17978 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17985 rm -f conftest.
$ac_objext
17986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17987 (eval $ac_compile) 2>conftest.er1
17989 grep -v '^ *+' conftest.er1
>conftest.err
17991 cat conftest.err
>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); } &&
17994 { ac_try
='test -z "$ac_c_werror_flag"
17995 || test ! -s conftest.err'
17996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17997 (eval $ac_try) 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; } &&
18001 { ac_try
='test -s conftest.$ac_objext'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; }; then
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.
$ac_ext >&5
18012 ac_lo
=`expr '(' $ac_mid ')' + 1`
18014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18017 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18018 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18019 See \`config.log' for more details." >&5
18020 echo "$as_me: error: cannot compute sizeof (int), 77
18021 See \`config.log' for more details." >&2;}
18022 { (exit 1); exit 1; }; } ;;
18025 if test "$cross_compiling" = yes; then
18026 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18027 See \`config.log' for more details." >&5
18028 echo "$as_me: error: cannot run test program while cross compiling
18029 See \`config.log' for more details." >&2;}
18030 { (exit 1); exit 1; }; }
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
18039 long longval () { return (long) (sizeof (int)); }
18040 unsigned long ulongval () { return (long) (sizeof (int)); }
18042 #include <stdlib.h>
18047 FILE *f = fopen ("conftest.val", "w");
18050 if (((long) (sizeof (int))) < 0)
18052 long i = longval ();
18053 if (i != ((long) (sizeof (int))))
18055 fprintf (f, "%ld\n", i);
18059 unsigned long i = ulongval ();
18060 if (i != ((long) (sizeof (int))))
18062 fprintf (f, "%lu\n", i);
18064 exit (ferror (f) || fclose (f) != 0);
18070 rm -f conftest
$ac_exeext
18071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18072 (eval $ac_link) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; }; then
18081 ac_cv_sizeof_int
=`cat conftest.val`
18083 echo "$as_me: program exited with status $ac_status" >&5
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.
$ac_ext >&5
18087 ( exit $ac_status )
18088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18089 See \`config.log' for more details." >&5
18090 echo "$as_me: error: cannot compute sizeof (int), 77
18091 See \`config.log' for more details." >&2;}
18092 { (exit 1); exit 1; }; }
18094 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18102 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18103 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18104 cat >>confdefs.h
<<_ACEOF
18105 #define SIZEOF_INT $ac_cv_sizeof_int
18109 echo "$as_me:$LINENO: checking for short" >&5
18110 echo $ECHO_N "checking for short... $ECHO_C" >&6
18111 if test "${ac_cv_type_short+set}" = set; then
18112 echo $ECHO_N "(cached) $ECHO_C" >&6
18114 cat >conftest.
$ac_ext <<_ACEOF
18117 cat confdefs.h
>>conftest.
$ac_ext
18118 cat >>conftest.
$ac_ext <<_ACEOF
18119 /* end confdefs.h. */
18120 $ac_includes_default
18126 if (sizeof (short))
18132 rm -f conftest.
$ac_objext
18133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18134 (eval $ac_compile) 2>conftest.er1
18136 grep -v '^ *+' conftest.er1
>conftest.err
18138 cat conftest.err
>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } &&
18141 { ac_try
='test -z "$ac_c_werror_flag"
18142 || test ! -s conftest.err'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; } &&
18148 { ac_try
='test -s conftest.$ac_objext'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; }; then
18154 ac_cv_type_short
=yes
18156 echo "$as_me: failed program was:" >&5
18157 sed 's/^/| /' conftest.
$ac_ext >&5
18159 ac_cv_type_short
=no
18161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18163 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18164 echo "${ECHO_T}$ac_cv_type_short" >&6
18166 echo "$as_me:$LINENO: checking size of short" >&5
18167 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18168 if test "${ac_cv_sizeof_short+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 if test "$ac_cv_type_short" = yes; then
18172 # The cast to unsigned long works around a bug in the HP C Compiler
18173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18175 # This bug is HP SR number 8606223364.
18176 if test "$cross_compiling" = yes; then
18177 # Depending upon the size, compute the lo and hi bounds.
18178 cat >conftest.
$ac_ext <<_ACEOF
18181 cat confdefs.h
>>conftest.
$ac_ext
18182 cat >>conftest.
$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18188 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18195 rm -f conftest.
$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18199 grep -v '^ *+' conftest.er1
>conftest.err
18201 cat conftest.err
>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try
='test -z "$ac_c_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try
='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18219 cat >conftest.
$ac_ext <<_ACEOF
18222 cat confdefs.h
>>conftest.
$ac_ext
18223 cat >>conftest.
$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 $ac_includes_default
18229 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18236 rm -f conftest.
$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18240 grep -v '^ *+' conftest.er1
>conftest.err
18242 cat conftest.err
>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try
='test -z "$ac_c_werror_flag"
18246 || test ! -s conftest.err'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; } &&
18252 { ac_try
='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 ac_hi
=$ac_mid; break
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.
$ac_ext >&5
18263 ac_lo
=`expr $ac_mid + 1`
18264 if test $ac_lo -le $ac_mid; then
18268 ac_mid
=`expr 2 '*' $ac_mid + 1`
18270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 cat >conftest.
$ac_ext <<_ACEOF
18279 cat confdefs.h
>>conftest.
$ac_ext
18280 cat >>conftest.
$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 $ac_includes_default
18286 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18293 rm -f conftest.
$ac_objext
18294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18295 (eval $ac_compile) 2>conftest.er1
18297 grep -v '^ *+' conftest.er1
>conftest.err
18299 cat conftest.err
>&5
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); } &&
18302 { ac_try
='test -z "$ac_c_werror_flag"
18303 || test ! -s conftest.err'
18304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305 (eval $ac_try) 2>&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); }; } &&
18309 { ac_try
='test -s conftest.$ac_objext'
18310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18311 (eval $ac_try) 2>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); }; }; then
18317 cat >conftest.
$ac_ext <<_ACEOF
18320 cat confdefs.h
>>conftest.
$ac_ext
18321 cat >>conftest.
$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 $ac_includes_default
18327 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18334 rm -f conftest.
$ac_objext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18336 (eval $ac_compile) 2>conftest.er1
18338 grep -v '^ *+' conftest.er1
>conftest.err
18340 cat conftest.err
>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try
='test -z "$ac_c_werror_flag"
18344 || test ! -s conftest.err'
18345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18346 (eval $ac_try) 2>&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); }; } &&
18350 { ac_try
='test -s conftest.$ac_objext'
18351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18352 (eval $ac_try) 2>&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); }; }; then
18356 ac_lo
=$ac_mid; break
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.
$ac_ext >&5
18361 ac_hi
=`expr '(' $ac_mid ')' - 1`
18362 if test $ac_mid -le $ac_hi; then
18366 ac_mid
=`expr 2 '*' $ac_mid`
18368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.
$ac_ext >&5
18376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18379 # Binary search between lo and hi bounds.
18380 while test "x$ac_lo" != "x$ac_hi"; do
18381 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
18392 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18399 rm -f conftest.
$ac_objext
18400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18401 (eval $ac_compile) 2>conftest.er1
18403 grep -v '^ *+' conftest.er1
>conftest.err
18405 cat conftest.err
>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); } &&
18408 { ac_try
='test -z "$ac_c_werror_flag"
18409 || test ! -s conftest.err'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; } &&
18415 { ac_try
='test -s conftest.$ac_objext'
18416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417 (eval $ac_try) 2>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; }; then
18423 echo "$as_me: failed program was:" >&5
18424 sed 's/^/| /' conftest.
$ac_ext >&5
18426 ac_lo
=`expr '(' $ac_mid ')' + 1`
18428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18431 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18432 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18433 See \`config.log' for more details." >&5
18434 echo "$as_me: error: cannot compute sizeof (short), 77
18435 See \`config.log' for more details." >&2;}
18436 { (exit 1); exit 1; }; } ;;
18439 if test "$cross_compiling" = yes; then
18440 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18441 See \`config.log' for more details." >&5
18442 echo "$as_me: error: cannot run test program while cross compiling
18443 See \`config.log' for more details." >&2;}
18444 { (exit 1); exit 1; }; }
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
18453 long longval () { return (long) (sizeof (short)); }
18454 unsigned long ulongval () { return (long) (sizeof (short)); }
18456 #include <stdlib.h>
18461 FILE *f = fopen ("conftest.val", "w");
18464 if (((long) (sizeof (short))) < 0)
18466 long i = longval ();
18467 if (i != ((long) (sizeof (short))))
18469 fprintf (f, "%ld\n", i);
18473 unsigned long i = ulongval ();
18474 if (i != ((long) (sizeof (short))))
18476 fprintf (f, "%lu\n", i);
18478 exit (ferror (f) || fclose (f) != 0);
18484 rm -f conftest
$ac_exeext
18485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18486 (eval $ac_link) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; }; then
18495 ac_cv_sizeof_short
=`cat conftest.val`
18497 echo "$as_me: program exited with status $ac_status" >&5
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.
$ac_ext >&5
18501 ( exit $ac_status )
18502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18503 See \`config.log' for more details." >&5
18504 echo "$as_me: error: cannot compute sizeof (short), 77
18505 See \`config.log' for more details." >&2;}
18506 { (exit 1); exit 1; }; }
18508 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18513 ac_cv_sizeof_short
=0
18516 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18517 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18518 cat >>confdefs.h
<<_ACEOF
18519 #define SIZEOF_SHORT $ac_cv_sizeof_short
18523 echo "$as_me:$LINENO: checking for char" >&5
18524 echo $ECHO_N "checking for char... $ECHO_C" >&6
18525 if test "${ac_cv_type_char+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18528 cat >conftest.
$ac_ext <<_ACEOF
18531 cat confdefs.h
>>conftest.
$ac_ext
18532 cat >>conftest.
$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 $ac_includes_default
18546 rm -f conftest.
$ac_objext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18548 (eval $ac_compile) 2>conftest.er1
18550 grep -v '^ *+' conftest.er1
>conftest.err
18552 cat conftest.err
>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } &&
18555 { ac_try
='test -z "$ac_c_werror_flag"
18556 || test ! -s conftest.err'
18557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18558 (eval $ac_try) 2>&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); }; } &&
18562 { ac_try
='test -s conftest.$ac_objext'
18563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564 (eval $ac_try) 2>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; }; then
18568 ac_cv_type_char
=yes
18570 echo "$as_me: failed program was:" >&5
18571 sed 's/^/| /' conftest.
$ac_ext >&5
18575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18577 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18578 echo "${ECHO_T}$ac_cv_type_char" >&6
18580 echo "$as_me:$LINENO: checking size of char" >&5
18581 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18582 if test "${ac_cv_sizeof_char+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 if test "$ac_cv_type_char" = yes; then
18586 # The cast to unsigned long works around a bug in the HP C Compiler
18587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18589 # This bug is HP SR number 8606223364.
18590 if test "$cross_compiling" = yes; then
18591 # Depending upon the size, compute the lo and hi bounds.
18592 cat >conftest.
$ac_ext <<_ACEOF
18595 cat confdefs.h
>>conftest.
$ac_ext
18596 cat >>conftest.
$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18602 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18609 rm -f conftest.
$ac_objext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18611 (eval $ac_compile) 2>conftest.er1
18613 grep -v '^ *+' conftest.er1
>conftest.err
18615 cat conftest.err
>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try
='test -z "$ac_c_werror_flag"
18619 || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try
='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18633 cat >conftest.
$ac_ext <<_ACEOF
18636 cat confdefs.h
>>conftest.
$ac_ext
18637 cat >>conftest.
$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18639 $ac_includes_default
18643 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18650 rm -f conftest.
$ac_objext
18651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18652 (eval $ac_compile) 2>conftest.er1
18654 grep -v '^ *+' conftest.er1
>conftest.err
18656 cat conftest.err
>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } &&
18659 { ac_try
='test -z "$ac_c_werror_flag"
18660 || test ! -s conftest.err'
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18662 (eval $ac_try) 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; } &&
18666 { ac_try
='test -s conftest.$ac_objext'
18667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18668 (eval $ac_try) 2>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; }; then
18672 ac_hi
=$ac_mid; break
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.
$ac_ext >&5
18677 ac_lo
=`expr $ac_mid + 1`
18678 if test $ac_lo -le $ac_mid; then
18682 ac_mid
=`expr 2 '*' $ac_mid + 1`
18684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18687 echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.
$ac_ext >&5
18690 cat >conftest.
$ac_ext <<_ACEOF
18693 cat confdefs.h
>>conftest.
$ac_ext
18694 cat >>conftest.
$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 $ac_includes_default
18700 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18707 rm -f conftest.
$ac_objext
18708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18709 (eval $ac_compile) 2>conftest.er1
18711 grep -v '^ *+' conftest.er1
>conftest.err
18713 cat conftest.err
>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } &&
18716 { ac_try
='test -z "$ac_c_werror_flag"
18717 || test ! -s conftest.err'
18718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18719 (eval $ac_try) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; } &&
18723 { ac_try
='test -s conftest.$ac_objext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18731 cat >conftest.
$ac_ext <<_ACEOF
18734 cat confdefs.h
>>conftest.
$ac_ext
18735 cat >>conftest.
$ac_ext <<_ACEOF
18736 /* end confdefs.h. */
18737 $ac_includes_default
18741 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18748 rm -f conftest.
$ac_objext
18749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18750 (eval $ac_compile) 2>conftest.er1
18752 grep -v '^ *+' conftest.er1
>conftest.err
18754 cat conftest.err
>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } &&
18757 { ac_try
='test -z "$ac_c_werror_flag"
18758 || test ! -s conftest.err'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; } &&
18764 { ac_try
='test -s conftest.$ac_objext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18770 ac_lo
=$ac_mid; break
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 ac_hi
=`expr '(' $ac_mid ')' - 1`
18776 if test $ac_mid -le $ac_hi; then
18780 ac_mid
=`expr 2 '*' $ac_mid`
18782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18785 echo "$as_me: failed program was:" >&5
18786 sed 's/^/| /' conftest.
$ac_ext >&5
18790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18793 # Binary search between lo and hi bounds.
18794 while test "x$ac_lo" != "x$ac_hi"; do
18795 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
18806 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18813 rm -f conftest.
$ac_objext
18814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18815 (eval $ac_compile) 2>conftest.er1
18817 grep -v '^ *+' conftest.er1
>conftest.err
18819 cat conftest.err
>&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } &&
18822 { ac_try
='test -z "$ac_c_werror_flag"
18823 || test ! -s conftest.err'
18824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18825 (eval $ac_try) 2>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); }; } &&
18829 { ac_try
='test -s conftest.$ac_objext'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; }; then
18837 echo "$as_me: failed program was:" >&5
18838 sed 's/^/| /' conftest.
$ac_ext >&5
18840 ac_lo
=`expr '(' $ac_mid ')' + 1`
18842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18845 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18846 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18847 See \`config.log' for more details." >&5
18848 echo "$as_me: error: cannot compute sizeof (char), 77
18849 See \`config.log' for more details." >&2;}
18850 { (exit 1); exit 1; }; } ;;
18853 if test "$cross_compiling" = yes; then
18854 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18855 See \`config.log' for more details." >&5
18856 echo "$as_me: error: cannot run test program while cross compiling
18857 See \`config.log' for more details." >&2;}
18858 { (exit 1); exit 1; }; }
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
18867 long longval () { return (long) (sizeof (char)); }
18868 unsigned long ulongval () { return (long) (sizeof (char)); }
18870 #include <stdlib.h>
18875 FILE *f = fopen ("conftest.val", "w");
18878 if (((long) (sizeof (char))) < 0)
18880 long i = longval ();
18881 if (i != ((long) (sizeof (char))))
18883 fprintf (f, "%ld\n", i);
18887 unsigned long i = ulongval ();
18888 if (i != ((long) (sizeof (char))))
18890 fprintf (f, "%lu\n", i);
18892 exit (ferror (f) || fclose (f) != 0);
18898 rm -f conftest
$ac_exeext
18899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18900 (eval $ac_link) 2>&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905 (eval $ac_try) 2>&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); }; }; then
18909 ac_cv_sizeof_char
=`cat conftest.val`
18911 echo "$as_me: program exited with status $ac_status" >&5
18912 echo "$as_me: failed program was:" >&5
18913 sed 's/^/| /' conftest.
$ac_ext >&5
18915 ( exit $ac_status )
18916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18917 See \`config.log' for more details." >&5
18918 echo "$as_me: error: cannot compute sizeof (char), 77
18919 See \`config.log' for more details." >&2;}
18920 { (exit 1); exit 1; }; }
18922 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18927 ac_cv_sizeof_char
=0
18930 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18931 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18932 cat >>confdefs.h
<<_ACEOF
18933 #define SIZEOF_CHAR $ac_cv_sizeof_char
18938 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18939 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18940 case "$ac_cv_sizeof_char" in
18941 1) acx_cv_type_int8_t
=char
;;
18942 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18943 echo "$as_me: error: no 8-bit type" >&2;}
18944 { (exit please report a bug
); exit please report a bug
; }; }
18946 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18947 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18949 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18950 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18951 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18952 2:*) acx_cv_type_int16_t
=int
;;
18953 *:2) acx_cv_type_int16_t
=short
;;
18954 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18955 echo "$as_me: error: no 16-bit type" >&2;}
18956 { (exit please report a bug
); exit please report a bug
; }; }
18958 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18959 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18961 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18962 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18963 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18964 4:*) acx_cv_type_int32_t
=int
;;
18965 *:4) acx_cv_type_int32_t
=long
;;
18966 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18967 echo "$as_me: error: no 32-bit type" >&2;}
18968 { (exit please report a bug
); exit please report a bug
; }; }
18970 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18971 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18974 # These tests are here to make the output prettier
18976 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18977 case "$ac_cv_sizeof_long" in
18978 8) acx_cv_type_int64_t
=long
;;
18980 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18981 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18982 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18983 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18986 # Now we can use the above types
18988 if test "$ac_cv_type_uintptr_t" != yes; then
18989 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18990 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18991 case $ac_cv_sizeof_void_p in
18992 2) acx_cv_type_intptr_t
=int16_t
;;
18993 4) acx_cv_type_intptr_t
=int32_t
;;
18994 8) acx_cv_type_intptr_t
=int64_t
;;
18995 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18996 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18997 { (exit please report a bug
); exit please report a bug
; }; }
18999 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
19000 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
19003 # ----------------- done all checks, emit header -------------
19004 ac_config_commands
="$ac_config_commands gdb_stdint.h"
19009 # ------------------------- #
19010 # Checks for declarations. #
19011 # ------------------------- #
19013 echo "$as_me:$LINENO: checking whether free is declared" >&5
19014 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
19015 if test "${ac_cv_have_decl_free+set}" = set; then
19016 echo $ECHO_N "(cached) $ECHO_C" >&6
19018 cat >conftest.
$ac_ext <<_ACEOF
19021 cat confdefs.h
>>conftest.
$ac_ext
19022 cat >>conftest.
$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 $ac_includes_default
19029 char *p = (char *) free;
19036 rm -f conftest.
$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19040 grep -v '^ *+' conftest.er1
>conftest.err
19042 cat conftest.err
>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try
='test -z "$ac_c_werror_flag"
19046 || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try
='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 ac_cv_have_decl_free
=yes
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.
$ac_ext >&5
19063 ac_cv_have_decl_free
=no
19065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19067 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
19068 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
19069 if test $ac_cv_have_decl_free = yes; then
19071 cat >>confdefs.h
<<_ACEOF
19072 #define HAVE_DECL_FREE 1
19077 cat >>confdefs.h
<<_ACEOF
19078 #define HAVE_DECL_FREE 0
19083 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
19084 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
19085 if test "${ac_cv_have_decl_malloc+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 cat >conftest.
$ac_ext <<_ACEOF
19091 cat confdefs.h
>>conftest.
$ac_ext
19092 cat >>conftest.
$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094 $ac_includes_default
19099 char *p = (char *) malloc;
19106 rm -f conftest.
$ac_objext
19107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108 (eval $ac_compile) 2>conftest.er1
19110 grep -v '^ *+' conftest.er1
>conftest.err
19112 cat conftest.err
>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } &&
19115 { ac_try
='test -z "$ac_c_werror_flag"
19116 || test ! -s conftest.err'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; } &&
19122 { ac_try
='test -s conftest.$ac_objext'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; }; then
19128 ac_cv_have_decl_malloc
=yes
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.
$ac_ext >&5
19133 ac_cv_have_decl_malloc
=no
19135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19137 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
19138 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
19139 if test $ac_cv_have_decl_malloc = yes; then
19141 cat >>confdefs.h
<<_ACEOF
19142 #define HAVE_DECL_MALLOC 1
19147 cat >>confdefs.h
<<_ACEOF
19148 #define HAVE_DECL_MALLOC 0
19153 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
19154 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
19155 if test "${ac_cv_have_decl_realloc+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 cat >conftest.
$ac_ext <<_ACEOF
19161 cat confdefs.h
>>conftest.
$ac_ext
19162 cat >>conftest.
$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19164 $ac_includes_default
19169 char *p = (char *) realloc;
19176 rm -f conftest.
$ac_objext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19178 (eval $ac_compile) 2>conftest.er1
19180 grep -v '^ *+' conftest.er1
>conftest.err
19182 cat conftest.err
>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try
='test -z "$ac_c_werror_flag"
19186 || test ! -s conftest.err'
19187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19188 (eval $ac_try) 2>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); }; } &&
19192 { ac_try
='test -s conftest.$ac_objext'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; }; then
19198 ac_cv_have_decl_realloc
=yes
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.
$ac_ext >&5
19203 ac_cv_have_decl_realloc
=no
19205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19207 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
19208 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
19209 if test $ac_cv_have_decl_realloc = yes; then
19211 cat >>confdefs.h
<<_ACEOF
19212 #define HAVE_DECL_REALLOC 1
19217 cat >>confdefs.h
<<_ACEOF
19218 #define HAVE_DECL_REALLOC 0
19225 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
19226 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
19227 if test "${ac_cv_have_decl_strerror+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19230 cat >conftest.
$ac_ext <<_ACEOF
19233 cat confdefs.h
>>conftest.
$ac_ext
19234 cat >>conftest.
$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 $ac_includes_default
19241 char *p = (char *) strerror;
19248 rm -f conftest.
$ac_objext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19250 (eval $ac_compile) 2>conftest.er1
19252 grep -v '^ *+' conftest.er1
>conftest.err
19254 cat conftest.err
>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } &&
19257 { ac_try
='test -z "$ac_c_werror_flag"
19258 || test ! -s conftest.err'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; } &&
19264 { ac_try
='test -s conftest.$ac_objext'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; }; then
19270 ac_cv_have_decl_strerror
=yes
19272 echo "$as_me: failed program was:" >&5
19273 sed 's/^/| /' conftest.
$ac_ext >&5
19275 ac_cv_have_decl_strerror
=no
19277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19279 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
19280 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
19281 if test $ac_cv_have_decl_strerror = yes; then
19283 cat >>confdefs.h
<<_ACEOF
19284 #define HAVE_DECL_STRERROR 1
19289 cat >>confdefs.h
<<_ACEOF
19290 #define HAVE_DECL_STRERROR 0
19295 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
19296 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
19297 if test "${ac_cv_have_decl_strstr+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 cat >conftest.
$ac_ext <<_ACEOF
19303 cat confdefs.h
>>conftest.
$ac_ext
19304 cat >>conftest.
$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 $ac_includes_default
19311 char *p = (char *) strstr;
19318 rm -f conftest.
$ac_objext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19320 (eval $ac_compile) 2>conftest.er1
19322 grep -v '^ *+' conftest.er1
>conftest.err
19324 cat conftest.err
>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try
='test -z "$ac_c_werror_flag"
19328 || test ! -s conftest.err'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; } &&
19334 { ac_try
='test -s conftest.$ac_objext'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; }; then
19340 ac_cv_have_decl_strstr
=yes
19342 echo "$as_me: failed program was:" >&5
19343 sed 's/^/| /' conftest.
$ac_ext >&5
19345 ac_cv_have_decl_strstr
=no
19347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19349 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
19350 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
19351 if test $ac_cv_have_decl_strstr = yes; then
19353 cat >>confdefs.h
<<_ACEOF
19354 #define HAVE_DECL_STRSTR 1
19359 cat >>confdefs.h
<<_ACEOF
19360 #define HAVE_DECL_STRSTR 0
19367 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
19368 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
19369 if test "${ac_cv_have_decl_getopt+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 cat >conftest.
$ac_ext <<_ACEOF
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19383 char *p = (char *) getopt;
19390 rm -f conftest.
$ac_objext
19391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19392 (eval $ac_compile) 2>conftest.er1
19394 grep -v '^ *+' conftest.er1
>conftest.err
19396 cat conftest.err
>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } &&
19399 { ac_try
='test -z "$ac_c_werror_flag"
19400 || test ! -s conftest.err'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; } &&
19406 { ac_try
='test -s conftest.$ac_objext'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; }; then
19412 ac_cv_have_decl_getopt
=yes
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.
$ac_ext >&5
19417 ac_cv_have_decl_getopt
=no
19419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19421 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
19422 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
19423 if test $ac_cv_have_decl_getopt = yes; then
19425 cat >>confdefs.h
<<_ACEOF
19426 #define HAVE_DECL_GETOPT 1
19431 cat >>confdefs.h
<<_ACEOF
19432 #define HAVE_DECL_GETOPT 0
19437 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
19438 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
19439 if test "${ac_cv_have_decl_snprintf+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19442 cat >conftest.
$ac_ext <<_ACEOF
19445 cat confdefs.h
>>conftest.
$ac_ext
19446 cat >>conftest.
$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 $ac_includes_default
19453 char *p = (char *) snprintf;
19460 rm -f conftest.
$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19464 grep -v '^ *+' conftest.er1
>conftest.err
19466 cat conftest.err
>&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try
='test -z "$ac_c_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_have_decl_snprintf
=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_cv_have_decl_snprintf
=no
19489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19491 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
19492 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
19493 if test $ac_cv_have_decl_snprintf = yes; then
19495 cat >>confdefs.h
<<_ACEOF
19496 #define HAVE_DECL_SNPRINTF 1
19501 cat >>confdefs.h
<<_ACEOF
19502 #define HAVE_DECL_SNPRINTF 0
19507 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
19508 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
19509 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 cat >conftest.
$ac_ext <<_ACEOF
19515 cat confdefs.h
>>conftest.
$ac_ext
19516 cat >>conftest.
$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19523 char *p = (char *) vsnprintf;
19530 rm -f conftest.
$ac_objext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19532 (eval $ac_compile) 2>conftest.er1
19534 grep -v '^ *+' conftest.er1
>conftest.err
19536 cat conftest.err
>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try
='test -z "$ac_c_werror_flag"
19540 || test ! -s conftest.err'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; } &&
19546 { ac_try
='test -s conftest.$ac_objext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_have_decl_vsnprintf
=yes
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.
$ac_ext >&5
19557 ac_cv_have_decl_vsnprintf
=no
19559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19561 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
19562 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
19563 if test $ac_cv_have_decl_vsnprintf = yes; then
19565 cat >>confdefs.h
<<_ACEOF
19566 #define HAVE_DECL_VSNPRINTF 1
19571 cat >>confdefs.h
<<_ACEOF
19572 #define HAVE_DECL_VSNPRINTF 0
19580 # ----------------------- #
19581 # Checks for structures. #
19582 # ----------------------- #
19584 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19585 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19586 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 cat >conftest.
$ac_ext <<_ACEOF
19592 cat confdefs.h
>>conftest.
$ac_ext
19593 cat >>conftest.
$ac_ext <<_ACEOF
19594 /* end confdefs.h. */
19595 $ac_includes_default
19599 static struct stat ac_aggr;
19600 if (ac_aggr.st_blocks)
19606 rm -f conftest.
$ac_objext
19607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19608 (eval $ac_compile) 2>conftest.er1
19610 grep -v '^ *+' conftest.er1
>conftest.err
19612 cat conftest.err
>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); } &&
19615 { ac_try
='test -z "$ac_c_werror_flag"
19616 || test ! -s conftest.err'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; } &&
19622 { ac_try
='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_cv_member_struct_stat_st_blocks
=yes
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.
$ac_ext >&5
19633 cat >conftest.
$ac_ext <<_ACEOF
19636 cat confdefs.h
>>conftest.
$ac_ext
19637 cat >>conftest.
$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 $ac_includes_default
19643 static struct stat ac_aggr;
19644 if (sizeof ac_aggr.st_blocks)
19650 rm -f conftest.
$ac_objext
19651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19652 (eval $ac_compile) 2>conftest.er1
19654 grep -v '^ *+' conftest.er1
>conftest.err
19656 cat conftest.err
>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } &&
19659 { ac_try
='test -z "$ac_c_werror_flag"
19660 || test ! -s conftest.err'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; } &&
19666 { ac_try
='test -s conftest.$ac_objext'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; }; then
19672 ac_cv_member_struct_stat_st_blocks
=yes
19674 echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.
$ac_ext >&5
19677 ac_cv_member_struct_stat_st_blocks
=no
19679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19683 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19684 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19685 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19687 cat >>confdefs.h
<<_ACEOF
19688 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19694 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
19695 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
19696 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19699 cat >conftest.
$ac_ext <<_ACEOF
19702 cat confdefs.h
>>conftest.
$ac_ext
19703 cat >>conftest.
$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 $ac_includes_default
19709 static struct stat ac_aggr;
19710 if (ac_aggr.st_blksize)
19716 rm -f conftest.
$ac_objext
19717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19718 (eval $ac_compile) 2>conftest.er1
19720 grep -v '^ *+' conftest.er1
>conftest.err
19722 cat conftest.err
>&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); } &&
19725 { ac_try
='test -z "$ac_c_werror_flag"
19726 || test ! -s conftest.err'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; } &&
19732 { ac_try
='test -s conftest.$ac_objext'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; }; then
19738 ac_cv_member_struct_stat_st_blksize
=yes
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.
$ac_ext >&5
19743 cat >conftest.
$ac_ext <<_ACEOF
19746 cat confdefs.h
>>conftest.
$ac_ext
19747 cat >>conftest.
$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19749 $ac_includes_default
19753 static struct stat ac_aggr;
19754 if (sizeof ac_aggr.st_blksize)
19760 rm -f conftest.
$ac_objext
19761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19762 (eval $ac_compile) 2>conftest.er1
19764 grep -v '^ *+' conftest.er1
>conftest.err
19766 cat conftest.err
>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } &&
19769 { ac_try
='test -z "$ac_c_werror_flag"
19770 || test ! -s conftest.err'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; } &&
19776 { ac_try
='test -s conftest.$ac_objext'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; }; then
19782 ac_cv_member_struct_stat_st_blksize
=yes
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.
$ac_ext >&5
19787 ac_cv_member_struct_stat_st_blksize
=no
19789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19793 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
19794 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
19795 if test $ac_cv_member_struct_stat_st_blksize = yes; then
19797 cat >>confdefs.h
<<_ACEOF
19798 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19805 # ------------------ #
19806 # Checks for types. #
19807 # ------------------ #
19809 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
19810 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
19811 if test "${ac_cv_type_signal+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 cat >conftest.
$ac_ext <<_ACEOF
19817 cat confdefs.h
>>conftest.
$ac_ext
19818 cat >>conftest.
$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19820 #include <sys/types.h>
19821 #include <signal.h>
19826 extern "C" void (*signal (int, void (*)(int)))(int);
19828 void (*signal ()) ();
19839 rm -f conftest.
$ac_objext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19841 (eval $ac_compile) 2>conftest.er1
19843 grep -v '^ *+' conftest.er1
>conftest.err
19845 cat conftest.err
>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try
='test -z "$ac_c_werror_flag"
19849 || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try
='test -s conftest.$ac_objext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19861 ac_cv_type_signal
=void
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.
$ac_ext >&5
19866 ac_cv_type_signal
=int
19868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19870 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
19871 echo "${ECHO_T}$ac_cv_type_signal" >&6
19873 cat >>confdefs.h
<<_ACEOF
19874 #define RETSIGTYPE $ac_cv_type_signal
19878 echo "$as_me:$LINENO: checking for socklen_t" >&5
19879 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
19880 if test "${ac_cv_type_socklen_t+set}" = set; then
19881 echo $ECHO_N "(cached) $ECHO_C" >&6
19883 cat >conftest.
$ac_ext <<_ACEOF
19886 cat confdefs.h
>>conftest.
$ac_ext
19887 cat >>conftest.
$ac_ext <<_ACEOF
19888 /* end confdefs.h. */
19889 #include <sys/types.h>
19890 #include <sys/socket.h>
19896 if ((socklen_t *) 0)
19898 if (sizeof (socklen_t))
19904 rm -f conftest.
$ac_objext
19905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19906 (eval $ac_compile) 2>conftest.er1
19908 grep -v '^ *+' conftest.er1
>conftest.err
19910 cat conftest.err
>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } &&
19913 { ac_try
='test -z "$ac_c_werror_flag"
19914 || test ! -s conftest.err'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; } &&
19920 { ac_try
='test -s conftest.$ac_objext'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; }; then
19926 ac_cv_type_socklen_t
=yes
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.
$ac_ext >&5
19931 ac_cv_type_socklen_t
=no
19933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19935 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
19936 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
19937 if test $ac_cv_type_socklen_t = yes; then
19939 cat >>confdefs.h
<<_ACEOF
19940 #define HAVE_SOCKLEN_T 1
19946 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19947 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19948 if test "${ac_cv_type_uintptr_t+set}" = set; then
19949 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 cat >conftest.
$ac_ext <<_ACEOF
19954 cat confdefs.h
>>conftest.
$ac_ext
19955 cat >>conftest.
$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19957 #include <stdint.h>
19962 if ((uintptr_t *) 0)
19964 if (sizeof (uintptr_t))
19970 rm -f conftest.
$ac_objext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19972 (eval $ac_compile) 2>conftest.er1
19974 grep -v '^ *+' conftest.er1
>conftest.err
19976 cat conftest.err
>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } &&
19979 { ac_try
='test -z "$ac_c_werror_flag"
19980 || test ! -s conftest.err'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; } &&
19986 { ac_try
='test -s conftest.$ac_objext'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; }; then
19992 ac_cv_type_uintptr_t
=yes
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.
$ac_ext >&5
19997 ac_cv_type_uintptr_t
=no
19999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20001 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
20002 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
20003 if test $ac_cv_type_uintptr_t = yes; then
20005 cat >>confdefs.h
<<_ACEOF
20006 #define HAVE_UINTPTR_T 1
20013 # ------------------------------------- #
20014 # Checks for compiler characteristics. #
20015 # ------------------------------------- #
20017 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20018 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20019 if test "${ac_cv_c_const+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 cat >conftest.
$ac_ext <<_ACEOF
20025 cat confdefs.h
>>conftest.
$ac_ext
20026 cat >>conftest.
$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20032 /* FIXME: Include the comments suggested by Paul. */
20033 #ifndef __cplusplus
20034 /* Ultrix mips cc rejects this. */
20035 typedef int charset[2];
20037 /* SunOS 4.1.1 cc rejects this. */
20038 char const *const *ccp;
20040 /* NEC SVR4.0.2 mips cc rejects this. */
20041 struct point {int x, y;};
20042 static struct point const zero = {0,0};
20043 /* AIX XL C 1.02.0.0 rejects this.
20044 It does not let you subtract one const X* pointer from another in
20045 an arm of an if-expression whose if-part is not a constant
20047 const char *g = "string";
20048 ccp = &g + (g ? g-g : 0);
20049 /* HPUX 7.0 cc rejects these. */
20052 ccp = (char const *const *) p;
20053 { /* SCO 3.2v4 cc rejects this. */
20055 char const *s = 0 ? (char *) 0 : (char const *) 0;
20059 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20060 int x[] = {25, 17};
20061 const int *foo = &x[0];
20064 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20065 typedef const int *iptr;
20069 { /* AIX XL C 1.02.0.0 rejects this saying
20070 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20071 struct s { int j; const int *ap[3]; };
20072 struct s *b; b->j = 5;
20074 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20075 const int foo = 10;
20083 rm -f conftest.
$ac_objext
20084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20085 (eval $ac_compile) 2>conftest.er1
20087 grep -v '^ *+' conftest.er1
>conftest.err
20089 cat conftest.err
>&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); } &&
20092 { ac_try
='test -z "$ac_c_werror_flag"
20093 || test ! -s conftest.err'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; } &&
20099 { ac_try
='test -s conftest.$ac_objext'
20100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101 (eval $ac_try) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); }; }; then
20107 echo "$as_me: failed program was:" >&5
20108 sed 's/^/| /' conftest.
$ac_ext >&5
20112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20114 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20115 echo "${ECHO_T}$ac_cv_c_const" >&6
20116 if test $ac_cv_c_const = no
; then
20118 cat >>confdefs.h
<<\_ACEOF
20124 echo "$as_me:$LINENO: checking for inline" >&5
20125 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20126 if test "${ac_cv_c_inline+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 for ac_kw
in inline __inline__ __inline
; do
20131 cat >conftest.
$ac_ext <<_ACEOF
20134 cat confdefs.h
>>conftest.
$ac_ext
20135 cat >>conftest.
$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 #ifndef __cplusplus
20139 static $ac_kw foo_t static_foo () {return 0; }
20140 $ac_kw foo_t foo () {return 0; }
20144 rm -f conftest.
$ac_objext
20145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20146 (eval $ac_compile) 2>conftest.er1
20148 grep -v '^ *+' conftest.er1
>conftest.err
20150 cat conftest.err
>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } &&
20153 { ac_try
='test -z "$ac_c_werror_flag"
20154 || test ! -s conftest.err'
20155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156 (eval $ac_try) 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; } &&
20160 { ac_try
='test -s conftest.$ac_objext'
20161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162 (eval $ac_try) 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; }; then
20166 ac_cv_c_inline
=$ac_kw; break
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.
$ac_ext >&5
20172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20176 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20177 echo "${ECHO_T}$ac_cv_c_inline" >&6
20180 case $ac_cv_c_inline in
20183 case $ac_cv_c_inline in
20185 *) ac_val
=$ac_cv_c_inline;;
20187 cat >>confdefs.h
<<_ACEOF
20188 #ifndef __cplusplus
20189 #define inline $ac_val
20195 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20196 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20197 if test "${ac_cv_c_bigendian+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 # See if sys/param.h defines the BYTE_ORDER macro.
20201 cat >conftest.
$ac_ext <<_ACEOF
20204 cat confdefs.h
>>conftest.
$ac_ext
20205 cat >>conftest.
$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 #include <sys/types.h>
20208 #include <sys/param.h>
20213 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20214 bogus endian macros
20221 rm -f conftest.
$ac_objext
20222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20223 (eval $ac_compile) 2>conftest.er1
20225 grep -v '^ *+' conftest.er1
>conftest.err
20227 cat conftest.err
>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
20230 { ac_try
='test -z "$ac_c_werror_flag"
20231 || test ! -s conftest.err'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; } &&
20237 { ac_try
='test -s conftest.$ac_objext'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; }; then
20243 # It does; now see whether it defined to BIG_ENDIAN or not.
20244 cat >conftest.
$ac_ext <<_ACEOF
20247 cat confdefs.h
>>conftest.
$ac_ext
20248 cat >>conftest.
$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20250 #include <sys/types.h>
20251 #include <sys/param.h>
20256 #if BYTE_ORDER != BIG_ENDIAN
20264 rm -f conftest.
$ac_objext
20265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20266 (eval $ac_compile) 2>conftest.er1
20268 grep -v '^ *+' conftest.er1
>conftest.err
20270 cat conftest.err
>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } &&
20273 { ac_try
='test -z "$ac_c_werror_flag"
20274 || test ! -s conftest.err'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; } &&
20280 { ac_try
='test -s conftest.$ac_objext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_cv_c_bigendian
=yes
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.
$ac_ext >&5
20291 ac_cv_c_bigendian
=no
20293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.
$ac_ext >&5
20298 # It does not; compile a test program.
20299 if test "$cross_compiling" = yes; then
20300 # try to guess the endianness by grepping values into an object file
20301 ac_cv_c_bigendian
=unknown
20302 cat >conftest.
$ac_ext <<_ACEOF
20305 cat confdefs.h
>>conftest.
$ac_ext
20306 cat >>conftest.
$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20309 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20310 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20311 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20312 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20313 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20317 _ascii (); _ebcdic ();
20322 rm -f conftest.
$ac_objext
20323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20324 (eval $ac_compile) 2>conftest.er1
20326 grep -v '^ *+' conftest.er1
>conftest.err
20328 cat conftest.err
>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } &&
20331 { ac_try
='test -z "$ac_c_werror_flag"
20332 || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try
='test -s conftest.$ac_objext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
20345 ac_cv_c_bigendian
=yes
20347 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
20348 if test "$ac_cv_c_bigendian" = unknown
; then
20349 ac_cv_c_bigendian
=no
20351 # finding both strings is unlikely to happen, but who knows?
20352 ac_cv_c_bigendian
=unknown
20356 echo "$as_me: failed program was:" >&5
20357 sed 's/^/| /' conftest.
$ac_ext >&5
20360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20362 cat >conftest.
$ac_ext <<_ACEOF
20365 cat confdefs.h
>>conftest.
$ac_ext
20366 cat >>conftest.
$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20371 /* Are we little or big endian? From Harbison&Steele. */
20375 char c[sizeof (long)];
20378 exit (u.c[sizeof (long) - 1] == 1);
20381 rm -f conftest
$ac_exeext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20383 (eval $ac_link) 2>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_cv_c_bigendian
=no
20394 echo "$as_me: program exited with status $ac_status" >&5
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.
$ac_ext >&5
20398 ( exit $ac_status )
20399 ac_cv_c_bigendian
=yes
20401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20406 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20407 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20408 case $ac_cv_c_bigendian in
20411 cat >>confdefs.h
<<\_ACEOF
20412 #define WORDS_BIGENDIAN 1
20418 { { echo "$as_me:$LINENO: error: unknown endianness
20419 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20420 echo "$as_me: error: unknown endianness
20421 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20422 { (exit 1); exit 1; }; } ;;
20426 # ------------------------------ #
20427 # Checks for library functions. #
20428 # ------------------------------ #
20430 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20431 # for constant arguments. Useless!
20432 echo "$as_me:$LINENO: checking for working alloca.h" >&5
20433 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
20434 if test "${ac_cv_working_alloca_h+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 cat >conftest.
$ac_ext <<_ACEOF
20440 cat confdefs.h
>>conftest.
$ac_ext
20441 cat >>conftest.
$ac_ext <<_ACEOF
20442 /* end confdefs.h. */
20443 #include <alloca.h>
20447 char *p = (char *) alloca (2 * sizeof (int));
20452 rm -f conftest.
$ac_objext conftest
$ac_exeext
20453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20454 (eval $ac_link) 2>conftest.er1
20456 grep -v '^ *+' conftest.er1
>conftest.err
20458 cat conftest.err
>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } &&
20461 { ac_try
='test -z "$ac_c_werror_flag"
20462 || test ! -s conftest.err'
20463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20464 (eval $ac_try) 2>&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); }; } &&
20468 { ac_try
='test -s conftest$ac_exeext'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; }; then
20474 ac_cv_working_alloca_h
=yes
20476 echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.
$ac_ext >&5
20479 ac_cv_working_alloca_h
=no
20481 rm -f conftest.err conftest.
$ac_objext \
20482 conftest
$ac_exeext conftest.
$ac_ext
20484 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20485 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
20486 if test $ac_cv_working_alloca_h = yes; then
20488 cat >>confdefs.h
<<\_ACEOF
20489 #define HAVE_ALLOCA_H 1
20494 echo "$as_me:$LINENO: checking for alloca" >&5
20495 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
20496 if test "${ac_cv_func_alloca_works+set}" = set; then
20497 echo $ECHO_N "(cached) $ECHO_C" >&6
20499 cat >conftest.
$ac_ext <<_ACEOF
20502 cat confdefs.h
>>conftest.
$ac_ext
20503 cat >>conftest.
$ac_ext <<_ACEOF
20504 /* end confdefs.h. */
20506 # define alloca __builtin_alloca
20509 # include <malloc.h>
20510 # define alloca _alloca
20513 # include <alloca.h>
20518 # ifndef alloca /* predefined by HP cc +Olibcalls */
20529 char *p = (char *) alloca (1);
20534 rm -f conftest.
$ac_objext conftest
$ac_exeext
20535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20536 (eval $ac_link) 2>conftest.er1
20538 grep -v '^ *+' conftest.er1
>conftest.err
20540 cat conftest.err
>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } &&
20543 { ac_try
='test -z "$ac_c_werror_flag"
20544 || test ! -s conftest.err'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; } &&
20550 { ac_try
='test -s conftest$ac_exeext'
20551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552 (eval $ac_try) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; }; then
20556 ac_cv_func_alloca_works
=yes
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.
$ac_ext >&5
20561 ac_cv_func_alloca_works
=no
20563 rm -f conftest.err conftest.
$ac_objext \
20564 conftest
$ac_exeext conftest.
$ac_ext
20566 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
20567 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
20569 if test $ac_cv_func_alloca_works = yes; then
20571 cat >>confdefs.h
<<\_ACEOF
20572 #define HAVE_ALLOCA 1
20576 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20577 # that cause trouble. Some versions do not even contain alloca or
20578 # contain a buggy version. If you still want to use their alloca,
20579 # use ar to extract alloca.o from them instead of compiling alloca.c.
20581 ALLOCA
=alloca.
$ac_objext
20583 cat >>confdefs.h
<<\_ACEOF
20588 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
20589 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
20590 if test "${ac_cv_os_cray+set}" = set; then
20591 echo $ECHO_N "(cached) $ECHO_C" >&6
20593 cat >conftest.
$ac_ext <<_ACEOF
20596 cat confdefs.h
>>conftest.
$ac_ext
20597 cat >>conftest.
$ac_ext <<_ACEOF
20598 /* end confdefs.h. */
20599 #if defined(CRAY) && ! defined(CRAY2)
20606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20607 $EGREP "webecray" >/dev
/null
2>&1; then
20615 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
20616 echo "${ECHO_T}$ac_cv_os_cray" >&6
20617 if test $ac_cv_os_cray = yes; then
20618 for ac_func
in _getb67 GETB67 getb67
; do
20619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20620 echo "$as_me:$LINENO: checking for $ac_func" >&5
20621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20622 if eval "test \"\${$as_ac_var+set}\" = set"; then
20623 echo $ECHO_N "(cached) $ECHO_C" >&6
20625 cat >conftest.
$ac_ext <<_ACEOF
20628 cat confdefs.h
>>conftest.
$ac_ext
20629 cat >>conftest.
$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20633 #define $ac_func innocuous_$ac_func
20635 /* System header to define __stub macros and hopefully few prototypes,
20636 which can conflict with char $ac_func (); below.
20637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20638 <limits.h> exists even on freestanding compilers. */
20641 # include <limits.h>
20643 # include <assert.h>
20648 /* Override any gcc2 internal prototype to avoid an error. */
20653 /* We use char because int might match the return type of a gcc2
20654 builtin and then its argument prototype would still apply. */
20656 /* The GNU C library defines this for functions which it implements
20657 to always fail with ENOSYS. Some functions are actually named
20658 something starting with __ and the normal name is an alias. */
20659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20662 char (*f) () = $ac_func;
20671 return f != $ac_func;
20676 rm -f conftest.
$ac_objext conftest
$ac_exeext
20677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20678 (eval $ac_link) 2>conftest.er1
20680 grep -v '^ *+' conftest.er1
>conftest.err
20682 cat conftest.err
>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } &&
20685 { ac_try
='test -z "$ac_c_werror_flag"
20686 || test ! -s conftest.err'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; } &&
20692 { ac_try
='test -s conftest$ac_exeext'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; }; then
20698 eval "$as_ac_var=yes"
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20703 eval "$as_ac_var=no"
20705 rm -f conftest.err conftest.
$ac_objext \
20706 conftest
$ac_exeext conftest.
$ac_ext
20708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20710 if test `eval echo '${'$as_ac_var'}'` = yes; then
20712 cat >>confdefs.h
<<_ACEOF
20713 #define CRAY_STACKSEG_END $ac_func
20722 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
20723 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
20724 if test "${ac_cv_c_stack_direction+set}" = set; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20727 if test "$cross_compiling" = yes; then
20728 ac_cv_c_stack_direction
=0
20730 cat >conftest.
$ac_ext <<_ACEOF
20733 cat confdefs.h
>>conftest.
$ac_ext
20734 cat >>conftest.
$ac_ext <<_ACEOF
20735 /* end confdefs.h. */
20737 find_stack_direction ()
20739 static char *addr = 0;
20744 return find_stack_direction ();
20747 return (&dummy > addr) ? 1 : -1;
20753 exit (find_stack_direction () < 0);
20756 rm -f conftest
$ac_exeext
20757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20758 (eval $ac_link) 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; }; then
20767 ac_cv_c_stack_direction
=1
20769 echo "$as_me: program exited with status $ac_status" >&5
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.
$ac_ext >&5
20773 ( exit $ac_status )
20774 ac_cv_c_stack_direction
=-1
20776 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20779 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
20780 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
20782 cat >>confdefs.h
<<_ACEOF
20783 #define STACK_DIRECTION $ac_cv_c_stack_direction
20791 for ac_header
in stdlib.h unistd.h
20793 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20795 echo "$as_me:$LINENO: checking for $ac_header" >&5
20796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20798 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20803 # Is the header compilable?
20804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20806 cat >conftest.
$ac_ext <<_ACEOF
20809 cat confdefs.h
>>conftest.
$ac_ext
20810 cat >>conftest.
$ac_ext <<_ACEOF
20811 /* end confdefs.h. */
20812 $ac_includes_default
20813 #include <$ac_header>
20815 rm -f conftest.
$ac_objext
20816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20817 (eval $ac_compile) 2>conftest.er1
20819 grep -v '^ *+' conftest.er1
>conftest.err
20821 cat conftest.err
>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } &&
20824 { ac_try
='test -z "$ac_c_werror_flag"
20825 || test ! -s conftest.err'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; } &&
20831 { ac_try
='test -s conftest.$ac_objext'
20832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20833 (eval $ac_try) 2>&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); }; }; then
20837 ac_header_compiler
=yes
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.
$ac_ext >&5
20842 ac_header_compiler
=no
20844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20846 echo "${ECHO_T}$ac_header_compiler" >&6
20848 # Is the header present?
20849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20851 cat >conftest.
$ac_ext <<_ACEOF
20854 cat confdefs.h
>>conftest.
$ac_ext
20855 cat >>conftest.
$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20857 #include <$ac_header>
20859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20862 grep -v '^ *+' conftest.er1
>conftest.err
20864 cat conftest.err
>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } >/dev
/null
; then
20867 if test -s conftest.err
; then
20868 ac_cpp_err
=$ac_c_preproc_warn_flag
20869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20876 if test -z "$ac_cpp_err"; then
20877 ac_header_preproc
=yes
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.
$ac_ext >&5
20882 ac_header_preproc
=no
20884 rm -f conftest.err conftest.
$ac_ext
20885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20886 echo "${ECHO_T}$ac_header_preproc" >&6
20888 # So? What about this header?
20889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20891 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20894 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20895 ac_header_preproc
=yes
20898 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20900 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20901 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20902 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20903 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20904 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20905 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20908 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20909 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20912 ## ------------------------------------------ ##
20913 ## Report this to the AC_PACKAGE_NAME lists. ##
20914 ## ------------------------------------------ ##
20917 sed "s/^/$as_me: WARNING: /" >&2
20920 echo "$as_me:$LINENO: checking for $ac_header" >&5
20921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20923 echo $ECHO_N "(cached) $ECHO_C" >&6
20925 eval "$as_ac_Header=\$ac_header_preproc"
20927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20932 cat >>confdefs.h
<<_ACEOF
20933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20941 for ac_func
in getpagesize
20943 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20944 echo "$as_me:$LINENO: checking for $ac_func" >&5
20945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20946 if eval "test \"\${$as_ac_var+set}\" = set"; then
20947 echo $ECHO_N "(cached) $ECHO_C" >&6
20949 cat >conftest.
$ac_ext <<_ACEOF
20952 cat confdefs.h
>>conftest.
$ac_ext
20953 cat >>conftest.
$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20957 #define $ac_func innocuous_$ac_func
20959 /* System header to define __stub macros and hopefully few prototypes,
20960 which can conflict with char $ac_func (); below.
20961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20962 <limits.h> exists even on freestanding compilers. */
20965 # include <limits.h>
20967 # include <assert.h>
20972 /* Override any gcc2 internal prototype to avoid an error. */
20977 /* We use char because int might match the return type of a gcc2
20978 builtin and then its argument prototype would still apply. */
20980 /* The GNU C library defines this for functions which it implements
20981 to always fail with ENOSYS. Some functions are actually named
20982 something starting with __ and the normal name is an alias. */
20983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20986 char (*f) () = $ac_func;
20995 return f != $ac_func;
21000 rm -f conftest.
$ac_objext conftest
$ac_exeext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21002 (eval $ac_link) 2>conftest.er1
21004 grep -v '^ *+' conftest.er1
>conftest.err
21006 cat conftest.err
>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } &&
21009 { ac_try
='test -z "$ac_c_werror_flag"
21010 || test ! -s conftest.err'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; } &&
21016 { ac_try
='test -s conftest$ac_exeext'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; }; then
21022 eval "$as_ac_var=yes"
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.
$ac_ext >&5
21027 eval "$as_ac_var=no"
21029 rm -f conftest.err conftest.
$ac_objext \
21030 conftest
$ac_exeext conftest.
$ac_ext
21032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21034 if test `eval echo '${'$as_ac_var'}'` = yes; then
21035 cat >>confdefs.h
<<_ACEOF
21036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21042 echo "$as_me:$LINENO: checking for working mmap" >&5
21043 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21044 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21047 if test "$cross_compiling" = yes; then
21048 ac_cv_func_mmap_fixed_mapped
=no
21050 cat >conftest.
$ac_ext <<_ACEOF
21053 cat confdefs.h
>>conftest.
$ac_ext
21054 cat >>conftest.
$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 $ac_includes_default
21057 /* malloc might have been renamed as rpl_malloc. */
21060 /* Thanks to Mike Haertel and Jim Avera for this test.
21061 Here is a matrix of mmap possibilities:
21062 mmap private not fixed
21063 mmap private fixed at somewhere currently unmapped
21064 mmap private fixed at somewhere already mapped
21065 mmap shared not fixed
21066 mmap shared fixed at somewhere currently unmapped
21067 mmap shared fixed at somewhere already mapped
21068 For private mappings, we should verify that changes cannot be read()
21069 back from the file, nor mmap's back from the file at a different
21070 address. (There have been systems where private was not correctly
21071 implemented like the infamous i386 svr4.0, and systems where the
21072 VM page cache was not coherent with the file system buffer cache
21073 like early versions of FreeBSD and possibly contemporary NetBSD.)
21074 For shared mappings, we should conversely verify that changes get
21075 propagated back to all the places they're supposed to be.
21077 Grep wants private fixed already mapped.
21078 The main things grep needs to know about mmap are:
21079 * does it exist and is it safe to write into the mmap'd area
21080 * how to use it (BSD variants) */
21083 #include <sys/mman.h>
21085 #if !STDC_HEADERS && !HAVE_STDLIB_H
21089 /* This mess was copied from the GNU getpagesize.h. */
21090 #if !HAVE_GETPAGESIZE
21091 /* Assume that all systems that can run configure have sys/param.h. */
21092 # if !HAVE_SYS_PARAM_H
21093 # define HAVE_SYS_PARAM_H 1
21096 # ifdef _SC_PAGESIZE
21097 # define getpagesize() sysconf(_SC_PAGESIZE)
21098 # else /* no _SC_PAGESIZE */
21099 # if HAVE_SYS_PARAM_H
21100 # include <sys/param.h>
21101 # ifdef EXEC_PAGESIZE
21102 # define getpagesize() EXEC_PAGESIZE
21103 # else /* no EXEC_PAGESIZE */
21105 # define getpagesize() NBPG * CLSIZE
21108 # endif /* no CLSIZE */
21109 # else /* no NBPG */
21111 # define getpagesize() NBPC
21112 # else /* no NBPC */
21114 # define getpagesize() PAGESIZE
21115 # endif /* PAGESIZE */
21116 # endif /* no NBPC */
21117 # endif /* no NBPG */
21118 # endif /* no EXEC_PAGESIZE */
21119 # else /* no HAVE_SYS_PARAM_H */
21120 # define getpagesize() 8192 /* punt totally */
21121 # endif /* no HAVE_SYS_PARAM_H */
21122 # endif /* no _SC_PAGESIZE */
21124 #endif /* no HAVE_GETPAGESIZE */
21129 char *data, *data2, *data3;
21133 pagesize = getpagesize ();
21135 /* First, make a file with some known garbage in it. */
21136 data = (char *) malloc (pagesize);
21139 for (i = 0; i < pagesize; ++i)
21140 *(data + i) = rand ();
21142 fd = creat ("conftest.mmap", 0600);
21145 if (write (fd, data, pagesize) != pagesize)
21149 /* Next, try to mmap the file at a fixed address which already has
21150 something else allocated at it. If we can, also make sure that
21151 we see the same garbage. */
21152 fd = open ("conftest.mmap", O_RDWR);
21155 data2 = (char *) malloc (2 * pagesize);
21158 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
21159 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21160 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21162 for (i = 0; i < pagesize; ++i)
21163 if (*(data + i) != *(data2 + i))
21166 /* Finally, make sure that changes to the mapped area do not
21167 percolate back to the file as seen by read(). (This is a bug on
21168 some variants of i386 svr4.0.) */
21169 for (i = 0; i < pagesize; ++i)
21170 *(data2 + i) = *(data2 + i) + 1;
21171 data3 = (char *) malloc (pagesize);
21174 if (read (fd, data3, pagesize) != pagesize)
21176 for (i = 0; i < pagesize; ++i)
21177 if (*(data + i) != *(data3 + i))
21183 rm -f conftest
$ac_exeext
21184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21185 (eval $ac_link) 2>&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21194 ac_cv_func_mmap_fixed_mapped
=yes
21196 echo "$as_me: program exited with status $ac_status" >&5
21197 echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.
$ac_ext >&5
21200 ( exit $ac_status )
21201 ac_cv_func_mmap_fixed_mapped
=no
21203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21206 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
21207 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
21208 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21210 cat >>confdefs.h
<<\_ACEOF
21211 #define HAVE_MMAP 1
21215 rm -f conftest.mmap
21217 echo "$as_me:$LINENO: checking for pid_t" >&5
21218 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
21219 if test "${ac_cv_type_pid_t+set}" = set; then
21220 echo $ECHO_N "(cached) $ECHO_C" >&6
21222 cat >conftest.
$ac_ext <<_ACEOF
21225 cat confdefs.h
>>conftest.
$ac_ext
21226 cat >>conftest.
$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228 $ac_includes_default
21234 if (sizeof (pid_t))
21240 rm -f conftest.
$ac_objext
21241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21242 (eval $ac_compile) 2>conftest.er1
21244 grep -v '^ *+' conftest.er1
>conftest.err
21246 cat conftest.err
>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } &&
21249 { ac_try
='test -z "$ac_c_werror_flag"
21250 || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try
='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 ac_cv_type_pid_t
=yes
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.
$ac_ext >&5
21267 ac_cv_type_pid_t
=no
21269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21271 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
21272 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
21273 if test $ac_cv_type_pid_t = yes; then
21277 cat >>confdefs.h
<<_ACEOF
21285 for ac_header
in unistd.h vfork.h
21287 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21289 echo "$as_me:$LINENO: checking for $ac_header" >&5
21290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21297 # Is the header compilable?
21298 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21300 cat >conftest.
$ac_ext <<_ACEOF
21303 cat confdefs.h
>>conftest.
$ac_ext
21304 cat >>conftest.
$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 #include <$ac_header>
21309 rm -f conftest.
$ac_objext
21310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21311 (eval $ac_compile) 2>conftest.er1
21313 grep -v '^ *+' conftest.er1
>conftest.err
21315 cat conftest.err
>&5
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); } &&
21318 { ac_try
='test -z "$ac_c_werror_flag"
21319 || test ! -s conftest.err'
21320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21321 (eval $ac_try) 2>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); }; } &&
21325 { ac_try
='test -s conftest.$ac_objext'
21326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21327 (eval $ac_try) 2>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); }; }; then
21331 ac_header_compiler
=yes
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.
$ac_ext >&5
21336 ac_header_compiler
=no
21338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21340 echo "${ECHO_T}$ac_header_compiler" >&6
21342 # Is the header present?
21343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21345 cat >conftest.
$ac_ext <<_ACEOF
21348 cat confdefs.h
>>conftest.
$ac_ext
21349 cat >>conftest.
$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 #include <$ac_header>
21353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21356 grep -v '^ *+' conftest.er1
>conftest.err
21358 cat conftest.err
>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } >/dev
/null
; then
21361 if test -s conftest.err
; then
21362 ac_cpp_err
=$ac_c_preproc_warn_flag
21363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21370 if test -z "$ac_cpp_err"; then
21371 ac_header_preproc
=yes
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21376 ac_header_preproc
=no
21378 rm -f conftest.err conftest.
$ac_ext
21379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21380 echo "${ECHO_T}$ac_header_preproc" >&6
21382 # So? What about this header?
21383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21389 ac_header_preproc
=yes
21392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21406 ## ------------------------------------------ ##
21407 ## Report this to the AC_PACKAGE_NAME lists. ##
21408 ## ------------------------------------------ ##
21411 sed "s/^/$as_me: WARNING: /" >&2
21414 echo "$as_me:$LINENO: checking for $ac_header" >&5
21415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21417 echo $ECHO_N "(cached) $ECHO_C" >&6
21419 eval "$as_ac_Header=\$ac_header_preproc"
21421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21426 cat >>confdefs.h
<<_ACEOF
21427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21436 for ac_func
in fork vfork
21438 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21439 echo "$as_me:$LINENO: checking for $ac_func" >&5
21440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21441 if eval "test \"\${$as_ac_var+set}\" = set"; then
21442 echo $ECHO_N "(cached) $ECHO_C" >&6
21444 cat >conftest.
$ac_ext <<_ACEOF
21447 cat confdefs.h
>>conftest.
$ac_ext
21448 cat >>conftest.
$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21452 #define $ac_func innocuous_$ac_func
21454 /* System header to define __stub macros and hopefully few prototypes,
21455 which can conflict with char $ac_func (); below.
21456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21457 <limits.h> exists even on freestanding compilers. */
21460 # include <limits.h>
21462 # include <assert.h>
21467 /* Override any gcc2 internal prototype to avoid an error. */
21472 /* We use char because int might match the return type of a gcc2
21473 builtin and then its argument prototype would still apply. */
21475 /* The GNU C library defines this for functions which it implements
21476 to always fail with ENOSYS. Some functions are actually named
21477 something starting with __ and the normal name is an alias. */
21478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21481 char (*f) () = $ac_func;
21490 return f != $ac_func;
21495 rm -f conftest.
$ac_objext conftest
$ac_exeext
21496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21497 (eval $ac_link) 2>conftest.er1
21499 grep -v '^ *+' conftest.er1
>conftest.err
21501 cat conftest.err
>&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); } &&
21504 { ac_try
='test -z "$ac_c_werror_flag"
21505 || test ! -s conftest.err'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try
='test -s conftest$ac_exeext'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21517 eval "$as_ac_var=yes"
21519 echo "$as_me: failed program was:" >&5
21520 sed 's/^/| /' conftest.
$ac_ext >&5
21522 eval "$as_ac_var=no"
21524 rm -f conftest.err conftest.
$ac_objext \
21525 conftest
$ac_exeext conftest.
$ac_ext
21527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21529 if test `eval echo '${'$as_ac_var'}'` = yes; then
21530 cat >>confdefs.h
<<_ACEOF
21531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21537 if test "x$ac_cv_func_fork" = xyes
; then
21538 echo "$as_me:$LINENO: checking for working fork" >&5
21539 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
21540 if test "${ac_cv_func_fork_works+set}" = set; then
21541 echo $ECHO_N "(cached) $ECHO_C" >&6
21543 if test "$cross_compiling" = yes; then
21544 ac_cv_func_fork_works
=cross
21546 cat >conftest.
$ac_ext <<_ACEOF
21547 /* By Ruediger Kuhlmann. */
21548 #include <sys/types.h>
21550 # include <unistd.h>
21552 /* Some systems only have a dummy stub for fork() */
21560 rm -f conftest
$ac_exeext
21561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21562 (eval $ac_link) 2>&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21567 (eval $ac_try) 2>&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; }; then
21571 ac_cv_func_fork_works
=yes
21573 echo "$as_me: program exited with status $ac_status" >&5
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.
$ac_ext >&5
21577 ( exit $ac_status )
21578 ac_cv_func_fork_works
=no
21580 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21583 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21584 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
21587 ac_cv_func_fork_works
=$ac_cv_func_fork
21589 if test "x$ac_cv_func_fork_works" = xcross
; then
21591 *-*-amigaos* |
*-*-msdosdjgpp*)
21592 # Override, as these systems have only a dummy fork() stub
21593 ac_cv_func_fork_works
=no
21596 ac_cv_func_fork_works
=yes
21599 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21600 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21602 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21603 if test "x$ac_cv_func_vfork" = xyes
; then
21604 echo "$as_me:$LINENO: checking for working vfork" >&5
21605 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
21606 if test "${ac_cv_func_vfork_works+set}" = set; then
21607 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 if test "$cross_compiling" = yes; then
21610 ac_cv_func_vfork_works
=cross
21612 cat >conftest.
$ac_ext <<_ACEOF
21615 cat confdefs.h
>>conftest.
$ac_ext
21616 cat >>conftest.
$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 /* Thanks to Paul Eggert for this test. */
21620 #include <stdlib.h>
21621 #include <sys/types.h>
21622 #include <sys/stat.h>
21623 #include <sys/wait.h>
21625 # include <unistd.h>
21628 # include <vfork.h>
21630 /* On some sparc systems, changes by the child to local and incoming
21631 argument registers are propagated back to the parent. The compiler
21632 is told about this with #include <vfork.h>, but some compilers
21633 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21634 static variable whose address is put into a register that is
21635 clobbered by the vfork. */
21638 sparc_address_test (int arg)
21640 sparc_address_test (arg) int arg;
21643 static pid_t child;
21661 pid_t parent = getpid ();
21664 sparc_address_test (0);
21669 /* Here is another test for sparc vfork register problems. This
21670 test uses lots of local variables, at least as many local
21671 variables as main has allocated so far including compiler
21672 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21673 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21674 reuse the register of parent for one of the local variables,
21675 since it will think that parent can't possibly be used any more
21676 in this routine. Assigning to the local variable will thus
21677 munge parent in the parent process. */
21679 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21680 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21681 /* Convince the compiler that p..p7 are live; otherwise, it might
21682 use the same hardware register for all 8 local variables. */
21683 if (p != p1 || p != p2 || p != p3 || p != p4
21684 || p != p5 || p != p6 || p != p7)
21687 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21688 from child file descriptors. If the child closes a descriptor
21689 before it execs or exits, this munges the parent's descriptor
21690 as well. Test for this by closing stdout in the child. */
21691 _exit(close(fileno(stdout)) != 0);
21696 while (wait(&status) != child)
21699 /* Was there some problem with vforking? */
21702 /* Did the child fail? (This shouldn't happen.) */
21705 /* Did the vfork/compiler bug occur? */
21706 || parent != getpid()
21708 /* Did the file descriptor bug occur? */
21709 || fstat(fileno(stdout), &st) != 0
21714 rm -f conftest
$ac_exeext
21715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21716 (eval $ac_link) 2>&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721 (eval $ac_try) 2>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; }; then
21725 ac_cv_func_vfork_works
=yes
21727 echo "$as_me: program exited with status $ac_status" >&5
21728 echo "$as_me: failed program was:" >&5
21729 sed 's/^/| /' conftest.
$ac_ext >&5
21731 ( exit $ac_status )
21732 ac_cv_func_vfork_works
=no
21734 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21737 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
21738 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
21741 if test "x$ac_cv_func_fork_works" = xcross
; then
21742 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21743 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21744 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21747 if test "x$ac_cv_func_vfork_works" = xyes
; then
21749 cat >>confdefs.h
<<\_ACEOF
21750 #define HAVE_WORKING_VFORK 1
21755 cat >>confdefs.h
<<\_ACEOF
21760 if test "x$ac_cv_func_fork_works" = xyes
; then
21762 cat >>confdefs.h
<<\_ACEOF
21763 #define HAVE_WORKING_FORK 1
21770 for ac_func
in canonicalize_file_name realpath
21772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21773 echo "$as_me:$LINENO: checking for $ac_func" >&5
21774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21775 if eval "test \"\${$as_ac_var+set}\" = set"; then
21776 echo $ECHO_N "(cached) $ECHO_C" >&6
21778 cat >conftest.
$ac_ext <<_ACEOF
21781 cat confdefs.h
>>conftest.
$ac_ext
21782 cat >>conftest.
$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21786 #define $ac_func innocuous_$ac_func
21788 /* System header to define __stub macros and hopefully few prototypes,
21789 which can conflict with char $ac_func (); below.
21790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21791 <limits.h> exists even on freestanding compilers. */
21794 # include <limits.h>
21796 # include <assert.h>
21801 /* Override any gcc2 internal prototype to avoid an error. */
21806 /* We use char because int might match the return type of a gcc2
21807 builtin and then its argument prototype would still apply. */
21809 /* The GNU C library defines this for functions which it implements
21810 to always fail with ENOSYS. Some functions are actually named
21811 something starting with __ and the normal name is an alias. */
21812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21815 char (*f) () = $ac_func;
21824 return f != $ac_func;
21829 rm -f conftest.
$ac_objext conftest
$ac_exeext
21830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21831 (eval $ac_link) 2>conftest.er1
21833 grep -v '^ *+' conftest.er1
>conftest.err
21835 cat conftest.err
>&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); } &&
21838 { ac_try
='test -z "$ac_c_werror_flag"
21839 || test ! -s conftest.err'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; } &&
21845 { ac_try
='test -s conftest$ac_exeext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 eval "$as_ac_var=yes"
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.
$ac_ext >&5
21856 eval "$as_ac_var=no"
21858 rm -f conftest.err conftest.
$ac_objext \
21859 conftest
$ac_exeext conftest.
$ac_ext
21861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21863 if test `eval echo '${'$as_ac_var'}'` = yes; then
21864 cat >>confdefs.h
<<_ACEOF
21865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21872 for ac_func
in getrusage
21874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21875 echo "$as_me:$LINENO: checking for $ac_func" >&5
21876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21877 if eval "test \"\${$as_ac_var+set}\" = set"; then
21878 echo $ECHO_N "(cached) $ECHO_C" >&6
21880 cat >conftest.
$ac_ext <<_ACEOF
21883 cat confdefs.h
>>conftest.
$ac_ext
21884 cat >>conftest.
$ac_ext <<_ACEOF
21885 /* end confdefs.h. */
21886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21888 #define $ac_func innocuous_$ac_func
21890 /* System header to define __stub macros and hopefully few prototypes,
21891 which can conflict with char $ac_func (); below.
21892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21893 <limits.h> exists even on freestanding compilers. */
21896 # include <limits.h>
21898 # include <assert.h>
21903 /* Override any gcc2 internal prototype to avoid an error. */
21908 /* We use char because int might match the return type of a gcc2
21909 builtin and then its argument prototype would still apply. */
21911 /* The GNU C library defines this for functions which it implements
21912 to always fail with ENOSYS. Some functions are actually named
21913 something starting with __ and the normal name is an alias. */
21914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21917 char (*f) () = $ac_func;
21926 return f != $ac_func;
21931 rm -f conftest.
$ac_objext conftest
$ac_exeext
21932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21933 (eval $ac_link) 2>conftest.er1
21935 grep -v '^ *+' conftest.er1
>conftest.err
21937 cat conftest.err
>&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } &&
21940 { ac_try
='test -z "$ac_c_werror_flag"
21941 || test ! -s conftest.err'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; } &&
21947 { ac_try
='test -s conftest$ac_exeext'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; }; then
21953 eval "$as_ac_var=yes"
21955 echo "$as_me: failed program was:" >&5
21956 sed 's/^/| /' conftest.
$ac_ext >&5
21958 eval "$as_ac_var=no"
21960 rm -f conftest.err conftest.
$ac_objext \
21961 conftest
$ac_exeext conftest.
$ac_ext
21963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21965 if test `eval echo '${'$as_ac_var'}'` = yes; then
21966 cat >>confdefs.h
<<_ACEOF
21967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21975 for ac_func
in getuid getgid
21977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21978 echo "$as_me:$LINENO: checking for $ac_func" >&5
21979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21980 if eval "test \"\${$as_ac_var+set}\" = set"; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21983 cat >conftest.
$ac_ext <<_ACEOF
21986 cat confdefs.h
>>conftest.
$ac_ext
21987 cat >>conftest.
$ac_ext <<_ACEOF
21988 /* end confdefs.h. */
21989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21991 #define $ac_func innocuous_$ac_func
21993 /* System header to define __stub macros and hopefully few prototypes,
21994 which can conflict with char $ac_func (); below.
21995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21996 <limits.h> exists even on freestanding compilers. */
21999 # include <limits.h>
22001 # include <assert.h>
22006 /* Override any gcc2 internal prototype to avoid an error. */
22011 /* We use char because int might match the return type of a gcc2
22012 builtin and then its argument prototype would still apply. */
22014 /* The GNU C library defines this for functions which it implements
22015 to always fail with ENOSYS. Some functions are actually named
22016 something starting with __ and the normal name is an alias. */
22017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22020 char (*f) () = $ac_func;
22029 return f != $ac_func;
22034 rm -f conftest.
$ac_objext conftest
$ac_exeext
22035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22036 (eval $ac_link) 2>conftest.er1
22038 grep -v '^ *+' conftest.er1
>conftest.err
22040 cat conftest.err
>&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } &&
22043 { ac_try
='test -z "$ac_c_werror_flag"
22044 || test ! -s conftest.err'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; } &&
22050 { ac_try
='test -s conftest$ac_exeext'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; }; then
22056 eval "$as_ac_var=yes"
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.
$ac_ext >&5
22061 eval "$as_ac_var=no"
22063 rm -f conftest.err conftest.
$ac_objext \
22064 conftest
$ac_exeext conftest.
$ac_ext
22066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22068 if test `eval echo '${'$as_ac_var'}'` = yes; then
22069 cat >>confdefs.h
<<_ACEOF
22070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22077 for ac_func
in poll
22079 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22080 echo "$as_me:$LINENO: checking for $ac_func" >&5
22081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22082 if eval "test \"\${$as_ac_var+set}\" = set"; then
22083 echo $ECHO_N "(cached) $ECHO_C" >&6
22085 cat >conftest.
$ac_ext <<_ACEOF
22088 cat confdefs.h
>>conftest.
$ac_ext
22089 cat >>conftest.
$ac_ext <<_ACEOF
22090 /* end confdefs.h. */
22091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22093 #define $ac_func innocuous_$ac_func
22095 /* System header to define __stub macros and hopefully few prototypes,
22096 which can conflict with char $ac_func (); below.
22097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22098 <limits.h> exists even on freestanding compilers. */
22101 # include <limits.h>
22103 # include <assert.h>
22108 /* Override any gcc2 internal prototype to avoid an error. */
22113 /* We use char because int might match the return type of a gcc2
22114 builtin and then its argument prototype would still apply. */
22116 /* The GNU C library defines this for functions which it implements
22117 to always fail with ENOSYS. Some functions are actually named
22118 something starting with __ and the normal name is an alias. */
22119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22122 char (*f) () = $ac_func;
22131 return f != $ac_func;
22136 rm -f conftest.
$ac_objext conftest
$ac_exeext
22137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22138 (eval $ac_link) 2>conftest.er1
22140 grep -v '^ *+' conftest.er1
>conftest.err
22142 cat conftest.err
>&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } &&
22145 { ac_try
='test -z "$ac_c_werror_flag"
22146 || test ! -s conftest.err'
22147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22148 (eval $ac_try) 2>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); }; } &&
22152 { ac_try
='test -s conftest$ac_exeext'
22153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154 (eval $ac_try) 2>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); }; }; then
22158 eval "$as_ac_var=yes"
22160 echo "$as_me: failed program was:" >&5
22161 sed 's/^/| /' conftest.
$ac_ext >&5
22163 eval "$as_ac_var=no"
22165 rm -f conftest.err conftest.
$ac_objext \
22166 conftest
$ac_exeext conftest.
$ac_ext
22168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22170 if test `eval echo '${'$as_ac_var'}'` = yes; then
22171 cat >>confdefs.h
<<_ACEOF
22172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22179 for ac_func
in pread64
22181 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22182 echo "$as_me:$LINENO: checking for $ac_func" >&5
22183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22184 if eval "test \"\${$as_ac_var+set}\" = set"; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22187 cat >conftest.
$ac_ext <<_ACEOF
22190 cat confdefs.h
>>conftest.
$ac_ext
22191 cat >>conftest.
$ac_ext <<_ACEOF
22192 /* end confdefs.h. */
22193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22195 #define $ac_func innocuous_$ac_func
22197 /* System header to define __stub macros and hopefully few prototypes,
22198 which can conflict with char $ac_func (); below.
22199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22200 <limits.h> exists even on freestanding compilers. */
22203 # include <limits.h>
22205 # include <assert.h>
22210 /* Override any gcc2 internal prototype to avoid an error. */
22215 /* We use char because int might match the return type of a gcc2
22216 builtin and then its argument prototype would still apply. */
22218 /* The GNU C library defines this for functions which it implements
22219 to always fail with ENOSYS. Some functions are actually named
22220 something starting with __ and the normal name is an alias. */
22221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22224 char (*f) () = $ac_func;
22233 return f != $ac_func;
22238 rm -f conftest.
$ac_objext conftest
$ac_exeext
22239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22240 (eval $ac_link) 2>conftest.er1
22242 grep -v '^ *+' conftest.er1
>conftest.err
22244 cat conftest.err
>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } &&
22247 { ac_try
='test -z "$ac_c_werror_flag"
22248 || test ! -s conftest.err'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; } &&
22254 { ac_try
='test -s conftest$ac_exeext'
22255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22256 (eval $ac_try) 2>&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); }; }; then
22260 eval "$as_ac_var=yes"
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.
$ac_ext >&5
22265 eval "$as_ac_var=no"
22267 rm -f conftest.err conftest.
$ac_objext \
22268 conftest
$ac_exeext conftest.
$ac_ext
22270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22272 if test `eval echo '${'$as_ac_var'}'` = yes; then
22273 cat >>confdefs.h
<<_ACEOF
22274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22281 for ac_func
in sbrk
22283 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22284 echo "$as_me:$LINENO: checking for $ac_func" >&5
22285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22286 if eval "test \"\${$as_ac_var+set}\" = set"; then
22287 echo $ECHO_N "(cached) $ECHO_C" >&6
22289 cat >conftest.
$ac_ext <<_ACEOF
22292 cat confdefs.h
>>conftest.
$ac_ext
22293 cat >>conftest.
$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22297 #define $ac_func innocuous_$ac_func
22299 /* System header to define __stub macros and hopefully few prototypes,
22300 which can conflict with char $ac_func (); below.
22301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22302 <limits.h> exists even on freestanding compilers. */
22305 # include <limits.h>
22307 # include <assert.h>
22312 /* Override any gcc2 internal prototype to avoid an error. */
22317 /* We use char because int might match the return type of a gcc2
22318 builtin and then its argument prototype would still apply. */
22320 /* The GNU C library defines this for functions which it implements
22321 to always fail with ENOSYS. Some functions are actually named
22322 something starting with __ and the normal name is an alias. */
22323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22326 char (*f) () = $ac_func;
22335 return f != $ac_func;
22340 rm -f conftest.
$ac_objext conftest
$ac_exeext
22341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22342 (eval $ac_link) 2>conftest.er1
22344 grep -v '^ *+' conftest.er1
>conftest.err
22346 cat conftest.err
>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); } &&
22349 { ac_try
='test -z "$ac_c_werror_flag"
22350 || test ! -s conftest.err'
22351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22352 (eval $ac_try) 2>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); }; } &&
22356 { ac_try
='test -s conftest$ac_exeext'
22357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22358 (eval $ac_try) 2>&5
22360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22361 (exit $ac_status); }; }; then
22362 eval "$as_ac_var=yes"
22364 echo "$as_me: failed program was:" >&5
22365 sed 's/^/| /' conftest.
$ac_ext >&5
22367 eval "$as_ac_var=no"
22369 rm -f conftest.err conftest.
$ac_objext \
22370 conftest
$ac_exeext conftest.
$ac_ext
22372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22374 if test `eval echo '${'$as_ac_var'}'` = yes; then
22375 cat >>confdefs.h
<<_ACEOF
22376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22385 for ac_func
in setpgid setpgrp setsid
22387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22388 echo "$as_me:$LINENO: checking for $ac_func" >&5
22389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22390 if eval "test \"\${$as_ac_var+set}\" = set"; then
22391 echo $ECHO_N "(cached) $ECHO_C" >&6
22393 cat >conftest.
$ac_ext <<_ACEOF
22396 cat confdefs.h
>>conftest.
$ac_ext
22397 cat >>conftest.
$ac_ext <<_ACEOF
22398 /* end confdefs.h. */
22399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22401 #define $ac_func innocuous_$ac_func
22403 /* System header to define __stub macros and hopefully few prototypes,
22404 which can conflict with char $ac_func (); below.
22405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22406 <limits.h> exists even on freestanding compilers. */
22409 # include <limits.h>
22411 # include <assert.h>
22416 /* Override any gcc2 internal prototype to avoid an error. */
22421 /* We use char because int might match the return type of a gcc2
22422 builtin and then its argument prototype would still apply. */
22424 /* The GNU C library defines this for functions which it implements
22425 to always fail with ENOSYS. Some functions are actually named
22426 something starting with __ and the normal name is an alias. */
22427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22430 char (*f) () = $ac_func;
22439 return f != $ac_func;
22444 rm -f conftest.
$ac_objext conftest
$ac_exeext
22445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22446 (eval $ac_link) 2>conftest.er1
22448 grep -v '^ *+' conftest.er1
>conftest.err
22450 cat conftest.err
>&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } &&
22453 { ac_try
='test -z "$ac_c_werror_flag"
22454 || test ! -s conftest.err'
22455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22456 (eval $ac_try) 2>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; } &&
22460 { ac_try
='test -s conftest$ac_exeext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 eval "$as_ac_var=yes"
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.
$ac_ext >&5
22471 eval "$as_ac_var=no"
22473 rm -f conftest.err conftest.
$ac_objext \
22474 conftest
$ac_exeext conftest.
$ac_ext
22476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22478 if test `eval echo '${'$as_ac_var'}'` = yes; then
22479 cat >>confdefs.h
<<_ACEOF
22480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22489 for ac_func
in sigaction sigprocmask sigsetmask
22491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22492 echo "$as_me:$LINENO: checking for $ac_func" >&5
22493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22494 if eval "test \"\${$as_ac_var+set}\" = set"; then
22495 echo $ECHO_N "(cached) $ECHO_C" >&6
22497 cat >conftest.
$ac_ext <<_ACEOF
22500 cat confdefs.h
>>conftest.
$ac_ext
22501 cat >>conftest.
$ac_ext <<_ACEOF
22502 /* end confdefs.h. */
22503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22505 #define $ac_func innocuous_$ac_func
22507 /* System header to define __stub macros and hopefully few prototypes,
22508 which can conflict with char $ac_func (); below.
22509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22510 <limits.h> exists even on freestanding compilers. */
22513 # include <limits.h>
22515 # include <assert.h>
22520 /* Override any gcc2 internal prototype to avoid an error. */
22525 /* We use char because int might match the return type of a gcc2
22526 builtin and then its argument prototype would still apply. */
22528 /* The GNU C library defines this for functions which it implements
22529 to always fail with ENOSYS. Some functions are actually named
22530 something starting with __ and the normal name is an alias. */
22531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22534 char (*f) () = $ac_func;
22543 return f != $ac_func;
22548 rm -f conftest.
$ac_objext conftest
$ac_exeext
22549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22550 (eval $ac_link) 2>conftest.er1
22552 grep -v '^ *+' conftest.er1
>conftest.err
22554 cat conftest.err
>&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); } &&
22557 { ac_try
='test -z "$ac_c_werror_flag"
22558 || test ! -s conftest.err'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; } &&
22564 { ac_try
='test -s conftest$ac_exeext'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; }; then
22570 eval "$as_ac_var=yes"
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.
$ac_ext >&5
22575 eval "$as_ac_var=no"
22577 rm -f conftest.err conftest.
$ac_objext \
22578 conftest
$ac_exeext conftest.
$ac_ext
22580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22582 if test `eval echo '${'$as_ac_var'}'` = yes; then
22583 cat >>confdefs.h
<<_ACEOF
22584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22591 for ac_func
in socketpair
22593 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22594 echo "$as_me:$LINENO: checking for $ac_func" >&5
22595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22596 if eval "test \"\${$as_ac_var+set}\" = set"; then
22597 echo $ECHO_N "(cached) $ECHO_C" >&6
22599 cat >conftest.
$ac_ext <<_ACEOF
22602 cat confdefs.h
>>conftest.
$ac_ext
22603 cat >>conftest.
$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22607 #define $ac_func innocuous_$ac_func
22609 /* System header to define __stub macros and hopefully few prototypes,
22610 which can conflict with char $ac_func (); below.
22611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22612 <limits.h> exists even on freestanding compilers. */
22615 # include <limits.h>
22617 # include <assert.h>
22622 /* Override any gcc2 internal prototype to avoid an error. */
22627 /* We use char because int might match the return type of a gcc2
22628 builtin and then its argument prototype would still apply. */
22630 /* The GNU C library defines this for functions which it implements
22631 to always fail with ENOSYS. Some functions are actually named
22632 something starting with __ and the normal name is an alias. */
22633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22636 char (*f) () = $ac_func;
22645 return f != $ac_func;
22650 rm -f conftest.
$ac_objext conftest
$ac_exeext
22651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22652 (eval $ac_link) 2>conftest.er1
22654 grep -v '^ *+' conftest.er1
>conftest.err
22656 cat conftest.err
>&5
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); } &&
22659 { ac_try
='test -z "$ac_c_werror_flag"
22660 || test ! -s conftest.err'
22661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662 (eval $ac_try) 2>&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); }; } &&
22666 { ac_try
='test -s conftest$ac_exeext'
22667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 (eval $ac_try) 2>&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); }; }; then
22672 eval "$as_ac_var=yes"
22674 echo "$as_me: failed program was:" >&5
22675 sed 's/^/| /' conftest.
$ac_ext >&5
22677 eval "$as_ac_var=no"
22679 rm -f conftest.err conftest.
$ac_objext \
22680 conftest
$ac_exeext conftest.
$ac_ext
22682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22684 if test `eval echo '${'$as_ac_var'}'` = yes; then
22685 cat >>confdefs.h
<<_ACEOF
22686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22693 for ac_func
in syscall
22695 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22696 echo "$as_me:$LINENO: checking for $ac_func" >&5
22697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22698 if eval "test \"\${$as_ac_var+set}\" = set"; then
22699 echo $ECHO_N "(cached) $ECHO_C" >&6
22701 cat >conftest.
$ac_ext <<_ACEOF
22704 cat confdefs.h
>>conftest.
$ac_ext
22705 cat >>conftest.
$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22709 #define $ac_func innocuous_$ac_func
22711 /* System header to define __stub macros and hopefully few prototypes,
22712 which can conflict with char $ac_func (); below.
22713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22714 <limits.h> exists even on freestanding compilers. */
22717 # include <limits.h>
22719 # include <assert.h>
22724 /* Override any gcc2 internal prototype to avoid an error. */
22729 /* We use char because int might match the return type of a gcc2
22730 builtin and then its argument prototype would still apply. */
22732 /* The GNU C library defines this for functions which it implements
22733 to always fail with ENOSYS. Some functions are actually named
22734 something starting with __ and the normal name is an alias. */
22735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22738 char (*f) () = $ac_func;
22747 return f != $ac_func;
22752 rm -f conftest.
$ac_objext conftest
$ac_exeext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22754 (eval $ac_link) 2>conftest.er1
22756 grep -v '^ *+' conftest.er1
>conftest.err
22758 cat conftest.err
>&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); } &&
22761 { ac_try
='test -z "$ac_c_werror_flag"
22762 || test ! -s conftest.err'
22763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764 (eval $ac_try) 2>&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); }; } &&
22768 { ac_try
='test -s conftest$ac_exeext'
22769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770 (eval $ac_try) 2>&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 eval "$as_ac_var=yes"
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.
$ac_ext >&5
22779 eval "$as_ac_var=no"
22781 rm -f conftest.err conftest.
$ac_objext \
22782 conftest
$ac_exeext conftest.
$ac_ext
22784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22786 if test `eval echo '${'$as_ac_var'}'` = yes; then
22787 cat >>confdefs.h
<<_ACEOF
22788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22795 for ac_func
in ttrace
22797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22798 echo "$as_me:$LINENO: checking for $ac_func" >&5
22799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22800 if eval "test \"\${$as_ac_var+set}\" = set"; then
22801 echo $ECHO_N "(cached) $ECHO_C" >&6
22803 cat >conftest.
$ac_ext <<_ACEOF
22806 cat confdefs.h
>>conftest.
$ac_ext
22807 cat >>conftest.
$ac_ext <<_ACEOF
22808 /* end confdefs.h. */
22809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22811 #define $ac_func innocuous_$ac_func
22813 /* System header to define __stub macros and hopefully few prototypes,
22814 which can conflict with char $ac_func (); below.
22815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22816 <limits.h> exists even on freestanding compilers. */
22819 # include <limits.h>
22821 # include <assert.h>
22826 /* Override any gcc2 internal prototype to avoid an error. */
22831 /* We use char because int might match the return type of a gcc2
22832 builtin and then its argument prototype would still apply. */
22834 /* The GNU C library defines this for functions which it implements
22835 to always fail with ENOSYS. Some functions are actually named
22836 something starting with __ and the normal name is an alias. */
22837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22840 char (*f) () = $ac_func;
22849 return f != $ac_func;
22854 rm -f conftest.
$ac_objext conftest
$ac_exeext
22855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22856 (eval $ac_link) 2>conftest.er1
22858 grep -v '^ *+' conftest.er1
>conftest.err
22860 cat conftest.err
>&5
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); } &&
22863 { ac_try
='test -z "$ac_c_werror_flag"
22864 || test ! -s conftest.err'
22865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22866 (eval $ac_try) 2>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; } &&
22870 { ac_try
='test -s conftest$ac_exeext'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; }; then
22876 eval "$as_ac_var=yes"
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.
$ac_ext >&5
22881 eval "$as_ac_var=no"
22883 rm -f conftest.err conftest.
$ac_objext \
22884 conftest
$ac_exeext conftest.
$ac_ext
22886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22888 if test `eval echo '${'$as_ac_var'}'` = yes; then
22889 cat >>confdefs.h
<<_ACEOF
22890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22897 for ac_func
in wborder
22899 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22900 echo "$as_me:$LINENO: checking for $ac_func" >&5
22901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22902 if eval "test \"\${$as_ac_var+set}\" = set"; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22905 cat >conftest.
$ac_ext <<_ACEOF
22908 cat confdefs.h
>>conftest.
$ac_ext
22909 cat >>conftest.
$ac_ext <<_ACEOF
22910 /* end confdefs.h. */
22911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22913 #define $ac_func innocuous_$ac_func
22915 /* System header to define __stub macros and hopefully few prototypes,
22916 which can conflict with char $ac_func (); below.
22917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22918 <limits.h> exists even on freestanding compilers. */
22921 # include <limits.h>
22923 # include <assert.h>
22928 /* Override any gcc2 internal prototype to avoid an error. */
22933 /* We use char because int might match the return type of a gcc2
22934 builtin and then its argument prototype would still apply. */
22936 /* The GNU C library defines this for functions which it implements
22937 to always fail with ENOSYS. Some functions are actually named
22938 something starting with __ and the normal name is an alias. */
22939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22942 char (*f) () = $ac_func;
22951 return f != $ac_func;
22956 rm -f conftest.
$ac_objext conftest
$ac_exeext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22958 (eval $ac_link) 2>conftest.er1
22960 grep -v '^ *+' conftest.er1
>conftest.err
22962 cat conftest.err
>&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } &&
22965 { ac_try
='test -z "$ac_c_werror_flag"
22966 || test ! -s conftest.err'
22967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22968 (eval $ac_try) 2>&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); }; } &&
22972 { ac_try
='test -s conftest$ac_exeext'
22973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22974 (eval $ac_try) 2>&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); }; }; then
22978 eval "$as_ac_var=yes"
22980 echo "$as_me: failed program was:" >&5
22981 sed 's/^/| /' conftest.
$ac_ext >&5
22983 eval "$as_ac_var=no"
22985 rm -f conftest.err conftest.
$ac_objext \
22986 conftest
$ac_exeext conftest.
$ac_ext
22988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22990 if test `eval echo '${'$as_ac_var'}'` = yes; then
22991 cat >>confdefs.h
<<_ACEOF
22992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22999 # Check the return and argument types of ptrace. No canned test for
23000 # this, so roll our own.
23001 gdb_ptrace_headers
='
23002 #if HAVE_SYS_TYPES_H
23003 # include <sys/types.h>
23005 #if HAVE_SYS_PTRACE_H
23006 # include <sys/ptrace.h>
23009 # include <unistd.h>
23012 # There is no point in checking if we don't have a prototype.
23013 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
23014 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
23015 if test "${ac_cv_have_decl_ptrace+set}" = set; then
23016 echo $ECHO_N "(cached) $ECHO_C" >&6
23018 cat >conftest.
$ac_ext <<_ACEOF
23021 cat confdefs.h
>>conftest.
$ac_ext
23022 cat >>conftest.
$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23024 $gdb_ptrace_headers
23030 char *p = (char *) ptrace;
23037 rm -f conftest.
$ac_objext
23038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23039 (eval $ac_compile) 2>conftest.er1
23041 grep -v '^ *+' conftest.er1
>conftest.err
23043 cat conftest.err
>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } &&
23046 { ac_try
='test -z "$ac_c_werror_flag"
23047 || test ! -s conftest.err'
23048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23049 (eval $ac_try) 2>&5
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); }; } &&
23053 { ac_try
='test -s conftest.$ac_objext'
23054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23055 (eval $ac_try) 2>&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); }; }; then
23059 ac_cv_have_decl_ptrace
=yes
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.
$ac_ext >&5
23064 ac_cv_have_decl_ptrace
=no
23066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23068 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
23069 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
23070 if test $ac_cv_have_decl_ptrace = yes; then
23072 cat >>confdefs.h
<<_ACEOF
23073 #define HAVE_DECL_PTRACE 1
23078 cat >>confdefs.h
<<_ACEOF
23079 #define HAVE_DECL_PTRACE 0
23083 : ${gdb_cv_func_ptrace_ret='int'}
23084 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
23089 # Check return type.
23090 echo "$as_me:$LINENO: checking return type of ptrace" >&5
23091 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
23092 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
23093 echo $ECHO_N "(cached) $ECHO_C" >&6
23095 cat >conftest.
$ac_ext <<_ACEOF
23098 cat confdefs.h
>>conftest.
$ac_ext
23099 cat >>conftest.
$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 $gdb_ptrace_headers
23105 extern int ptrace ();
23110 rm -f conftest.
$ac_objext
23111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23112 (eval $ac_compile) 2>conftest.er1
23114 grep -v '^ *+' conftest.er1
>conftest.err
23116 cat conftest.err
>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } &&
23119 { ac_try
='test -z "$ac_c_werror_flag"
23120 || test ! -s conftest.err'
23121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23122 (eval $ac_try) 2>&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); }; } &&
23126 { ac_try
='test -s conftest.$ac_objext'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; }; then
23132 gdb_cv_func_ptrace_ret
='int'
23134 echo "$as_me: failed program was:" >&5
23135 sed 's/^/| /' conftest.
$ac_ext >&5
23137 gdb_cv_func_ptrace_ret
='long'
23139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23141 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
23142 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
23144 cat >>confdefs.h
<<_ACEOF
23145 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
23148 # Check argument types.
23149 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
23150 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
23151 if test "${gdb_cv_func_ptrace_args+set}" = set; then
23152 echo $ECHO_N "(cached) $ECHO_C" >&6
23155 for gdb_arg1
in 'int' 'long'; do
23156 for gdb_arg2
in 'pid_t' 'int' 'long'; do
23157 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long' 'void *'; do
23158 for gdb_arg4
in 'int' 'long'; do
23159 cat >conftest.
$ac_ext <<_ACEOF
23162 cat confdefs.h
>>conftest.
$ac_ext
23163 cat >>conftest.
$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23165 $gdb_ptrace_headers
23170 extern $gdb_cv_func_ptrace_ret
23171 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
23177 rm -f conftest.
$ac_objext
23178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23179 (eval $ac_compile) 2>conftest.er1
23181 grep -v '^ *+' conftest.er1
>conftest.err
23183 cat conftest.err
>&5
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); } &&
23186 { ac_try
='test -z "$ac_c_werror_flag"
23187 || test ! -s conftest.err'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; } &&
23193 { ac_try
='test -s conftest.$ac_objext'
23194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195 (eval $ac_try) 2>&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); }; }; then
23199 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.
$ac_ext >&5
23206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23207 for gdb_arg5
in 'int *' 'int' 'long'; do
23208 cat >conftest.
$ac_ext <<_ACEOF
23211 cat confdefs.h
>>conftest.
$ac_ext
23212 cat >>conftest.
$ac_ext <<_ACEOF
23213 /* end confdefs.h. */
23214 $gdb_ptrace_headers
23219 extern $gdb_cv_func_ptrace_ret
23220 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
23226 rm -f conftest.
$ac_objext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23228 (eval $ac_compile) 2>conftest.er1
23230 grep -v '^ *+' conftest.er1
>conftest.err
23232 cat conftest.err
>&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try
='test -z "$ac_c_werror_flag"
23236 || test ! -s conftest.err'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try
='test -s conftest.$ac_objext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23249 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.
$ac_ext >&5
23256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23262 # Provide a safe default value.
23263 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
23266 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
23267 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
23268 ac_save_IFS
=$IFS; IFS
=','
23269 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
23273 cat >>confdefs.h
<<_ACEOF
23274 #define PTRACE_TYPE_ARG3 $3
23277 if test -n "$5"; then
23279 cat >>confdefs.h
<<_ACEOF
23280 #define PTRACE_TYPE_ARG5 $5
23285 if test "$cross_compiling" = no
; then
23286 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
23287 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
23288 if test "${ac_cv_func_setpgrp_void+set}" = set; then
23289 echo $ECHO_N "(cached) $ECHO_C" >&6
23291 if test "$cross_compiling" = yes; then
23292 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
23293 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
23294 { (exit 1); exit 1; }; }
23296 cat >conftest.
$ac_ext <<_ACEOF
23299 cat confdefs.h
>>conftest.
$ac_ext
23300 cat >>conftest.
$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23303 # include <unistd.h>
23309 /* If this system has a BSD-style setpgrp which takes arguments,
23310 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
23311 exit successfully. */
23312 exit (setpgrp (1,1) == -1 ? 0 : 1);
23317 rm -f conftest
$ac_exeext
23318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23319 (eval $ac_link) 2>&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23324 (eval $ac_try) 2>&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); }; }; then
23328 ac_cv_func_setpgrp_void
=no
23330 echo "$as_me: program exited with status $ac_status" >&5
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.
$ac_ext >&5
23334 ( exit $ac_status )
23335 ac_cv_func_setpgrp_void
=yes
23337 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23340 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
23341 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
23342 if test $ac_cv_func_setpgrp_void = yes; then
23344 cat >>confdefs.h
<<\_ACEOF
23345 #define SETPGRP_VOID 1
23351 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
23352 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
23353 if test "${ac_cv_func_setpgrp_void+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23356 cat >conftest.
$ac_ext <<_ACEOF
23359 cat confdefs.h
>>conftest.
$ac_ext
23360 cat >>conftest.
$ac_ext <<_ACEOF
23361 /* end confdefs.h. */
23363 #include <unistd.h>
23369 if (setpgrp(1,1) == -1)
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 ac_cv_func_setpgrp_void
=no
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.
$ac_ext >&5
23405 ac_cv_func_setpgrp_void
=yes
23407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23409 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
23410 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
23411 if test $ac_cv_func_setpgrp_void = yes; then
23412 cat >>confdefs.h
<<\_ACEOF
23413 #define SETPGRP_VOID 1
23419 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
23420 # since sigsetjmp might only be defined as a macro.
23421 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
23422 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
23423 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
23424 echo $ECHO_N "(cached) $ECHO_C" >&6
23426 cat >conftest.
$ac_ext <<_ACEOF
23429 cat confdefs.h
>>conftest.
$ac_ext
23430 cat >>conftest.
$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23433 #include <setjmp.h>
23438 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23443 rm -f conftest.
$ac_objext
23444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23445 (eval $ac_compile) 2>conftest.er1
23447 grep -v '^ *+' conftest.er1
>conftest.err
23449 cat conftest.err
>&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); } &&
23452 { ac_try
='test -z "$ac_c_werror_flag"
23453 || test ! -s conftest.err'
23454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23455 (eval $ac_try) 2>&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); }; } &&
23459 { ac_try
='test -s conftest.$ac_objext'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; }; then
23465 gdb_cv_func_sigsetjmp
=yes
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.
$ac_ext >&5
23470 gdb_cv_func_sigsetjmp
=no
23472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23474 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
23475 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
23476 if test $gdb_cv_func_sigsetjmp = yes; then
23478 cat >>confdefs.h
<<\_ACEOF
23479 #define HAVE_SIGSETJMP 1
23484 # Assume we'll default to using the included libiberty regex.
23485 gdb_use_included_regex
=yes
23487 # However, if the system regex is GNU regex, then default to *not*
23488 # using the included regex.
23489 echo "$as_me:$LINENO: checking for GNU regex" >&5
23490 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
23491 if test "${gdb_cv_have_gnu_regex+set}" = set; then
23492 echo $ECHO_N "(cached) $ECHO_C" >&6
23494 cat >conftest.
$ac_ext <<_ACEOF
23497 cat confdefs.h
>>conftest.
$ac_ext
23498 cat >>conftest.
$ac_ext <<_ACEOF
23499 /* end confdefs.h. */
23500 #include <gnu-versions.h>
23504 #define REGEX_INTERFACE_VERSION 1
23505 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
23506 # error "Version mismatch"
23512 rm -f conftest.
$ac_objext
23513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23514 (eval $ac_compile) 2>conftest.er1
23516 grep -v '^ *+' conftest.er1
>conftest.err
23518 cat conftest.err
>&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); } &&
23521 { ac_try
='test -z "$ac_c_werror_flag"
23522 || test ! -s conftest.err'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; } &&
23528 { ac_try
='test -s conftest.$ac_objext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 gdb_cv_have_gnu_regex
=yes
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.
$ac_ext >&5
23539 gdb_cv_have_gnu_regex
=no
23541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23543 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
23544 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
23545 if test $gdb_cv_have_gnu_regex = yes; then
23546 gdb_use_included_regex
=no
23550 # Check whether --with-included-regex or --without-included-regex was given.
23551 if test "${with_included_regex+set}" = set; then
23552 withval
="$with_included_regex"
23553 gdb_with_regex
=$withval
23555 gdb_with_regex
=$gdb_use_included_regex
23557 if test "$gdb_with_regex" = yes; then
23559 cat >>confdefs.h
<<\_ACEOF
23560 #define USE_INCLUDED_REGEX 1
23565 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
23566 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
23567 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
23568 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
23569 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 cat >conftest.
$ac_ext <<_ACEOF
23574 cat confdefs.h
>>conftest.
$ac_ext
23575 cat >>conftest.
$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 #include <sys/param.h>
23578 #include <sys/proc.h>
23584 static struct thread ac_aggr;
23585 if (ac_aggr.td_pcb)
23591 rm -f conftest.
$ac_objext
23592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23593 (eval $ac_compile) 2>conftest.er1
23595 grep -v '^ *+' conftest.er1
>conftest.err
23597 cat conftest.err
>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } &&
23600 { ac_try
='test -z "$ac_c_werror_flag"
23601 || test ! -s conftest.err'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; } &&
23607 { ac_try
='test -s conftest.$ac_objext'
23608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609 (eval $ac_try) 2>&5
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; }; then
23613 ac_cv_member_struct_thread_td_pcb
=yes
23615 echo "$as_me: failed program was:" >&5
23616 sed 's/^/| /' conftest.
$ac_ext >&5
23618 cat >conftest.
$ac_ext <<_ACEOF
23621 cat confdefs.h
>>conftest.
$ac_ext
23622 cat >>conftest.
$ac_ext <<_ACEOF
23623 /* end confdefs.h. */
23624 #include <sys/param.h>
23625 #include <sys/proc.h>
23631 static struct thread ac_aggr;
23632 if (sizeof ac_aggr.td_pcb)
23638 rm -f conftest.
$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23642 grep -v '^ *+' conftest.er1
>conftest.err
23644 cat conftest.err
>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try
='test -z "$ac_c_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try
='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23660 ac_cv_member_struct_thread_td_pcb
=yes
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.
$ac_ext >&5
23665 ac_cv_member_struct_thread_td_pcb
=no
23667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23671 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
23672 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
23673 if test $ac_cv_member_struct_thread_td_pcb = yes; then
23675 cat >>confdefs.h
<<_ACEOF
23676 #define HAVE_STRUCT_THREAD_TD_PCB 1
23683 # See if <sys/lwp.h> defines `struct lwp`.
23684 echo "$as_me:$LINENO: checking for struct lwp" >&5
23685 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
23686 if test "${gdb_cv_struct_lwp+set}" = set; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 cat >conftest.
$ac_ext <<_ACEOF
23692 cat confdefs.h
>>conftest.
$ac_ext
23693 cat >>conftest.
$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 #include <sys/param.h>
23696 #include <sys/lwp.h>
23705 rm -f conftest.
$ac_objext
23706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23707 (eval $ac_compile) 2>conftest.er1
23709 grep -v '^ *+' conftest.er1
>conftest.err
23711 cat conftest.err
>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try
='test -z "$ac_c_werror_flag"
23715 || test ! -s conftest.err'
23716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23717 (eval $ac_try) 2>&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); }; } &&
23721 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
23727 gdb_cv_struct_lwp
=yes
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.
$ac_ext >&5
23732 gdb_cv_struct_lwp
=no
23734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23736 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
23737 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
23738 if test $gdb_cv_struct_lwp = yes; then
23740 cat >>confdefs.h
<<\_ACEOF
23741 #define HAVE_STRUCT_LWP 1
23746 # See if <machine/reg.h> degines `struct reg'.
23747 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
23748 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
23749 if test "${gdb_cv_struct_reg+set}" = set; then
23750 echo $ECHO_N "(cached) $ECHO_C" >&6
23752 cat >conftest.
$ac_ext <<_ACEOF
23755 cat confdefs.h
>>conftest.
$ac_ext
23756 cat >>conftest.
$ac_ext <<_ACEOF
23757 /* end confdefs.h. */
23758 #include <sys/types.h>
23759 #include <machine/reg.h>
23768 rm -f conftest.
$ac_objext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23770 (eval $ac_compile) 2>conftest.er1
23772 grep -v '^ *+' conftest.er1
>conftest.err
23774 cat conftest.err
>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } &&
23777 { ac_try
='test -z "$ac_c_werror_flag"
23778 || test ! -s conftest.err'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; } &&
23784 { ac_try
='test -s conftest.$ac_objext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 gdb_cv_struct_reg
=yes
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.
$ac_ext >&5
23795 gdb_cv_struct_reg
=no
23797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23799 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
23800 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
23801 if test $gdb_cv_struct_reg = yes; then
23803 cat >>confdefs.h
<<\_ACEOF
23804 #define HAVE_STRUCT_REG 1
23809 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
23810 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
23811 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
23812 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
23813 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
23814 echo $ECHO_N "(cached) $ECHO_C" >&6
23816 cat >conftest.
$ac_ext <<_ACEOF
23819 cat confdefs.h
>>conftest.
$ac_ext
23820 cat >>conftest.
$ac_ext <<_ACEOF
23821 /* end confdefs.h. */
23822 #include <machine/reg.h>
23827 static struct reg ac_aggr;
23834 rm -f conftest.
$ac_objext
23835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23836 (eval $ac_compile) 2>conftest.er1
23838 grep -v '^ *+' conftest.er1
>conftest.err
23840 cat conftest.err
>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } &&
23843 { ac_try
='test -z "$ac_c_werror_flag"
23844 || test ! -s conftest.err'
23845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23846 (eval $ac_try) 2>&5
23848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849 (exit $ac_status); }; } &&
23850 { ac_try
='test -s conftest.$ac_objext'
23851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23852 (eval $ac_try) 2>&5
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); }; }; then
23856 ac_cv_member_struct_reg_r_fs
=yes
23858 echo "$as_me: failed program was:" >&5
23859 sed 's/^/| /' conftest.
$ac_ext >&5
23861 cat >conftest.
$ac_ext <<_ACEOF
23864 cat confdefs.h
>>conftest.
$ac_ext
23865 cat >>conftest.
$ac_ext <<_ACEOF
23866 /* end confdefs.h. */
23867 #include <machine/reg.h>
23872 static struct reg ac_aggr;
23873 if (sizeof ac_aggr.r_fs)
23879 rm -f conftest.
$ac_objext
23880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23881 (eval $ac_compile) 2>conftest.er1
23883 grep -v '^ *+' conftest.er1
>conftest.err
23885 cat conftest.err
>&5
23886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887 (exit $ac_status); } &&
23888 { ac_try
='test -z "$ac_c_werror_flag"
23889 || test ! -s conftest.err'
23890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23891 (eval $ac_try) 2>&5
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); }; } &&
23895 { ac_try
='test -s conftest.$ac_objext'
23896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23897 (eval $ac_try) 2>&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); }; }; then
23901 ac_cv_member_struct_reg_r_fs
=yes
23903 echo "$as_me: failed program was:" >&5
23904 sed 's/^/| /' conftest.
$ac_ext >&5
23906 ac_cv_member_struct_reg_r_fs
=no
23908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23912 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
23913 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
23914 if test $ac_cv_member_struct_reg_r_fs = yes; then
23916 cat >>confdefs.h
<<_ACEOF
23917 #define HAVE_STRUCT_REG_R_FS 1
23922 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
23923 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
23924 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23927 cat >conftest.
$ac_ext <<_ACEOF
23930 cat confdefs.h
>>conftest.
$ac_ext
23931 cat >>conftest.
$ac_ext <<_ACEOF
23932 /* end confdefs.h. */
23933 #include <machine/reg.h>
23938 static struct reg ac_aggr;
23945 rm -f conftest.
$ac_objext
23946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23947 (eval $ac_compile) 2>conftest.er1
23949 grep -v '^ *+' conftest.er1
>conftest.err
23951 cat conftest.err
>&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } &&
23954 { ac_try
='test -z "$ac_c_werror_flag"
23955 || test ! -s conftest.err'
23956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23957 (eval $ac_try) 2>&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); }; } &&
23961 { ac_try
='test -s conftest.$ac_objext'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; }; then
23967 ac_cv_member_struct_reg_r_gs
=yes
23969 echo "$as_me: failed program was:" >&5
23970 sed 's/^/| /' conftest.
$ac_ext >&5
23972 cat >conftest.
$ac_ext <<_ACEOF
23975 cat confdefs.h
>>conftest.
$ac_ext
23976 cat >>conftest.
$ac_ext <<_ACEOF
23977 /* end confdefs.h. */
23978 #include <machine/reg.h>
23983 static struct reg ac_aggr;
23984 if (sizeof ac_aggr.r_gs)
23990 rm -f conftest.
$ac_objext
23991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23992 (eval $ac_compile) 2>conftest.er1
23994 grep -v '^ *+' conftest.er1
>conftest.err
23996 cat conftest.err
>&5
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); } &&
23999 { ac_try
='test -z "$ac_c_werror_flag"
24000 || test ! -s conftest.err'
24001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24002 (eval $ac_try) 2>&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); }; } &&
24006 { ac_try
='test -s conftest.$ac_objext'
24007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24008 (eval $ac_try) 2>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); }; }; then
24012 ac_cv_member_struct_reg_r_gs
=yes
24014 echo "$as_me: failed program was:" >&5
24015 sed 's/^/| /' conftest.
$ac_ext >&5
24017 ac_cv_member_struct_reg_r_gs
=no
24019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24023 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
24024 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
24025 if test $ac_cv_member_struct_reg_r_gs = yes; then
24027 cat >>confdefs.h
<<_ACEOF
24028 #define HAVE_STRUCT_REG_R_GS 1
24035 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
24036 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
24037 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
24038 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24041 cat >conftest.
$ac_ext <<_ACEOF
24044 cat confdefs.h
>>conftest.
$ac_ext
24045 cat >>conftest.
$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24047 #include <sys/ptrace.h>
24056 rm -f conftest.
$ac_objext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24058 (eval $ac_compile) 2>conftest.er1
24060 grep -v '^ *+' conftest.er1
>conftest.err
24062 cat conftest.err
>&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); } &&
24065 { ac_try
='test -z "$ac_c_werror_flag"
24066 || test ! -s conftest.err'
24067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24068 (eval $ac_try) 2>&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); }; } &&
24072 { ac_try
='test -s conftest.$ac_objext'
24073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); }; }; then
24078 gdb_cv_have_ptrace_getregs
=yes
24080 echo "$as_me: failed program was:" >&5
24081 sed 's/^/| /' conftest.
$ac_ext >&5
24083 gdb_cv_have_ptrace_getregs
=no
24085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24088 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
24089 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
24090 if test $gdb_cv_have_ptrace_getregs = yes; then
24092 cat >>confdefs.h
<<\_ACEOF
24093 #define HAVE_PTRACE_GETREGS 1
24098 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
24099 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
24100 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
24101 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
24102 echo $ECHO_N "(cached) $ECHO_C" >&6
24104 cat >conftest.
$ac_ext <<_ACEOF
24107 cat confdefs.h
>>conftest.
$ac_ext
24108 cat >>conftest.
$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 #include <sys/ptrace.h>
24119 rm -f conftest.
$ac_objext
24120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24121 (eval $ac_compile) 2>conftest.er1
24123 grep -v '^ *+' conftest.er1
>conftest.err
24125 cat conftest.err
>&5
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); } &&
24128 { ac_try
='test -z "$ac_c_werror_flag"
24129 || test ! -s conftest.err'
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; } &&
24135 { ac_try
='test -s conftest.$ac_objext'
24136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24137 (eval $ac_try) 2>&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; }; then
24141 gdb_cv_have_ptrace_getfpxregs
=yes
24143 echo "$as_me: failed program was:" >&5
24144 sed 's/^/| /' conftest.
$ac_ext >&5
24146 gdb_cv_have_ptrace_getfpxregs
=no
24148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24151 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
24152 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
24153 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
24155 cat >>confdefs.h
<<\_ACEOF
24156 #define HAVE_PTRACE_GETFPXREGS 1
24161 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
24162 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
24163 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
24164 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24167 cat >conftest.
$ac_ext <<_ACEOF
24170 cat confdefs.h
>>conftest.
$ac_ext
24171 cat >>conftest.
$ac_ext <<_ACEOF
24172 /* end confdefs.h. */
24173 #include <sys/types.h>
24174 #include <sys/ptrace.h>
24183 rm -f conftest.
$ac_objext
24184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24185 (eval $ac_compile) 2>conftest.er1
24187 grep -v '^ *+' conftest.er1
>conftest.err
24189 cat conftest.err
>&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); } &&
24192 { ac_try
='test -z "$ac_c_werror_flag"
24193 || test ! -s conftest.err'
24194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24195 (eval $ac_try) 2>&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); }; } &&
24199 { ac_try
='test -s conftest.$ac_objext'
24200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24201 (eval $ac_try) 2>&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); }; }; then
24205 gdb_cv_have_pt_getdbregs
=yes
24207 echo "$as_me: failed program was:" >&5
24208 sed 's/^/| /' conftest.
$ac_ext >&5
24210 gdb_cv_have_pt_getdbregs
=no
24212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24215 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
24216 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
24217 if test $gdb_cv_have_pt_getdbregs = yes; then
24219 cat >>confdefs.h
<<\_ACEOF
24220 #define HAVE_PT_GETDBREGS 1
24225 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
24226 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
24227 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
24228 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
24229 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 cat >conftest.
$ac_ext <<_ACEOF
24234 cat confdefs.h
>>conftest.
$ac_ext
24235 cat >>conftest.
$ac_ext <<_ACEOF
24236 /* end confdefs.h. */
24237 #include <sys/types.h>
24238 #include <sys/ptrace.h>
24247 rm -f conftest.
$ac_objext
24248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24249 (eval $ac_compile) 2>conftest.er1
24251 grep -v '^ *+' conftest.er1
>conftest.err
24253 cat conftest.err
>&5
24254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 (exit $ac_status); } &&
24256 { ac_try
='test -z "$ac_c_werror_flag"
24257 || test ! -s conftest.err'
24258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); }; } &&
24263 { ac_try
='test -s conftest.$ac_objext'
24264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265 (eval $ac_try) 2>&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); }; }; then
24269 gdb_cv_have_pt_getxmmregs
=yes
24271 echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.
$ac_ext >&5
24274 gdb_cv_have_pt_getxmmregs
=no
24276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24279 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
24280 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
24281 if test $gdb_cv_have_pt_getxmmregs = yes; then
24283 cat >>confdefs.h
<<\_ACEOF
24284 #define HAVE_PT_GETXMMREGS 1
24289 # Detect which type of /proc is in use, such as for Unixware or Solaris.
24291 if test "${target}" = "${host}"; then
24293 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
24295 cat >>confdefs.h
<<\_ACEOF
24296 #define NEW_PROC_API 1
24300 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9]*)
24302 cat >>confdefs.h
<<\_ACEOF
24303 #define NEW_PROC_API 1
24308 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
24310 cat >>confdefs.h
<<\_ACEOF
24311 #define _KMEMUSER 1
24318 if test "$ac_cv_header_sys_procfs_h" = yes; then
24319 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
24320 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
24321 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 cat >conftest.
$ac_ext <<_ACEOF
24327 cat confdefs.h
>>conftest.
$ac_ext
24328 cat >>conftest.
$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24332 #include <sys/procfs.h>
24341 rm -f conftest.
$ac_objext
24342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24343 (eval $ac_compile) 2>conftest.er1
24345 grep -v '^ *+' conftest.er1
>conftest.err
24347 cat conftest.err
>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } &&
24350 { ac_try
='test -z "$ac_c_werror_flag"
24351 || test ! -s conftest.err'
24352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24353 (eval $ac_try) 2>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); }; } &&
24357 { ac_try
='test -s conftest.$ac_objext'
24358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24359 (eval $ac_try) 2>&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); }; }; then
24363 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
24365 echo "$as_me: failed program was:" >&5
24366 sed 's/^/| /' conftest.
$ac_ext >&5
24368 bfd_cv_have_sys_procfs_type_pstatus_t
=no
24371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24374 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
24376 cat >>confdefs.h
<<\_ACEOF
24377 #define HAVE_PSTATUS_T 1
24381 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
24382 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
24384 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
24385 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
24386 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
24387 echo $ECHO_N "(cached) $ECHO_C" >&6
24389 cat >conftest.
$ac_ext <<_ACEOF
24392 cat confdefs.h
>>conftest.
$ac_ext
24393 cat >>conftest.
$ac_ext <<_ACEOF
24394 /* end confdefs.h. */
24397 #include <sys/procfs.h>
24406 rm -f conftest.
$ac_objext
24407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24408 (eval $ac_compile) 2>conftest.er1
24410 grep -v '^ *+' conftest.er1
>conftest.err
24412 cat conftest.err
>&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } &&
24415 { ac_try
='test -z "$ac_c_werror_flag"
24416 || test ! -s conftest.err'
24417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24418 (eval $ac_try) 2>&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); }; } &&
24422 { ac_try
='test -s conftest.$ac_objext'
24423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24424 (eval $ac_try) 2>&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); }; }; then
24428 bfd_cv_have_sys_procfs_type_prrun_t
=yes
24430 echo "$as_me: failed program was:" >&5
24431 sed 's/^/| /' conftest.
$ac_ext >&5
24433 bfd_cv_have_sys_procfs_type_prrun_t
=no
24436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24439 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
24441 cat >>confdefs.h
<<\_ACEOF
24442 #define HAVE_PRRUN_T 1
24446 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
24447 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
24449 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
24450 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
24451 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
24452 echo $ECHO_N "(cached) $ECHO_C" >&6
24454 cat >conftest.
$ac_ext <<_ACEOF
24457 cat confdefs.h
>>conftest.
$ac_ext
24458 cat >>conftest.
$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24462 #include <sys/procfs.h>
24471 rm -f conftest.
$ac_objext
24472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24473 (eval $ac_compile) 2>conftest.er1
24475 grep -v '^ *+' conftest.er1
>conftest.err
24477 cat conftest.err
>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try
='test -z "$ac_c_werror_flag"
24481 || test ! -s conftest.err'
24482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24483 (eval $ac_try) 2>&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); }; } &&
24487 { ac_try
='test -s conftest.$ac_objext'
24488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489 (eval $ac_try) 2>&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); }; }; then
24493 bfd_cv_have_sys_procfs_type_gregset_t
=yes
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.
$ac_ext >&5
24498 bfd_cv_have_sys_procfs_type_gregset_t
=no
24501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24504 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
24506 cat >>confdefs.h
<<\_ACEOF
24507 #define HAVE_GREGSET_T 1
24511 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
24512 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
24514 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
24515 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
24516 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
24517 echo $ECHO_N "(cached) $ECHO_C" >&6
24519 cat >conftest.
$ac_ext <<_ACEOF
24522 cat confdefs.h
>>conftest.
$ac_ext
24523 cat >>conftest.
$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24527 #include <sys/procfs.h>
24536 rm -f conftest.
$ac_objext
24537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24538 (eval $ac_compile) 2>conftest.er1
24540 grep -v '^ *+' conftest.er1
>conftest.err
24542 cat conftest.err
>&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } &&
24545 { ac_try
='test -z "$ac_c_werror_flag"
24546 || test ! -s conftest.err'
24547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548 (eval $ac_try) 2>&5
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); }; } &&
24552 { ac_try
='test -s conftest.$ac_objext'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; }; then
24558 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
24560 echo "$as_me: failed program was:" >&5
24561 sed 's/^/| /' conftest.
$ac_ext >&5
24563 bfd_cv_have_sys_procfs_type_fpregset_t
=no
24566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24569 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
24571 cat >>confdefs.h
<<\_ACEOF
24572 #define HAVE_FPREGSET_T 1
24576 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
24577 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
24579 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
24580 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
24581 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
24582 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 cat >conftest.
$ac_ext <<_ACEOF
24587 cat confdefs.h
>>conftest.
$ac_ext
24588 cat >>conftest.
$ac_ext <<_ACEOF
24589 /* end confdefs.h. */
24592 #include <sys/procfs.h>
24601 rm -f conftest.
$ac_objext
24602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24603 (eval $ac_compile) 2>conftest.er1
24605 grep -v '^ *+' conftest.er1
>conftest.err
24607 cat conftest.err
>&5
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); } &&
24610 { ac_try
='test -z "$ac_c_werror_flag"
24611 || test ! -s conftest.err'
24612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24613 (eval $ac_try) 2>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); }; } &&
24617 { ac_try
='test -s conftest.$ac_objext'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; }; then
24623 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
24625 echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.
$ac_ext >&5
24628 bfd_cv_have_sys_procfs_type_prgregset_t
=no
24631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24634 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
24636 cat >>confdefs.h
<<\_ACEOF
24637 #define HAVE_PRGREGSET_T 1
24641 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
24642 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
24644 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
24645 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
24646 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
24647 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 cat >conftest.
$ac_ext <<_ACEOF
24652 cat confdefs.h
>>conftest.
$ac_ext
24653 cat >>conftest.
$ac_ext <<_ACEOF
24654 /* end confdefs.h. */
24657 #include <sys/procfs.h>
24666 rm -f conftest.
$ac_objext
24667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24668 (eval $ac_compile) 2>conftest.er1
24670 grep -v '^ *+' conftest.er1
>conftest.err
24672 cat conftest.err
>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); } &&
24675 { ac_try
='test -z "$ac_c_werror_flag"
24676 || test ! -s conftest.err'
24677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24678 (eval $ac_try) 2>&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); }; } &&
24682 { ac_try
='test -s conftest.$ac_objext'
24683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24684 (eval $ac_try) 2>&5
24686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); }; }; then
24688 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
24690 echo "$as_me: failed program was:" >&5
24691 sed 's/^/| /' conftest.
$ac_ext >&5
24693 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
24696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24699 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
24701 cat >>confdefs.h
<<\_ACEOF
24702 #define HAVE_PRFPREGSET_T 1
24706 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
24707 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
24709 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
24710 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
24711 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 cat >conftest.
$ac_ext <<_ACEOF
24717 cat confdefs.h
>>conftest.
$ac_ext
24718 cat >>conftest.
$ac_ext <<_ACEOF
24719 /* end confdefs.h. */
24722 #include <sys/procfs.h>
24731 rm -f conftest.
$ac_objext
24732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24733 (eval $ac_compile) 2>conftest.er1
24735 grep -v '^ *+' conftest.er1
>conftest.err
24737 cat conftest.err
>&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); } &&
24740 { ac_try
='test -z "$ac_c_werror_flag"
24741 || test ! -s conftest.err'
24742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24743 (eval $ac_try) 2>&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); }; } &&
24747 { ac_try
='test -s conftest.$ac_objext'
24748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24749 (eval $ac_try) 2>&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); }; }; then
24753 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
24755 echo "$as_me: failed program was:" >&5
24756 sed 's/^/| /' conftest.
$ac_ext >&5
24758 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
24761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24764 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
24766 cat >>confdefs.h
<<\_ACEOF
24767 #define HAVE_PRGREGSET32_T 1
24771 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
24772 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
24774 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
24775 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
24776 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24779 cat >conftest.
$ac_ext <<_ACEOF
24782 cat confdefs.h
>>conftest.
$ac_ext
24783 cat >>conftest.
$ac_ext <<_ACEOF
24784 /* end confdefs.h. */
24787 #include <sys/procfs.h>
24791 prfpregset32_t avar
24796 rm -f conftest.
$ac_objext
24797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24798 (eval $ac_compile) 2>conftest.er1
24800 grep -v '^ *+' conftest.er1
>conftest.err
24802 cat conftest.err
>&5
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804 (exit $ac_status); } &&
24805 { ac_try
='test -z "$ac_c_werror_flag"
24806 || test ! -s conftest.err'
24807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24808 (eval $ac_try) 2>&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); }; } &&
24812 { ac_try
='test -s conftest.$ac_objext'
24813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24814 (eval $ac_try) 2>&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); }; }; then
24818 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
24820 echo "$as_me: failed program was:" >&5
24821 sed 's/^/| /' conftest.
$ac_ext >&5
24823 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
24826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24829 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
24831 cat >>confdefs.h
<<\_ACEOF
24832 #define HAVE_PRFPREGSET32_T 1
24836 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
24837 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
24839 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
24840 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
24841 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
24842 echo $ECHO_N "(cached) $ECHO_C" >&6
24844 cat >conftest.
$ac_ext <<_ACEOF
24847 cat confdefs.h
>>conftest.
$ac_ext
24848 cat >>conftest.
$ac_ext <<_ACEOF
24849 /* end confdefs.h. */
24852 #include <sys/procfs.h>
24861 rm -f conftest.
$ac_objext
24862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24863 (eval $ac_compile) 2>conftest.er1
24865 grep -v '^ *+' conftest.er1
>conftest.err
24867 cat conftest.err
>&5
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); } &&
24870 { ac_try
='test -z "$ac_c_werror_flag"
24871 || test ! -s conftest.err'
24872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24873 (eval $ac_try) 2>&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); }; } &&
24877 { ac_try
='test -s conftest.$ac_objext'
24878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24879 (eval $ac_try) 2>&5
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); }; }; then
24883 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.
$ac_ext >&5
24888 bfd_cv_have_sys_procfs_type_lwpid_t
=no
24891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24894 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
24896 cat >>confdefs.h
<<\_ACEOF
24897 #define HAVE_LWPID_T 1
24901 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
24902 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
24904 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
24905 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
24906 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24909 cat >conftest.
$ac_ext <<_ACEOF
24912 cat confdefs.h
>>conftest.
$ac_ext
24913 cat >>conftest.
$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24917 #include <sys/procfs.h>
24926 rm -f conftest.
$ac_objext
24927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24928 (eval $ac_compile) 2>conftest.er1
24930 grep -v '^ *+' conftest.er1
>conftest.err
24932 cat conftest.err
>&5
24933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24934 (exit $ac_status); } &&
24935 { ac_try
='test -z "$ac_c_werror_flag"
24936 || test ! -s conftest.err'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; } &&
24942 { ac_try
='test -s conftest.$ac_objext'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; }; then
24948 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
24950 echo "$as_me: failed program was:" >&5
24951 sed 's/^/| /' conftest.
$ac_ext >&5
24953 bfd_cv_have_sys_procfs_type_psaddr_t
=no
24956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24959 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
24961 cat >>confdefs.h
<<\_ACEOF
24962 #define HAVE_PSADDR_T 1
24966 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
24967 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
24969 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
24970 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
24971 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
24972 echo $ECHO_N "(cached) $ECHO_C" >&6
24974 cat >conftest.
$ac_ext <<_ACEOF
24977 cat confdefs.h
>>conftest.
$ac_ext
24978 cat >>conftest.
$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24982 #include <sys/procfs.h>
24991 rm -f conftest.
$ac_objext
24992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24993 (eval $ac_compile) 2>conftest.er1
24995 grep -v '^ *+' conftest.er1
>conftest.err
24997 cat conftest.err
>&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } &&
25000 { ac_try
='test -z "$ac_c_werror_flag"
25001 || test ! -s conftest.err'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; } &&
25007 { ac_try
='test -s conftest.$ac_objext'
25008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25009 (eval $ac_try) 2>&5
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); }; }; then
25013 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
25015 echo "$as_me: failed program was:" >&5
25016 sed 's/^/| /' conftest.
$ac_ext >&5
25018 bfd_cv_have_sys_procfs_type_prsysent_t
=no
25021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25024 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
25026 cat >>confdefs.h
<<\_ACEOF
25027 #define HAVE_PRSYSENT_T 1
25031 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
25032 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
25034 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
25035 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
25036 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25039 cat >conftest.
$ac_ext <<_ACEOF
25042 cat confdefs.h
>>conftest.
$ac_ext
25043 cat >>conftest.
$ac_ext <<_ACEOF
25044 /* end confdefs.h. */
25047 #include <sys/procfs.h>
25056 rm -f conftest.
$ac_objext
25057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25058 (eval $ac_compile) 2>conftest.er1
25060 grep -v '^ *+' conftest.er1
>conftest.err
25062 cat conftest.err
>&5
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); } &&
25065 { ac_try
='test -z "$ac_c_werror_flag"
25066 || test ! -s conftest.err'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; } &&
25072 { ac_try
='test -s conftest.$ac_objext'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; }; then
25078 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.
$ac_ext >&5
25083 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
25086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25089 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
25091 cat >>confdefs.h
<<\_ACEOF
25092 #define HAVE_PR_SIGSET_T 1
25096 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
25097 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
25099 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
25100 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
25101 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
25102 echo $ECHO_N "(cached) $ECHO_C" >&6
25104 cat >conftest.
$ac_ext <<_ACEOF
25107 cat confdefs.h
>>conftest.
$ac_ext
25108 cat >>conftest.
$ac_ext <<_ACEOF
25109 /* end confdefs.h. */
25112 #include <sys/procfs.h>
25116 pr_sigaction64_t avar
25121 rm -f conftest.
$ac_objext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25123 (eval $ac_compile) 2>conftest.er1
25125 grep -v '^ *+' conftest.er1
>conftest.err
25127 cat conftest.err
>&5
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); } &&
25130 { ac_try
='test -z "$ac_c_werror_flag"
25131 || test ! -s conftest.err'
25132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133 (eval $ac_try) 2>&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); }; } &&
25137 { ac_try
='test -s conftest.$ac_objext'
25138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139 (eval $ac_try) 2>&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }; }; then
25143 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
25145 echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.
$ac_ext >&5
25148 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
25151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25154 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
25156 cat >>confdefs.h
<<\_ACEOF
25157 #define HAVE_PR_SIGACTION64_T 1
25161 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
25162 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
25164 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
25165 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
25166 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25169 cat >conftest.
$ac_ext <<_ACEOF
25172 cat confdefs.h
>>conftest.
$ac_ext
25173 cat >>conftest.
$ac_ext <<_ACEOF
25174 /* end confdefs.h. */
25177 #include <sys/procfs.h>
25181 pr_siginfo64_t avar
25186 rm -f conftest.
$ac_objext
25187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25188 (eval $ac_compile) 2>conftest.er1
25190 grep -v '^ *+' conftest.er1
>conftest.err
25192 cat conftest.err
>&5
25193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25194 (exit $ac_status); } &&
25195 { ac_try
='test -z "$ac_c_werror_flag"
25196 || test ! -s conftest.err'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; } &&
25202 { ac_try
='test -s conftest.$ac_objext'
25203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204 (eval $ac_try) 2>&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); }; }; then
25208 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
25210 echo "$as_me: failed program was:" >&5
25211 sed 's/^/| /' conftest.
$ac_ext >&5
25213 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
25216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25219 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
25221 cat >>confdefs.h
<<\_ACEOF
25222 #define HAVE_PR_SIGINFO64_T 1
25226 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
25227 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
25233 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
25234 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
25235 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
25236 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 if test "$cross_compiling" = yes; then
25240 gdb_cv_prfpregset_t_broken
=yes
25242 cat >conftest.
$ac_ext <<_ACEOF
25245 cat confdefs.h
>>conftest.
$ac_ext
25246 cat >>conftest.
$ac_ext <<_ACEOF
25247 /* end confdefs.h. */
25248 #include <sys/procfs.h>
25251 if (sizeof (prfpregset_t) == sizeof (void *))
25256 rm -f conftest
$ac_exeext
25257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25258 (eval $ac_link) 2>&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25263 (eval $ac_try) 2>&5
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); }; }; then
25267 gdb_cv_prfpregset_t_broken
=no
25269 echo "$as_me: program exited with status $ac_status" >&5
25270 echo "$as_me: failed program was:" >&5
25271 sed 's/^/| /' conftest.
$ac_ext >&5
25273 ( exit $ac_status )
25274 gdb_cv_prfpregset_t_broken
=yes
25276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25280 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
25281 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
25282 if test $gdb_cv_prfpregset_t_broken = yes; then
25284 cat >>confdefs.h
<<\_ACEOF
25285 #define PRFPREGSET_T_BROKEN 1
25292 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
25293 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
25294 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
25295 echo $ECHO_N "(cached) $ECHO_C" >&6
25297 cat >conftest.
$ac_ext <<_ACEOF
25300 cat confdefs.h
>>conftest.
$ac_ext
25301 cat >>conftest.
$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25303 #include <unistd.h>
25304 #include <sys/types.h>
25305 #include <sys/procfs.h>
25312 dummy = ioctl(0, PIOCSET, &dummy);
25318 rm -f conftest.
$ac_objext
25319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25320 (eval $ac_compile) 2>conftest.er1
25322 grep -v '^ *+' conftest.er1
>conftest.err
25324 cat conftest.err
>&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try
='test -z "$ac_c_werror_flag"
25328 || test ! -s conftest.err'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; } &&
25334 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
25340 gdb_cv_have_procfs_piocset
=yes
25342 echo "$as_me: failed program was:" >&5
25343 sed 's/^/| /' conftest.
$ac_ext >&5
25345 gdb_cv_have_procfs_piocset
=no
25347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25350 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
25351 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
25352 if test $gdb_cv_have_procfs_piocset = yes; then
25354 cat >>confdefs.h
<<\_ACEOF
25355 #define HAVE_PROCFS_PIOCSET 1
25361 if test ${host} = ${target} ; then
25363 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
25364 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
25365 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
25366 echo $ECHO_N "(cached) $ECHO_C" >&6
25368 cat >conftest.
$ac_ext <<_ACEOF
25371 cat confdefs.h
>>conftest.
$ac_ext
25372 cat >>conftest.
$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25378 struct link_map lm; (void) lm.l_addr;
25383 rm -f conftest.
$ac_objext
25384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25385 (eval $ac_compile) 2>conftest.er1
25387 grep -v '^ *+' conftest.er1
>conftest.err
25389 cat conftest.err
>&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } &&
25392 { ac_try
='test -z "$ac_c_werror_flag"
25393 || test ! -s conftest.err'
25394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25395 (eval $ac_try) 2>&5
25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398 (exit $ac_status); }; } &&
25399 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
25405 gdb_cv_have_struct_link_map_with_l_members
=yes
25407 echo "$as_me: failed program was:" >&5
25408 sed 's/^/| /' conftest.
$ac_ext >&5
25410 gdb_cv_have_struct_link_map_with_l_members
=no
25412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25415 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
25416 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
25417 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
25419 cat >>confdefs.h
<<\_ACEOF
25420 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
25426 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
25427 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
25428 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
25429 echo $ECHO_N "(cached) $ECHO_C" >&6
25431 cat >conftest.
$ac_ext <<_ACEOF
25434 cat confdefs.h
>>conftest.
$ac_ext
25435 cat >>conftest.
$ac_ext <<_ACEOF
25436 /* end confdefs.h. */
25437 #include <sys/types.h>
25442 struct link_map lm; (void) lm.lm_addr;
25447 rm -f conftest.
$ac_objext
25448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25449 (eval $ac_compile) 2>conftest.er1
25451 grep -v '^ *+' conftest.er1
>conftest.err
25453 cat conftest.err
>&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } &&
25456 { ac_try
='test -z "$ac_c_werror_flag"
25457 || test ! -s conftest.err'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; } &&
25463 { ac_try
='test -s conftest.$ac_objext'
25464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25465 (eval $ac_try) 2>&5
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); }; }; then
25469 gdb_cv_have_struct_link_map_with_lm_members
=yes
25471 echo "$as_me: failed program was:" >&5
25472 sed 's/^/| /' conftest.
$ac_ext >&5
25474 gdb_cv_have_struct_link_map_with_lm_members
=no
25476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25479 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
25480 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
25481 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
25483 cat >>confdefs.h
<<\_ACEOF
25484 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
25490 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
25491 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
25492 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 cat >conftest.
$ac_ext <<_ACEOF
25498 cat confdefs.h
>>conftest.
$ac_ext
25499 cat >>conftest.
$ac_ext <<_ACEOF
25500 /* end confdefs.h. */
25501 #include <sys/types.h>
25502 #ifdef HAVE_NLIST_H
25509 struct so_map lm; (void) lm.som_addr;
25514 rm -f conftest.
$ac_objext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25516 (eval $ac_compile) 2>conftest.er1
25518 grep -v '^ *+' conftest.er1
>conftest.err
25520 cat conftest.err
>&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try
='test -z "$ac_c_werror_flag"
25524 || test ! -s conftest.err'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; } &&
25530 { ac_try
='test -s conftest.$ac_objext'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; }; then
25536 gdb_cv_have_struct_so_map_with_som_members
=yes
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.
$ac_ext >&5
25541 gdb_cv_have_struct_so_map_with_som_members
=no
25543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25546 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
25547 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
25548 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
25550 cat >>confdefs.h
<<\_ACEOF
25551 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
25557 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
25558 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
25559 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
25560 echo $ECHO_N "(cached) $ECHO_C" >&6
25562 cat >conftest.
$ac_ext <<_ACEOF
25565 cat confdefs.h
>>conftest.
$ac_ext
25566 cat >>conftest.
$ac_ext <<_ACEOF
25567 /* end confdefs.h. */
25569 #include <sys/link.h>
25573 struct link_map32 l;
25578 rm -f conftest.
$ac_objext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25580 (eval $ac_compile) 2>conftest.er1
25582 grep -v '^ *+' conftest.er1
>conftest.err
25584 cat conftest.err
>&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } &&
25587 { ac_try
='test -z "$ac_c_werror_flag"
25588 || test ! -s conftest.err'
25589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590 (eval $ac_try) 2>&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); }; } &&
25594 { ac_try
='test -s conftest.$ac_objext'
25595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596 (eval $ac_try) 2>&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); }; }; then
25600 gdb_cv_have_struct_link_map32
=yes
25602 echo "$as_me: failed program was:" >&5
25603 sed 's/^/| /' conftest.
$ac_ext >&5
25605 gdb_cv_have_struct_link_map32
=no
25607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25610 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
25611 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
25612 if test $gdb_cv_have_struct_link_map32 = yes; then
25614 cat >>confdefs.h
<<\_ACEOF
25615 #define HAVE_STRUCT_LINK_MAP32 1
25619 cat >>confdefs.h
<<\_ACEOF
25620 #define _SYSCALL32 1
25626 # Check if the compiler supports the `long long' type.
25628 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
25629 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
25630 if test "${gdb_cv_c_long_long+set}" = set; then
25631 echo $ECHO_N "(cached) $ECHO_C" >&6
25633 cat >conftest.
$ac_ext <<_ACEOF
25636 cat confdefs.h
>>conftest.
$ac_ext
25637 cat >>conftest.
$ac_ext <<_ACEOF
25638 /* end confdefs.h. */
25639 extern long long foo;
25643 switch (foo & 2) { case 0: return 1; }
25648 rm -f conftest.
$ac_objext
25649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25650 (eval $ac_compile) 2>conftest.er1
25652 grep -v '^ *+' conftest.er1
>conftest.err
25654 cat conftest.err
>&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } &&
25657 { ac_try
='test -z "$ac_c_werror_flag"
25658 || test ! -s conftest.err'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; } &&
25664 { ac_try
='test -s conftest.$ac_objext'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; }; then
25670 gdb_cv_c_long_long
=yes
25672 echo "$as_me: failed program was:" >&5
25673 sed 's/^/| /' conftest.
$ac_ext >&5
25675 gdb_cv_c_long_long
=no
25677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25679 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
25680 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
25681 if test $gdb_cv_c_long_long = yes; then
25683 cat >>confdefs.h
<<\_ACEOF
25684 #define CC_HAS_LONG_LONG 1
25689 # Check if the compiler and runtime support printing long longs.
25691 echo "$as_me:$LINENO: checking for long long support in printf" >&5
25692 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
25693 if test "${gdb_cv_printf_has_long_long+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25696 if test "$cross_compiling" = yes; then
25697 gdb_cv_printf_has_long_long
=no
25699 cat >conftest.
$ac_ext <<_ACEOF
25702 cat confdefs.h
>>conftest.
$ac_ext
25703 cat >>conftest.
$ac_ext <<_ACEOF
25704 /* end confdefs.h. */
25705 $ac_includes_default
25711 l = (l << 16) + 0x0123;
25712 l = (l << 16) + 0x4567;
25713 l = (l << 16) + 0x89ab;
25714 l = (l << 16) + 0xcdef;
25715 sprintf (buf, "0x%016llx", l);
25716 return (strcmp ("0x0123456789abcdef", buf));
25721 rm -f conftest
$ac_exeext
25722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25723 (eval $ac_link) 2>&5
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25728 (eval $ac_try) 2>&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); }; }; then
25732 gdb_cv_printf_has_long_long
=yes
25734 echo "$as_me: program exited with status $ac_status" >&5
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.
$ac_ext >&5
25738 ( exit $ac_status )
25739 gdb_cv_printf_has_long_long
=no
25741 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25744 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
25745 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
25746 if test $gdb_cv_printf_has_long_long = yes; then
25748 cat >>confdefs.h
<<\_ACEOF
25749 #define PRINTF_HAS_LONG_LONG 1
25754 # Check if the compiler and runtime support printing decfloats.
25756 echo "$as_me:$LINENO: checking for decfloat support in printf" >&5
25757 echo $ECHO_N "checking for decfloat support in printf... $ECHO_C" >&6
25758 if test "${gdb_cv_printf_has_decfloat+set}" = set; then
25759 echo $ECHO_N "(cached) $ECHO_C" >&6
25761 if test "$cross_compiling" = yes; then
25762 gdb_cv_printf_has_decfloat
=no
25764 cat >conftest.
$ac_ext <<_ACEOF
25767 cat confdefs.h
>>conftest.
$ac_ext
25768 cat >>conftest.
$ac_ext <<_ACEOF
25769 /* end confdefs.h. */
25770 $ac_includes_default
25775 _Decimal32 d32 = 1.2345df;
25776 _Decimal64 d64 = 1.2345dd;
25777 _Decimal128 d128 = 1.2345dl;
25778 sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
25779 return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
25784 rm -f conftest
$ac_exeext
25785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25786 (eval $ac_link) 2>&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25791 (eval $ac_try) 2>&5
25793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794 (exit $ac_status); }; }; then
25795 gdb_cv_printf_has_decfloat
=yes
25797 echo "$as_me: program exited with status $ac_status" >&5
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.
$ac_ext >&5
25801 ( exit $ac_status )
25802 gdb_cv_printf_has_decfloat
=no
25804 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25807 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_decfloat" >&5
25808 echo "${ECHO_T}$gdb_cv_printf_has_decfloat" >&6
25809 if test $gdb_cv_printf_has_decfloat = yes; then
25811 cat >>confdefs.h
<<\_ACEOF
25812 #define PRINTF_HAS_DECFLOAT 1
25817 # Check if the compiler supports the `long double' type. We can't use
25818 # AC_C_LONG_DOUBLE because that one does additional checks on the
25819 # constants defined in <float.h> that fail on some systems,
25820 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
25822 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
25823 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
25824 if test "${gdb_cv_c_long_double+set}" = set; then
25825 echo $ECHO_N "(cached) $ECHO_C" >&6
25827 cat >conftest.
$ac_ext <<_ACEOF
25830 cat confdefs.h
>>conftest.
$ac_ext
25831 cat >>conftest.
$ac_ext <<_ACEOF
25832 /* end confdefs.h. */
25835 rm -f conftest.
$ac_objext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25837 (eval $ac_compile) 2>conftest.er1
25839 grep -v '^ *+' conftest.er1
>conftest.err
25841 cat conftest.err
>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try
='test -z "$ac_c_werror_flag"
25845 || test ! -s conftest.err'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try
='test -s conftest.$ac_objext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25857 gdb_cv_c_long_double
=yes
25859 echo "$as_me: failed program was:" >&5
25860 sed 's/^/| /' conftest.
$ac_ext >&5
25862 gdb_cv_c_long_double
=no
25864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25866 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
25867 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
25868 if test $gdb_cv_c_long_double = yes; then
25870 cat >>confdefs.h
<<\_ACEOF
25871 #define HAVE_LONG_DOUBLE 1
25876 # Check if the compiler and runtime support printing long doubles.
25878 echo "$as_me:$LINENO: checking for long double support in printf" >&5
25879 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
25880 if test "${gdb_cv_printf_has_long_double+set}" = set; then
25881 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 if test "$cross_compiling" = yes; then
25884 gdb_cv_printf_has_long_double
=no
25886 cat >conftest.
$ac_ext <<_ACEOF
25889 cat confdefs.h
>>conftest.
$ac_ext
25890 cat >>conftest.
$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25892 $ac_includes_default
25897 long double f = 3.141592653;
25898 sprintf (buf, "%Lg", f);
25899 return (strncmp ("3.14159", buf, 7));
25904 rm -f conftest
$ac_exeext
25905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25906 (eval $ac_link) 2>&5
25908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25911 (eval $ac_try) 2>&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); }; }; then
25915 gdb_cv_printf_has_long_double
=yes
25917 echo "$as_me: program exited with status $ac_status" >&5
25918 echo "$as_me: failed program was:" >&5
25919 sed 's/^/| /' conftest.
$ac_ext >&5
25921 ( exit $ac_status )
25922 gdb_cv_printf_has_long_double
=no
25924 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25927 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
25928 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
25929 if test $gdb_cv_printf_has_long_double = yes; then
25931 cat >>confdefs.h
<<\_ACEOF
25932 #define PRINTF_HAS_LONG_DOUBLE 1
25937 # Check if the compiler and runtime support scanning long doubles.
25939 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
25940 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
25941 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
25942 echo $ECHO_N "(cached) $ECHO_C" >&6
25944 if test "$cross_compiling" = yes; then
25945 gdb_cv_scanf_has_long_double
=no
25947 cat >conftest.
$ac_ext <<_ACEOF
25950 cat confdefs.h
>>conftest.
$ac_ext
25951 cat >>conftest.
$ac_ext <<_ACEOF
25952 /* end confdefs.h. */
25957 char *buf = "3.141592653";
25959 sscanf (buf, "%Lg", &f);
25960 return !(f > 3.14159 && f < 3.14160);
25965 rm -f conftest
$ac_exeext
25966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25967 (eval $ac_link) 2>&5
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25972 (eval $ac_try) 2>&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); }; }; then
25976 gdb_cv_scanf_has_long_double
=yes
25978 echo "$as_me: program exited with status $ac_status" >&5
25979 echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.
$ac_ext >&5
25982 ( exit $ac_status )
25983 gdb_cv_scanf_has_long_double
=no
25985 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25988 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
25989 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
25990 if test $gdb_cv_scanf_has_long_double = yes; then
25992 cat >>confdefs.h
<<\_ACEOF
25993 #define SCANF_HAS_LONG_DOUBLE 1
26000 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
26001 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
26002 if test "${gdb_cv_bigtoc+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26006 SAVE_LDFLAGS
=$LDFLAGS
26009 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
26010 *) gdb_cv_bigtoc
=-bbigtoc ;;
26013 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
26014 cat >conftest.
$ac_ext <<_ACEOF
26017 cat confdefs.h
>>conftest.
$ac_ext
26018 cat >>conftest.
$ac_ext <<_ACEOF
26019 /* end confdefs.h. */
26029 rm -f conftest.
$ac_objext conftest
$ac_exeext
26030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26031 (eval $ac_link) 2>conftest.er1
26033 grep -v '^ *+' conftest.er1
>conftest.err
26035 cat conftest.err
>&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); } &&
26038 { ac_try
='test -z "$ac_c_werror_flag"
26039 || test ! -s conftest.err'
26040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26041 (eval $ac_try) 2>&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); }; } &&
26045 { ac_try
='test -s conftest$ac_exeext'
26046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26047 (eval $ac_try) 2>&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); }; }; then
26053 echo "$as_me: failed program was:" >&5
26054 sed 's/^/| /' conftest.
$ac_ext >&5
26058 rm -f conftest.err conftest.
$ac_objext \
26059 conftest
$ac_exeext conftest.
$ac_ext
26060 LDFLAGS
="${SAVE_LDFLAGS}"
26063 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
26064 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
26065 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
26071 if test ${build} = ${host} -a ${host} = ${target} ; then
26074 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
26075 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
26076 if test -f /usr
/include
/dce
/cma_config.h
; then
26077 if test "$GCC" = "yes" ; then
26078 echo "$as_me:$LINENO: result: yes" >&5
26079 echo "${ECHO_T}yes" >&6
26081 cat >>confdefs.h
<<\_ACEOF
26082 #define HAVE_HPUX_THREAD_SUPPORT 1
26085 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
26086 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
26088 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
26089 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
26092 echo "$as_me:$LINENO: result: no" >&5
26093 echo "${ECHO_T}no" >&6
26097 # See if thread_db library is around for Solaris thread debugging.
26098 # Note that we must explicitly test for version 1 of the library
26099 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
26101 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
26102 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
26103 if test -f /usr
/lib
/libthread_db.so
.1 ; then
26104 echo "$as_me:$LINENO: result: yes" >&5
26105 echo "${ECHO_T}yes" >&6
26107 cat >>confdefs.h
<<\_ACEOF
26108 #define HAVE_THREAD_DB_LIB 1
26111 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
26112 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
26114 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26115 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26116 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26117 echo $ECHO_N "(cached) $ECHO_C" >&6
26119 ac_check_lib_save_LIBS
=$LIBS
26121 cat >conftest.
$ac_ext <<_ACEOF
26124 cat confdefs.h
>>conftest.
$ac_ext
26125 cat >>conftest.
$ac_ext <<_ACEOF
26126 /* end confdefs.h. */
26128 /* Override any gcc2 internal prototype to avoid an error. */
26132 /* We use char because int might match the return type of a gcc2
26133 builtin and then its argument prototype would still apply. */
26143 rm -f conftest.
$ac_objext conftest
$ac_exeext
26144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26145 (eval $ac_link) 2>conftest.er1
26147 grep -v '^ *+' conftest.er1
>conftest.err
26149 cat conftest.err
>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); } &&
26152 { ac_try
='test -z "$ac_c_werror_flag"
26153 || test ! -s conftest.err'
26154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26155 (eval $ac_try) 2>&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); }; } &&
26159 { ac_try
='test -s conftest$ac_exeext'
26160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161 (eval $ac_try) 2>&5
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); }; }; then
26165 ac_cv_lib_dl_dlopen
=yes
26167 echo "$as_me: failed program was:" >&5
26168 sed 's/^/| /' conftest.
$ac_ext >&5
26170 ac_cv_lib_dl_dlopen
=no
26172 rm -f conftest.err conftest.
$ac_objext \
26173 conftest
$ac_exeext conftest.
$ac_ext
26174 LIBS
=$ac_check_lib_save_LIBS
26176 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26177 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26178 if test $ac_cv_lib_dl_dlopen = yes; then
26179 cat >>confdefs.h
<<_ACEOF
26180 #define HAVE_LIBDL 1
26187 if test "$GCC" = "yes" ; then
26188 # The GNU linker requires the -export-dynamic option to make
26189 # all symbols visible in the dynamic symbol table.
26190 hold_ldflags
=$LDFLAGS
26191 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
26192 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
26193 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
26194 cat >conftest.
$ac_ext <<_ACEOF
26197 cat confdefs.h
>>conftest.
$ac_ext
26198 cat >>conftest.
$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26209 rm -f conftest.
$ac_objext conftest
$ac_exeext
26210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26211 (eval $ac_link) 2>conftest.er1
26213 grep -v '^ *+' conftest.er1
>conftest.err
26215 cat conftest.err
>&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); } &&
26218 { ac_try
='test -z "$ac_c_werror_flag"
26219 || test ! -s conftest.err'
26220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221 (eval $ac_try) 2>&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); }; } &&
26225 { ac_try
='test -s conftest$ac_exeext'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; }; then
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.
$ac_ext >&5
26238 rm -f conftest.err conftest.
$ac_objext \
26239 conftest
$ac_exeext conftest.
$ac_ext
26240 LDFLAGS
=$hold_ldflags
26241 echo "$as_me:$LINENO: result: $found" >&5
26242 echo "${ECHO_T}$found" >&6
26243 if test $found = yes; then
26244 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
26247 # Sun randomly tweaked the prototypes in <proc_service.h>
26249 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
26250 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
26251 if test "${gdb_cv_proc_service_is_old+set}" = set; then
26252 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 cat >conftest.
$ac_ext <<_ACEOF
26258 cat confdefs.h
>>conftest.
$ac_ext
26259 cat >>conftest.
$ac_ext <<_ACEOF
26260 /* end confdefs.h. */
26262 #include <proc_service.h>
26263 ps_err_e ps_pdwrite
26264 (struct ps_prochandle*, psaddr_t, const void*, size_t);
26274 rm -f conftest.
$ac_objext
26275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26276 (eval $ac_compile) 2>conftest.er1
26278 grep -v '^ *+' conftest.er1
>conftest.err
26280 cat conftest.err
>&5
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); } &&
26283 { ac_try
='test -z "$ac_c_werror_flag"
26284 || test ! -s conftest.err'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; } &&
26290 { ac_try
='test -s conftest.$ac_objext'
26291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292 (eval $ac_try) 2>&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); }; }; then
26296 gdb_cv_proc_service_is_old
=no
26298 echo "$as_me: failed program was:" >&5
26299 sed 's/^/| /' conftest.
$ac_ext >&5
26301 gdb_cv_proc_service_is_old
=yes
26303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26307 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
26308 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
26309 if test $gdb_cv_proc_service_is_old = yes; then
26311 cat >>confdefs.h
<<\_ACEOF
26312 #define PROC_SERVICE_IS_OLD 1
26317 echo "$as_me:$LINENO: result: no" >&5
26318 echo "${ECHO_T}no" >&6
26322 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
26323 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
26324 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
26325 echo $ECHO_N "(cached) $ECHO_C" >&6
26327 cat >conftest.
$ac_ext <<_ACEOF
26330 cat confdefs.h
>>conftest.
$ac_ext
26331 cat >>conftest.
$ac_ext <<_ACEOF
26332 /* end confdefs.h. */
26333 #include <sys/pthdebug.h>
26337 #ifndef PTHDB_VERSION_3
26344 rm -f conftest.
$ac_objext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26346 (eval $ac_compile) 2>conftest.er1
26348 grep -v '^ *+' conftest.er1
>conftest.err
26350 cat conftest.err
>&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } &&
26353 { ac_try
='test -z "$ac_c_werror_flag"
26354 || test ! -s conftest.err'
26355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26356 (eval $ac_try) 2>&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); }; } &&
26360 { ac_try
='test -s conftest.$ac_objext'
26361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26362 (eval $ac_try) 2>&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); }; }; then
26366 gdb_cv_have_aix_thread_debug
=yes
26368 echo "$as_me: failed program was:" >&5
26369 sed 's/^/| /' conftest.
$ac_ext >&5
26371 gdb_cv_have_aix_thread_debug
=no
26373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26376 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
26377 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
26378 if test $gdb_cv_have_aix_thread_debug = yes; then
26379 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
26380 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
26381 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
26388 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
26389 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
26390 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
26391 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
26392 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 cat >conftest.
$ac_ext <<_ACEOF
26397 cat confdefs.h
>>conftest.
$ac_ext
26398 cat >>conftest.
$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400 #include <thread_db.h>
26404 int i = TD_NOTALLOC;
26409 rm -f conftest.
$ac_objext
26410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26411 (eval $ac_compile) 2>conftest.er1
26413 grep -v '^ *+' conftest.er1
>conftest.err
26415 cat conftest.err
>&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); } &&
26418 { ac_try
='test -z "$ac_c_werror_flag"
26419 || test ! -s conftest.err'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; } &&
26425 { ac_try
='test -s conftest.$ac_objext'
26426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26427 (eval $ac_try) 2>&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); }; }; then
26431 gdb_cv_thread_db_h_has_td_notalloc
=yes
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.
$ac_ext >&5
26436 gdb_cv_thread_db_h_has_td_notalloc
=no
26439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26442 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
26443 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
26444 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
26445 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
26446 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 cat >conftest.
$ac_ext <<_ACEOF
26452 cat confdefs.h
>>conftest.
$ac_ext
26453 cat >>conftest.
$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 #include <thread_db.h>
26459 int i = TD_VERSION;
26464 rm -f conftest.
$ac_objext
26465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26466 (eval $ac_compile) 2>conftest.er1
26468 grep -v '^ *+' conftest.er1
>conftest.err
26470 cat conftest.err
>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } &&
26473 { ac_try
='test -z "$ac_c_werror_flag"
26474 || test ! -s conftest.err'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; } &&
26480 { ac_try
='test -s conftest.$ac_objext'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; }; then
26486 gdb_cv_thread_db_h_has_td_version
=yes
26488 echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.
$ac_ext >&5
26491 gdb_cv_thread_db_h_has_td_version
=no
26494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26497 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
26498 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
26499 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
26500 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
26501 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
26502 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 cat >conftest.
$ac_ext <<_ACEOF
26507 cat confdefs.h
>>conftest.
$ac_ext
26508 cat >>conftest.
$ac_ext <<_ACEOF
26509 /* end confdefs.h. */
26510 #include <thread_db.h>
26519 rm -f conftest.
$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521 (eval $ac_compile) 2>conftest.er1
26523 grep -v '^ *+' conftest.er1
>conftest.err
26525 cat conftest.err
>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try
='test -z "$ac_c_werror_flag"
26529 || test ! -s conftest.err'
26530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531 (eval $ac_try) 2>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); }; } &&
26535 { ac_try
='test -s conftest.$ac_objext'
26536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26537 (eval $ac_try) 2>&5
26539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); }; }; then
26541 gdb_cv_thread_db_h_has_td_notls
=yes
26543 echo "$as_me: failed program was:" >&5
26544 sed 's/^/| /' conftest.
$ac_ext >&5
26546 gdb_cv_thread_db_h_has_td_notls
=no
26549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26552 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
26553 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
26555 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
26557 cat >>confdefs.h
<<\_ACEOF
26558 #define THREAD_DB_HAS_TD_NOTALLOC 1
26562 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
26564 cat >>confdefs.h
<<\_ACEOF
26565 #define THREAD_DB_HAS_TD_VERSION 1
26569 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
26571 cat >>confdefs.h
<<\_ACEOF
26572 #define THREAD_DB_HAS_TD_NOTLS 1
26577 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
26578 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
26579 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
26580 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
26581 echo $ECHO_N "(cached) $ECHO_C" >&6
26583 cat >conftest.
$ac_ext <<_ACEOF
26586 cat confdefs.h
>>conftest.
$ac_ext
26587 cat >>conftest.
$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26589 #include <sys/syscall.h>
26593 int i = __NR_tkill;
26598 rm -f conftest.
$ac_objext
26599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26600 (eval $ac_compile) 2>conftest.er1
26602 grep -v '^ *+' conftest.er1
>conftest.err
26604 cat conftest.err
>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } &&
26607 { ac_try
='test -z "$ac_c_werror_flag"
26608 || test ! -s conftest.err'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; } &&
26614 { ac_try
='test -s conftest.$ac_objext'
26615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616 (eval $ac_try) 2>&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; }; then
26620 gdb_cv_sys_syscall_h_has_tkill
=yes
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.
$ac_ext >&5
26625 gdb_cv_sys_syscall_h_has_tkill
=no
26628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26631 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
26632 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
26634 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
26636 cat >>confdefs.h
<<\_ACEOF
26637 #define HAVE_TKILL_SYSCALL 1
26644 # Check whether --with-sysroot or --without-sysroot was given.
26645 if test "${with_sysroot+set}" = set; then
26646 withval
="$with_sysroot"
26648 case ${with_sysroot} in
26649 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
26650 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
26653 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
26655 if test "x$prefix" = xNONE
; then
26656 test_prefix
=/usr
/local
26658 test_prefix
=$prefix
26660 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
26661 test_exec_prefix
=$test_prefix
26663 test_exec_prefix
=$exec_prefix
26665 case ${TARGET_SYSTEM_ROOT} in
26666 "${test_prefix}"|
"${test_prefix}/"*|\
26667 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
26668 '${prefix}'|
'${prefix}/'*|\
26669 '${exec_prefix}'|
'${exec_prefix}/'*)
26670 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
26671 TARGET_SYSTEM_ROOT_DEFINE
="$t"
26677 TARGET_SYSTEM_ROOT
=
26678 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
26684 # Check whether --enable-werror or --disable-werror was given.
26685 if test "${enable_werror+set}" = set; then
26686 enableval
="$enable_werror"
26687 case "${enableval}" in
26688 yes | y
) ERROR_ON_WARNING
="yes" ;;
26689 no | n
) ERROR_ON_WARNING
="no" ;;
26690 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
26691 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
26692 { (exit 1); exit 1; }; } ;;
26696 # Enable -Werror by default when using gcc
26697 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
26698 ERROR_ON_WARNING
=yes
26702 if test "${ERROR_ON_WARNING}" = yes ; then
26703 WERROR_CFLAGS
="-Werror"
26706 # The entries after -Wno-pointer-sign are disabled warnings which may
26707 # be enabled in the future, which can not currently be used to build
26709 # NOTE: If you change this list, remember to update
26710 # gdb/doc/gdbint.texinfo.
26711 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
26712 -Wformat-nonliteral -Wno-pointer-sign \
26713 -Wno-unused -Wno-switch -Wno-char-subscripts"
26715 # Check whether --enable-build-warnings or --disable-build-warnings was given.
26716 if test "${enable_build_warnings+set}" = set; then
26717 enableval
="$enable_build_warnings"
26718 case "${enableval}" in
26720 no
) build_warnings
="-w";;
26721 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26722 build_warnings
="${build_warnings} ${t}";;
26723 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26724 build_warnings
="${t} ${build_warnings}";;
26725 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
26727 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
26728 echo "Setting compiler warning flags = $build_warnings" 6>&1
26730 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
26731 if test "${enable_gdb_build_warnings+set}" = set; then
26732 enableval
="$enable_gdb_build_warnings"
26733 case "${enableval}" in
26735 no
) build_warnings
="-w";;
26736 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26737 build_warnings
="${build_warnings} ${t}";;
26738 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26739 build_warnings
="${t} ${build_warnings}";;
26740 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
26742 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
26743 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
26746 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
26748 echo "$as_me:$LINENO: checking compiler warning flags" >&5
26749 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
26750 # Separate out the -Werror flag as some files just cannot be
26751 # compiled with it enabled.
26752 for w
in ${build_warnings}; do
26754 -Werr*) WERROR_CFLAGS
=-Werror ;;
26755 *) # Check that GCC accepts it
26756 saved_CFLAGS
="$CFLAGS"
26757 CFLAGS
="$CFLAGS $w"
26758 cat >conftest.
$ac_ext <<_ACEOF
26761 cat confdefs.h
>>conftest.
$ac_ext
26762 cat >>conftest.
$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26773 rm -f conftest.
$ac_objext
26774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26775 (eval $ac_compile) 2>conftest.er1
26777 grep -v '^ *+' conftest.er1
>conftest.err
26779 cat conftest.err
>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } &&
26782 { ac_try
='test -z "$ac_c_werror_flag"
26783 || test ! -s conftest.err'
26784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26785 (eval $ac_try) 2>&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); }; } &&
26789 { ac_try
='test -s conftest.$ac_objext'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; }; then
26795 WARN_CFLAGS
="${WARN_CFLAGS} $w"
26797 echo "$as_me: failed program was:" >&5
26798 sed 's/^/| /' conftest.
$ac_ext >&5
26801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26802 CFLAGS
="$saved_CFLAGS"
26805 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
26806 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
26811 # In the Cygwin environment, we need some additional flags.
26812 echo "$as_me:$LINENO: checking for cygwin" >&5
26813 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
26814 if test "${gdb_cv_os_cygwin+set}" = set; then
26815 echo $ECHO_N "(cached) $ECHO_C" >&6
26817 cat >conftest.
$ac_ext <<_ACEOF
26820 cat confdefs.h
>>conftest.
$ac_ext
26821 cat >>conftest.
$ac_ext <<_ACEOF
26822 /* end confdefs.h. */
26824 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
26828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26829 $EGREP "lose" >/dev
/null
2>&1; then
26830 gdb_cv_os_cygwin
=yes
26832 gdb_cv_os_cygwin
=no
26837 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
26838 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
26841 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
26843 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
26844 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
26845 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
26849 # libreadline needs libuser32.a in a cygwin environment
26851 if test x
$gdb_cv_os_cygwin = xyes
; then
26852 WIN32LIBS
="-luser32"
26853 case "${target}" in
26854 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
26859 # The ser-tcp.c module requires sockets.
26863 cat >>confdefs.h
<<\_ACEOF
26864 #define USE_WIN32API 1
26867 WIN32LIBS
="$WIN32LIBS -lws2_32"
26872 # Add ELF support to GDB, but only if BFD includes ELF support.
26874 OLD_LDFLAGS
=$LDFLAGS
26876 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
26877 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
26878 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
26879 LIBS
="$LIBS -lbfd -liberty $intl"
26880 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
26881 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
26882 if test "${gdb_cv_var_elf+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26885 cat >conftest.
$ac_ext <<_ACEOF
26888 cat confdefs.h
>>conftest.
$ac_ext
26889 cat >>conftest.
$ac_ext <<_ACEOF
26890 /* end confdefs.h. */
26891 #include <stdlib.h>
26893 #include "elf-bfd.h"
26898 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
26903 rm -f conftest.
$ac_objext conftest
$ac_exeext
26904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26905 (eval $ac_link) 2>conftest.er1
26907 grep -v '^ *+' conftest.er1
>conftest.err
26909 cat conftest.err
>&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); } &&
26912 { ac_try
='test -z "$ac_c_werror_flag"
26913 || test ! -s conftest.err'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; } &&
26919 { ac_try
='test -s conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.
$ac_ext >&5
26932 rm -f conftest.err conftest.
$ac_objext \
26933 conftest
$ac_exeext conftest.
$ac_ext
26935 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
26936 echo "${ECHO_T}$gdb_cv_var_elf" >&6
26937 if test $gdb_cv_var_elf = yes; then
26938 CONFIG_OBS
="$CONFIG_OBS elfread.o"
26940 cat >>confdefs.h
<<\_ACEOF
26946 LDFLAGS
=$OLD_LDFLAGS
26949 # Add any host-specific objects to GDB.
26950 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
26952 LIBGUI
="../libgui/src/libgui.a"
26953 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
26962 *-*-cygwin* |
*-*-mingw* )
26971 if test "${enable_gdbtk}" = "yes"; then
26973 # Gdbtk must have an absolute path to srcdir in order to run
26974 # properly when not installed.
26977 GDBTK_SRC_DIR
=`pwd`
26982 # Ok, lets find the tcl configuration
26983 # First, look for one uninstalled.
26984 # the alternative search directory is invoked by --with-tclconfig
26987 if test x
"${no_tcl}" = x
; then
26988 # we reset no_tcl in case something fails here
26991 # Check whether --with-tclconfig or --without-tclconfig was given.
26992 if test "${with_tclconfig+set}" = set; then
26993 withval
="$with_tclconfig"
26994 with_tclconfig
=${withval}
26996 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
26997 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
26998 if test "${ac_cv_c_tclconfig+set}" = set; then
26999 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 # First check to see if --with-tclconfig was specified.
27004 if test x
"${with_tclconfig}" != x
; then
27005 if test -f "${with_tclconfig}/tclConfig.sh" ; then
27006 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
27008 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
27009 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
27010 { (exit 1); exit 1; }; }
27014 # then check for a private Tcl installation
27015 if test x
"${ac_cv_c_tclconfig}" = x
; then
27018 `ls -dr ../tcl[7-9]* 2>/dev/null` \
27020 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
27022 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
27023 if test -f "$i/${configdir}/tclConfig.sh" ; then
27024 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
27029 # check in a few common install locations
27030 if test x
"${ac_cv_c_tclconfig}" = x
; then
27031 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
27032 if test -f "$i/tclConfig.sh" ; then
27033 ac_cv_c_tclconfig
=`(cd $i; pwd)`
27038 # check in a few other private locations
27039 if test x
"${ac_cv_c_tclconfig}" = x
; then
27042 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
27043 if test -f "$i/${configdir}/tclConfig.sh" ; then
27044 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
27052 if test x
"${ac_cv_c_tclconfig}" = x
; then
27053 TCLCONFIG
="# no Tcl configs found"
27054 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
27055 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
27058 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
27059 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
27060 echo "${ECHO_T}found $TCLCONFIG" >&6
27064 if test -z "${no_tcl}"; then
27095 # Ok, lets find the tk configuration
27096 # First, look for one uninstalled.
27097 # the alternative search directory is invoked by --with-tkconfig
27100 if test x
"${no_tk}" = x
; then
27101 # we reset no_tk in case something fails here
27104 # Check whether --with-tkconfig or --without-tkconfig was given.
27105 if test "${with_tkconfig+set}" = set; then
27106 withval
="$with_tkconfig"
27107 with_tkconfig
=${withval}
27109 echo "$as_me:$LINENO: checking for Tk configuration" >&5
27110 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
27111 if test "${ac_cv_c_tkconfig+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27116 # First check to see if --with-tkconfig was specified.
27117 if test x
"${with_tkconfig}" != x
; then
27118 if test -f "${with_tkconfig}/tkConfig.sh" ; then
27119 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
27121 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
27122 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
27123 { (exit 1); exit 1; }; }
27127 # then check for a private Tk library
27128 if test x
"${ac_cv_c_tkconfig}" = x
; then
27131 `ls -dr ../tk[4-9]* 2>/dev/null` \
27133 `ls -dr ../../tk[4-9]* 2>/dev/null` \
27135 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
27136 if test -f "$i/${configdir}/tkConfig.sh" ; then
27137 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
27142 # check in a few common install locations
27143 if test x
"${ac_cv_c_tkconfig}" = x
; then
27144 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
27145 if test -f "$i/tkConfig.sh" ; then
27146 ac_cv_c_tkconfig
=`(cd $i; pwd)`
27151 # check in a few other private locations
27152 if test x
"${ac_cv_c_tkconfig}" = x
; then
27155 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
27156 if test -f "$i/${configdir}/tkConfig.sh" ; then
27157 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
27165 if test x
"${ac_cv_c_tkconfig}" = x
; then
27166 TKCONFIG
="# no Tk configs found"
27167 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
27168 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
27171 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
27172 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
27173 echo "${ECHO_T}found $TKCONFIG" >&6
27179 # now look for Tcl library stuff
27181 tcldir
="../tcl/${configdir}/"
27183 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
27185 # If $no_tk is nonempty, then we can't do Tk, and there is no
27186 # point to doing Tcl.
27187 if test -z "${no_tk}"; then
27189 if test -f "$TKCONFIG" ; then
27207 # Ok, lets find the tcl source trees so we can use the headers
27208 # Warning: transition of version 9 to 10 will break this algorithm
27209 # because 10 sorts before 9. We also look for just tcl. We have to
27210 # be careful that we don't match stuff like tclX by accident.
27211 # the alternative search directory is involked by --with-tclinclude
27215 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
27216 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
27218 # Check whether --with-tclinclude or --without-tclinclude was given.
27219 if test "${with_tclinclude+set}" = set; then
27220 withval
="$with_tclinclude"
27221 with_tclinclude
=${withval}
27223 if test "${ac_cv_c_tclh+set}" = set; then
27224 echo $ECHO_N "(cached) $ECHO_C" >&6
27227 # first check to see if --with-tclinclude was specified
27228 if test x
"${with_tclinclude}" != x
; then
27229 if test -f ${with_tclinclude}/tclInt.h
; then
27230 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
27231 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
27232 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
27234 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
27235 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
27236 { (exit 1); exit 1; }; }
27240 # next check if it came with Tcl configuration file
27241 if test x
"${ac_cv_c_tclconfig}" = x
; then
27242 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
27243 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
27247 # next check in private source directory
27249 # since ls returns lowest version numbers first, reverse its output
27250 if test x
"${ac_cv_c_tclh}" = x
; then
27253 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
27254 ${srcdir}/..
/..
/tcl \
27255 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
27256 ${srcdir}/..
/..
/..
/tcl \
27257 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
27258 if test -f $i/generic
/tclInt.h
; then
27259 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
27264 # finally check in a few common install locations
27266 # since ls returns lowest version numbers first, reverse its output
27267 if test x
"${ac_cv_c_tclh}" = x
; then
27269 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
27270 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
27271 /usr
/local
/src
/tcl \
27272 /usr
/local
/lib
/tcl \
27273 ${prefix}/include
; do
27274 if test -f $i/generic
/tclInt.h
; then
27275 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
27280 # see if one is installed
27281 if test x
"${ac_cv_c_tclh}" = x
; then
27282 if test "${ac_cv_header_tclInt_h+set}" = set; then
27283 echo "$as_me:$LINENO: checking for tclInt.h" >&5
27284 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
27285 if test "${ac_cv_header_tclInt_h+set}" = set; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27288 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
27289 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
27291 # Is the header compilable?
27292 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
27293 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
27294 cat >conftest.
$ac_ext <<_ACEOF
27297 cat confdefs.h
>>conftest.
$ac_ext
27298 cat >>conftest.
$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27300 $ac_includes_default
27301 #include <tclInt.h>
27303 rm -f conftest.
$ac_objext
27304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27305 (eval $ac_compile) 2>conftest.er1
27307 grep -v '^ *+' conftest.er1
>conftest.err
27309 cat conftest.err
>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); } &&
27312 { ac_try
='test -z "$ac_c_werror_flag"
27313 || test ! -s conftest.err'
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; } &&
27319 { ac_try
='test -s conftest.$ac_objext'
27320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27321 (eval $ac_try) 2>&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); }; }; then
27325 ac_header_compiler
=yes
27327 echo "$as_me: failed program was:" >&5
27328 sed 's/^/| /' conftest.
$ac_ext >&5
27330 ac_header_compiler
=no
27332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27334 echo "${ECHO_T}$ac_header_compiler" >&6
27336 # Is the header present?
27337 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
27338 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
27339 cat >conftest.
$ac_ext <<_ACEOF
27342 cat confdefs.h
>>conftest.
$ac_ext
27343 cat >>conftest.
$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345 #include <tclInt.h>
27347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27350 grep -v '^ *+' conftest.er1
>conftest.err
27352 cat conftest.err
>&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } >/dev
/null
; then
27355 if test -s conftest.err
; then
27356 ac_cpp_err
=$ac_c_preproc_warn_flag
27357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27364 if test -z "$ac_cpp_err"; then
27365 ac_header_preproc
=yes
27367 echo "$as_me: failed program was:" >&5
27368 sed 's/^/| /' conftest.
$ac_ext >&5
27370 ac_header_preproc
=no
27372 rm -f conftest.err conftest.
$ac_ext
27373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27374 echo "${ECHO_T}$ac_header_preproc" >&6
27376 # So? What about this header?
27377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27379 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27380 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27381 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
27382 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
27383 ac_header_preproc
=yes
27386 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
27387 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
27388 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
27389 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
27390 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
27391 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
27392 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
27393 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27394 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
27395 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
27396 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
27397 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
27400 ## ------------------------------------------ ##
27401 ## Report this to the AC_PACKAGE_NAME lists. ##
27402 ## ------------------------------------------ ##
27405 sed "s/^/$as_me: WARNING: /" >&2
27408 echo "$as_me:$LINENO: checking for tclInt.h" >&5
27409 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
27410 if test "${ac_cv_header_tclInt_h+set}" = set; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27413 ac_cv_header_tclInt_h
=$ac_header_preproc
27415 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
27416 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
27419 if test $ac_cv_header_tclInt_h = yes; then
27420 ac_cv_c_tclh
=installed
27430 if test x
"${ac_cv_c_tclh}" = x
; then
27431 TCLHDIR
="# no Tcl private headers found"
27432 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
27433 echo "$as_me: error: Can't find Tcl private headers" >&2;}
27434 { (exit 1); exit 1; }; }
27436 if test x
"${ac_cv_c_tclh}" != x
; then
27438 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
27439 echo "$as_me:$LINENO: result: is installed" >&5
27440 echo "${ECHO_T}is installed" >&6
27443 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
27444 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
27445 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
27446 TCLHDIR
="-I${ac_cv_c_tclh}"
27454 # Ok, lets find the tk source trees so we can use the headers
27455 # If the directory (presumably symlink) named "tk" exists, use that one
27456 # in preference to any others. Same logic is used when choosing library
27457 # and again with Tcl. The search order is the best place to look first, then in
27458 # decreasing significance. The loop breaks if the trigger file is found.
27459 # Note the gross little conversion here of srcdir by cd'ing to the found
27460 # directory. This converts the path from a relative to an absolute, so
27461 # recursive cache variables for the path will work right. We check all
27462 # the possible paths in one loop rather than many seperate loops to speed
27464 # the alternative search directory is involked by --with-tkinclude
27467 echo "$as_me:$LINENO: checking for Tk private headers" >&5
27468 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
27470 # Check whether --with-tkinclude or --without-tkinclude was given.
27471 if test "${with_tkinclude+set}" = set; then
27472 withval
="$with_tkinclude"
27473 with_tkinclude
=${withval}
27475 if test "${ac_cv_c_tkh+set}" = set; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27479 # first check to see if --with-tkinclude was specified
27480 if test x
"${with_tkinclude}" != x
; then
27481 if test -f ${with_tkinclude}/tk.h
; then
27482 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
27483 elif test -f ${with_tkinclude}/generic
/tk.h
; then
27484 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
27486 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
27487 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
27488 { (exit 1); exit 1; }; }
27492 # next check if it came with Tk configuration file
27493 if test x
"${ac_cv_c_tkconfig}" = x
; then
27494 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
27495 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
27499 # next check in private source directory
27501 # since ls returns lowest version numbers first, reverse its output
27502 if test x
"${ac_cv_c_tkh}" = x
; then
27505 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
27506 ${srcdir}/..
/..
/tk \
27507 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
27508 ${srcdir}/..
/..
/..
/tk \
27509 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
27510 if test -f $i/generic
/tk.h
; then
27511 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
27516 # finally check in a few common install locations
27518 # since ls returns lowest version numbers first, reverse its output
27519 if test x
"${ac_cv_c_tkh}" = x
; then
27521 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
27522 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
27523 /usr
/local
/src
/tk \
27524 /usr
/local
/lib
/tk \
27525 ${prefix}/include
; do
27526 if test -f $i/generic
/tk.h
; then
27527 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
27532 # see if one is installed
27533 if test x
"${ac_cv_c_tkh}" = x
; then
27534 if test "${ac_cv_header_tk_h+set}" = set; then
27535 echo "$as_me:$LINENO: checking for tk.h" >&5
27536 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
27537 if test "${ac_cv_header_tk_h+set}" = set; then
27538 echo $ECHO_N "(cached) $ECHO_C" >&6
27540 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
27541 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
27543 # Is the header compilable?
27544 echo "$as_me:$LINENO: checking tk.h usability" >&5
27545 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
27546 cat >conftest.
$ac_ext <<_ACEOF
27549 cat confdefs.h
>>conftest.
$ac_ext
27550 cat >>conftest.
$ac_ext <<_ACEOF
27551 /* end confdefs.h. */
27552 $ac_includes_default
27555 rm -f conftest.
$ac_objext
27556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27557 (eval $ac_compile) 2>conftest.er1
27559 grep -v '^ *+' conftest.er1
>conftest.err
27561 cat conftest.err
>&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); } &&
27564 { ac_try
='test -z "$ac_c_werror_flag"
27565 || test ! -s conftest.err'
27566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27567 (eval $ac_try) 2>&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); }; } &&
27571 { ac_try
='test -s conftest.$ac_objext'
27572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27573 (eval $ac_try) 2>&5
27575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27576 (exit $ac_status); }; }; then
27577 ac_header_compiler
=yes
27579 echo "$as_me: failed program was:" >&5
27580 sed 's/^/| /' conftest.
$ac_ext >&5
27582 ac_header_compiler
=no
27584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27586 echo "${ECHO_T}$ac_header_compiler" >&6
27588 # Is the header present?
27589 echo "$as_me:$LINENO: checking tk.h presence" >&5
27590 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
27591 cat >conftest.
$ac_ext <<_ACEOF
27594 cat confdefs.h
>>conftest.
$ac_ext
27595 cat >>conftest.
$ac_ext <<_ACEOF
27596 /* end confdefs.h. */
27599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27600 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27602 grep -v '^ *+' conftest.er1
>conftest.err
27604 cat conftest.err
>&5
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); } >/dev
/null
; then
27607 if test -s conftest.err
; then
27608 ac_cpp_err
=$ac_c_preproc_warn_flag
27609 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27616 if test -z "$ac_cpp_err"; then
27617 ac_header_preproc
=yes
27619 echo "$as_me: failed program was:" >&5
27620 sed 's/^/| /' conftest.
$ac_ext >&5
27622 ac_header_preproc
=no
27624 rm -f conftest.err conftest.
$ac_ext
27625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27626 echo "${ECHO_T}$ac_header_preproc" >&6
27628 # So? What about this header?
27629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27631 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
27632 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27633 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
27634 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
27635 ac_header_preproc
=yes
27638 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
27639 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
27640 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
27641 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
27642 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
27643 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
27644 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
27645 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
27646 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
27647 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
27648 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
27649 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
27652 ## ------------------------------------------ ##
27653 ## Report this to the AC_PACKAGE_NAME lists. ##
27654 ## ------------------------------------------ ##
27657 sed "s/^/$as_me: WARNING: /" >&2
27660 echo "$as_me:$LINENO: checking for tk.h" >&5
27661 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
27662 if test "${ac_cv_header_tk_h+set}" = set; then
27663 echo $ECHO_N "(cached) $ECHO_C" >&6
27665 ac_cv_header_tk_h
=$ac_header_preproc
27667 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
27668 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
27671 if test $ac_cv_header_tk_h = yes; then
27672 ac_cv_c_tkh
=installed
27682 if test x
"${ac_cv_c_tkh}" != x
; then
27684 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
27685 echo "$as_me:$LINENO: result: is installed" >&5
27686 echo "${ECHO_T}is installed" >&6
27689 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
27690 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
27691 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
27692 TKHDIR
="-I${ac_cv_c_tkh}"
27695 TKHDIR
="# no Tk directory found"
27696 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
27697 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
27704 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
27705 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
27706 if test x
"${ac_cv_c_itclh}" = x
; then
27707 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
27708 if test -f $i/generic
/itcl.h
; then
27709 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
27714 if test x
"${ac_cv_c_itclh}" = x
; then
27715 ITCLHDIR
="# no Itcl private headers found"
27716 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
27717 echo "$as_me: error: Can't find Itcl private headers" >&2;}
27718 { (exit 1); exit 1; }; }
27720 if test x
"${ac_cv_c_itclh}" != x
; then
27721 ITCLHDIR
="-I${ac_cv_c_itclh}"
27723 # should always be here
27724 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
27729 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
27730 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
27731 if test x
"${ac_cv_c_itkh}" = x
; then
27732 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
27733 if test -f $i/generic
/itk.h
; then
27734 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
27739 if test x
"${ac_cv_c_itkh}" = x
; then
27740 ITKHDIR
="# no Itk private headers found"
27741 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
27742 echo "$as_me: error: Can't find Itk private headers" >&2;}
27743 { (exit 1); exit 1; }; }
27745 if test x
"${ac_cv_c_itkh}" != x
; then
27746 ITKHDIR
="-I${ac_cv_c_itkh}"
27748 # should always be here
27749 # ITKLIB="../itcl/itk/unix/libitk.a"
27755 # now look for Tk library stuff
27757 tkdir
="../tk/${configdir}/"
27759 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
27761 # now look for Itcl library stuff
27765 # Ok, lets find the itcl configuration
27766 # First, look for one uninstalled.
27767 # the alternative search directory is invoked by --with-itclconfig
27770 if test x
"${no_itcl}" = x
; then
27771 # we reset no_itcl in case something fails here
27774 # Check whether --with-itclconfig or --without-itclconfig was given.
27775 if test "${with_itclconfig+set}" = set; then
27776 withval
="$with_itclconfig"
27777 with_itclconfig
=${withval}
27779 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
27780 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
27781 if test "${ac_cv_c_itclconfig+set}" = set; then
27782 echo $ECHO_N "(cached) $ECHO_C" >&6
27786 # First check to see if --with-itclconfig was specified.
27787 if test x
"${with_itclconfig}" != x
; then
27788 if test -f "${with_itclconfig}/itclConfig.sh" ; then
27789 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
27791 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
27792 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
27793 { (exit 1); exit 1; }; }
27797 # then check for a private Itcl library
27798 if test x
"${ac_cv_c_itclconfig}" = x
; then
27801 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
27803 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
27805 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
27806 if test -f "$i/itclConfig.sh" ; then
27807 ac_cv_c_itclconfig
=`(cd $i; pwd)`
27812 # check in a few common install locations
27813 if test x
"${ac_cv_c_itclconfig}" = x
; then
27814 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
27815 if test -f "$i/itclConfig.sh" ; then
27816 ac_cv_c_itclconfig
=`(cd $i; pwd)`
27821 # check in a few other private locations
27822 if test x
"${ac_cv_c_itclconfig}" = x
; then
27824 ${srcdir}/..
/itcl
/itcl \
27825 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
27826 if test -f "$i/itclConfig.sh" ; then
27827 ac_cv_c_itclconfig
=`(cd $i; pwd)`
27835 if test x
"${ac_cv_c_itclconfig}" = x
; then
27836 ITCLCONFIG
="# no Itcl configs found"
27837 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
27838 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
27841 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
27842 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
27843 echo "${ECHO_T}found $ITCLCONFIG" >&6
27847 if test -z "${no_itcl}"; then
27849 if test -f "$ITCLCONFIG" ; then
27864 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
27865 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
27869 # now look for Itk library stuff
27872 # Ok, lets find the itk configuration
27873 # First, look for one uninstalled.
27874 # the alternative search directory is invoked by --with-itkconfig
27877 if test x
"${no_itk}" = x
; then
27878 # we reset no_itk in case something fails here
27881 # Check whether --with-itkconfig or --without-itkconfig was given.
27882 if test "${with_itkconfig+set}" = set; then
27883 withval
="$with_itkconfig"
27884 with_itkconfig
=${withval}
27886 echo "$as_me:$LINENO: checking for Itk configuration" >&5
27887 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
27888 if test "${ac_cv_c_itkconfig+set}" = set; then
27889 echo $ECHO_N "(cached) $ECHO_C" >&6
27893 # First check to see if --with-itkconfig was specified.
27894 if test x
"${with_itkconfig}" != x
; then
27895 if test -f "${with_itkconfig}/itkConfig.sh" ; then
27896 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
27898 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
27899 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
27900 { (exit 1); exit 1; }; }
27904 # then check for a private Itk library
27905 if test x
"${ac_cv_c_itkconfig}" = x
; then
27908 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
27910 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
27912 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
27913 if test -f "$i/itkConfig.sh" ; then
27914 ac_cv_c_itkconfig
=`(cd $i; pwd)`
27919 # check in a few common install locations
27920 if test x
"${ac_cv_c_itkconfig}" = x
; then
27921 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
27922 if test -f "$i/itkConfig.sh" ; then
27923 ac_cv_c_itkconfig
=`(cd $i; pwd)`
27928 # check in a few other private locations
27929 if test x
"${ac_cv_c_itkconfig}" = x
; then
27931 ${srcdir}/..
/itcl
/itk \
27932 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
27933 if test -f "$i/itkConfig.sh" ; then
27934 ac_cv_c_itkconfig
=`(cd $i; pwd)`
27942 if test x
"${ac_cv_c_itkconfig}" = x
; then
27943 ITKCONFIG
="# no Itk configs found"
27944 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
27945 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
27948 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
27949 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
27950 echo "${ECHO_T}found $ITKCONFIG" >&6
27955 if test -z "${no_itcl}"; then
27957 if test -f "$ITKCONFIG" ; then
27972 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
27973 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
27976 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
27978 # Include some libraries that Tcl and Tk want.
27979 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
27980 # Yes, the ordering seems wrong here. But it isn't.
27981 # TK_LIBS is the list of libraries that need to be linked
27982 # after Tcl/Tk. Note that this isn't put into LIBS. If it
27983 # were in LIBS then any link tests after this point would
27984 # try to include things like `$(LIBGUI)', which wouldn't work.
27985 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
27987 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
27988 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
27989 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
27990 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
27991 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
27992 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
27993 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
27995 if test x
$gdb_cv_os_cygwin = xyes
; then
27996 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
27997 WIN32LDAPP
="-Wl,--subsystem,console"
27998 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
28005 subdirs
="$subdirs gdbtk"
28022 echo "$as_me:$LINENO: checking for X" >&5
28023 echo $ECHO_N "checking for X... $ECHO_C" >&6
28026 # Check whether --with-x or --without-x was given.
28027 if test "${with_x+set}" = set; then
28031 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28032 if test "x$with_x" = xno
; then
28033 # The user explicitly disabled X.
28036 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28037 # Both variables are already set.
28040 if test "${ac_cv_have_x+set}" = set; then
28041 echo $ECHO_N "(cached) $ECHO_C" >&6
28043 # One or both of the vars are not set, and there is no cached value.
28044 ac_x_includes
=no ac_x_libraries
=no
28045 rm -fr conftest.dir
28046 if mkdir conftest.dir
; then
28048 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28049 cat >Imakefile
<<'_ACEOF'
28051 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28053 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28054 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28055 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28056 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28057 for ac_extension
in a so sl
; do
28058 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28059 test -f $ac_im_libdir/libX11.
$ac_extension; then
28060 ac_im_usrlibdir
=$ac_im_libdir; break
28063 # Screen out bogus values from the imake configuration. They are
28064 # bogus both because they are the default anyway, and because
28065 # using them would break gcc on systems where it needs fixed includes.
28066 case $ac_im_incroot in
28068 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28070 case $ac_im_usrlibdir in
28071 /usr
/lib |
/lib
) ;;
28072 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28076 rm -fr conftest.dir
28079 # Standard set of common directories for X headers.
28080 # Check X11 before X11Rn because it is often a symlink to the current release.
28092 /usr/local/X11/include
28093 /usr/local/X11R6/include
28094 /usr/local/X11R5/include
28095 /usr/local/X11R4/include
28097 /usr/local/include/X11
28098 /usr/local/include/X11R6
28099 /usr/local/include/X11R5
28100 /usr/local/include/X11R4
28104 /usr/XFree86/include/X11
28108 /usr/unsupported/include
28109 /usr/athena/include
28110 /usr/local/x11r5/include
28111 /usr/lpp/Xamples/include
28113 /usr/openwin/include
28114 /usr/openwin/share/include'
28116 if test "$ac_x_includes" = no
; then
28117 # Guess where to find include files, by looking for Intrinsic.h.
28118 # First, try using that file with no special directory specified.
28119 cat >conftest.
$ac_ext <<_ACEOF
28122 cat confdefs.h
>>conftest.
$ac_ext
28123 cat >>conftest.
$ac_ext <<_ACEOF
28124 /* end confdefs.h. */
28125 #include <X11/Intrinsic.h>
28127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28130 grep -v '^ *+' conftest.er1
>conftest.err
28132 cat conftest.err
>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } >/dev
/null
; then
28135 if test -s conftest.err
; then
28136 ac_cpp_err
=$ac_c_preproc_warn_flag
28137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28144 if test -z "$ac_cpp_err"; then
28145 # We can compile using X headers with no special include directory.
28148 echo "$as_me: failed program was:" >&5
28149 sed 's/^/| /' conftest.
$ac_ext >&5
28151 for ac_dir
in $ac_x_header_dirs; do
28152 if test -r "$ac_dir/X11/Intrinsic.h"; then
28153 ac_x_includes
=$ac_dir
28158 rm -f conftest.err conftest.
$ac_ext
28159 fi # $ac_x_includes = no
28161 if test "$ac_x_libraries" = no
; then
28162 # Check for the libraries.
28163 # See if we find them without any special options.
28164 # Don't add to $LIBS permanently.
28167 cat >conftest.
$ac_ext <<_ACEOF
28170 cat confdefs.h
>>conftest.
$ac_ext
28171 cat >>conftest.
$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173 #include <X11/Intrinsic.h>
28182 rm -f conftest.
$ac_objext conftest
$ac_exeext
28183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28184 (eval $ac_link) 2>conftest.er1
28186 grep -v '^ *+' conftest.er1
>conftest.err
28188 cat conftest.err
>&5
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); } &&
28191 { ac_try
='test -z "$ac_c_werror_flag"
28192 || test ! -s conftest.err'
28193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28194 (eval $ac_try) 2>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); }; } &&
28198 { ac_try
='test -s conftest$ac_exeext'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; }; then
28205 # We can link X programs with no special library path.
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.
$ac_ext >&5
28212 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28214 # Don't even attempt the hair of trying to link an X program!
28215 for ac_extension
in a so sl
; do
28216 if test -r $ac_dir/libXt.
$ac_extension; then
28217 ac_x_libraries
=$ac_dir
28223 rm -f conftest.err conftest.
$ac_objext \
28224 conftest
$ac_exeext conftest.
$ac_ext
28225 fi # $ac_x_libraries = no
28227 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
28228 # Didn't find X anywhere. Cache the known absence of X.
28229 ac_cv_have_x
="have_x=no"
28231 # Record where we found X for the cache.
28232 ac_cv_have_x
="have_x=yes \
28233 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28238 eval "$ac_cv_have_x"
28241 if test "$have_x" != yes; then
28242 echo "$as_me:$LINENO: result: $have_x" >&5
28243 echo "${ECHO_T}$have_x" >&6
28246 # If each of the values was on the command line, it overrides each guess.
28247 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28248 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28249 # Update the cache value to reflect the command line values.
28250 ac_cv_have_x
="have_x=yes \
28251 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28252 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28253 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28257 # Check whether we should enable the TUI, but only do so if we really
28259 if test x
"$enable_tui" = xyes
; then
28260 if test -d $srcdir/tui
; then
28261 if test "$ac_cv_search_waddstr" != no
; then
28262 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
28263 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
28264 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
28265 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
28266 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
28267 CONFIG_ALL
="${CONFIG_ALL} all-tui"
28268 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
28269 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
28270 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
28272 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
28273 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
28278 # Unlike the sim directory, whether a simulator is linked is controlled by
28279 # presence of a gdb_sim definition in the target configure.tgt entry.
28280 # This code just checks for a few cases where we'd like to ignore those
28281 # definitions, even when they're present in the '.mt' file. These cases
28282 # are when --disable-sim is specified, or if the simulator directory is
28283 # not part of the source tree.
28285 # Check whether --enable-sim or --disable-sim was given.
28286 if test "${enable_sim+set}" = set; then
28287 enableval
="$enable_sim"
28288 echo "enable_sim = $enable_sim";
28289 echo "enableval = ${enableval}";
28290 case "${enableval}" in
28291 yes) ignore_sim
=false
;;
28292 no
) ignore_sim
=true
;;
28293 *) ignore_sim
=false
;;
28299 if test ! -d "${srcdir}/../sim"; then
28305 if test "${ignore_sim}" = "false"; then
28306 if test x
"${gdb_sim}" != x
; then
28308 SIM_OBS
="remote-sim.o"
28310 cat >>confdefs.h
<<\_ACEOF
28330 # List of host floatformats.
28332 cat >>confdefs.h
<<_ACEOF
28333 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
28337 cat >>confdefs.h
<<_ACEOF
28338 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
28342 cat >>confdefs.h
<<_ACEOF
28343 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
28347 # target_subdir is used by the testsuite to find the target libraries.
28349 if test "${host}" != "${target}"; then
28350 target_subdir
="${target_alias}/"
28355 if test "${gdb_native}" = "yes"; then
28356 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
28357 if test ! -f ${host_makefile_frag}; then
28358 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
28359 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
28360 { (exit 1); exit 1; }; }
28362 frags
="$frags $host_makefile_frag"
28364 host_makefile_frag
=/dev
/null
28370 if test "${gdb_native}" = "yes"; then
28371 # We pick this up from the host configuration file (.mh) because we
28372 # do not have a native configuration Makefile fragment.
28373 nativefile
=`sed -n '
28374 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
28375 ' ${host_makefile_frag}`
28379 if test x
"${gdb_osabi}" != x
; then
28381 cat >>confdefs.h
<<_ACEOF
28382 #define GDB_OSABI_DEFAULT $gdb_osabi
28387 # Enable multi-ice-gdb-server.
28388 # Check whether --enable-multi-ice or --disable-multi-ice was given.
28389 if test "${enable_multi_ice+set}" = set; then
28390 enableval
="$enable_multi_ice"
28394 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
28395 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
28396 { (exit 1); exit 1; }; } ;;
28399 if test "x$enable_multi_ice" = xyes
; then
28402 subdirs
="$subdirs multi-ice"
28406 # We only build gdbserver automatically in a native configuration.
28407 if test "$gdb_native" = "yes"; then
28408 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
28409 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
28410 if test "x$build_gdbserver" = xyes
; then
28411 echo "$as_me:$LINENO: result: yes" >&5
28412 echo "${ECHO_T}yes" >&6
28415 subdirs
="$subdirs gdbserver"
28418 echo "$as_me:$LINENO: result: no" >&5
28419 echo "${ECHO_T}no" >&6
28423 # If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
28424 # to an empty version.
28431 if test "${nativefile}" != ""; then
28433 case "${nativefile}" in
28434 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
28435 * ) GDB_NM_FILE
="${nativefile}"
28437 files
="${files} ${GDB_NM_FILE}"
28438 links
="${links} nm.h"
28440 cat >>confdefs.h
<<_ACEOF
28441 #define GDB_NM_FILE "${GDB_NM_FILE}"
28447 ac_sources
="$files"
28449 while test -n "$ac_sources"; do
28450 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
28451 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
28452 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
28454 ac_config_links
="$ac_config_links $ac_config_links_1"
28461 cat >>confdefs.h
<<\_ACEOF
28462 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
28469 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28470 if test "${with_libiconv_prefix+set}" = set; then
28471 withval
="$with_libiconv_prefix"
28473 for dir
in `echo "$withval" | tr : ' '`; do
28474 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
28475 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
28480 echo "$as_me:$LINENO: checking for iconv" >&5
28481 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28482 if test "${am_cv_func_iconv+set}" = set; then
28483 echo $ECHO_N "(cached) $ECHO_C" >&6
28486 am_cv_func_iconv
="no, consider installing GNU libiconv"
28488 cat >conftest.
$ac_ext <<_ACEOF
28491 cat confdefs.h
>>conftest.
$ac_ext
28492 cat >>conftest.
$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494 #include <stdlib.h>
28499 iconv_t cd = iconv_open("","");
28500 iconv(cd,NULL,NULL,NULL,NULL);
28506 rm -f conftest.
$ac_objext conftest
$ac_exeext
28507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28508 (eval $ac_link) 2>conftest.er1
28510 grep -v '^ *+' conftest.er1
>conftest.err
28512 cat conftest.err
>&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); } &&
28515 { ac_try
='test -z "$ac_c_werror_flag"
28516 || test ! -s conftest.err'
28517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28518 (eval $ac_try) 2>&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); }; } &&
28522 { ac_try
='test -s conftest$ac_exeext'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; }; then
28528 am_cv_func_iconv
=yes
28530 echo "$as_me: failed program was:" >&5
28531 sed 's/^/| /' conftest.
$ac_ext >&5
28534 rm -f conftest.err conftest.
$ac_objext \
28535 conftest
$ac_exeext conftest.
$ac_ext
28536 if test "$am_cv_func_iconv" != yes; then
28537 am_save_LIBS
="$LIBS"
28538 LIBS
="$LIBS -liconv"
28539 cat >conftest.
$ac_ext <<_ACEOF
28542 cat confdefs.h
>>conftest.
$ac_ext
28543 cat >>conftest.
$ac_ext <<_ACEOF
28544 /* end confdefs.h. */
28545 #include <stdlib.h>
28550 iconv_t cd = iconv_open("","");
28551 iconv(cd,NULL,NULL,NULL,NULL);
28557 rm -f conftest.
$ac_objext conftest
$ac_exeext
28558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28559 (eval $ac_link) 2>conftest.er1
28561 grep -v '^ *+' conftest.er1
>conftest.err
28563 cat conftest.err
>&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); } &&
28566 { ac_try
='test -z "$ac_c_werror_flag"
28567 || test ! -s conftest.err'
28568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28569 (eval $ac_try) 2>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); }; } &&
28573 { ac_try
='test -s conftest$ac_exeext'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; }; then
28579 am_cv_lib_iconv
=yes
28580 am_cv_func_iconv
=yes
28582 echo "$as_me: failed program was:" >&5
28583 sed 's/^/| /' conftest.
$ac_ext >&5
28586 rm -f conftest.err conftest.
$ac_objext \
28587 conftest
$ac_exeext conftest.
$ac_ext
28588 LIBS
="$am_save_LIBS"
28592 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28593 echo "${ECHO_T}$am_cv_func_iconv" >&6
28594 if test "$am_cv_func_iconv" = yes; then
28596 cat >>confdefs.h
<<\_ACEOF
28597 #define HAVE_ICONV 1
28600 echo "$as_me:$LINENO: checking for iconv declaration" >&5
28601 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
28602 if test "${am_cv_proto_iconv+set}" = set; then
28603 echo $ECHO_N "(cached) $ECHO_C" >&6
28606 cat >conftest.
$ac_ext <<_ACEOF
28609 cat confdefs.h
>>conftest.
$ac_ext
28610 cat >>conftest.
$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28613 #include <stdlib.h>
28619 #if defined(__STDC__) || defined(__cplusplus)
28620 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28633 rm -f conftest.
$ac_objext
28634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28635 (eval $ac_compile) 2>conftest.er1
28637 grep -v '^ *+' conftest.er1
>conftest.err
28639 cat conftest.err
>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); } &&
28642 { ac_try
='test -z "$ac_c_werror_flag"
28643 || test ! -s conftest.err'
28644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28645 (eval $ac_try) 2>&5
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); }; } &&
28649 { ac_try
='test -s conftest.$ac_objext'
28650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28651 (eval $ac_try) 2>&5
28653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28654 (exit $ac_status); }; }; then
28655 am_cv_proto_iconv_arg1
=""
28657 echo "$as_me: failed program was:" >&5
28658 sed 's/^/| /' conftest.
$ac_ext >&5
28660 am_cv_proto_iconv_arg1
="const"
28662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28663 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);"
28666 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28667 echo "$as_me:$LINENO: result: ${ac_t:-
28668 }$am_cv_proto_iconv" >&5
28669 echo "${ECHO_T}${ac_t:-
28670 }$am_cv_proto_iconv" >&6
28672 cat >>confdefs.h
<<_ACEOF
28673 #define ICONV_CONST $am_cv_proto_iconv_arg1
28678 if test "$am_cv_lib_iconv" = yes; then
28684 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in gnulib/Makefile"
28685 ac_config_commands
="$ac_config_commands default"
28686 cat >confcache
<<\_ACEOF
28687 # This file is a shell script that caches the results of configure
28688 # tests run on this system so they can be shared between configure
28689 # scripts and configure runs, see configure's option --config-cache.
28690 # It is not useful on other systems. If it contains results you don't
28691 # want to keep, you may remove or edit it.
28693 # config.status only pays attention to the cache file if you give it
28694 # the --recheck option to rerun configure.
28696 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28697 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28698 # following values.
28702 # The following way of writing the cache mishandles newlines in values,
28703 # but we know of no workaround that is simple, portable, and efficient.
28704 # So, don't put newlines in cache variables' values.
28705 # Ultrix sh set writes to stderr and can't be redirected directly,
28706 # and sets the high bit in the cache file unless we assign to the vars.
28709 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28711 # `set' does not quote correctly, so add quotes (double-quote
28712 # substitution turns \\\\ into \\, and sed turns \\ into \).
28715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28718 # `set' quotes correctly as required by POSIX, so do not add quotes.
28720 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28729 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28731 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28732 if test -w $cache_file; then
28733 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28734 cat confcache
>$cache_file
28736 echo "not updating unwritable cache $cache_file"
28741 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
28742 # Let make expand exec_prefix.
28743 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
28745 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28746 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28747 # trailing colons and then remove the whole line if VPATH becomes empty
28748 # (actually we leave an empty line to preserve line numbers).
28749 if test "x$srcdir" = x.
; then
28750 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
28751 s/:*\$(srcdir):*/:/;
28752 s/:*\${srcdir}:*/:/;
28754 s/^\([^=]*=[ ]*\):*/\1/;
28760 DEFS
=-DHAVE_CONFIG_H
28764 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
28765 # 1. Remove the extension, and $U if already installed.
28766 ac_i
=`echo "$ac_i" |
28767 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28769 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
28770 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
28772 LIBOBJS
=$ac_libobjs
28774 LTLIBOBJS
=$ac_ltlibobjs
28777 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28778 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28779 Usually this means the macro was only invoked conditionally." >&5
28780 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28781 Usually this means the macro was only invoked conditionally." >&2;}
28782 { (exit 1); exit 1; }; }
28784 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
28785 { { echo "$as_me:$LINENO: error: conditional \"GL_COND_LIBTOOL\" was never defined.
28786 Usually this means the macro was only invoked conditionally." >&5
28787 echo "$as_me: error: conditional \"GL_COND_LIBTOOL\" was never defined.
28788 Usually this means the macro was only invoked conditionally." >&2;}
28789 { (exit 1); exit 1; }; }
28794 if test -n "$gl_LIBOBJS"; then
28795 # Remove the extension.
28796 sed_drop_objext
='s/\.o$//;s/\.obj$//'
28797 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
28798 gl_libobjs
="$gl_libobjs $i.$ac_objext"
28799 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
28802 gl_LIBOBJS
=$gl_libobjs
28804 gl_LTLIBOBJS
=$gl_ltlibobjs
28810 if test -n "$gltests_LIBOBJS"; then
28811 # Remove the extension.
28812 sed_drop_objext
='s/\.o$//;s/\.obj$//'
28813 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
28814 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
28815 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
28818 gltests_LIBOBJS
=$gltests_libobjs
28820 gltests_LTLIBOBJS
=$gltests_ltlibobjs
28823 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28824 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28825 Usually this means the macro was only invoked conditionally." >&5
28826 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28827 Usually this means the macro was only invoked conditionally." >&2;}
28828 { (exit 1); exit 1; }; }
28830 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28831 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28832 Usually this means the macro was only invoked conditionally." >&5
28833 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28834 Usually this means the macro was only invoked conditionally." >&2;}
28835 { (exit 1); exit 1; }; }
28838 : ${CONFIG_STATUS=./config.status}
28839 ac_clean_files_save
=$ac_clean_files
28840 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28841 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28842 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28843 cat >$CONFIG_STATUS <<_ACEOF
28845 # Generated by $as_me.
28846 # Run this file to recreate the current configuration.
28847 # Compiler output produced by configure, useful for debugging
28848 # configure, is in config.log if it exists.
28851 ac_cs_recheck=false
28853 SHELL=\${CONFIG_SHELL-$SHELL}
28856 cat >>$CONFIG_STATUS <<\_ACEOF
28857 ## --------------------- ##
28858 ## M4sh Initialization. ##
28859 ## --------------------- ##
28861 # Be Bourne compatible
28862 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28865 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28866 # is contrary to our usage. Disable this feature.
28867 alias -g '${1+"$@"}'='"$@"'
28868 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28871 DUALCASE
=1; export DUALCASE
# for MKS sh
28873 # Support unset when possible.
28874 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28881 # Work around bugs in pre-3.0 UWIN ksh.
28882 $as_unset ENV MAIL MAILPATH
28889 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28890 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28891 LC_TELEPHONE LC_TIME
28893 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28894 eval $as_var=C
; export $as_var
28900 # Required to use basename.
28901 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28907 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28908 as_basename
=basename
28914 # Name of the executable.
28915 as_me
=`$as_basename "$0" ||
28916 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28917 X"$0" : 'X\(//\)$' \| \
28918 X"$0" : 'X\(/\)$' \| \
28919 . : '\(.\)' 2>/dev/null ||
28921 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28922 /^X\/\(\/\/\)$/{ s//\1/; q; }
28923 /^X\/\(\/\).*/{ s//\1/; q; }
28927 # PATH needs CR, and LINENO needs CR and PATH.
28928 # Avoid depending upon Character Ranges.
28929 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28930 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28931 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28932 as_cr_digits
='0123456789'
28933 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28935 # The user is always right.
28936 if test "${PATH_SEPARATOR+set}" != set; then
28937 echo "#! /bin/sh" >conf$$.sh
28938 echo "exit 0" >>conf$$.sh
28940 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28949 as_lineno_1
=$LINENO
28950 as_lineno_2
=$LINENO
28951 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28952 test "x$as_lineno_1" != "x$as_lineno_2" &&
28953 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28954 # Find who we are. Look in the path if we contain no path at all
28957 *[\\/]* ) as_myself
=$0 ;;
28958 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28959 for as_dir
in $PATH
28962 test -z "$as_dir" && as_dir
=.
28963 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28968 # We did not find ourselves, most probably we were run as `sh COMMAND'
28969 # in which case we are not to be found in the path.
28970 if test "x$as_myself" = x
; then
28973 if test ! -f "$as_myself"; then
28974 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28975 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28976 { (exit 1); exit 1; }; }
28978 case $CONFIG_SHELL in
28980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28981 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28984 test -z "$as_dir" && as_dir
=.
28985 for as_base
in sh bash ksh sh5
; do
28988 if ("$as_dir/$as_base" -c '
28989 as_lineno_1=$LINENO
28990 as_lineno_2=$LINENO
28991 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28992 test "x$as_lineno_1" != "x$as_lineno_2" &&
28993 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28994 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28995 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28996 CONFIG_SHELL
=$as_dir/$as_base
28997 export CONFIG_SHELL
28998 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
29006 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29007 # uniformly replaced by the line number. The first 'sed' inserts a
29008 # line-number line before each line; the second 'sed' does the real
29009 # work. The second script uses 'N' to pair each line-number line
29010 # with the numbered line, and appends trailing '-' during
29011 # substitution so that $LINENO is not a special case at line end.
29012 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29013 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
29014 sed '=' <$as_myself |
29019 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
29022 s,^['$as_cr_digits']*\n,,
29023 ' >$as_me.lineno
&&
29024 chmod +x
$as_me.lineno ||
29025 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
29026 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
29027 { (exit 1); exit 1; }; }
29029 # Don't try to exec as it changes $[0], causing all sort of problems
29030 # (the dirname of $[0] is not the place where we might find the
29031 # original and so on. Autoconf is especially sensible to this).
29033 # Exit status is that of the last command.
29038 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
29039 *c
*,-n*) ECHO_N
= ECHO_C
='
29041 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
29042 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
29045 if expr a
: '\(a\)' >/dev
/null
2>&1; then
29051 rm -f conf$$ conf$$.exe conf$$.
file
29053 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
29054 # We could just check for DJGPP; but this test a) works b) is more generic
29055 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
29056 if test -f conf$$.exe
; then
29057 # Don't use ln at all; we don't have any links
29062 elif ln conf$$.
file conf$$
2>/dev
/null
; then
29067 rm -f conf$$ conf$$.exe conf$$.
file
29069 if mkdir
-p .
2>/dev
/null
; then
29072 test -d .
/-p && rmdir .
/-p
29076 as_executable_p
="test -f"
29078 # Sed expression to map a string onto a valid CPP name.
29079 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29081 # Sed expression to map a string onto a valid variable name.
29082 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29086 # We need space, tab and new line, in precisely that order.
29096 # Open the log real soon, to keep \$[0] and so on meaningful, and to
29097 # report actual input values of CONFIG_FILES etc. instead of their
29098 # values after options handling. Logging --version etc. is OK.
29102 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29103 ## Running $as_me. ##
29108 This file was extended by $as_me, which was
29109 generated by GNU Autoconf 2.59. Invocation command line was
29111 CONFIG_FILES = $CONFIG_FILES
29112 CONFIG_HEADERS = $CONFIG_HEADERS
29113 CONFIG_LINKS = $CONFIG_LINKS
29114 CONFIG_COMMANDS = $CONFIG_COMMANDS
29118 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
29122 # Files that config.status was made for.
29123 if test -n "$ac_config_files"; then
29124 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
29127 if test -n "$ac_config_headers"; then
29128 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
29131 if test -n "$ac_config_links"; then
29132 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
29135 if test -n "$ac_config_commands"; then
29136 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
29139 cat >>$CONFIG_STATUS <<\_ACEOF
29142 \`$as_me' instantiates files from templates according to the
29143 current configuration.
29145 Usage: $0 [OPTIONS] [FILE]...
29147 -h, --help print this help, then exit
29148 -V, --version print version number, then exit
29149 -q, --quiet do not print progress messages
29150 -d, --debug don't remove temporary files
29151 --recheck update $as_me by reconfiguring in the same conditions
29152 --file=FILE[:TEMPLATE]
29153 instantiate the configuration file FILE
29154 --header=FILE[:TEMPLATE]
29155 instantiate the configuration header FILE
29157 Configuration files:
29160 Configuration headers:
29163 Configuration links:
29166 Configuration commands:
29169 Report bugs to <bug-autoconf@gnu.org>."
29172 cat >>$CONFIG_STATUS <<_ACEOF
29175 configured by $0, generated by GNU Autoconf 2.59,
29176 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29178 Copyright (C) 2003 Free Software Foundation, Inc.
29179 This config.status script is free software; the Free Software Foundation
29180 gives unlimited permission to copy, distribute and modify it."
29185 cat >>$CONFIG_STATUS <<\_ACEOF
29186 # If no file are specified by the user, then we need to provide default
29187 # value. By we need to know if files were specified by the user.
29193 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
29194 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
29202 *) # This is not an option, so the user has probably given explicit
29205 ac_need_defaults
=false
;;
29209 # Handling of the options.
29211 cat >>$CONFIG_STATUS <<\_ACEOF
29212 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
29214 --version |
--vers* |
-V )
29215 echo "$ac_cs_version"; exit 0 ;;
29217 # Conflict between --help and --header
29218 { { echo "$as_me:$LINENO: error: ambiguous option: $1
29219 Try \`$0 --help' for more information." >&5
29220 echo "$as_me: error: ambiguous option: $1
29221 Try \`$0 --help' for more information." >&2;}
29222 { (exit 1); exit 1; }; };;
29223 --help |
--hel |
-h )
29224 echo "$ac_cs_usage"; exit 0 ;;
29225 --debug |
--d* |
-d )
29227 --file |
--fil |
--fi |
--f )
29229 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
29230 ac_need_defaults
=false
;;
29231 --header |
--heade |
--head |
--hea )
29233 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
29234 ac_need_defaults
=false
;;
29235 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
29236 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
29239 # This is an error.
29240 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29241 Try \`$0 --help' for more information." >&5
29242 echo "$as_me: error: unrecognized option: $1
29243 Try \`$0 --help' for more information." >&2;}
29244 { (exit 1); exit 1; }; } ;;
29246 *) ac_config_targets
="$ac_config_targets $1" ;;
29252 ac_configure_extra_args
=
29254 if $ac_cs_silent; then
29256 ac_configure_extra_args
="$ac_configure_extra_args --silent"
29260 cat >>$CONFIG_STATUS <<_ACEOF
29261 if \$ac_cs_recheck; then
29262 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29263 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29268 cat >>$CONFIG_STATUS <<_ACEOF
29270 # INIT-COMMANDS section.
29273 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29277 acx_cv_header_stdint="$acx_cv_header_stdint"
29278 acx_cv_type_int8_t="$acx_cv_type_int8_t"
29279 acx_cv_type_int16_t="$acx_cv_type_int16_t"
29280 acx_cv_type_int32_t="$acx_cv_type_int32_t"
29281 acx_cv_type_int64_t="$acx_cv_type_int64_t"
29282 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
29283 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
29284 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
29285 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
29286 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
29287 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
29288 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
29289 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
29290 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
29293 gdb_host_cpu=$gdb_host_cpu
29294 nativefile=$nativefile
29301 cat >>$CONFIG_STATUS <<\_ACEOF
29302 for ac_config_target
in $ac_config_targets
29304 case "$ac_config_target" in
29305 # Handling of arguments.
29306 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29307 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
29308 "gnulib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gnulib/Makefile" ;;
29309 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
29310 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29311 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
29312 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
29313 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
29314 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29315 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29316 { (exit 1); exit 1; }; };;
29320 # If the user did not use the arguments to specify the items to instantiate,
29321 # then the envvar interface is used. Set only those that are not.
29322 # We use the long form for the default assignment because of an extremely
29323 # bizarre bug on SunOS 4.1.3.
29324 if $ac_need_defaults; then
29325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29326 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29327 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29328 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29331 # Have a temporary directory for convenience. Make it in the build tree
29332 # simply because there is no reason to put it here, and in addition,
29333 # creating and moving files from /tmp can sometimes cause problems.
29334 # Create a temporary directory, and hook for its removal unless debugging.
29337 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29338 trap '{ (exit 1); exit 1; }' 1 2 13 15
29341 # Create a (secure) tmp directory for tmp files.
29344 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29345 test -n "$tmp" && test -d "$tmp"
29348 tmp
=.
/confstat$$
-$RANDOM
29349 (umask 077 && mkdir
$tmp)
29352 echo "$me: cannot create a temporary directory in ." >&2
29353 { (exit 1); exit 1; }
29358 cat >>$CONFIG_STATUS <<_ACEOF
29361 # CONFIG_FILES section.
29364 # No need to generate the scripts if there are no CONFIG_FILES.
29365 # This happens for instance when ./config.status config.h
29366 if test -n "\$CONFIG_FILES"; then
29367 # Protect against being on the right side of a sed subst in config.status.
29368 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29369 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29370 s,@SHELL@,$SHELL,;t t
29371 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29372 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29373 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29374 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29375 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29376 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29377 s,@exec_prefix@,$exec_prefix,;t t
29378 s,@prefix@,$prefix,;t t
29379 s,@program_transform_name@,$program_transform_name,;t t
29380 s,@bindir@,$bindir,;t t
29381 s,@sbindir@,$sbindir,;t t
29382 s,@libexecdir@,$libexecdir,;t t
29383 s,@datadir@,$datadir,;t t
29384 s,@sysconfdir@,$sysconfdir,;t t
29385 s,@sharedstatedir@,$sharedstatedir,;t t
29386 s,@localstatedir@,$localstatedir,;t t
29387 s,@libdir@,$libdir,;t t
29388 s,@includedir@,$includedir,;t t
29389 s,@oldincludedir@,$oldincludedir,;t t
29390 s,@infodir@,$infodir,;t t
29391 s,@mandir@,$mandir,;t t
29392 s,@build_alias@,$build_alias,;t t
29393 s,@host_alias@,$host_alias,;t t
29394 s,@target_alias@,$target_alias,;t t
29395 s,@DEFS@,$DEFS,;t t
29396 s,@ECHO_C@,$ECHO_C,;t t
29397 s,@ECHO_N@,$ECHO_N,;t t
29398 s,@ECHO_T@,$ECHO_T,;t t
29399 s,@LIBS@,$LIBS,;t t
29400 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29401 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29402 s,@MAINT@,$MAINT,;t t
29404 s,@CFLAGS@,$CFLAGS,;t t
29405 s,@LDFLAGS@,$LDFLAGS,;t t
29406 s,@CPPFLAGS@,$CPPFLAGS,;t t
29407 s,@ac_ct_CC@,$ac_ct_CC,;t t
29408 s,@EXEEXT@,$EXEEXT,;t t
29409 s,@OBJEXT@,$OBJEXT,;t t
29411 s,@EGREP@,$EGREP,;t t
29412 s,@RANLIB@,$RANLIB,;t t
29413 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29414 s,@build@,$build,;t t
29415 s,@build_cpu@,$build_cpu,;t t
29416 s,@build_vendor@,$build_vendor,;t t
29417 s,@build_os@,$build_os,;t t
29418 s,@host@,$host,;t t
29419 s,@host_cpu@,$host_cpu,;t t
29420 s,@host_vendor@,$host_vendor,;t t
29421 s,@host_os@,$host_os,;t t
29422 s,@target@,$target,;t t
29423 s,@target_cpu@,$target_cpu,;t t
29424 s,@target_vendor@,$target_vendor,;t t
29425 s,@target_os@,$target_os,;t t
29426 s,@USE_NLS@,$USE_NLS,;t t
29427 s,@LIBINTL@,$LIBINTL,;t t
29428 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
29429 s,@INCINTL@,$INCINTL,;t t
29430 s,@XGETTEXT@,$XGETTEXT,;t t
29431 s,@GMSGFMT@,$GMSGFMT,;t t
29432 s,@POSUB@,$POSUB,;t t
29433 s,@CATALOGS@,$CATALOGS,;t t
29434 s,@DATADIRNAME@,$DATADIRNAME,;t t
29435 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
29436 s,@GENCAT@,$GENCAT,;t t
29437 s,@CATOBJEXT@,$CATOBJEXT,;t t
29438 s,@localedir@,$localedir,;t t
29439 s,@GL_COND_LIBTOOL_TRUE@,$GL_COND_LIBTOOL_TRUE,;t t
29440 s,@GL_COND_LIBTOOL_FALSE@,$GL_COND_LIBTOOL_FALSE,;t t
29441 s,@GNULIB_MEMMEM@,$GNULIB_MEMMEM,;t t
29442 s,@GNULIB_MEMPCPY@,$GNULIB_MEMPCPY,;t t
29443 s,@GNULIB_MEMRCHR@,$GNULIB_MEMRCHR,;t t
29444 s,@GNULIB_STPCPY@,$GNULIB_STPCPY,;t t
29445 s,@GNULIB_STPNCPY@,$GNULIB_STPNCPY,;t t
29446 s,@GNULIB_STRCHRNUL@,$GNULIB_STRCHRNUL,;t t
29447 s,@GNULIB_STRDUP@,$GNULIB_STRDUP,;t t
29448 s,@GNULIB_STRNDUP@,$GNULIB_STRNDUP,;t t
29449 s,@GNULIB_STRNLEN@,$GNULIB_STRNLEN,;t t
29450 s,@GNULIB_STRPBRK@,$GNULIB_STRPBRK,;t t
29451 s,@GNULIB_STRSEP@,$GNULIB_STRSEP,;t t
29452 s,@GNULIB_STRSTR@,$GNULIB_STRSTR,;t t
29453 s,@GNULIB_STRCASESTR@,$GNULIB_STRCASESTR,;t t
29454 s,@GNULIB_STRTOK_R@,$GNULIB_STRTOK_R,;t t
29455 s,@GNULIB_MBSLEN@,$GNULIB_MBSLEN,;t t
29456 s,@GNULIB_MBSNLEN@,$GNULIB_MBSNLEN,;t t
29457 s,@GNULIB_MBSCHR@,$GNULIB_MBSCHR,;t t
29458 s,@GNULIB_MBSRCHR@,$GNULIB_MBSRCHR,;t t
29459 s,@GNULIB_MBSSTR@,$GNULIB_MBSSTR,;t t
29460 s,@GNULIB_MBSCASECMP@,$GNULIB_MBSCASECMP,;t t
29461 s,@GNULIB_MBSNCASECMP@,$GNULIB_MBSNCASECMP,;t t
29462 s,@GNULIB_MBSPCASECMP@,$GNULIB_MBSPCASECMP,;t t
29463 s,@GNULIB_MBSCASESTR@,$GNULIB_MBSCASESTR,;t t
29464 s,@GNULIB_MBSCSPN@,$GNULIB_MBSCSPN,;t t
29465 s,@GNULIB_MBSPBRK@,$GNULIB_MBSPBRK,;t t
29466 s,@GNULIB_MBSSPN@,$GNULIB_MBSSPN,;t t
29467 s,@GNULIB_MBSSEP@,$GNULIB_MBSSEP,;t t
29468 s,@GNULIB_MBSTOK_R@,$GNULIB_MBSTOK_R,;t t
29469 s,@GNULIB_STRERROR@,$GNULIB_STRERROR,;t t
29470 s,@GNULIB_STRSIGNAL@,$GNULIB_STRSIGNAL,;t t
29471 s,@HAVE_DECL_MEMMEM@,$HAVE_DECL_MEMMEM,;t t
29472 s,@HAVE_MEMPCPY@,$HAVE_MEMPCPY,;t t
29473 s,@HAVE_DECL_MEMRCHR@,$HAVE_DECL_MEMRCHR,;t t
29474 s,@HAVE_STPCPY@,$HAVE_STPCPY,;t t
29475 s,@HAVE_STPNCPY@,$HAVE_STPNCPY,;t t
29476 s,@HAVE_STRCHRNUL@,$HAVE_STRCHRNUL,;t t
29477 s,@HAVE_DECL_STRDUP@,$HAVE_DECL_STRDUP,;t t
29478 s,@HAVE_STRNDUP@,$HAVE_STRNDUP,;t t
29479 s,@HAVE_DECL_STRNDUP@,$HAVE_DECL_STRNDUP,;t t
29480 s,@HAVE_DECL_STRNLEN@,$HAVE_DECL_STRNLEN,;t t
29481 s,@HAVE_STRPBRK@,$HAVE_STRPBRK,;t t
29482 s,@HAVE_STRSEP@,$HAVE_STRSEP,;t t
29483 s,@HAVE_STRCASESTR@,$HAVE_STRCASESTR,;t t
29484 s,@HAVE_DECL_STRTOK_R@,$HAVE_DECL_STRTOK_R,;t t
29485 s,@HAVE_DECL_STRERROR@,$HAVE_DECL_STRERROR,;t t
29486 s,@HAVE_DECL_STRSIGNAL@,$HAVE_DECL_STRSIGNAL,;t t
29487 s,@REPLACE_STRERROR@,$REPLACE_STRERROR,;t t
29488 s,@REPLACE_STRSIGNAL@,$REPLACE_STRSIGNAL,;t t
29489 s,@REPLACE_MEMMEM@,$REPLACE_MEMMEM,;t t
29490 s,@REPLACE_STRCASESTR@,$REPLACE_STRCASESTR,;t t
29491 s,@REPLACE_STRSTR@,$REPLACE_STRSTR,;t t
29492 s,@HAVE_LONG_LONG_INT@,$HAVE_LONG_LONG_INT,;t t
29493 s,@HAVE_UNSIGNED_LONG_LONG_INT@,$HAVE_UNSIGNED_LONG_LONG_INT,;t t
29494 s,@HAVE_INTTYPES_H@,$HAVE_INTTYPES_H,;t t
29495 s,@HAVE_SYS_TYPES_H@,$HAVE_SYS_TYPES_H,;t t
29496 s,@INCLUDE_NEXT@,$INCLUDE_NEXT,;t t
29497 s,@NEXT_STDINT_H@,$NEXT_STDINT_H,;t t
29498 s,@HAVE_STDINT_H@,$HAVE_STDINT_H,;t t
29499 s,@HAVE_SYS_INTTYPES_H@,$HAVE_SYS_INTTYPES_H,;t t
29500 s,@HAVE_SYS_BITYPES_H@,$HAVE_SYS_BITYPES_H,;t t
29501 s,@BITSIZEOF_PTRDIFF_T@,$BITSIZEOF_PTRDIFF_T,;t t
29502 s,@BITSIZEOF_SIG_ATOMIC_T@,$BITSIZEOF_SIG_ATOMIC_T,;t t
29503 s,@BITSIZEOF_SIZE_T@,$BITSIZEOF_SIZE_T,;t t
29504 s,@BITSIZEOF_WCHAR_T@,$BITSIZEOF_WCHAR_T,;t t
29505 s,@BITSIZEOF_WINT_T@,$BITSIZEOF_WINT_T,;t t
29506 s,@HAVE_SIGNED_SIG_ATOMIC_T@,$HAVE_SIGNED_SIG_ATOMIC_T,;t t
29507 s,@HAVE_SIGNED_WCHAR_T@,$HAVE_SIGNED_WCHAR_T,;t t
29508 s,@HAVE_SIGNED_WINT_T@,$HAVE_SIGNED_WINT_T,;t t
29509 s,@PTRDIFF_T_SUFFIX@,$PTRDIFF_T_SUFFIX,;t t
29510 s,@SIG_ATOMIC_T_SUFFIX@,$SIG_ATOMIC_T_SUFFIX,;t t
29511 s,@SIZE_T_SUFFIX@,$SIZE_T_SUFFIX,;t t
29512 s,@WCHAR_T_SUFFIX@,$WCHAR_T_SUFFIX,;t t
29513 s,@WINT_T_SUFFIX@,$WINT_T_SUFFIX,;t t
29514 s,@STDINT_H@,$STDINT_H,;t t
29515 s,@NEXT_STRING_H@,$NEXT_STRING_H,;t t
29516 s,@GNULIB_WCWIDTH@,$GNULIB_WCWIDTH,;t t
29517 s,@HAVE_DECL_WCWIDTH@,$HAVE_DECL_WCWIDTH,;t t
29518 s,@REPLACE_WCWIDTH@,$REPLACE_WCWIDTH,;t t
29519 s,@WCHAR_H@,$WCHAR_H,;t t
29520 s,@HAVE_WCHAR_H@,$HAVE_WCHAR_H,;t t
29521 s,@NEXT_WCHAR_H@,$NEXT_WCHAR_H,;t t
29522 s,@LIBGNU_LIBDEPS@,$LIBGNU_LIBDEPS,;t t
29523 s,@LIBGNU_LTLIBDEPS@,$LIBGNU_LTLIBDEPS,;t t
29524 s,@PACKAGE@,$PACKAGE,;t t
29525 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29526 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29527 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29528 s,@CYGPATH_W@,$CYGPATH_W,;t t
29529 s,@VERSION@,$VERSION,;t t
29530 s,@ACLOCAL@,$ACLOCAL,;t t
29531 s,@AUTOCONF@,$AUTOCONF,;t t
29532 s,@AUTOMAKE@,$AUTOMAKE,;t t
29533 s,@AUTOHEADER@,$AUTOHEADER,;t t
29534 s,@MAKEINFO@,$MAKEINFO,;t t
29535 s,@install_sh@,$install_sh,;t t
29536 s,@STRIP@,$STRIP,;t t
29537 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29538 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29539 s,@mkdir_p@,$mkdir_p,;t t
29541 s,@SET_MAKE@,$SET_MAKE,;t t
29542 s,@am__leading_dot@,$am__leading_dot,;t t
29543 s,@AMTAR@,$AMTAR,;t t
29544 s,@am__tar@,$am__tar,;t t
29545 s,@am__untar@,$am__untar,;t t
29546 s,@DEPDIR@,$DEPDIR,;t t
29547 s,@am__include@,$am__include,;t t
29548 s,@am__quote@,$am__quote,;t t
29549 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29550 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29551 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29552 s,@CCDEPMODE@,$CCDEPMODE,;t t
29553 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29554 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29555 s,@subdirs@,$subdirs,;t t
29556 s,@TARGET_OBS@,$TARGET_OBS,;t t
29557 s,@LN_S@,$LN_S,;t t
29558 s,@YACC@,$YACC,;t t
29560 s,@ac_ct_AR@,$ac_ct_AR,;t t
29561 s,@DLLTOOL@,$DLLTOOL,;t t
29562 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
29563 s,@WINDRES@,$WINDRES,;t t
29564 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
29566 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
29567 s,@READLINE@,$READLINE,;t t
29568 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
29569 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
29570 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
29571 s,@LIBEXPAT@,$LIBEXPAT,;t t
29572 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
29573 s,@ALLOCA@,$ALLOCA,;t t
29574 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
29575 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
29576 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
29577 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
29578 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
29579 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
29580 s,@WIN32LIBS@,$WIN32LIBS,;t t
29581 s,@LIBGUI@,$LIBGUI,;t t
29582 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
29583 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
29584 s,@TCL_VERSION@,$TCL_VERSION,;t t
29585 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
29586 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
29587 s,@TCL_CC@,$TCL_CC,;t t
29588 s,@TCL_DEFS@,$TCL_DEFS,;t t
29589 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
29590 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
29591 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
29592 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
29593 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
29594 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
29595 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
29596 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
29597 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
29598 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
29599 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
29600 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
29601 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
29602 s,@TK_VERSION@,$TK_VERSION,;t t
29603 s,@TK_DEFS@,$TK_DEFS,;t t
29604 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
29605 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
29606 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
29607 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
29608 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
29609 s,@TCLHDIR@,$TCLHDIR,;t t
29610 s,@TKHDIR@,$TKHDIR,;t t
29611 s,@ITCLHDIR@,$ITCLHDIR,;t t
29612 s,@ITKHDIR@,$ITKHDIR,;t t
29613 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
29614 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
29615 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
29616 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
29617 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
29618 s,@ITK_VERSION@,$ITK_VERSION,;t t
29619 s,@ITK_DEFS@,$ITK_DEFS,;t t
29620 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
29621 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
29622 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
29623 s,@X_CFLAGS@,$X_CFLAGS,;t t
29624 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
29625 s,@X_LIBS@,$X_LIBS,;t t
29626 s,@TCL_DEPS@,$TCL_DEPS,;t t
29627 s,@TK_DEPS@,$TK_DEPS,;t t
29628 s,@ITCLLIB@,$ITCLLIB,;t t
29629 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
29630 s,@ITKLIB@,$ITKLIB,;t t
29631 s,@ITK_DEPS@,$ITK_DEPS,;t t
29632 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
29633 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
29634 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
29636 s,@SIM_OBS@,$SIM_OBS,;t t
29637 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
29638 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
29639 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
29640 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
29641 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
29642 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
29643 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
29644 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
29645 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
29646 s,@target_subdir@,$target_subdir,;t t
29647 s,@frags@,$frags,;t t
29648 s,@nm_h@,$nm_h,;t t
29649 s,@LIBICONV@,$LIBICONV,;t t
29650 s,@LIBOBJS@,$LIBOBJS,;t t
29651 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29652 s,@gl_LIBOBJS@,$gl_LIBOBJS,;t t
29653 s,@gl_LTLIBOBJS@,$gl_LTLIBOBJS,;t t
29654 s,@gltests_LIBOBJS@,$gltests_LIBOBJS,;t t
29655 s,@gltests_LTLIBOBJS@,$gltests_LTLIBOBJS,;t t
29656 /@host_makefile_frag@/r $host_makefile_frag
29657 s,@host_makefile_frag@,,;t t
29662 cat >>$CONFIG_STATUS <<\_ACEOF
29663 # Split the substitutions into bite-sized pieces for seds with
29664 # small command number limits, like on Digital OSF/1 and HP-UX.
29665 ac_max_sed_lines
=48
29666 ac_sed_frag
=1 # Number of current file.
29667 ac_beg
=1 # First line for current file.
29668 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29671 while $ac_more_lines; do
29672 if test $ac_beg -gt 1; then
29673 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29675 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29677 if test ! -s $tmp/subs.frag
; then
29678 ac_more_lines
=false
29680 # The purpose of the label and of the branching condition is to
29681 # speed up the sed processing (if there are no `@' at all, there
29682 # is no need to browse any of the substitutions).
29683 # These are the two extra sed commands mentioned above.
29685 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29686 if test -z "$ac_sed_cmds"; then
29687 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29689 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29691 ac_sed_frag
=`expr $ac_sed_frag + 1`
29693 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29696 if test -z "$ac_sed_cmds"; then
29699 fi # test -n "$CONFIG_FILES"
29702 cat >>$CONFIG_STATUS <<\_ACEOF
29703 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29704 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29706 - |
*:- |
*:-:* ) # input from stdin
29708 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29709 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29710 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29711 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29712 * ) ac_file_in
=$ac_file.
in ;;
29715 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29716 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29718 X"$ac_file" : 'X\(//\)[^/]' \| \
29719 X"$ac_file" : 'X\(//\)$' \| \
29720 X"$ac_file" : 'X\(/\)' \| \
29721 . : '\(.\)' 2>/dev/null ||
29723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29725 /^X\(\/\/\)$/{ s//\1/; q; }
29726 /^X\(\/\).*/{ s//\1/; q; }
29728 { if $as_mkdir_p; then
29733 while test ! -d "$as_dir"; do
29734 as_dirs
="$as_dir $as_dirs"
29735 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29736 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29737 X"$as_dir" : 'X\(//\)[^/]' \| \
29738 X"$as_dir" : 'X\(//\)$' \| \
29739 X"$as_dir" : 'X\(/\)' \| \
29740 . : '\(.\)' 2>/dev/null ||
29742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29743 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29744 /^X\(\/\/\)$/{ s//\1/; q; }
29745 /^X\(\/\).*/{ s//\1/; q; }
29748 test ! -n "$as_dirs" || mkdir
$as_dirs
29749 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29750 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29751 { (exit 1); exit 1; }; }; }
29755 if test "$ac_dir" != .
; then
29756 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29757 # A "../" for each directory in $ac_dir_suffix.
29758 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29760 ac_dir_suffix
= ac_top_builddir
=
29764 .
) # No --srcdir option. We are building in place.
29766 if test -z "$ac_top_builddir"; then
29769 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29771 [\\/]* | ?
:[\\/]* ) # Absolute path.
29772 ac_srcdir
=$srcdir$ac_dir_suffix;
29773 ac_top_srcdir
=$srcdir ;;
29774 *) # Relative path.
29775 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29776 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29779 # Do not use `cd foo && pwd` to compute absolute paths, because
29780 # the directories may not exist.
29782 .
) ac_abs_builddir
="$ac_dir";;
29785 .
) ac_abs_builddir
=`pwd`;;
29786 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29787 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29790 case $ac_abs_builddir in
29791 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29793 case ${ac_top_builddir}.
in
29794 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29795 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29796 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29799 case $ac_abs_builddir in
29800 .
) ac_abs_srcdir
=$ac_srcdir;;
29803 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29804 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29805 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29808 case $ac_abs_builddir in
29809 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29811 case $ac_top_srcdir in
29812 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29813 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29814 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29820 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29821 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29824 if test x
"$ac_file" != x-
; then
29825 { echo "$as_me:$LINENO: creating $ac_file" >&5
29826 echo "$as_me: creating $ac_file" >&6;}
29829 # Let's still pretend it is `configure' which instantiates (i.e., don't
29830 # use $as_me), people would be surprised to read:
29831 # /* config.h. Generated by config.status. */
29832 if test x
"$ac_file" = x-
; then
29835 configure_input
="$ac_file. "
29837 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29838 sed 's,.*/,,'` by configure."
29840 # First look for the input files in the build tree, otherwise in the
29842 ac_file_inputs
=`IFS=:
29843 for f in $ac_file_in; do
29845 -) echo $tmp/stdin ;;
29847 # Absolute (can't be DOS-style, as IFS=:)
29848 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29849 echo "$as_me: error: cannot find input file: $f" >&2;}
29850 { (exit 1); exit 1; }; }
29853 if test -f "$f"; then
29856 elif test -f "$srcdir/$f"; then
29861 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29862 echo "$as_me: error: cannot find input file: $f" >&2;}
29863 { (exit 1); exit 1; }; }
29866 done` ||
{ (exit 1); exit 1; }
29868 cat >>$CONFIG_STATUS <<_ACEOF
29872 cat >>$CONFIG_STATUS <<\_ACEOF
29874 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29875 s
,@configure_input@
,$configure_input,;t t
29876 s
,@srcdir@
,$ac_srcdir,;t t
29877 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29878 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29879 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29880 s
,@builddir@
,$ac_builddir,;t t
29881 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29882 s
,@top_builddir@
,$ac_top_builddir,;t t
29883 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29884 s
,@INSTALL@
,$ac_INSTALL,;t t
29885 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29887 if test x"$ac_file" != x-; then
29888 mv $tmp/out $ac_file
29896 cat >>$CONFIG_STATUS <<\_ACEOF
29899 # CONFIG_HEADER section.
29902 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29903 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29905 # ac_d sets the value in "#define NAME VALUE" lines.
29906 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29907 ac_dB
='[ ].*$,\1#\2'
29910 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29911 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29912 ac_uB
='$,\1#\2define\3'
29916 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
29917 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29919 - |
*:- |
*:-:* ) # input from stdin
29921 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29922 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29923 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29924 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29925 * ) ac_file_in
=$ac_file.
in ;;
29928 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
29929 echo "$as_me: creating $ac_file" >&6;}
29931 # First look for the input files in the build tree, otherwise in the
29933 ac_file_inputs
=`IFS=:
29934 for f in $ac_file_in; do
29936 -) echo $tmp/stdin ;;
29938 # Absolute (can't be DOS-style, as IFS=:)
29939 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29940 echo "$as_me: error: cannot find input file: $f" >&2;}
29941 { (exit 1); exit 1; }; }
29942 # Do quote $f, to prevent DOS paths from being IFS'd.
29945 if test -f "$f"; then
29948 elif test -f "$srcdir/$f"; then
29953 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29954 echo "$as_me: error: cannot find input file: $f" >&2;}
29955 { (exit 1); exit 1; }; }
29958 done` ||
{ (exit 1); exit 1; }
29959 # Remove the trailing spaces.
29960 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29964 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29965 # `conftest.undefs', that substitutes the proper values into
29966 # config.h.in to produce config.h. The first handles `#define'
29967 # templates, and the second `#undef' templates.
29968 # And first: Protect against being on the right side of a sed subst in
29969 # config.status. Protect against being in an unquoted here document
29970 # in config.status.
29971 rm -f conftest.defines conftest.undefs
29972 # Using a here document instead of a string reduces the quoting nightmare.
29973 # Putting comments in sed scripts is not portable.
29975 # `end' is used to avoid that the second main sed command (meant for
29976 # 0-ary CPP macros) applies to n-ary macro definitions.
29977 # See the Autoconf documentation for `clear'.
29978 cat >confdef2sed.
sed <<\_ACEOF
29983 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29985 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29988 # If some macros were called several times there might be several times
29989 # the same #defines, which is useless. Nevertheless, we may not want to
29990 # sort them, since we want the *last* AC-DEFINE to be honored.
29991 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29992 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29993 rm -f confdef2sed.sed
29995 # This sed command replaces #undef with comments. This is necessary, for
29996 # example, in the case of _POSIX_SOURCE, which is predefined and required
29997 # on some systems where configure will not decide to define it.
29998 cat >>conftest.undefs <<\_ACEOF
29999 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30002 # Break up conftest.defines because some shells have a limit on the size
30003 # of here documents, and old seds have small limits too (100 cmds).
30004 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30005 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30006 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30007 echo ' :' >>$CONFIG_STATUS
30008 rm -f conftest.tail
30009 while grep . conftest.defines >/dev/null
30011 # Write a limited-size here document to $tmp/defines.sed.
30012 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30013 # Speed up: don't consider the non `#define' lines.
30014 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30015 # Work around the forget-to-reset-the-flag bug.
30016 echo 't clr' >>$CONFIG_STATUS
30017 echo ': clr' >>$CONFIG_STATUS
30018 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
30020 sed -f $tmp/defines.sed $tmp/in >$tmp/out
30022 mv $tmp/out $tmp/in
30024 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
30025 rm -f conftest.defines
30026 mv conftest.
tail conftest.defines
30028 rm -f conftest.defines
30029 echo ' fi # grep' >>$CONFIG_STATUS
30030 echo >>$CONFIG_STATUS
30032 # Break up conftest.undefs because some shells have a limit on the size
30033 # of here documents, and old seds have small limits too (100 cmds).
30034 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30035 rm -f conftest.
tail
30036 while grep . conftest.undefs
>/dev
/null
30038 # Write a limited-size here document to $tmp/undefs.sed.
30039 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30040 # Speed up: don't consider the non
`#undef'
30041 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30042 # Work around the forget-to-reset-the-flag bug.
30043 echo 't clr' >>$CONFIG_STATUS
30044 echo ': clr' >>$CONFIG_STATUS
30045 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30047 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30049 mv $tmp/out $tmp/in
30051 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30052 rm -f conftest.undefs
30053 mv conftest.tail conftest.undefs
30055 rm -f conftest.undefs
30057 cat >>$CONFIG_STATUS <<\_ACEOF
30058 # Let's still pretend it is `configure
' which instantiates (i.e., don't
30059 # use $as_me), people would be surprised to read:
30060 # /* config.h. Generated by config.status. */
30061 if test x
"$ac_file" = x-
; then
30062 echo "/* Generated by configure. */" >$tmp/config.h
30064 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30066 cat $tmp/in >>$tmp/config.h
30068 if test x
"$ac_file" != x-
; then
30069 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
30070 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30071 echo "$as_me: $ac_file is unchanged" >&6;}
30073 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30074 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30075 X"$ac_file" : 'X\(//\)[^/]' \| \
30076 X"$ac_file" : 'X\(//\)$' \| \
30077 X"$ac_file" : 'X\(/\)' \| \
30078 . : '\(.\)' 2>/dev/null ||
30080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30081 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30082 /^X\(\/\/\)$/{ s//\1/; q; }
30083 /^X\(\/\).*/{ s//\1/; q; }
30085 { if $as_mkdir_p; then
30090 while test ! -d "$as_dir"; do
30091 as_dirs
="$as_dir $as_dirs"
30092 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30094 X"$as_dir" : 'X\(//\)[^/]' \| \
30095 X"$as_dir" : 'X\(//\)$' \| \
30096 X"$as_dir" : 'X\(/\)' \| \
30097 . : '\(.\)' 2>/dev/null ||
30099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30100 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30101 /^X\(\/\/\)$/{ s//\1/; q; }
30102 /^X\(\/\).*/{ s//\1/; q; }
30105 test ! -n "$as_dirs" || mkdir
$as_dirs
30106 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30107 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30108 { (exit 1); exit 1; }; }; }
30111 mv $tmp/config.h
$ac_file
30115 rm -f $tmp/config.h
30117 # Compute $ac_file's index in $config_headers.
30119 for _am_header
in $config_headers :; do
30120 case $_am_header in
30121 $ac_file |
$ac_file:* )
30124 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
30127 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
30128 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30129 X$ac_file : 'X\(//\)[^/]' \| \
30130 X$ac_file : 'X\(//\)$' \| \
30131 X$ac_file : 'X\(/\)' \| \
30132 . : '\(.\)' 2>/dev/null ||
30134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30135 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30136 /^X\(\/\/\)$/{ s//\1/; q; }
30137 /^X\(\/\).*/{ s//\1/; q; }
30138 s/.*/./; q'`/stamp-h
$_am_stamp_count
30141 cat >>$CONFIG_STATUS <<\_ACEOF
30144 # CONFIG_LINKS section.
30147 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
30148 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30149 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30151 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
30152 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
30154 if test ! -r $srcdir/$ac_source; then
30155 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
30156 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
30157 { (exit 1); exit 1; }; }
30161 # Make relative symlinks.
30162 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30163 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30164 X"$ac_dest" : 'X\(//\)[^/]' \| \
30165 X"$ac_dest" : 'X\(//\)$' \| \
30166 X"$ac_dest" : 'X\(/\)' \| \
30167 . : '\(.\)' 2>/dev/null ||
30169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30171 /^X\(\/\/\)$/{ s//\1/; q; }
30172 /^X\(\/\).*/{ s//\1/; q; }
30174 { if $as_mkdir_p; then
30175 mkdir
-p "$ac_dest_dir"
30177 as_dir
="$ac_dest_dir"
30179 while test ! -d "$as_dir"; do
30180 as_dirs
="$as_dir $as_dirs"
30181 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30183 X"$as_dir" : 'X\(//\)[^/]' \| \
30184 X"$as_dir" : 'X\(//\)$' \| \
30185 X"$as_dir" : 'X\(/\)' \| \
30186 . : '\(.\)' 2>/dev/null ||
30188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30190 /^X\(\/\/\)$/{ s//\1/; q; }
30191 /^X\(\/\).*/{ s//\1/; q; }
30194 test ! -n "$as_dirs" || mkdir
$as_dirs
30195 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
30196 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
30197 { (exit 1); exit 1; }; }; }
30201 if test "$ac_dest_dir" != .
; then
30202 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
30203 # A "../" for each directory in $ac_dir_suffix.
30204 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30206 ac_dir_suffix
= ac_top_builddir
=
30210 .
) # No --srcdir option. We are building in place.
30212 if test -z "$ac_top_builddir"; then
30215 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30217 [\\/]* | ?
:[\\/]* ) # Absolute path.
30218 ac_srcdir
=$srcdir$ac_dir_suffix;
30219 ac_top_srcdir
=$srcdir ;;
30220 *) # Relative path.
30221 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30222 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30225 # Do not use `cd foo && pwd` to compute absolute paths, because
30226 # the directories may not exist.
30228 .
) ac_abs_builddir
="$ac_dest_dir";;
30230 case "$ac_dest_dir" in
30231 .
) ac_abs_builddir
=`pwd`;;
30232 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
30233 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
30236 case $ac_abs_builddir in
30237 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30239 case ${ac_top_builddir}.
in
30240 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30241 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30242 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30245 case $ac_abs_builddir in
30246 .
) ac_abs_srcdir
=$ac_srcdir;;
30249 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30250 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30251 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30254 case $ac_abs_builddir in
30255 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30257 case $ac_top_srcdir in
30258 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30259 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30260 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30266 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
30267 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
30270 # Try a symlink, then a hard link, then a copy.
30271 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
30272 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
30273 cp -p $srcdir/$ac_source $ac_dest ||
30274 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
30275 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
30276 { (exit 1); exit 1; }; }
30279 cat >>$CONFIG_STATUS <<\_ACEOF
30282 # CONFIG_COMMANDS section.
30284 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30285 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30286 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30287 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30288 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30289 X"$ac_dest" : 'X\(//\)[^/]' \| \
30290 X"$ac_dest" : 'X\(//\)$' \| \
30291 X"$ac_dest" : 'X\(/\)' \| \
30292 . : '\(.\)' 2>/dev/null ||
30294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30296 /^X\(\/\/\)$/{ s//\1/; q; }
30297 /^X\(\/\).*/{ s//\1/; q; }
30299 { if $as_mkdir_p; then
30304 while test ! -d "$as_dir"; do
30305 as_dirs
="$as_dir $as_dirs"
30306 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30307 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30308 X"$as_dir" : 'X\(//\)[^/]' \| \
30309 X"$as_dir" : 'X\(//\)$' \| \
30310 X"$as_dir" : 'X\(/\)' \| \
30311 . : '\(.\)' 2>/dev/null ||
30313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30315 /^X\(\/\/\)$/{ s//\1/; q; }
30316 /^X\(\/\).*/{ s//\1/; q; }
30319 test ! -n "$as_dirs" || mkdir
$as_dirs
30320 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30321 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30322 { (exit 1); exit 1; }; }; }
30326 if test "$ac_dir" != .
; then
30327 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30328 # A "../" for each directory in $ac_dir_suffix.
30329 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30331 ac_dir_suffix
= ac_top_builddir
=
30335 .
) # No --srcdir option. We are building in place.
30337 if test -z "$ac_top_builddir"; then
30340 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30342 [\\/]* | ?
:[\\/]* ) # Absolute path.
30343 ac_srcdir
=$srcdir$ac_dir_suffix;
30344 ac_top_srcdir
=$srcdir ;;
30345 *) # Relative path.
30346 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30347 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30350 # Do not use `cd foo && pwd` to compute absolute paths, because
30351 # the directories may not exist.
30353 .
) ac_abs_builddir
="$ac_dir";;
30356 .
) ac_abs_builddir
=`pwd`;;
30357 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30358 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30361 case $ac_abs_builddir in
30362 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30364 case ${ac_top_builddir}.
in
30365 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30366 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30367 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30370 case $ac_abs_builddir in
30371 .
) ac_abs_srcdir
=$ac_srcdir;;
30374 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30375 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30376 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30379 case $ac_abs_builddir in
30380 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30382 case $ac_top_srcdir in
30383 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30384 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30385 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30390 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30391 echo "$as_me: executing $ac_dest commands" >&6;}
30393 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30394 # Strip MF so we end up with the name of the file.
30395 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30396 # Check whether this is an Automake generated Makefile or not.
30397 # We used to match only the files named `Makefile.in', but
30398 # some people rename them; so instead we look at the file content.
30399 # Grep'ing the first line is not enough: some people post-process
30400 # each Makefile.in and add a new line on top of each file to say so.
30401 # So let's grep whole file.
30402 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30403 dirpart
=`(dirname "$mf") 2>/dev/null ||
30404 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30405 X"$mf" : 'X\(//\)[^/]' \| \
30406 X"$mf" : 'X\(//\)$' \| \
30407 X"$mf" : 'X\(/\)' \| \
30408 . : '\(.\)' 2>/dev/null ||
30410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30412 /^X\(\/\/\)$/{ s//\1/; q; }
30413 /^X\(\/\).*/{ s//\1/; q; }
30418 # Extract the definition of DEPDIR, am__include, and am__quote
30419 # from the Makefile without running `make'.
30420 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30421 test -z "$DEPDIR" && continue
30422 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30423 test -z "am__include" && continue
30424 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30425 # When using ansi2knr, U may be empty or an underscore; expand it
30426 U
=`sed -n 's/^U = //p' < "$mf"`
30427 # Find all dependency output files, they are included files with
30428 # $(DEPDIR) in their names. We invoke sed twice because it is the
30429 # simplest approach to changing $(DEPDIR) to its actual value in the
30431 for file in `sed -n "
30432 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30433 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30434 # Make sure the directory exists.
30435 test -f "$dirpart/$file" && continue
30436 fdir
=`(dirname "$file") 2>/dev/null ||
30437 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30438 X"$file" : 'X\(//\)[^/]' \| \
30439 X"$file" : 'X\(//\)$' \| \
30440 X"$file" : 'X\(/\)' \| \
30441 . : '\(.\)' 2>/dev/null ||
30443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30444 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30445 /^X\(\/\/\)$/{ s//\1/; q; }
30446 /^X\(\/\).*/{ s//\1/; q; }
30448 { if $as_mkdir_p; then
30449 mkdir
-p $dirpart/$fdir
30451 as_dir
=$dirpart/$fdir
30453 while test ! -d "$as_dir"; do
30454 as_dirs
="$as_dir $as_dirs"
30455 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30456 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30457 X"$as_dir" : 'X\(//\)[^/]' \| \
30458 X"$as_dir" : 'X\(//\)$' \| \
30459 X"$as_dir" : 'X\(/\)' \| \
30460 . : '\(.\)' 2>/dev/null ||
30462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30463 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30464 /^X\(\/\/\)$/{ s//\1/; q; }
30465 /^X\(\/\).*/{ s//\1/; q; }
30468 test ! -n "$as_dirs" || mkdir
$as_dirs
30469 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30470 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30471 { (exit 1); exit 1; }; }; }
30473 # echo "creating $dirpart/$file"
30474 echo '# dummy' > "$dirpart/$file"
30479 if test "$GCC" = yes; then
30480 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
30482 echo "/* generated for $CC */" > tmp-stdint.h
30485 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30487 #ifndef GCC_GENERATED_STDINT_H
30488 #define GCC_GENERATED_STDINT_H 1
30490 #include <sys/types.h>
30493 if test "$acx_cv_header_stdint" != stdint.h
; then
30494 echo "#include <stddef.h>" >> tmp-stdint.h
30496 if test "$acx_cv_header_stdint" != stddef.h
; then
30497 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
30500 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30501 /* glibc uses these symbols as guards to prevent redefinitions. */
30502 #ifdef __int8_t_defined
30507 #ifdef __uint32_t_defined
30513 # ----------------- done header, emit basic int types -------------
30514 if test "$acx_cv_header_stdint" = stddef.h
; then
30515 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30519 #ifndef __uint8_t_defined
30520 #define __uint8_t_defined
30521 typedef unsigned $acx_cv_type_int8_t uint8_t;
30527 #ifndef __uint16_t_defined
30528 #define __uint16_t_defined
30529 typedef unsigned $acx_cv_type_int16_t uint16_t;
30535 #ifndef __uint32_t_defined
30536 #define __uint32_t_defined
30537 typedef unsigned $acx_cv_type_int32_t uint32_t;
30543 #ifndef __int8_t_defined
30544 #define __int8_t_defined
30545 typedef $acx_cv_type_int8_t int8_t;
30551 #ifndef __int16_t_defined
30552 #define __int16_t_defined
30553 typedef $acx_cv_type_int16_t int16_t;
30559 #ifndef __int32_t_defined
30560 #define __int32_t_defined
30561 typedef $acx_cv_type_int32_t int32_t;
30565 elif test "$ac_cv_type_u_int32_t" = yes; then
30566 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30568 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
30581 #ifndef __uint8_t_defined
30582 #define __uint8_t_defined
30583 typedef u_int8_t uint8_t;
30589 #ifndef __uint16_t_defined
30590 #define __uint16_t_defined
30591 typedef u_int16_t uint16_t;
30597 #ifndef __uint32_t_defined
30598 #define __uint32_t_defined
30599 typedef u_int32_t uint32_t;
30604 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30606 /* Some systems have guard macros to prevent redefinitions, define them. */
30628 # ------------- done basic int types, emit int64_t types ------------
30629 if test "$ac_cv_type_uint64_t" = yes; then
30630 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30632 /* system headers have good uint64_t and int64_t */
30640 elif test "$ac_cv_type_u_int64_t" = yes; then
30641 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30643 /* system headers have an u_int64_t (and int64_t) */
30649 #ifndef __uint64_t_defined
30650 #define __uint64_t_defined
30651 typedef u_int64_t uint64_t;
30655 elif test -n "$acx_cv_type_int64_t"; then
30656 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30658 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
30661 typedef $acx_cv_type_int64_t int64_t;
30665 #ifndef __uint64_t_defined
30666 #define __uint64_t_defined
30667 typedef unsigned $acx_cv_type_int64_t uint64_t;
30672 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30674 /* some common heuristics for int64_t, using compiler-specific tests */
30675 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
30678 #ifndef __int64_t_defined
30679 typedef long long int64_t;
30684 typedef unsigned long long uint64_t;
30687 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
30688 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
30689 does not implement __extension__. But that compiler doesn't define
30691 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
30692 # define __extension__
30697 __extension__ typedef long long int64_t;
30701 __extension__ typedef unsigned long long uint64_t;
30704 #elif !defined __STRICT_ANSI__
30705 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
30709 typedef __int64 int64_t;
30713 typedef unsigned __int64 uint64_t;
30715 # endif /* compiler */
30717 #endif /* ANSI version */
30721 # ------------- done int64_t types, emit intptr types ------------
30722 if test "$ac_cv_type_uintptr_t" != yes; then
30723 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30725 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
30726 #ifndef __uintptr_t_defined
30727 typedef u$acx_cv_type_intptr_t uintptr_t;
30729 #ifndef __intptr_t_defined
30730 typedef $acx_cv_type_intptr_t intptr_t;
30735 # ------------- done intptr types, emit int_least types ------------
30736 if test "$ac_cv_type_int_least32_t" != yes; then
30737 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30739 /* Define int_least types */
30740 typedef int8_t int_least8_t;
30741 typedef int16_t int_least16_t;
30742 typedef int32_t int_least32_t;
30744 typedef int64_t int_least64_t;
30747 typedef uint8_t uint_least8_t;
30748 typedef uint16_t uint_least16_t;
30749 typedef uint32_t uint_least32_t;
30751 typedef uint64_t uint_least64_t;
30756 # ------------- done intptr types, emit int_fast types ------------
30757 if test "$ac_cv_type_int_fast32_t" != yes; then
30758 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30760 /* Define int_fast types. short is often slow */
30761 typedef int8_t int_fast8_t;
30762 typedef int int_fast16_t;
30763 typedef int32_t int_fast32_t;
30765 typedef int64_t int_fast64_t;
30768 typedef uint8_t uint_fast8_t;
30769 typedef unsigned int uint_fast16_t;
30770 typedef uint32_t uint_fast32_t;
30772 typedef uint64_t uint_fast64_t;
30777 if test "$ac_cv_type_uintmax_t" != yes; then
30778 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30780 /* Define intmax based on what we found */
30782 typedef int64_t intmax_t;
30784 typedef long intmax_t;
30787 typedef uint64_t uintmax_t;
30789 typedef unsigned long uintmax_t;
30794 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30796 #endif /* GCC_GENERATED_STDINT_H */
30799 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
30802 mv -f tmp-stdint.h gdb_stdint.h
30808 sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
30809 mv -f Makefile.tmp Makefile
30812 case x
$CONFIG_HEADERS in
30813 xconfig.h
:config.
in)
30821 cat >>$CONFIG_STATUS <<\_ACEOF
30823 { (exit 0); exit 0; }
30825 chmod +x
$CONFIG_STATUS
30826 ac_clean_files
=$ac_clean_files_save
30829 # configure is writing to config.log, and then calls config.status.
30830 # config.status does its own redirection, appending to config.log.
30831 # Unfortunately, on DOS this fails, as config.log is still kept open
30832 # by configure, so config.status won't be able to write to it; its
30833 # output is simply discarded. So we exec the FD to /dev/null,
30834 # effectively closing config.log, so it can be properly (re)opened and
30835 # appended to by config.status. When coming back to configure, we
30836 # need to make the FD available again.
30837 if test "$no_create" != yes; then
30839 ac_config_status_args
=
30840 test "$silent" = yes &&
30841 ac_config_status_args
="$ac_config_status_args --quiet"
30843 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
30845 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30846 # would make configure fail if this is the last instruction.
30847 $ac_cs_success ||
{ (exit 1); exit 1; }
30851 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
30853 if test "$no_recursion" != yes; then
30855 # Remove --cache-file and --srcdir arguments so they do not pile up.
30856 ac_sub_configure_args
=
30858 eval "set x $ac_configure_args"
30862 if test -n "$ac_prev"; then
30867 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
30868 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
30869 ac_prev
=cache_file
;;
30870 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
30871 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
30874 --config-cache |
-C)
30876 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
30878 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
30880 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
30882 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
30886 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
30888 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
30892 # Always prepend --prefix to ensure using the same prefix
30893 # in subdir configurations.
30894 ac_arg
="--prefix=$prefix"
30896 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
30898 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
30901 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
30903 # Do not complain, so a configure script can configure whichever
30904 # parts of a large source tree are present.
30905 test -d "$srcdir/$ac_dir" ||
continue
30907 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
30908 echo "$as_me: configuring in $ac_dir" >&6;}
30909 { if $as_mkdir_p; then
30914 while test ! -d "$as_dir"; do
30915 as_dirs
="$as_dir $as_dirs"
30916 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30918 X"$as_dir" : 'X\(//\)[^/]' \| \
30919 X"$as_dir" : 'X\(//\)$' \| \
30920 X"$as_dir" : 'X\(/\)' \| \
30921 . : '\(.\)' 2>/dev/null ||
30923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30924 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30925 /^X\(\/\/\)$/{ s//\1/; q; }
30926 /^X\(\/\).*/{ s//\1/; q; }
30929 test ! -n "$as_dirs" || mkdir
$as_dirs
30930 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30931 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30932 { (exit 1); exit 1; }; }; }
30936 if test "$ac_dir" != .
; then
30937 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30938 # A "../" for each directory in $ac_dir_suffix.
30939 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30941 ac_dir_suffix
= ac_top_builddir
=
30945 .
) # No --srcdir option. We are building in place.
30947 if test -z "$ac_top_builddir"; then
30950 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30952 [\\/]* | ?
:[\\/]* ) # Absolute path.
30953 ac_srcdir
=$srcdir$ac_dir_suffix;
30954 ac_top_srcdir
=$srcdir ;;
30955 *) # Relative path.
30956 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30957 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30960 # Do not use `cd foo && pwd` to compute absolute paths, because
30961 # the directories may not exist.
30963 .
) ac_abs_builddir
="$ac_dir";;
30966 .
) ac_abs_builddir
=`pwd`;;
30967 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30968 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30971 case $ac_abs_builddir in
30972 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30974 case ${ac_top_builddir}.
in
30975 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30976 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30977 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30980 case $ac_abs_builddir in
30981 .
) ac_abs_srcdir
=$ac_srcdir;;
30984 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30985 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30986 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30989 case $ac_abs_builddir in
30990 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30992 case $ac_top_srcdir in
30993 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30994 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30995 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31002 # Check for guested configure; otherwise get Cygnus style configure.
31003 if test -f "$ac_srcdir/configure.gnu"; then
31004 ac_sub_configure
=$ac_srcdir/configure.gnu
31005 elif test -f "$ac_srcdir/configure"; then
31006 ac_sub_configure
=$ac_srcdir/configure
31007 elif test -f "$ac_srcdir/configure.in"; then
31008 # This should be Cygnus configure.
31009 ac_sub_configure
=$ac_aux_dir/configure
31011 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31012 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31016 # The recursion is here.
31017 if test -n "$ac_sub_configure"; then
31018 # Make the cache file name correct relative to the subdirectory.
31019 case $cache_file in
31020 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31021 *) # Relative path.
31022 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31025 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31026 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31027 # The eval makes quoting arguments work.
31028 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31029 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31030 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31031 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31032 { (exit 1); exit 1; }; }