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 GNULIB_STDINT_H 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 PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI 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 PYTHON_CFLAGS 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_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_INCLUDE TCL_LIBRARY TCL_DEPS TK_VERSION TK_BIN_DIR TK_SRC_DIR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_INCLUDE TK_LIBRARY TK_DEPS TK_XINCLUDES X_CFLAGS X_LDFLAGS X_LIBS 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'
321 # Initialize some variables set by options.
323 ac_init_version
=false
324 # The variables have the same names as the options, with
325 # dashes changed to underlines.
333 program_transform_name
=s
,x
,x
,
341 # Installation directory options.
342 # These are left unexpanded so users can "make install exec_prefix=/foo"
343 # and all the variables that are supposed to be based on exec_prefix
344 # by default will actually change.
345 # Use braces instead of parens because sh, perl, etc. also accept them.
346 bindir
='${exec_prefix}/bin'
347 sbindir
='${exec_prefix}/sbin'
348 libexecdir
='${exec_prefix}/libexec'
349 datadir
='${prefix}/share'
350 sysconfdir
='${prefix}/etc'
351 sharedstatedir
='${prefix}/com'
352 localstatedir
='${prefix}/var'
353 libdir
='${exec_prefix}/lib'
354 includedir
='${prefix}/include'
355 oldincludedir
='/usr/include'
356 infodir
='${prefix}/info'
357 mandir
='${prefix}/man'
362 # If the previous option needs an argument, assign it.
363 if test -n "$ac_prev"; then
364 eval "$ac_prev=\$ac_option"
369 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
371 # Accept the important Cygnus configure options, so we can diagnose typos.
375 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
377 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
380 -build |
--build |
--buil |
--bui |
--bu)
381 ac_prev
=build_alias
;;
382 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
383 build_alias
=$ac_optarg ;;
385 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
386 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
387 ac_prev
=cache_file
;;
388 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
389 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
390 cache_file
=$ac_optarg ;;
393 cache_file
=config.cache
;;
395 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
397 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
399 datadir
=$ac_optarg ;;
401 -disable-* |
--disable-*)
402 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
403 # Reject names that are not valid shell variable names.
404 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
405 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
406 { (exit 1); exit 1; }; }
407 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
408 eval "enable_$ac_feature=no" ;;
410 -enable-* |
--enable-*)
411 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
412 # Reject names that are not valid shell variable names.
413 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
414 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
415 { (exit 1); exit 1; }; }
416 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
418 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
421 eval "enable_$ac_feature='$ac_optarg'" ;;
423 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
424 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
425 |
--exec |
--exe |
--ex)
426 ac_prev
=exec_prefix
;;
427 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
428 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
429 |
--exec=* |
--exe=* |
--ex=*)
430 exec_prefix
=$ac_optarg ;;
432 -gas |
--gas |
--ga |
--g)
433 # Obsolete; use --with-gas.
436 -help |
--help |
--hel |
--he |
-h)
438 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
439 ac_init_help
=recursive
;;
440 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
441 ac_init_help
=short
;;
443 -host |
--host |
--hos |
--ho)
444 ac_prev
=host_alias
;;
445 -host=* |
--host=* |
--hos=* |
--ho=*)
446 host_alias
=$ac_optarg ;;
448 -includedir |
--includedir |
--includedi |
--included |
--include \
449 |
--includ |
--inclu |
--incl |
--inc)
450 ac_prev
=includedir
;;
451 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
452 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
453 includedir
=$ac_optarg ;;
455 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
457 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
458 infodir
=$ac_optarg ;;
460 -libdir |
--libdir |
--libdi |
--libd)
462 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
465 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
466 |
--libexe |
--libex |
--libe)
467 ac_prev
=libexecdir
;;
468 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
469 |
--libexe=* |
--libex=* |
--libe=*)
470 libexecdir
=$ac_optarg ;;
472 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
473 |
--localstate |
--localstat |
--localsta |
--localst \
474 |
--locals |
--local |
--loca |
--loc |
--lo)
475 ac_prev
=localstatedir
;;
476 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
477 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
478 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
479 localstatedir
=$ac_optarg ;;
481 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
483 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
487 # Obsolete; use --without-fp.
490 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
491 |
--no-cr |
--no-c |
-n)
494 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
495 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
498 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
499 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
500 |
--oldin |
--oldi |
--old |
--ol |
--o)
501 ac_prev
=oldincludedir
;;
502 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
503 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
504 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
505 oldincludedir
=$ac_optarg ;;
507 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
509 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
512 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
513 |
--program-pre |
--program-pr |
--program-p)
514 ac_prev
=program_prefix
;;
515 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
516 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
517 program_prefix
=$ac_optarg ;;
519 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
520 |
--program-suf |
--program-su |
--program-s)
521 ac_prev
=program_suffix
;;
522 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
523 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
524 program_suffix
=$ac_optarg ;;
526 -program-transform-name |
--program-transform-name \
527 |
--program-transform-nam |
--program-transform-na \
528 |
--program-transform-n |
--program-transform- \
529 |
--program-transform |
--program-transfor \
530 |
--program-transfo |
--program-transf \
531 |
--program-trans |
--program-tran \
532 |
--progr-tra |
--program-tr |
--program-t)
533 ac_prev
=program_transform_name
;;
534 -program-transform-name=* |
--program-transform-name=* \
535 |
--program-transform-nam=* |
--program-transform-na=* \
536 |
--program-transform-n=* |
--program-transform-=* \
537 |
--program-transform=* |
--program-transfor=* \
538 |
--program-transfo=* |
--program-transf=* \
539 |
--program-trans=* |
--program-tran=* \
540 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
541 program_transform_name
=$ac_optarg ;;
543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
544 |
-silent |
--silent |
--silen |
--sile |
--sil)
547 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
549 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
551 sbindir
=$ac_optarg ;;
553 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
554 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
555 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
557 ac_prev
=sharedstatedir
;;
558 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
559 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
560 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
562 sharedstatedir
=$ac_optarg ;;
564 -site |
--site |
--sit)
566 -site=* |
--site=* |
--sit=*)
569 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
571 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
574 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
575 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
576 ac_prev
=sysconfdir
;;
577 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
578 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
579 sysconfdir
=$ac_optarg ;;
581 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
582 ac_prev
=target_alias
;;
583 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
584 target_alias
=$ac_optarg ;;
586 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
589 -version |
--version |
--versio |
--versi |
--vers |
-V)
593 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
596 { echo "$as_me: error: invalid package name: $ac_package" >&2
597 { (exit 1); exit 1; }; }
598 ac_package
=`echo $ac_package| sed 's/-/_/g'`
600 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
603 eval "with_$ac_package='$ac_optarg'" ;;
605 -without-* |
--without-*)
606 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
607 # Reject names that are not valid shell variable names.
608 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
609 { echo "$as_me: error: invalid package name: $ac_package" >&2
610 { (exit 1); exit 1; }; }
611 ac_package
=`echo $ac_package | sed 's/-/_/g'`
612 eval "with_$ac_package=no" ;;
615 # Obsolete; use --with-x.
618 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
619 |
--x-incl |
--x-inc |
--x-in |
--x-i)
620 ac_prev
=x_includes
;;
621 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
622 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
623 x_includes
=$ac_optarg ;;
625 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
626 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
627 ac_prev
=x_libraries
;;
628 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
629 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
630 x_libraries
=$ac_optarg ;;
632 -*) { echo "$as_me: error: unrecognized option: $ac_option
633 Try \`$0 --help' for more information." >&2
634 { (exit 1); exit 1; }; }
638 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
639 # Reject names that are not valid shell variable names.
640 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
641 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
642 { (exit 1); exit 1; }; }
643 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
644 eval "$ac_envvar='$ac_optarg'"
648 # FIXME: should be removed in autoconf 3.0.
649 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
650 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
651 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
652 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
658 if test -n "$ac_prev"; then
659 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
660 { echo "$as_me: error: missing argument to $ac_option" >&2
661 { (exit 1); exit 1; }; }
664 # Be sure to have absolute paths.
665 for ac_var
in exec_prefix prefix
667 eval ac_val
=$
`echo $ac_var`
669 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
670 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
671 { (exit 1); exit 1; }; };;
675 # Be sure to have absolute paths.
676 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
677 localstatedir libdir includedir oldincludedir infodir mandir
679 eval ac_val
=$
`echo $ac_var`
681 [\\/$
]* | ?
:[\\/]* ) ;;
682 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
683 { (exit 1); exit 1; }; };;
687 # There might be people who depend on the old broken behavior: `$host'
688 # used to hold the argument of --host etc.
689 # FIXME: To remove some day.
694 # FIXME: To remove some day.
695 if test "x$host_alias" != x
; then
696 if test "x$build_alias" = x
; then
697 cross_compiling
=maybe
698 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
699 If a cross compiler is detected then cross compile mode will be used." >&2
700 elif test "x$build_alias" != "x$host_alias"; then
706 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
708 test "$silent" = yes && exec 6>/dev
/null
711 # Find the source files, if location was not specified.
712 if test -z "$srcdir"; then
713 ac_srcdir_defaulted
=yes
714 # Try the directory containing this script, then its parent.
715 ac_confdir
=`(dirname "$0") 2>/dev/null ||
716 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
717 X"$0" : 'X\(//\)[^/]' \| \
718 X"$0" : 'X\(//\)$' \| \
719 X"$0" : 'X\(/\)' \| \
720 . : '\(.\)' 2>/dev/null ||
722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
724 /^X\(\/\/\)$/{ s//\1/; q; }
725 /^X\(\/\).*/{ s//\1/; q; }
728 if test ! -r $srcdir/$ac_unique_file; then
732 ac_srcdir_defaulted
=no
734 if test ! -r $srcdir/$ac_unique_file; then
735 if test "$ac_srcdir_defaulted" = yes; then
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
737 { (exit 1); exit 1; }; }
739 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
740 { (exit 1); exit 1; }; }
743 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
744 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
745 { (exit 1); exit 1; }; }
746 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
747 ac_env_build_alias_set
=${build_alias+set}
748 ac_env_build_alias_value
=$build_alias
749 ac_cv_env_build_alias_set
=${build_alias+set}
750 ac_cv_env_build_alias_value
=$build_alias
751 ac_env_host_alias_set
=${host_alias+set}
752 ac_env_host_alias_value
=$host_alias
753 ac_cv_env_host_alias_set
=${host_alias+set}
754 ac_cv_env_host_alias_value
=$host_alias
755 ac_env_target_alias_set
=${target_alias+set}
756 ac_env_target_alias_value
=$target_alias
757 ac_cv_env_target_alias_set
=${target_alias+set}
758 ac_cv_env_target_alias_value
=$target_alias
759 ac_env_CC_set
=${CC+set}
761 ac_cv_env_CC_set
=${CC+set}
762 ac_cv_env_CC_value
=$CC
763 ac_env_CFLAGS_set
=${CFLAGS+set}
764 ac_env_CFLAGS_value
=$CFLAGS
765 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
766 ac_cv_env_CFLAGS_value
=$CFLAGS
767 ac_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_env_LDFLAGS_value
=$LDFLAGS
769 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
770 ac_cv_env_LDFLAGS_value
=$LDFLAGS
771 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
774 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
775 ac_env_CPP_set
=${CPP+set}
776 ac_env_CPP_value
=$CPP
777 ac_cv_env_CPP_set
=${CPP+set}
778 ac_cv_env_CPP_value
=$CPP
781 # Report the --help message.
783 if test "$ac_init_help" = "long"; then
784 # Omit some internal or obsolete options to make the list less imposing.
785 # This message is too long to be a string in the A/UX 3.1 sh.
787 \`configure' configures this package to adapt to many kinds of systems.
789 Usage: $0 [OPTION]... [VAR=VALUE]...
791 To assign environment variables (e.g., CC, CFLAGS...), specify them as
792 VAR=VALUE. See below for descriptions of some of the useful variables.
794 Defaults for the options are specified in brackets.
797 -h, --help display this help and exit
798 --help=short display options specific to this package
799 --help=recursive display the short help of all the included packages
800 -V, --version display version information and exit
801 -q, --quiet, --silent do not print \`checking...' messages
802 --cache-file=FILE cache test results in FILE [disabled]
803 -C, --config-cache alias for \`--cache-file=config.cache'
804 -n, --no-create do not create output files
805 --srcdir=DIR find the sources in DIR [configure dir or \`..']
810 Installation directories:
811 --prefix=PREFIX install architecture-independent files in PREFIX
813 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
816 By default, \`make install' will install all the files in
817 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
818 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
819 for instance \`--prefix=\$HOME'.
821 For better control, use the options below.
823 Fine tuning of the installation directories:
824 --bindir=DIR user executables [EPREFIX/bin]
825 --sbindir=DIR system admin executables [EPREFIX/sbin]
826 --libexecdir=DIR program executables [EPREFIX/libexec]
827 --datadir=DIR read-only architecture-independent data [PREFIX/share]
828 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
829 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
830 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
831 --libdir=DIR object code libraries [EPREFIX/lib]
832 --includedir=DIR C header files [PREFIX/include]
833 --oldincludedir=DIR C header files for non-gcc [/usr/include]
834 --infodir=DIR info documentation [PREFIX/info]
835 --mandir=DIR man documentation [PREFIX/man]
841 --program-prefix=PREFIX prepend PREFIX to installed program names
842 --program-suffix=SUFFIX append SUFFIX to installed program names
843 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
846 --x-includes=DIR X include files are
in DIR
847 --x-libraries=DIR X library files are
in DIR
850 --build=BUILD configure
for building on BUILD
[guessed
]
851 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
852 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
856 if test -n "$ac_init_help"; then
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing
) to the casual installer
865 --disable-dependency-tracking speeds up one-time build
866 --enable-dependency-tracking do not reject slow dependency extractors
867 --enable-targets alternative target configurations
868 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
869 --disable-gdbcli disable command-line interface
(CLI
)
870 --disable-gdbmi disable machine-interface
(MI
)
871 --enable-tui enable full-screen terminal user interface
(TUI
)
872 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
873 --enable-profiling enable profiling of GDB
874 --disable-rpath do not hardcode runtime library paths
875 --enable-werror treat compile warnings as errors
876 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
877 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
878 --enable-sim Link gdb with simulator
879 --enable-multi-ice build the multi-ice-gdb-server
882 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
883 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
884 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
885 --with-libunwind Use libunwind frame unwinding support
886 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
887 --with-bugurl=URL Direct users to URL to report a bug
888 --with-system-readline use installed readline library
889 --with-expat include expat support
(auto
/yes
/no
)
890 --with-gnu-ld assume the C compiler uses GNU ld default
=no
891 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
892 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
893 --with-python include python support (auto/yes/no/<path>)
894 --without-included-regex don't use included regex
; this is the default
895 on systems with version
2 of the GNU C library
896 (use with caution on other system
)
897 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
898 --with-tcl directory containing tcl configuration
(tclConfig.sh
)
899 --with-tk directory containing tk configuration
(tkConfig.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: in \`$ac_pwd':" >&5
1329 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1330 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1331 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1332 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1333 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1334 { (exit 1); exit 1; }; }
1338 ac_cpp='$CPP $CPPFLAGS'
1339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1344 gl_header_list="$gl_header_list stdint.h"
1345 gl_header_list="$gl_header_list wchar.h"
1346 gl_header_list="$gl_header_list string.h"
1367 ac_config_headers="$ac_config_headers config.h:config.in"
1369 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1370 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1371 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1372 if test "${enable_maintainer_mode+set}" = set; then
1373 enableval="$enable_maintainer_mode"
1374 USE_MAINTAINER_MODE=$enableval
1376 USE_MAINTAINER_MODE=no
1378 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1379 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1382 if test $USE_MAINTAINER_MODE = yes; then
1383 MAINTAINER_MODE_TRUE=
1384 MAINTAINER_MODE_FALSE='#'
1386 MAINTAINER_MODE_TRUE='#'
1387 MAINTAINER_MODE_FALSE=
1390 MAINT=$MAINTAINER_MODE_TRUE
1395 ac_cpp='$CPP $CPPFLAGS'
1396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1399 if test -n "$ac_tool_prefix"; then
1400 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1401 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1402 echo "$as_me:$LINENO: checking for $ac_word" >&5
1403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404 if test "${ac_cv_prog_CC+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 if test -n "$CC"; then
1408 ac_cv_prog_CC="$CC" # Let the user override the test.
1410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414 test -z "$as_dir" && as_dir=.
1415 for ac_exec_ext in '' $ac_executable_extensions; do
1416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1417 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1427 if test -n "$CC"; then
1428 echo "$as_me:$LINENO: result: $CC" >&5
1429 echo "${ECHO_T}$CC" >&6
1431 echo "$as_me:$LINENO: result: no" >&5
1432 echo "${ECHO_T}no" >&6
1436 if test -z "$ac_cv_prog_CC"; then
1438 # Extract the first word of "gcc", so it can be a program name with args.
1439 set dummy gcc; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 if test -n "$ac_ct_CC"; then
1446 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 ac_cv_prog_ac_ct_CC="gcc"
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1465 if test -n "$ac_ct_CC"; then
1466 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1467 echo "${ECHO_T}$ac_ct_CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1478 if test -z "$CC"; then
1479 if test -n "$ac_tool_prefix"; then
1480 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1481 set dummy ${ac_tool_prefix}cc; ac_word=$2
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484 if test "${ac_cv_prog_CC+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 if test -n "$CC"; then
1488 ac_cv_prog_CC="$CC" # Let the user override the test.
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir=.
1495 for ac_exec_ext in '' $ac_executable_extensions; do
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497 ac_cv_prog_CC="${ac_tool_prefix}cc"
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507 if test -n "$CC"; then
1508 echo "$as_me:$LINENO: result: $CC" >&5
1509 echo "${ECHO_T}$CC" >&6
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1516 if test -z "$ac_cv_prog_CC"; then
1518 # Extract the first word of "cc", so it can be a program name with args.
1519 set dummy cc; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$ac_ct_CC"; then
1526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_ac_ct_CC="cc"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1545 if test -n "$ac_ct_CC"; then
1546 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1547 echo "${ECHO_T}$ac_ct_CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1559 if test -z "$CC"; then
1560 # Extract the first word of "cc", so it can be a program name with args.
1561 set dummy cc; ac_word=$2
1562 echo "$as_me:$LINENO: checking for $ac_word" >&5
1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564 if test "${ac_cv_prog_CC+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 if test -n "$CC"; then
1568 ac_cv_prog_CC="$CC" # Let the user override the test.
1571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1575 test -z "$as_dir" && as_dir=.
1576 for ac_exec_ext in '' $ac_executable_extensions; do
1577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1579 ac_prog_rejected=yes
1583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1589 if test $ac_prog_rejected = yes; then
1590 # We found a bogon in the path, so make sure we never use it.
1591 set dummy $ac_cv_prog_CC
1593 if test $# != 0; then
1594 # We chose a different compiler from the bogus one.
1595 # However, it has the same basename, so the bogon will be chosen
1596 # first if we set CC to just the basename; use the full file name.
1598 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1604 if test -n "$CC"; then
1605 echo "$as_me:$LINENO: result: $CC" >&5
1606 echo "${ECHO_T}$CC" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1613 if test -z "$CC"; then
1614 if test -n "$ac_tool_prefix"; then
1617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1619 echo "$as_me:$LINENO: checking for $ac_word" >&5
1620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621 if test "${ac_cv_prog_CC+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 if test -n "$CC"; then
1625 ac_cv_prog_CC="$CC" # Let the user override the test.
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir=.
1632 for ac_exec_ext in '' $ac_executable_extensions; do
1633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1634 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1644 if test -n "$CC"; then
1645 echo "$as_me:$LINENO: result: $CC" >&5
1646 echo "${ECHO_T}$CC" >&6
1648 echo "$as_me:$LINENO: result: no" >&5
1649 echo "${ECHO_T}no" >&6
1652 test -n "$CC" && break
1655 if test -z "$CC"; then
1659 # Extract the first word of "$ac_prog", so it can be a program name with args.
1660 set dummy $ac_prog; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$ac_ct_CC"; then
1667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir=.
1674 for ac_exec_ext in '' $ac_executable_extensions; do
1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676 ac_cv_prog_ac_ct_CC="$ac_prog"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1686 if test -n "$ac_ct_CC"; then
1687 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1688 echo "${ECHO_T}$ac_ct_CC" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1694 test -n "$ac_ct_CC" && break
1703 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1704 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1705 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1706 See \
`config.log' for more details." >&5
1707 echo "$as_me: error: no acceptable C compiler found in \$PATH
1708 See \`config.log
' for more details." >&2;}
1709 { (exit 1); exit 1; }; }; }
1711 # Provide some information about the compiler.
1712 echo "$as_me:$LINENO:" \
1713 "checking for C compiler version" >&5
1714 ac_compiler=`set X $ac_compile; echo $2`
1715 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1716 (eval $ac_compiler --version </dev/null >&5) 2>&5
1718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1719 (exit $ac_status); }
1720 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1721 (eval $ac_compiler -v </dev/null >&5) 2>&5
1723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1724 (exit $ac_status); }
1725 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1726 (eval $ac_compiler -V </dev/null >&5) 2>&5
1728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1729 (exit $ac_status); }
1731 cat >conftest.$ac_ext <<_ACEOF
1734 cat confdefs.h >>conftest.$ac_ext
1735 cat >>conftest.$ac_ext <<_ACEOF
1736 /* end confdefs.h. */
1746 ac_clean_files_save=$ac_clean_files
1747 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1748 # Try to create an executable without -o first, disregard a.out.
1749 # It will help us diagnose broken compilers, and finding out an intuition
1751 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1752 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1753 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1754 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1755 (eval $ac_link_default) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }; then
1759 # Find the output, starting from the most likely. This scheme is
1760 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1763 # Be careful to initialize this variable, since it used to be cached.
1764 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1766 # b.out is created by i960 compilers.
1767 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1769 test -f "$ac_file" ||
continue
1771 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1774 # This is the source file.
1777 # We found the default executable, but exeext='' is most
1781 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1782 # FIXME: I believe we export ac_cv_exeext for Libtool,
1783 # but it would be cool to find out if it's true. Does anybody
1784 # maintain Libtool? --akim.
1792 echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.
$ac_ext >&5
1795 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1796 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1797 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1798 See \`config.log' for more details." >&5
1799 echo "$as_me: error: C compiler cannot create executables
1800 See \`config.log' for more details." >&2;}
1801 { (exit 77); exit 77; }; }; }
1804 ac_exeext
=$ac_cv_exeext
1805 echo "$as_me:$LINENO: result: $ac_file" >&5
1806 echo "${ECHO_T}$ac_file" >&6
1808 # Check the compiler produces executables we can run. If not, either
1809 # the compiler is broken, or we cross compile.
1810 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1811 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1812 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1813 # If not cross compiling, check that we can run a simple program.
1814 if test "$cross_compiling" != yes; then
1815 if { ac_try
='./$ac_file'
1816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; }; then
1823 if test "$cross_compiling" = maybe
; then
1826 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1827 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1828 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1829 If you meant to cross compile, use \`--host'.
1830 See \`config.log' for more details." >&5
1831 echo "$as_me: error: cannot run C compiled programs.
1832 If you meant to cross compile, use \`--host'.
1833 See \`config.log' for more details." >&2;}
1834 { (exit 1); exit 1; }; }; }
1838 echo "$as_me:$LINENO: result: yes" >&5
1839 echo "${ECHO_T}yes" >&6
1841 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1842 ac_clean_files
=$ac_clean_files_save
1843 # Check the compiler produces executables we can run. If not, either
1844 # the compiler is broken, or we cross compile.
1845 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1846 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1847 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1848 echo "${ECHO_T}$cross_compiling" >&6
1850 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1851 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1853 (eval $ac_link) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }; then
1857 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1858 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1859 # work properly (i.e., refer to `conftest.exe'), while it won't with
1861 for ac_file
in conftest.exe conftest conftest.
*; do
1862 test -f "$ac_file" ||
continue
1864 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1865 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1872 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1873 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1874 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1875 See \`config.log' for more details." >&5
1876 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1877 See \`config.log' for more details." >&2;}
1878 { (exit 1); exit 1; }; }; }
1881 rm -f conftest
$ac_cv_exeext
1882 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1883 echo "${ECHO_T}$ac_cv_exeext" >&6
1885 rm -f conftest.
$ac_ext
1886 EXEEXT
=$ac_cv_exeext
1888 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1889 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1890 if test "${ac_cv_objext+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 cat >conftest.
$ac_ext <<_ACEOF
1896 cat confdefs.h
>>conftest.
$ac_ext
1897 cat >>conftest.
$ac_ext <<_ACEOF
1898 /* end confdefs.h. */
1908 rm -f conftest.o conftest.obj
1909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1910 (eval $ac_compile) 2>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }; then
1914 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1916 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1917 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1922 echo "$as_me: failed program was:" >&5
1923 sed 's/^/| /' conftest.
$ac_ext >&5
1925 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1926 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1927 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1928 See \`config.log' for more details." >&5
1929 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1930 See \`config.log' for more details." >&2;}
1931 { (exit 1); exit 1; }; }; }
1934 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1936 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1937 echo "${ECHO_T}$ac_cv_objext" >&6
1938 OBJEXT
=$ac_cv_objext
1940 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1941 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1942 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1943 echo $ECHO_N "(cached) $ECHO_C" >&6
1945 cat >conftest.
$ac_ext <<_ACEOF
1948 cat confdefs.h
>>conftest.
$ac_ext
1949 cat >>conftest.
$ac_ext <<_ACEOF
1950 /* end confdefs.h. */
1963 rm -f conftest.
$ac_objext
1964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1965 (eval $ac_compile) 2>conftest.er1
1967 grep -v '^ *+' conftest.er1
>conftest.err
1969 cat conftest.err
>&5
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 (exit $ac_status); } &&
1972 { ac_try
='test -z "$ac_c_werror_flag"
1973 || test ! -s conftest.err'
1974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 (exit $ac_status); }; } &&
1979 { ac_try
='test -s conftest.$ac_objext'
1980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }; }; then
1987 echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.
$ac_ext >&5
1992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1993 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1996 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1997 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1998 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1999 ac_test_CFLAGS
=${CFLAGS+set}
2000 ac_save_CFLAGS
=$CFLAGS
2002 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2003 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2004 if test "${ac_cv_prog_cc_g+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 cat >conftest.
$ac_ext <<_ACEOF
2010 cat confdefs.h
>>conftest.
$ac_ext
2011 cat >>conftest.
$ac_ext <<_ACEOF
2012 /* end confdefs.h. */
2022 rm -f conftest.
$ac_objext
2023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2024 (eval $ac_compile) 2>conftest.er1
2026 grep -v '^ *+' conftest.er1
>conftest.err
2028 cat conftest.err
>&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); } &&
2031 { ac_try
='test -z "$ac_c_werror_flag"
2032 || test ! -s conftest.err'
2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; } &&
2038 { ac_try
='test -s conftest.$ac_objext'
2039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043 (exit $ac_status); }; }; then
2046 echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.
$ac_ext >&5
2051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2053 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2054 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2055 if test "$ac_test_CFLAGS" = set; then
2056 CFLAGS
=$ac_save_CFLAGS
2057 elif test $ac_cv_prog_cc_g = yes; then
2058 if test "$GCC" = yes; then
2064 if test "$GCC" = yes; then
2070 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2071 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2072 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 ac_cv_prog_cc_stdc
=no
2077 cat >conftest.
$ac_ext <<_ACEOF
2080 cat confdefs.h
>>conftest.
$ac_ext
2081 cat >>conftest.
$ac_ext <<_ACEOF
2082 /* end confdefs.h. */
2085 #include <sys/types.h>
2086 #include <sys/stat.h>
2087 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2088 struct buf { int x; };
2089 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2090 static char *e (p, i)
2096 static char *f (char * (*g) (char **, int), char **p, ...)
2101 s = g (p, va_arg (v,int));
2106 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2107 function prototypes and stuff, but not '\xHH' hex character constants.
2108 These don't provoke an error unfortunately, instead are silently treated
2109 as 'x'. The following induces an error, until -std1 is added to get
2110 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2111 array size at least. It's necessary to write '\x00'==0 to get something
2112 that's true only with -std1. */
2113 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2115 int test (int i, double x);
2116 struct s1 {int (*f) (int a);};
2117 struct s2 {int (*f) (double a);};
2118 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2124 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2129 # Don't try gcc -ansi; that turns off useful extensions and
2130 # breaks some systems' header files.
2131 # AIX -qlanglvl=ansi
2132 # Ultrix and OSF/1 -std1
2133 # HP-UX 10.20 and later -Ae
2134 # HP-UX older versions -Aa -D_HPUX_SOURCE
2135 # SVR4 -Xc -D__EXTENSIONS__
2136 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2138 CC
="$ac_save_CC $ac_arg"
2139 rm -f conftest.
$ac_objext
2140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2141 (eval $ac_compile) 2>conftest.er1
2143 grep -v '^ *+' conftest.er1
>conftest.err
2145 cat conftest.err
>&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); } &&
2148 { ac_try
='test -z "$ac_c_werror_flag"
2149 || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try
='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2161 ac_cv_prog_cc_stdc
=$ac_arg
2164 echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.
$ac_ext >&5
2168 rm -f conftest.err conftest.
$ac_objext
2170 rm -f conftest.
$ac_ext conftest.
$ac_objext
2175 case "x$ac_cv_prog_cc_stdc" in
2177 echo "$as_me:$LINENO: result: none needed" >&5
2178 echo "${ECHO_T}none needed" >&6 ;;
2180 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2181 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2182 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2185 # Some people use a C++ compiler to compile C. Since we use `exit',
2186 # in C++ we need to declare it. In case someone uses the same compiler
2187 # for both compiling C and C++ we need to have the C++ compiler decide
2188 # the declaration of exit, since it's the most demanding environment.
2189 cat >conftest.
$ac_ext <<_ACEOF
2194 rm -f conftest.
$ac_objext
2195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2196 (eval $ac_compile) 2>conftest.er1
2198 grep -v '^ *+' conftest.er1
>conftest.err
2200 cat conftest.err
>&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); } &&
2203 { ac_try
='test -z "$ac_c_werror_flag"
2204 || test ! -s conftest.err'
2205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209 (exit $ac_status); }; } &&
2210 { ac_try
='test -s conftest.$ac_objext'
2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }; }; then
2216 for ac_declaration
in \
2218 'extern "C" void std::exit (int) throw (); using std::exit;' \
2219 'extern "C" void std::exit (int); using std::exit;' \
2220 'extern "C" void exit (int) throw ();' \
2221 'extern "C" void exit (int);' \
2224 cat >conftest.
$ac_ext <<_ACEOF
2227 cat confdefs.h
>>conftest.
$ac_ext
2228 cat >>conftest.
$ac_ext <<_ACEOF
2229 /* end confdefs.h. */
2240 rm -f conftest.
$ac_objext
2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2242 (eval $ac_compile) 2>conftest.er1
2244 grep -v '^ *+' conftest.er1
>conftest.err
2246 cat conftest.err
>&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); } &&
2249 { ac_try
='test -z "$ac_c_werror_flag"
2250 || test ! -s conftest.err'
2251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); }; } &&
2256 { ac_try
='test -s conftest.$ac_objext'
2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }; }; then
2264 echo "$as_me: failed program was:" >&5
2265 sed 's/^/| /' conftest.
$ac_ext >&5
2269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2270 cat >conftest.
$ac_ext <<_ACEOF
2273 cat confdefs.h
>>conftest.
$ac_ext
2274 cat >>conftest.
$ac_ext <<_ACEOF
2275 /* end confdefs.h. */
2285 rm -f conftest.
$ac_objext
2286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2287 (eval $ac_compile) 2>conftest.er1
2289 grep -v '^ *+' conftest.er1
>conftest.err
2291 cat conftest.err
>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); } &&
2294 { ac_try
='test -z "$ac_c_werror_flag"
2295 || test ! -s conftest.err'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; } &&
2301 { ac_try
='test -s conftest.$ac_objext'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; }; then
2309 echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.
$ac_ext >&5
2313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2316 if test -n "$ac_declaration"; then
2317 echo '#ifdef __cplusplus' >>confdefs.h
2318 echo $ac_declaration >>confdefs.h
2319 echo '#endif' >>confdefs.h
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.
$ac_ext >&5
2327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2329 ac_cpp
='$CPP $CPPFLAGS'
2330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2335 cat >>confdefs.h
<<\_ACEOF
2336 #define _GNU_SOURCE 1
2342 ac_cpp
='$CPP $CPPFLAGS'
2343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2346 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2347 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2348 # On Suns, sometimes $CPP names a directory.
2349 if test -n "$CPP" && test -d "$CPP"; then
2352 if test -z "$CPP"; then
2353 if test "${ac_cv_prog_CPP+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 # Double quotes because CPP needs to be expanded
2357 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2360 for ac_c_preproc_warn_flag
in '' yes
2362 # Use a header file that comes with gcc, so configuring glibc
2363 # with a fresh cross-compiler works.
2364 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2365 # <limits.h> exists even on freestanding compilers.
2366 # On the NeXT, cc -E runs the code through the compiler's parser,
2367 # not just through cpp. "Syntax error" is here to catch this case.
2368 cat >conftest.
$ac_ext <<_ACEOF
2371 cat confdefs.h
>>conftest.
$ac_ext
2372 cat >>conftest.
$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2375 # include <limits.h>
2377 # include <assert.h>
2381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2384 grep -v '^ *+' conftest.er1
>conftest.err
2386 cat conftest.err
>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } >/dev
/null
; then
2389 if test -s conftest.err
; then
2390 ac_cpp_err
=$ac_c_preproc_warn_flag
2391 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2398 if test -z "$ac_cpp_err"; then
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.
$ac_ext >&5
2404 # Broken: fails on valid input.
2407 rm -f conftest.err conftest.
$ac_ext
2409 # OK, works on sane cases. Now check whether non-existent headers
2410 # can be detected and how.
2411 cat >conftest.
$ac_ext <<_ACEOF
2414 cat confdefs.h
>>conftest.
$ac_ext
2415 cat >>conftest.
$ac_ext <<_ACEOF
2416 /* end confdefs.h. */
2417 #include <ac_nonexistent.h>
2419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2422 grep -v '^ *+' conftest.er1
>conftest.err
2424 cat conftest.err
>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } >/dev
/null
; then
2427 if test -s conftest.err
; then
2428 ac_cpp_err
=$ac_c_preproc_warn_flag
2429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2436 if test -z "$ac_cpp_err"; then
2437 # Broken: success on invalid input.
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.
$ac_ext >&5
2443 # Passes both tests.
2447 rm -f conftest.err conftest.
$ac_ext
2450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2451 rm -f conftest.err conftest.
$ac_ext
2452 if $ac_preproc_ok; then
2464 echo "$as_me:$LINENO: result: $CPP" >&5
2465 echo "${ECHO_T}$CPP" >&6
2467 for ac_c_preproc_warn_flag
in '' yes
2469 # Use a header file that comes with gcc, so configuring glibc
2470 # with a fresh cross-compiler works.
2471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2472 # <limits.h> exists even on freestanding compilers.
2473 # On the NeXT, cc -E runs the code through the compiler's parser,
2474 # not just through cpp. "Syntax error" is here to catch this case.
2475 cat >conftest.
$ac_ext <<_ACEOF
2478 cat confdefs.h
>>conftest.
$ac_ext
2479 cat >>conftest.
$ac_ext <<_ACEOF
2480 /* end confdefs.h. */
2482 # include <limits.h>
2484 # include <assert.h>
2488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2489 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2491 grep -v '^ *+' conftest.er1
>conftest.err
2493 cat conftest.err
>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); } >/dev
/null
; then
2496 if test -s conftest.err
; then
2497 ac_cpp_err
=$ac_c_preproc_warn_flag
2498 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2505 if test -z "$ac_cpp_err"; then
2508 echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.
$ac_ext >&5
2511 # Broken: fails on valid input.
2514 rm -f conftest.err conftest.
$ac_ext
2516 # OK, works on sane cases. Now check whether non-existent headers
2517 # can be detected and how.
2518 cat >conftest.
$ac_ext <<_ACEOF
2521 cat confdefs.h
>>conftest.
$ac_ext
2522 cat >>conftest.
$ac_ext <<_ACEOF
2523 /* end confdefs.h. */
2524 #include <ac_nonexistent.h>
2526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2527 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2529 grep -v '^ *+' conftest.er1
>conftest.err
2531 cat conftest.err
>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); } >/dev
/null
; then
2534 if test -s conftest.err
; then
2535 ac_cpp_err
=$ac_c_preproc_warn_flag
2536 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2543 if test -z "$ac_cpp_err"; then
2544 # Broken: success on invalid input.
2547 echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.
$ac_ext >&5
2550 # Passes both tests.
2554 rm -f conftest.err conftest.
$ac_ext
2557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2558 rm -f conftest.err conftest.
$ac_ext
2559 if $ac_preproc_ok; then
2562 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2563 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2565 See \`config.log' for more details." >&5
2566 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2567 See \`config.log' for more details." >&2;}
2568 { (exit 1); exit 1; }; }; }
2572 ac_cpp
='$CPP $CPPFLAGS'
2573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2578 echo "$as_me:$LINENO: checking for egrep" >&5
2579 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2580 if test "${ac_cv_prog_egrep+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2584 then ac_cv_prog_egrep
='grep -E'
2585 else ac_cv_prog_egrep
='egrep'
2588 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2589 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2590 EGREP
=$ac_cv_prog_egrep
2594 echo "$as_me:$LINENO: checking for AIX" >&5
2595 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2596 cat >conftest.
$ac_ext <<_ACEOF
2599 cat confdefs.h
>>conftest.
$ac_ext
2600 cat >>conftest.
$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2608 $EGREP "yes" >/dev
/null
2>&1; then
2609 echo "$as_me:$LINENO: result: yes" >&5
2610 echo "${ECHO_T}yes" >&6
2611 cat >>confdefs.h
<<\_ACEOF
2612 #define _ALL_SOURCE 1
2616 echo "$as_me:$LINENO: result: no" >&5
2617 echo "${ECHO_T}no" >&6
2622 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2623 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2624 if test "${ac_cv_search_strerror+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 ac_func_search_save_LIBS
=$LIBS
2628 ac_cv_search_strerror
=no
2629 cat >conftest.
$ac_ext <<_ACEOF
2632 cat confdefs.h
>>conftest.
$ac_ext
2633 cat >>conftest.
$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2636 /* Override any gcc2 internal prototype to avoid an error. */
2640 /* We use char because int might match the return type of a gcc2
2641 builtin and then its argument prototype would still apply. */
2651 rm -f conftest.
$ac_objext conftest
$ac_exeext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2653 (eval $ac_link) 2>conftest.er1
2655 grep -v '^ *+' conftest.er1
>conftest.err
2657 cat conftest.err
>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try
='test -z "$ac_c_werror_flag"
2661 || test ! -s conftest.err'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; } &&
2667 { ac_try
='test -s conftest$ac_exeext'
2668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }; }; then
2673 ac_cv_search_strerror
="none required"
2675 echo "$as_me: failed program was:" >&5
2676 sed 's/^/| /' conftest.
$ac_ext >&5
2679 rm -f conftest.err conftest.
$ac_objext \
2680 conftest
$ac_exeext conftest.
$ac_ext
2681 if test "$ac_cv_search_strerror" = no
; then
2682 for ac_lib
in cposix
; do
2683 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2684 cat >conftest.
$ac_ext <<_ACEOF
2687 cat confdefs.h
>>conftest.
$ac_ext
2688 cat >>conftest.
$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2691 /* Override any gcc2 internal prototype to avoid an error. */
2695 /* We use char because int might match the return type of a gcc2
2696 builtin and then its argument prototype would still apply. */
2706 rm -f conftest.
$ac_objext conftest
$ac_exeext
2707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2708 (eval $ac_link) 2>conftest.er1
2710 grep -v '^ *+' conftest.er1
>conftest.err
2712 cat conftest.err
>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); } &&
2715 { ac_try
='test -z "$ac_c_werror_flag"
2716 || test ! -s conftest.err'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; } &&
2722 { ac_try
='test -s conftest$ac_exeext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2728 ac_cv_search_strerror
="-l$ac_lib"
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.
$ac_ext >&5
2735 rm -f conftest.err conftest.
$ac_objext \
2736 conftest
$ac_exeext conftest.
$ac_ext
2739 LIBS
=$ac_func_search_save_LIBS
2741 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2742 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2743 if test "$ac_cv_search_strerror" != no
; then
2744 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2748 if test -n "$ac_tool_prefix"; then
2749 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2750 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2751 echo "$as_me:$LINENO: checking for $ac_word" >&5
2752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2753 if test "${ac_cv_prog_RANLIB+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
2756 if test -n "$RANLIB"; then
2757 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 RANLIB
=$ac_cv_prog_RANLIB
2776 if test -n "$RANLIB"; then
2777 echo "$as_me:$LINENO: result: $RANLIB" >&5
2778 echo "${ECHO_T}$RANLIB" >&6
2780 echo "$as_me:$LINENO: result: no" >&5
2781 echo "${ECHO_T}no" >&6
2785 if test -z "$ac_cv_prog_RANLIB"; then
2786 ac_ct_RANLIB
=$RANLIB
2787 # Extract the first word of "ranlib", so it can be a program name with args.
2788 set dummy ranlib
; ac_word
=$2
2789 echo "$as_me:$LINENO: checking for $ac_word" >&5
2790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2791 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2792 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 if test -n "$ac_ct_RANLIB"; then
2795 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir
=.
2802 for ac_exec_ext
in '' $ac_executable_extensions; do
2803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2814 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2815 if test -n "$ac_ct_RANLIB"; then
2816 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2817 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2819 echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6
2823 RANLIB
=$ac_ct_RANLIB
2825 RANLIB
="$ac_cv_prog_RANLIB"
2828 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2829 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2830 if test "${ac_cv_header_stdc+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 cat >conftest.
$ac_ext <<_ACEOF
2836 cat confdefs.h
>>conftest.
$ac_ext
2837 cat >>conftest.
$ac_ext <<_ACEOF
2838 /* end confdefs.h. */
2852 rm -f conftest.
$ac_objext
2853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2854 (eval $ac_compile) 2>conftest.er1
2856 grep -v '^ *+' conftest.er1
>conftest.err
2858 cat conftest.err
>&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); } &&
2861 { ac_try
='test -z "$ac_c_werror_flag"
2862 || test ! -s conftest.err'
2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; } &&
2868 { ac_try
='test -s conftest.$ac_objext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2874 ac_cv_header_stdc
=yes
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.
$ac_ext >&5
2879 ac_cv_header_stdc
=no
2881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2883 if test $ac_cv_header_stdc = yes; then
2884 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2885 cat >conftest.
$ac_ext <<_ACEOF
2888 cat confdefs.h
>>conftest.
$ac_ext
2889 cat >>conftest.
$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2895 $EGREP "memchr" >/dev
/null
2>&1; then
2898 ac_cv_header_stdc
=no
2904 if test $ac_cv_header_stdc = yes; then
2905 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2906 cat >conftest.
$ac_ext <<_ACEOF
2909 cat confdefs.h
>>conftest.
$ac_ext
2910 cat >>conftest.
$ac_ext <<_ACEOF
2911 /* end confdefs.h. */
2915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2916 $EGREP "free" >/dev
/null
2>&1; then
2919 ac_cv_header_stdc
=no
2925 if test $ac_cv_header_stdc = yes; then
2926 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2927 if test "$cross_compiling" = yes; then
2930 cat >conftest.
$ac_ext <<_ACEOF
2933 cat confdefs.h
>>conftest.
$ac_ext
2934 cat >>conftest.
$ac_ext <<_ACEOF
2935 /* end confdefs.h. */
2937 #if ((' ' & 0x0FF) == 0x020)
2938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2941 # define ISLOWER(c) \
2942 (('a' <= (c) && (c) <= 'i') \
2943 || ('j' <= (c) && (c) <= 'r') \
2944 || ('s' <= (c) && (c) <= 'z'))
2945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2953 for (i = 0; i < 256; i++)
2954 if (XOR (islower (i), ISLOWER (i))
2955 || toupper (i) != TOUPPER (i))
2960 rm -f conftest
$ac_exeext
2961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2962 (eval $ac_link) 2>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2973 echo "$as_me: program exited with status $ac_status" >&5
2974 echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.
$ac_ext >&5
2978 ac_cv_header_stdc
=no
2980 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2984 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2985 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2986 if test $ac_cv_header_stdc = yes; then
2988 cat >>confdefs.h
<<\_ACEOF
2989 #define STDC_HEADERS 1
2994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3004 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3005 inttypes.h stdint.h unistd.h
3007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3008 echo "$as_me:$LINENO: checking for $ac_header" >&5
3009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 cat >conftest.
$ac_ext <<_ACEOF
3016 cat confdefs.h
>>conftest.
$ac_ext
3017 cat >>conftest.
$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3019 $ac_includes_default
3021 #include <$ac_header>
3023 rm -f conftest.
$ac_objext
3024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3025 (eval $ac_compile) 2>conftest.er1
3027 grep -v '^ *+' conftest.er1
>conftest.err
3029 cat conftest.err
>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } &&
3032 { ac_try
='test -z "$ac_c_werror_flag"
3033 || test ! -s conftest.err'
3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); }; } &&
3039 { ac_try
='test -s conftest.$ac_objext'
3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; }; then
3045 eval "$as_ac_Header=yes"
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.
$ac_ext >&5
3050 eval "$as_ac_Header=no"
3052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3057 cat >>confdefs.h
<<_ACEOF
3058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3067 if test "${ac_cv_header_minix_config_h+set}" = set; then
3068 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3069 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3070 if test "${ac_cv_header_minix_config_h+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3074 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3076 # Is the header compilable?
3077 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3078 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3079 cat >conftest.
$ac_ext <<_ACEOF
3082 cat confdefs.h
>>conftest.
$ac_ext
3083 cat >>conftest.
$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3085 $ac_includes_default
3086 #include <minix/config.h>
3088 rm -f conftest.
$ac_objext
3089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090 (eval $ac_compile) 2>conftest.er1
3092 grep -v '^ *+' conftest.er1
>conftest.err
3094 cat conftest.err
>&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); } &&
3097 { ac_try
='test -z "$ac_c_werror_flag"
3098 || test ! -s conftest.err'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; } &&
3104 { ac_try
='test -s conftest.$ac_objext'
3105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }; }; then
3110 ac_header_compiler
=yes
3112 echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.
$ac_ext >&5
3115 ac_header_compiler
=no
3117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3119 echo "${ECHO_T}$ac_header_compiler" >&6
3121 # Is the header present?
3122 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3123 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3124 cat >conftest.
$ac_ext <<_ACEOF
3127 cat confdefs.h
>>conftest.
$ac_ext
3128 cat >>conftest.
$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3130 #include <minix/config.h>
3132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3135 grep -v '^ *+' conftest.er1
>conftest.err
3137 cat conftest.err
>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } >/dev
/null
; then
3140 if test -s conftest.err
; then
3141 ac_cpp_err
=$ac_c_preproc_warn_flag
3142 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3149 if test -z "$ac_cpp_err"; then
3150 ac_header_preproc
=yes
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.
$ac_ext >&5
3155 ac_header_preproc
=no
3157 rm -f conftest.err conftest.
$ac_ext
3158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3159 echo "${ECHO_T}$ac_header_preproc" >&6
3161 # So? What about this header?
3162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3164 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3165 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3166 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3167 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3168 ac_header_preproc
=yes
3171 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3172 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3173 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3174 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3175 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3176 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3177 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3178 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3179 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3180 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3181 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3182 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3185 ## ------------------------------------------ ##
3186 ## Report this to the AC_PACKAGE_NAME lists. ##
3187 ## ------------------------------------------ ##
3190 sed "s/^/$as_me: WARNING: /" >&2
3193 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3194 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3195 if test "${ac_cv_header_minix_config_h+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 ac_cv_header_minix_config_h
=$ac_header_preproc
3200 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3201 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3204 if test $ac_cv_header_minix_config_h = yes; then
3211 if test "$MINIX" = yes; then
3213 cat >>confdefs.h
<<\_ACEOF
3214 #define _POSIX_SOURCE 1
3218 cat >>confdefs.h
<<\_ACEOF
3219 #define _POSIX_1_SOURCE 2
3223 cat >>confdefs.h
<<\_ACEOF
3231 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3232 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
3233 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 cat >conftest.
$ac_ext <<_ACEOF
3239 cat confdefs.h
>>conftest.
$ac_ext
3240 cat >>conftest.
$ac_ext <<_ACEOF
3241 /* end confdefs.h. */
3243 # define __EXTENSIONS__ 1
3244 $ac_includes_default
3253 rm -f conftest.
$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try
='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try
='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3275 ac_cv_safe_to_define___extensions__
=yes
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3280 ac_cv_safe_to_define___extensions__
=no
3282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3284 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3285 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
3286 test $ac_cv_safe_to_define___extensions__ = yes &&
3287 cat >>confdefs.h
<<\_ACEOF
3288 #define __EXTENSIONS__ 1
3291 cat >>confdefs.h
<<\_ACEOF
3292 #define _ALL_SOURCE 1
3295 cat >>confdefs.h
<<\_ACEOF
3296 #define _GNU_SOURCE 1
3299 cat >>confdefs.h
<<\_ACEOF
3300 #define _POSIX_PTHREAD_SEMANTICS 1
3303 cat >>confdefs.h
<<\_ACEOF
3304 #define _TANDEM_SOURCE 1
3316 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3317 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3318 if test "${am_cv_prog_cc_stdc+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 am_cv_prog_cc_stdc
=no
3323 # Don't try gcc -ansi; that turns off useful extensions and
3324 # breaks some systems' header files.
3325 # AIX -qlanglvl=ansi
3326 # Ultrix and OSF/1 -std1
3327 # HP-UX 10.20 and later -Ae
3328 # HP-UX older versions -Aa -D_HPUX_SOURCE
3329 # SVR4 -Xc -D__EXTENSIONS__
3330 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3332 CC
="$ac_save_CC $ac_arg"
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3341 #include <sys/types.h>
3342 #include <sys/stat.h>
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3361 int test (int i, double x);
3362 struct s1 {int (*f) (int a);};
3363 struct s2 {int (*f) (double a);};
3364 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3372 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3378 rm -f conftest.
$ac_objext
3379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3380 (eval $ac_compile) 2>conftest.er1
3382 grep -v '^ *+' conftest.er1
>conftest.err
3384 cat conftest.err
>&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } &&
3387 { ac_try
='test -z "$ac_c_werror_flag"
3388 || test ! -s conftest.err'
3389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }; } &&
3394 { ac_try
='test -s conftest.$ac_objext'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; }; then
3400 am_cv_prog_cc_stdc
="$ac_arg"; break
3402 echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.
$ac_ext >&5
3406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3412 if test -z "$am_cv_prog_cc_stdc"; then
3413 echo "$as_me:$LINENO: result: none needed" >&5
3414 echo "${ECHO_T}none needed" >&6
3416 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3417 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3419 case "x$am_cv_prog_cc_stdc" in
3421 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3426 for ac_dir
in ..
$srcdir/..
; do
3427 if test -f $ac_dir/install-sh
; then
3429 ac_install_sh
="$ac_aux_dir/install-sh -c"
3431 elif test -f $ac_dir/install.sh
; then
3433 ac_install_sh
="$ac_aux_dir/install.sh -c"
3435 elif test -f $ac_dir/shtool
; then
3437 ac_install_sh
="$ac_aux_dir/shtool install -c"
3441 if test -z "$ac_aux_dir"; then
3442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
3443 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
3444 { (exit 1); exit 1; }; }
3446 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
3447 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
3448 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3450 # Make sure we can run config.sub.
3451 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3452 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3453 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3454 { (exit 1); exit 1; }; }
3456 echo "$as_me:$LINENO: checking build system type" >&5
3457 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3458 if test "${ac_cv_build+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 ac_cv_build_alias
=$build_alias
3462 test -z "$ac_cv_build_alias" &&
3463 ac_cv_build_alias
=`$ac_config_guess`
3464 test -z "$ac_cv_build_alias" &&
3465 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3466 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3467 { (exit 1); exit 1; }; }
3468 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3469 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3470 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3471 { (exit 1); exit 1; }; }
3474 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3475 echo "${ECHO_T}$ac_cv_build" >&6
3477 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3478 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3479 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3482 echo "$as_me:$LINENO: checking host system type" >&5
3483 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3484 if test "${ac_cv_host+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 ac_cv_host_alias
=$host_alias
3488 test -z "$ac_cv_host_alias" &&
3489 ac_cv_host_alias
=$ac_cv_build_alias
3490 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3491 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3492 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3493 { (exit 1); exit 1; }; }
3496 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3497 echo "${ECHO_T}$ac_cv_host" >&6
3499 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3500 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3501 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3504 echo "$as_me:$LINENO: checking target system type" >&5
3505 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3506 if test "${ac_cv_target+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 ac_cv_target_alias
=$target_alias
3510 test "x$ac_cv_target_alias" = "x" &&
3511 ac_cv_target_alias
=$ac_cv_host_alias
3512 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
3513 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3514 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3515 { (exit 1); exit 1; }; }
3518 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3519 echo "${ECHO_T}$ac_cv_target" >&6
3520 target
=$ac_cv_target
3521 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3522 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3523 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3526 # The aliases save the names the user supplied, while $host etc.
3527 # will get canonicalized.
3528 test -n "$target_alias" &&
3529 test "$program_prefix$program_suffix$program_transform_name" = \
3531 program_prefix
=${target_alias}-
3544 # If we haven't got the data from the intl directory,
3545 # assume NLS is disabled.
3554 if test -f ..
/intl
/config.intl
; then
3555 . ..
/intl
/config.intl
3557 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3558 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3559 if test x
"$USE_NLS" != xyes
; then
3560 echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3563 echo "$as_me:$LINENO: result: yes" >&5
3564 echo "${ECHO_T}yes" >&6
3566 cat >>confdefs.h
<<\_ACEOF
3567 #define ENABLE_NLS 1
3571 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3572 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3573 # Look for .po and .gmo files in the source directory.
3576 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3577 # If there aren't any .gmo files the shell will give us the
3578 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3580 case "$cat" in *\
**)
3583 # The quadruple backslash is collapsed to a double backslash
3584 # by the backticks, then collapsed again by the double quotes,
3585 # leaving us with one backslash in the sed expression (right
3586 # before the dot that mustn't act as a wildcard).
3587 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3588 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3589 # The user is allowed to set LINGUAS to a list of languages to
3590 # install catalogs for. If it's empty that means "all of them."
3591 if test "x$LINGUAS" = x
; then
3592 CATALOGS
="$CATALOGS $cat"
3593 XLINGUAS
="$XLINGUAS $lang"
3595 case "$LINGUAS" in *$lang*)
3596 CATALOGS
="$CATALOGS $cat"
3597 XLINGUAS
="$XLINGUAS $lang"
3603 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3604 echo "${ECHO_T}$LINGUAS" >&6
3617 localedir
='${datadir}/locale'
3620 if test x
"$USE_NLS" = xyes
; then
3621 CONFIG_ALL
="$CONFIG_ALL all-po"
3622 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3623 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3624 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3640 GNULIB_STRCASESTR
=0;
3647 GNULIB_MBSCASECMP
=0;
3648 GNULIB_MBSNCASECMP
=0;
3649 GNULIB_MBSPCASECMP
=0;
3650 GNULIB_MBSCASESTR
=0;
3660 HAVE_DECL_MEMRCHR
=1;
3666 HAVE_DECL_STRNDUP
=1;
3667 HAVE_DECL_STRNLEN
=1;
3671 HAVE_DECL_STRTOK_R
=1;
3672 HAVE_DECL_STRERROR
=1;
3673 HAVE_DECL_STRSIGNAL
=1;
3675 REPLACE_STRSIGNAL
=0;
3677 REPLACE_STRCASESTR
=0;
3681 echo "$as_me:$LINENO: checking whether memmem is declared" >&5
3682 echo $ECHO_N "checking whether memmem is declared... $ECHO_C" >&6
3683 if test "${ac_cv_have_decl_memmem+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 cat >conftest.
$ac_ext <<_ACEOF
3689 cat confdefs.h
>>conftest.
$ac_ext
3690 cat >>conftest.
$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3692 $ac_includes_default
3697 char *p = (char *) memmem;
3704 rm -f conftest.
$ac_objext
3705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3706 (eval $ac_compile) 2>conftest.er1
3708 grep -v '^ *+' conftest.er1
>conftest.err
3710 cat conftest.err
>&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); } &&
3713 { ac_try
='test -z "$ac_c_werror_flag"
3714 || test ! -s conftest.err'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; } &&
3720 { ac_try
='test -s conftest.$ac_objext'
3721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); }; }; then
3726 ac_cv_have_decl_memmem
=yes
3728 echo "$as_me: failed program was:" >&5
3729 sed 's/^/| /' conftest.
$ac_ext >&5
3731 ac_cv_have_decl_memmem
=no
3733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3735 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memmem" >&5
3736 echo "${ECHO_T}$ac_cv_have_decl_memmem" >&6
3737 if test $ac_cv_have_decl_memmem = yes; then
3739 cat >>confdefs.h
<<_ACEOF
3740 #define HAVE_DECL_MEMMEM 1
3745 cat >>confdefs.h
<<_ACEOF
3746 #define HAVE_DECL_MEMMEM 0
3766 for ac_func
in memmem
3768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3769 echo "$as_me:$LINENO: checking for $ac_func" >&5
3770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3771 if eval "test \"\${$as_ac_var+set}\" = set"; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 cat >conftest.
$ac_ext <<_ACEOF
3777 cat confdefs.h
>>conftest.
$ac_ext
3778 cat >>conftest.
$ac_ext <<_ACEOF
3779 /* end confdefs.h. */
3780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3782 #define $ac_func innocuous_$ac_func
3784 /* System header to define __stub macros and hopefully few prototypes,
3785 which can conflict with char $ac_func (); below.
3786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787 <limits.h> exists even on freestanding compilers. */
3790 # include <limits.h>
3792 # include <assert.h>
3797 /* Override any gcc2 internal prototype to avoid an error. */
3802 /* We use char because int might match the return type of a gcc2
3803 builtin and then its argument prototype would still apply. */
3805 /* The GNU C library defines this for functions which it implements
3806 to always fail with ENOSYS. Some functions are actually named
3807 something starting with __ and the normal name is an alias. */
3808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3811 char (*f) () = $ac_func;
3820 return f != $ac_func;
3825 rm -f conftest.
$ac_objext conftest
$ac_exeext
3826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3827 (eval $ac_link) 2>conftest.er1
3829 grep -v '^ *+' conftest.er1
>conftest.err
3831 cat conftest.err
>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } &&
3834 { ac_try
='test -z "$ac_c_werror_flag"
3835 || test ! -s conftest.err'
3836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); }; } &&
3841 { ac_try
='test -s conftest$ac_exeext'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; }; then
3847 eval "$as_ac_var=yes"
3849 echo "$as_me: failed program was:" >&5
3850 sed 's/^/| /' conftest.
$ac_ext >&5
3852 eval "$as_ac_var=no"
3854 rm -f conftest.err conftest.
$ac_objext \
3855 conftest
$ac_exeext conftest.
$ac_ext
3857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3859 if test `eval echo '${'$as_ac_var'}'` = yes; then
3860 cat >>confdefs.h
<<_ACEOF
3861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3866 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
3879 if test $ac_cv_have_decl_memmem = no
; then
3885 echo "$as_me:$LINENO: checking for long long int" >&5
3886 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
3887 if test "${ac_cv_type_long_long_int+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 cat >conftest.
$ac_ext <<_ACEOF
3894 cat confdefs.h
>>conftest.
$ac_ext
3895 cat >>conftest.
$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3897 /* For now, do not test the preprocessor; as of 2007 there are too many
3898 implementations with broken preprocessors. Perhaps this can
3899 be revisited in 2012. In the meantime, code should not expect
3900 #if to work with literals wider than 32 bits. */
3901 /* Test literals. */
3902 long long int ll = 9223372036854775807ll;
3903 long long int nll = -9223372036854775807LL;
3904 unsigned long long int ull = 18446744073709551615ULL;
3905 /* Test constant expressions. */
3906 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
3908 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
3914 /* Test availability of runtime routines for shift and division. */
3915 long long int llmax = 9223372036854775807ll;
3916 unsigned long long int ullmax = 18446744073709551615ull;
3917 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
3918 | (llmax / ll) | (llmax % ll)
3919 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
3920 | (ullmax / ull) | (ullmax % ull));
3926 rm -f conftest.
$ac_objext conftest
$ac_exeext
3927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3928 (eval $ac_link) 2>conftest.er1
3930 grep -v '^ *+' conftest.er1
>conftest.err
3932 cat conftest.err
>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } &&
3935 { ac_try
='test -z "$ac_c_werror_flag"
3936 || test ! -s conftest.err'
3937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; } &&
3942 { ac_try
='test -s conftest$ac_exeext'
3943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); }; }; then
3948 if test "$cross_compiling" = yes; then
3949 ac_cv_type_long_long_int
=yes
3951 cat >conftest.
$ac_ext <<_ACEOF
3954 cat confdefs.h
>>conftest.
$ac_ext
3955 cat >>conftest.
$ac_ext <<_ACEOF
3956 /* end confdefs.h. */
3960 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
3961 # define LLONG_MAX (HALF - 1 + HALF)
3966 long long int n = 1;
3970 long long int m = n << i;
3973 if (LLONG_MAX / 2 < m)
3981 rm -f conftest
$ac_exeext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3983 (eval $ac_link) 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then
3992 ac_cv_type_long_long_int
=yes
3994 echo "$as_me: program exited with status $ac_status" >&5
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.
$ac_ext >&5
3999 ac_cv_type_long_long_int
=no
4001 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4004 echo "$as_me: failed program was:" >&5
4005 sed 's/^/| /' conftest.
$ac_ext >&5
4007 ac_cv_type_long_long_int
=no
4009 rm -f conftest.err conftest.
$ac_objext \
4010 conftest
$ac_exeext conftest.
$ac_ext
4012 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
4013 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
4014 if test $ac_cv_type_long_long_int = yes; then
4016 cat >>confdefs.h
<<\_ACEOF
4017 #define HAVE_LONG_LONG_INT 1
4023 echo "$as_me:$LINENO: checking for unsigned long long int" >&5
4024 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6
4025 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4028 cat >conftest.
$ac_ext <<_ACEOF
4032 cat confdefs.h
>>conftest.
$ac_ext
4033 cat >>conftest.
$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 /* For now, do not test the preprocessor; as of 2007 there are too many
4036 implementations with broken preprocessors. Perhaps this can
4037 be revisited in 2012. In the meantime, code should not expect
4038 #if to work with literals wider than 32 bits. */
4039 /* Test literals. */
4040 long long int ll = 9223372036854775807ll;
4041 long long int nll = -9223372036854775807LL;
4042 unsigned long long int ull = 18446744073709551615ULL;
4043 /* Test constant expressions. */
4044 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4046 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4052 /* Test availability of runtime routines for shift and division. */
4053 long long int llmax = 9223372036854775807ll;
4054 unsigned long long int ullmax = 18446744073709551615ull;
4055 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4056 | (llmax / ll) | (llmax % ll)
4057 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4058 | (ullmax / ull) | (ullmax % ull));
4064 rm -f conftest.
$ac_objext conftest
$ac_exeext
4065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4066 (eval $ac_link) 2>conftest.er1
4068 grep -v '^ *+' conftest.er1
>conftest.err
4070 cat conftest.err
>&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try
='test -z "$ac_c_werror_flag"
4074 || test ! -s conftest.err'
4075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; } &&
4080 { ac_try
='test -s conftest$ac_exeext'
4081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; }; then
4086 ac_cv_type_unsigned_long_long_int
=yes
4088 echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.
$ac_ext >&5
4091 ac_cv_type_unsigned_long_long_int
=no
4093 rm -f conftest.err conftest.
$ac_objext \
4094 conftest
$ac_exeext conftest.
$ac_ext
4096 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
4097 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6
4098 if test $ac_cv_type_unsigned_long_long_int = yes; then
4100 cat >>confdefs.h
<<\_ACEOF
4101 #define HAVE_UNSIGNED_LONG_LONG_INT 1
4108 echo "$as_me:$LINENO: checking whether the preprocessor supports include_next" >&5
4109 echo $ECHO_N "checking whether the preprocessor supports include_next... $ECHO_C" >&6
4110 if test "${gl_cv_have_include_next+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 rm -rf conftestd1 conftestd2
4114 mkdir conftestd1 conftestd2
4115 cat <<EOF > conftestd1/conftest.h
4116 #define DEFINED_IN_CONFTESTD1
4117 #include_next <conftest.h>
4118 #ifdef DEFINED_IN_CONFTESTD2
4121 #error "include_next doesn't work"
4124 cat <<EOF > conftestd2/conftest.h
4125 #ifndef DEFINED_IN_CONFTESTD1
4126 #error "include_next test doesn't work"
4128 #define DEFINED_IN_CONFTESTD2
4130 save_CPPFLAGS
="$CPPFLAGS"
4131 CPPFLAGS
="$CPPFLAGS -Iconftestd1 -Iconftestd2"
4132 cat >conftest.
$ac_ext <<_ACEOF
4133 #include <conftest.h>
4135 rm -f conftest.
$ac_objext
4136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4137 (eval $ac_compile) 2>conftest.er1
4139 grep -v '^ *+' conftest.er1
>conftest.err
4141 cat conftest.err
>&5
4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143 (exit $ac_status); } &&
4144 { ac_try
='test -z "$ac_c_werror_flag"
4145 || test ! -s conftest.err'
4146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); }; } &&
4151 { ac_try
='test -s conftest.$ac_objext'
4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); }; }; then
4157 gl_cv_have_include_next
=yes
4159 echo "$as_me: failed program was:" >&5
4160 sed 's/^/| /' conftest.
$ac_ext >&5
4162 gl_cv_have_include_next
=no
4164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4165 CPPFLAGS
="$save_CPPFLAGS"
4166 rm -rf conftestd1 conftestd2
4169 echo "$as_me:$LINENO: result: $gl_cv_have_include_next" >&5
4170 echo "${ECHO_T}$gl_cv_have_include_next" >&6
4171 if test $gl_cv_have_include_next = yes; then
4174 cat >>confdefs.h
<<\_ACEOF
4175 #define HAVE_INCLUDE_NEXT 1
4179 INCLUDE_NEXT
=include_next
4181 INCLUDE_NEXT
=include
4190 for ac_header
in $gl_header_list
4192 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4194 echo "$as_me:$LINENO: checking for $ac_header" >&5
4195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4202 # Is the header compilable?
4203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4205 cat >conftest.
$ac_ext <<_ACEOF
4208 cat confdefs.h
>>conftest.
$ac_ext
4209 cat >>conftest.
$ac_ext <<_ACEOF
4210 /* end confdefs.h. */
4211 $ac_includes_default
4212 #include <$ac_header>
4214 rm -f conftest.
$ac_objext
4215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4216 (eval $ac_compile) 2>conftest.er1
4218 grep -v '^ *+' conftest.er1
>conftest.err
4220 cat conftest.err
>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } &&
4223 { ac_try
='test -z "$ac_c_werror_flag"
4224 || test ! -s conftest.err'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; } &&
4230 { ac_try
='test -s conftest.$ac_objext'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; }; then
4236 ac_header_compiler
=yes
4238 echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.
$ac_ext >&5
4241 ac_header_compiler
=no
4243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4245 echo "${ECHO_T}$ac_header_compiler" >&6
4247 # Is the header present?
4248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4250 cat >conftest.
$ac_ext <<_ACEOF
4253 cat confdefs.h
>>conftest.
$ac_ext
4254 cat >>conftest.
$ac_ext <<_ACEOF
4255 /* end confdefs.h. */
4256 #include <$ac_header>
4258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4261 grep -v '^ *+' conftest.er1
>conftest.err
4263 cat conftest.err
>&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } >/dev
/null
; then
4266 if test -s conftest.err
; then
4267 ac_cpp_err
=$ac_c_preproc_warn_flag
4268 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4275 if test -z "$ac_cpp_err"; then
4276 ac_header_preproc
=yes
4278 echo "$as_me: failed program was:" >&5
4279 sed 's/^/| /' conftest.
$ac_ext >&5
4281 ac_header_preproc
=no
4283 rm -f conftest.err conftest.
$ac_ext
4284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4285 echo "${ECHO_T}$ac_header_preproc" >&6
4287 # So? What about this header?
4288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4294 ac_header_preproc
=yes
4297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4311 ## ------------------------------------------ ##
4312 ## Report this to the AC_PACKAGE_NAME lists. ##
4313 ## ------------------------------------------ ##
4316 sed "s/^/$as_me: WARNING: /" >&2
4319 echo "$as_me:$LINENO: checking for $ac_header" >&5
4320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 eval "$as_ac_Header=\$ac_header_preproc"
4326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4331 cat >>confdefs.h
<<_ACEOF
4332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4350 echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
4351 echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6
4352 if test "${ac_cv_c_restrict+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 # The order here caters to the fact that C++ does not require restrict.
4357 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
4358 cat >conftest.
$ac_ext <<_ACEOF
4361 cat confdefs.h
>>conftest.
$ac_ext
4362 cat >>conftest.
$ac_ext <<_ACEOF
4363 /* end confdefs.h. */
4364 typedef int * int_ptr;
4365 int foo (int_ptr $ac_kw ip) {
4379 rm -f conftest.
$ac_objext
4380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4381 (eval $ac_compile) 2>conftest.er1
4383 grep -v '^ *+' conftest.er1
>conftest.err
4385 cat conftest.err
>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); } &&
4388 { ac_try
='test -z "$ac_c_werror_flag"
4389 || test ! -s conftest.err'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; } &&
4395 { ac_try
='test -s conftest.$ac_objext'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then
4401 ac_cv_c_restrict
=$ac_kw
4403 echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.
$ac_ext >&5
4407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4408 test "$ac_cv_c_restrict" != no
&& break
4412 echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
4413 echo "${ECHO_T}$ac_cv_c_restrict" >&6
4416 case $ac_cv_c_restrict in
4418 no
) cat >>confdefs.h
<<\_ACEOF
4422 *) cat >>confdefs.h
<<_ACEOF
4423 #define restrict $ac_cv_c_restrict
4448 if test $gl_cv_have_include_next = yes; then
4449 gl_cv_next_string_h
='<'string.h
'>'
4451 echo "$as_me:$LINENO: checking absolute name of <string.h>" >&5
4452 echo $ECHO_N "checking absolute name of <string.h>... $ECHO_C" >&6
4453 if test "${gl_cv_next_string_h+set}" = set; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 if test $ac_cv_header_string_h = yes; then
4458 cat >conftest.
$ac_ext <<_ACEOF
4461 cat confdefs.h
>>conftest.
$ac_ext
4462 cat >>conftest.
$ac_ext <<_ACEOF
4463 /* end confdefs.h. */
4467 gl_cv_next_string_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4468 sed -n '\#/string.h#{
4469 s#.*"\(.*/string.h\)".*#\1#
4475 gl_cv_next_string_h
='<'string.h
'>'
4479 echo "$as_me:$LINENO: result: $gl_cv_next_string_h" >&5
4480 echo "${ECHO_T}$gl_cv_next_string_h" >&6
4482 NEXT_STRING_H
=$gl_cv_next_string_h
4489 HAVE_DECL_WCWIDTH
=1;
4498 GL_COND_LIBTOOL_TRUE
=
4499 GL_COND_LIBTOOL_FALSE
='#'
4501 GL_COND_LIBTOOL_TRUE
='#'
4502 GL_COND_LIBTOOL_FALSE
=
4505 gl_cond_libtool
=false
4511 gl_source_base
='gnulib'
4521 for ac_func
in memchr
4523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4524 echo "$as_me:$LINENO: checking for $ac_func" >&5
4525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4526 if eval "test \"\${$as_ac_var+set}\" = set"; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 cat >conftest.
$ac_ext <<_ACEOF
4532 cat confdefs.h
>>conftest.
$ac_ext
4533 cat >>conftest.
$ac_ext <<_ACEOF
4534 /* end confdefs.h. */
4535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4537 #define $ac_func innocuous_$ac_func
4539 /* System header to define __stub macros and hopefully few prototypes,
4540 which can conflict with char $ac_func (); below.
4541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4542 <limits.h> exists even on freestanding compilers. */
4545 # include <limits.h>
4547 # include <assert.h>
4552 /* Override any gcc2 internal prototype to avoid an error. */
4557 /* We use char because int might match the return type of a gcc2
4558 builtin and then its argument prototype would still apply. */
4560 /* The GNU C library defines this for functions which it implements
4561 to always fail with ENOSYS. Some functions are actually named
4562 something starting with __ and the normal name is an alias. */
4563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4566 char (*f) () = $ac_func;
4575 return f != $ac_func;
4580 rm -f conftest.
$ac_objext conftest
$ac_exeext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4582 (eval $ac_link) 2>conftest.er1
4584 grep -v '^ *+' conftest.er1
>conftest.err
4586 cat conftest.err
>&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try
='test -z "$ac_c_werror_flag"
4590 || test ! -s conftest.err'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try
='test -s conftest$ac_exeext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 eval "$as_ac_var=yes"
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4607 eval "$as_ac_var=no"
4609 rm -f conftest.err conftest.
$ac_objext \
4610 conftest
$ac_exeext conftest.
$ac_ext
4612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4614 if test `eval echo '${'$as_ac_var'}'` = yes; then
4615 cat >>confdefs.h
<<_ACEOF
4616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4621 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
4627 if test $ac_cv_func_memchr = no
; then
4630 for ac_header
in bp-sym.h
4632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4634 echo "$as_me:$LINENO: checking for $ac_header" >&5
4635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4642 # Is the header compilable?
4643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4645 cat >conftest.
$ac_ext <<_ACEOF
4648 cat confdefs.h
>>conftest.
$ac_ext
4649 cat >>conftest.
$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4651 $ac_includes_default
4652 #include <$ac_header>
4654 rm -f conftest.
$ac_objext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4656 (eval $ac_compile) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1
>conftest.err
4660 cat conftest.err
>&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } &&
4663 { ac_try
='test -z "$ac_c_werror_flag"
4664 || test ! -s conftest.err'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; } &&
4670 { ac_try
='test -s conftest.$ac_objext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4676 ac_header_compiler
=yes
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.
$ac_ext >&5
4681 ac_header_compiler
=no
4683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4685 echo "${ECHO_T}$ac_header_compiler" >&6
4687 # Is the header present?
4688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4690 cat >conftest.
$ac_ext <<_ACEOF
4693 cat confdefs.h
>>conftest.
$ac_ext
4694 cat >>conftest.
$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4696 #include <$ac_header>
4698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1
>conftest.err
4703 cat conftest.err
>&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } >/dev
/null
; then
4706 if test -s conftest.err
; then
4707 ac_cpp_err
=$ac_c_preproc_warn_flag
4708 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4715 if test -z "$ac_cpp_err"; then
4716 ac_header_preproc
=yes
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4721 ac_header_preproc
=no
4723 rm -f conftest.err conftest.
$ac_ext
4724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4725 echo "${ECHO_T}$ac_header_preproc" >&6
4727 # So? What about this header?
4728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4734 ac_header_preproc
=yes
4737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4751 ## ------------------------------------------ ##
4752 ## Report this to the AC_PACKAGE_NAME lists. ##
4753 ## ------------------------------------------ ##
4756 sed "s/^/$as_me: WARNING: /" >&2
4759 echo "$as_me:$LINENO: checking for $ac_header" >&5
4760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 eval "$as_ac_Header=\$ac_header_preproc"
4766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4771 cat >>confdefs.h
<<_ACEOF
4772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4783 echo "$as_me:$LINENO: checking for working memcmp" >&5
4784 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4785 if test "${ac_cv_func_memcmp_working+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 if test "$cross_compiling" = yes; then
4789 ac_cv_func_memcmp_working
=no
4791 cat >conftest.
$ac_ext <<_ACEOF
4794 cat confdefs.h
>>conftest.
$ac_ext
4795 cat >>conftest.
$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 $ac_includes_default
4802 /* Some versions of memcmp are not 8-bit clean. */
4803 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4804 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4807 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4808 or more and with at least one buffer not starting on a 4-byte boundary.
4809 William Lewis provided this test program. */
4814 for (i = 0; i < 4; i++)
4818 strcpy (a, "--------01111111");
4819 strcpy (b, "--------10000000");
4820 if (memcmp (a, b, 16) >= 0)
4830 rm -f conftest
$ac_exeext
4831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4832 (eval $ac_link) 2>&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); }; }; then
4841 ac_cv_func_memcmp_working
=yes
4843 echo "$as_me: program exited with status $ac_status" >&5
4844 echo "$as_me: failed program was:" >&5
4845 sed 's/^/| /' conftest.
$ac_ext >&5
4848 ac_cv_func_memcmp_working
=no
4850 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4853 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4854 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4855 test $ac_cv_func_memcmp_working = no
&&
4862 gl_LIBOBJS
="$gl_LIBOBJS memcmp.$ac_objext"
4865 if test $ac_cv_func_memcmp_working = no
; then
4867 cat >>confdefs.h
<<\_ACEOF
4868 #define memcmp rpl_memcmp
4876 if test $ac_cv_have_decl_memmem = yes; then
4877 echo "$as_me:$LINENO: checking whether memmem works in linear time" >&5
4878 echo $ECHO_N "checking whether memmem works in linear time... $ECHO_C" >&6
4879 if test "${gl_cv_func_memmem_works+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 if test "$cross_compiling" = yes; then
4883 gl_cv_func_memmem_works
="guessing no"
4885 cat >conftest.
$ac_ext <<_ACEOF
4888 cat confdefs.h
>>conftest.
$ac_ext
4889 cat >>conftest.
$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4892 #include <string.h> /* for memmem */
4893 #include <stdlib.h> /* for malloc */
4894 #include <unistd.h> /* for alarm */
4900 char *haystack = (char *) malloc (2 * m + 1);
4901 char *needle = (char *) malloc (m + 1);
4903 /* Failure to compile this test due to missing alarm is okay,
4904 since all such platforms (mingw) also lack memmem. */
4906 /* Check for quadratic performance. */
4907 if (haystack && needle)
4909 memset (haystack, 'A', 2 * m);
4910 haystack[2 * m] = 'B';
4911 memset (needle, 'A', m);
4913 result = memmem (haystack, 2 * m + 1, needle, m + 1);
4915 /* Check for empty needle behavior. */
4916 return !result || !memmem ("a", 1, 0, 0);
4921 rm -f conftest
$ac_exeext
4922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4923 (eval $ac_link) 2>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; }; then
4932 gl_cv_func_memmem_works
=yes
4934 echo "$as_me: program exited with status $ac_status" >&5
4935 echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.
$ac_ext >&5
4939 gl_cv_func_memmem_works
=no
4941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4944 echo "$as_me:$LINENO: result: $gl_cv_func_memmem_works" >&5
4945 echo "${ECHO_T}$gl_cv_func_memmem_works" >&6
4946 if test "$gl_cv_func_memmem_works" != yes; then
4955 gl_LIBOBJS
="$gl_LIBOBJS memmem.$ac_objext"
4972 for ac_func
in memmem
4974 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4975 echo "$as_me:$LINENO: checking for $ac_func" >&5
4976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4977 if eval "test \"\${$as_ac_var+set}\" = set"; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4980 cat >conftest.
$ac_ext <<_ACEOF
4983 cat confdefs.h
>>conftest.
$ac_ext
4984 cat >>conftest.
$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4988 #define $ac_func innocuous_$ac_func
4990 /* System header to define __stub macros and hopefully few prototypes,
4991 which can conflict with char $ac_func (); below.
4992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4993 <limits.h> exists even on freestanding compilers. */
4996 # include <limits.h>
4998 # include <assert.h>
5003 /* Override any gcc2 internal prototype to avoid an error. */
5008 /* We use char because int might match the return type of a gcc2
5009 builtin and then its argument prototype would still apply. */
5011 /* The GNU C library defines this for functions which it implements
5012 to always fail with ENOSYS. Some functions are actually named
5013 something starting with __ and the normal name is an alias. */
5014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5017 char (*f) () = $ac_func;
5026 return f != $ac_func;
5031 rm -f conftest.
$ac_objext conftest
$ac_exeext
5032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5033 (eval $ac_link) 2>conftest.er1
5035 grep -v '^ *+' conftest.er1
>conftest.err
5037 cat conftest.err
>&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } &&
5040 { ac_try
='test -z "$ac_c_werror_flag"
5041 || test ! -s conftest.err'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; } &&
5047 { ac_try
='test -s conftest$ac_exeext'
5048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); }; }; then
5053 eval "$as_ac_var=yes"
5055 echo "$as_me: failed program was:" >&5
5056 sed 's/^/| /' conftest.
$ac_ext >&5
5058 eval "$as_ac_var=no"
5060 rm -f conftest.err conftest.
$ac_objext \
5061 conftest
$ac_exeext conftest.
$ac_ext
5063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5065 if test `eval echo '${'$as_ac_var'}'` = yes; then
5066 cat >>confdefs.h
<<_ACEOF
5067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5072 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
5085 if test $ac_cv_have_decl_memmem = no
; then
5097 if test $ac_cv_type_long_long_int = yes; then
5098 HAVE_LONG_LONG_INT
=1
5100 HAVE_LONG_LONG_INT
=0
5104 if test $ac_cv_type_unsigned_long_long_int = yes; then
5105 HAVE_UNSIGNED_LONG_LONG_INT
=1
5107 HAVE_UNSIGNED_LONG_LONG_INT
=0
5111 if test $ac_cv_header_inttypes_h = yes; then
5118 if test $ac_cv_header_sys_types_h = yes; then
5136 if test $gl_cv_have_include_next = yes; then
5137 gl_cv_next_stdint_h
='<'stdint.h
'>'
5139 echo "$as_me:$LINENO: checking absolute name of <stdint.h>" >&5
5140 echo $ECHO_N "checking absolute name of <stdint.h>... $ECHO_C" >&6
5141 if test "${gl_cv_next_stdint_h+set}" = set; then
5142 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 if test $ac_cv_header_stdint_h = yes; then
5146 cat >conftest.
$ac_ext <<_ACEOF
5149 cat confdefs.h
>>conftest.
$ac_ext
5150 cat >>conftest.
$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5155 gl_cv_next_stdint_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5156 sed -n '\#/stdint.h#{
5157 s#.*"\(.*/stdint.h\)".*#\1#
5163 gl_cv_next_stdint_h
='<'stdint.h
'>'
5167 echo "$as_me:$LINENO: result: $gl_cv_next_stdint_h" >&5
5168 echo "${ECHO_T}$gl_cv_next_stdint_h" >&6
5170 NEXT_STDINT_H
=$gl_cv_next_stdint_h
5174 if test $ac_cv_header_stdint_h = yes; then
5181 if test $ac_cv_header_stdint_h = yes; then
5182 echo "$as_me:$LINENO: checking whether stdint.h conforms to C99" >&5
5183 echo $ECHO_N "checking whether stdint.h conforms to C99... $ECHO_C" >&6
5184 if test "${gl_cv_header_working_stdint_h+set}" = set; then
5185 echo $ECHO_N "(cached) $ECHO_C" >&6
5187 gl_cv_header_working_stdint_h
=no
5188 cat >conftest.
$ac_ext <<_ACEOF
5192 cat confdefs.h
>>conftest.
$ac_ext
5193 cat >>conftest.
$ac_ext <<_ACEOF
5194 /* end confdefs.h. */
5196 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
5197 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
5198 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
5200 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
5201 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
5202 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
5206 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5207 included before <wchar.h>. */
5218 int8_t a1 = INT8_MAX;
5219 int8_t a1min = INT8_MIN;
5222 int16_t a2 = INT16_MAX;
5223 int16_t a2min = INT16_MIN;
5226 int32_t a3 = INT32_MAX;
5227 int32_t a3min = INT32_MIN;
5230 int64_t a4 = INT64_MAX;
5231 int64_t a4min = INT64_MIN;
5234 uint8_t b1 = UINT8_MAX;
5236 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
5239 uint16_t b2 = UINT16_MAX;
5242 uint32_t b3 = UINT32_MAX;
5245 uint64_t b4 = UINT64_MAX;
5247 int_least8_t c1 = INT8_C (0x7f);
5248 int_least8_t c1max = INT_LEAST8_MAX;
5249 int_least8_t c1min = INT_LEAST8_MIN;
5250 int_least16_t c2 = INT16_C (0x7fff);
5251 int_least16_t c2max = INT_LEAST16_MAX;
5252 int_least16_t c2min = INT_LEAST16_MIN;
5253 int_least32_t c3 = INT32_C (0x7fffffff);
5254 int_least32_t c3max = INT_LEAST32_MAX;
5255 int_least32_t c3min = INT_LEAST32_MIN;
5256 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
5257 int_least64_t c4max = INT_LEAST64_MAX;
5258 int_least64_t c4min = INT_LEAST64_MIN;
5259 uint_least8_t d1 = UINT8_C (0xff);
5260 uint_least8_t d1max = UINT_LEAST8_MAX;
5261 uint_least16_t d2 = UINT16_C (0xffff);
5262 uint_least16_t d2max = UINT_LEAST16_MAX;
5263 uint_least32_t d3 = UINT32_C (0xffffffff);
5264 uint_least32_t d3max = UINT_LEAST32_MAX;
5265 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
5266 uint_least64_t d4max = UINT_LEAST64_MAX;
5267 int_fast8_t e1 = INT_FAST8_MAX;
5268 int_fast8_t e1min = INT_FAST8_MIN;
5269 int_fast16_t e2 = INT_FAST16_MAX;
5270 int_fast16_t e2min = INT_FAST16_MIN;
5271 int_fast32_t e3 = INT_FAST32_MAX;
5272 int_fast32_t e3min = INT_FAST32_MIN;
5273 int_fast64_t e4 = INT_FAST64_MAX;
5274 int_fast64_t e4min = INT_FAST64_MIN;
5275 uint_fast8_t f1 = UINT_FAST8_MAX;
5276 uint_fast16_t f2 = UINT_FAST16_MAX;
5277 uint_fast32_t f3 = UINT_FAST32_MAX;
5278 uint_fast64_t f4 = UINT_FAST64_MAX;
5280 intptr_t g = INTPTR_MAX;
5281 intptr_t gmin = INTPTR_MIN;
5284 uintptr_t h = UINTPTR_MAX;
5286 intmax_t i = INTMAX_MAX;
5287 uintmax_t j = UINTMAX_MAX;
5289 #include <limits.h> /* for CHAR_BIT */
5290 #define TYPE_MINIMUM(t) \
5291 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
5292 #define TYPE_MAXIMUM(t) \
5293 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
5296 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
5297 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
5299 /* Detect bug in FreeBSD 6.0 / ia64. */
5300 int check_SIG_ATOMIC:
5301 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
5302 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
5304 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
5306 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
5307 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
5309 /* Detect bug in mingw. */
5311 WINT_MIN == TYPE_MINIMUM (wint_t)
5312 && WINT_MAX == TYPE_MAXIMUM (wint_t)
5315 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
5317 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
5319 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
5321 /* Detect bugs in OpenBSD 3.9 stdint.h. */
5323 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
5326 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
5329 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
5332 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
5334 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
5335 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
5336 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
5337 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
5338 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
5339 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
5340 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
5341 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
5342 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
5343 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
5344 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
5355 rm -f conftest.
$ac_objext
5356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5357 (eval $ac_compile) 2>conftest.er1
5359 grep -v '^ *+' conftest.er1
>conftest.err
5361 cat conftest.err
>&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } &&
5364 { ac_try
='test -z "$ac_c_werror_flag"
5365 || test ! -s conftest.err'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; } &&
5371 { ac_try
='test -s conftest.$ac_objext'
5372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }; }; then
5377 gl_cv_header_working_stdint_h
=yes
5379 echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.
$ac_ext >&5
5383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5385 echo "$as_me:$LINENO: result: $gl_cv_header_working_stdint_h" >&5
5386 echo "${ECHO_T}$gl_cv_header_working_stdint_h" >&6
5388 if test "$gl_cv_header_working_stdint_h" = yes; then
5393 for ac_header
in sys
/inttypes.h sys
/bitypes.h
5395 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5397 echo "$as_me:$LINENO: checking for $ac_header" >&5
5398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5405 # Is the header compilable?
5406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5408 cat >conftest.
$ac_ext <<_ACEOF
5411 cat confdefs.h
>>conftest.
$ac_ext
5412 cat >>conftest.
$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5414 $ac_includes_default
5415 #include <$ac_header>
5417 rm -f conftest.
$ac_objext
5418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5419 (eval $ac_compile) 2>conftest.er1
5421 grep -v '^ *+' conftest.er1
>conftest.err
5423 cat conftest.err
>&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } &&
5426 { ac_try
='test -z "$ac_c_werror_flag"
5427 || test ! -s conftest.err'
5428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); }; } &&
5433 { ac_try
='test -s conftest.$ac_objext'
5434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; }; then
5439 ac_header_compiler
=yes
5441 echo "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.
$ac_ext >&5
5444 ac_header_compiler
=no
5446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5448 echo "${ECHO_T}$ac_header_compiler" >&6
5450 # Is the header present?
5451 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5452 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5453 cat >conftest.
$ac_ext <<_ACEOF
5456 cat confdefs.h
>>conftest.
$ac_ext
5457 cat >>conftest.
$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5459 #include <$ac_header>
5461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5464 grep -v '^ *+' conftest.er1
>conftest.err
5466 cat conftest.err
>&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } >/dev
/null
; then
5469 if test -s conftest.err
; then
5470 ac_cpp_err
=$ac_c_preproc_warn_flag
5471 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5478 if test -z "$ac_cpp_err"; then
5479 ac_header_preproc
=yes
5481 echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.
$ac_ext >&5
5484 ac_header_preproc
=no
5486 rm -f conftest.err conftest.
$ac_ext
5487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5488 echo "${ECHO_T}$ac_header_preproc" >&6
5490 # So? What about this header?
5491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5497 ac_header_preproc
=yes
5500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5514 ## ------------------------------------------ ##
5515 ## Report this to the AC_PACKAGE_NAME lists. ##
5516 ## ------------------------------------------ ##
5519 sed "s/^/$as_me: WARNING: /" >&2
5522 echo "$as_me:$LINENO: checking for $ac_header" >&5
5523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 eval "$as_ac_Header=\$ac_header_preproc"
5529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5534 cat >>confdefs.h
<<_ACEOF
5535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5542 if test $ac_cv_header_sys_inttypes_h = yes; then
5543 HAVE_SYS_INTTYPES_H
=1
5545 HAVE_SYS_INTTYPES_H
=0
5548 if test $ac_cv_header_sys_bitypes_h = yes; then
5549 HAVE_SYS_BITYPES_H
=1
5551 HAVE_SYS_BITYPES_H
=0
5571 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
5572 echo "$as_me:$LINENO: checking for bit size of $gltype" >&5
5573 echo $ECHO_N "checking for bit size of $gltype... $ECHO_C" >&6
5574 if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\" = set"; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 if test "$cross_compiling" = yes; then
5578 # Depending upon the size, compute the lo and hi bounds.
5579 cat >conftest.
$ac_ext <<_ACEOF
5582 cat confdefs.h
>>conftest.
$ac_ext
5583 cat >>conftest.
$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5586 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5587 included before <wchar.h>. */
5600 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= 0)];
5607 rm -f conftest.
$ac_objext
5608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5609 (eval $ac_compile) 2>conftest.er1
5611 grep -v '^ *+' conftest.er1
>conftest.err
5613 cat conftest.err
>&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } &&
5616 { ac_try
='test -z "$ac_c_werror_flag"
5617 || test ! -s conftest.err'
5618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); }; } &&
5623 { ac_try
='test -s conftest.$ac_objext'
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; }; then
5631 cat >conftest.
$ac_ext <<_ACEOF
5634 cat confdefs.h
>>conftest.
$ac_ext
5635 cat >>conftest.
$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5638 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5639 included before <wchar.h>. */
5652 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5659 rm -f conftest.
$ac_objext
5660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5661 (eval $ac_compile) 2>conftest.er1
5663 grep -v '^ *+' conftest.er1
>conftest.err
5665 cat conftest.err
>&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } &&
5668 { ac_try
='test -z "$ac_c_werror_flag"
5669 || test ! -s conftest.err'
5670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); }; } &&
5675 { ac_try
='test -s conftest.$ac_objext'
5676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); }; }; then
5681 ac_hi
=$ac_mid; break
5683 echo "$as_me: failed program was:" >&5
5684 sed 's/^/| /' conftest.
$ac_ext >&5
5686 ac_lo
=`expr $ac_mid + 1`
5687 if test $ac_lo -le $ac_mid; then
5691 ac_mid
=`expr 2 '*' $ac_mid + 1`
5693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5696 echo "$as_me: failed program was:" >&5
5697 sed 's/^/| /' conftest.
$ac_ext >&5
5699 cat >conftest.
$ac_ext <<_ACEOF
5702 cat confdefs.h
>>conftest.
$ac_ext
5703 cat >>conftest.
$ac_ext <<_ACEOF
5704 /* end confdefs.h. */
5706 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5707 included before <wchar.h>. */
5720 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) < 0)];
5727 rm -f conftest.
$ac_objext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5729 (eval $ac_compile) 2>conftest.er1
5731 grep -v '^ *+' conftest.er1
>conftest.err
5733 cat conftest.err
>&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } &&
5736 { ac_try
='test -z "$ac_c_werror_flag"
5737 || test ! -s conftest.err'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; } &&
5743 { ac_try
='test -s conftest.$ac_objext'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; }; then
5751 cat >conftest.
$ac_ext <<_ACEOF
5754 cat confdefs.h
>>conftest.
$ac_ext
5755 cat >>conftest.
$ac_ext <<_ACEOF
5756 /* end confdefs.h. */
5758 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5759 included before <wchar.h>. */
5772 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= $ac_mid)];
5779 rm -f conftest.
$ac_objext
5780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5781 (eval $ac_compile) 2>conftest.er1
5783 grep -v '^ *+' conftest.er1
>conftest.err
5785 cat conftest.err
>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } &&
5788 { ac_try
='test -z "$ac_c_werror_flag"
5789 || test ! -s conftest.err'
5790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); }; } &&
5795 { ac_try
='test -s conftest.$ac_objext'
5796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; }; then
5801 ac_lo
=$ac_mid; break
5803 echo "$as_me: failed program was:" >&5
5804 sed 's/^/| /' conftest.
$ac_ext >&5
5806 ac_hi
=`expr '(' $ac_mid ')' - 1`
5807 if test $ac_mid -le $ac_hi; then
5811 ac_mid
=`expr 2 '*' $ac_mid`
5813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5816 echo "$as_me: failed program was:" >&5
5817 sed 's/^/| /' conftest.
$ac_ext >&5
5821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5824 # Binary search between lo and hi bounds.
5825 while test "x$ac_lo" != "x$ac_hi"; do
5826 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5827 cat >conftest.
$ac_ext <<_ACEOF
5830 cat confdefs.h
>>conftest.
$ac_ext
5831 cat >>conftest.
$ac_ext <<_ACEOF
5832 /* end confdefs.h. */
5834 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5835 included before <wchar.h>. */
5848 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5855 rm -f conftest.
$ac_objext
5856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5857 (eval $ac_compile) 2>conftest.er1
5859 grep -v '^ *+' conftest.er1
>conftest.err
5861 cat conftest.err
>&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } &&
5864 { ac_try
='test -z "$ac_c_werror_flag"
5865 || test ! -s conftest.err'
5866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; } &&
5871 { ac_try
='test -s conftest.$ac_objext'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; }; then
5879 echo "$as_me: failed program was:" >&5
5880 sed 's/^/| /' conftest.
$ac_ext >&5
5882 ac_lo
=`expr '(' $ac_mid ')' + 1`
5884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5888 '') result
=unknown
;;
5891 if test "$cross_compiling" = yes; then
5892 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5893 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5894 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5895 See \`config.log' for more details." >&5
5896 echo "$as_me: error: cannot run test program while cross compiling
5897 See \`config.log' for more details." >&2;}
5898 { (exit 1); exit 1; }; }; }
5900 cat >conftest.
$ac_ext <<_ACEOF
5903 cat confdefs.h
>>conftest.
$ac_ext
5904 cat >>conftest.
$ac_ext <<_ACEOF
5905 /* end confdefs.h. */
5907 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5908 included before <wchar.h>. */
5918 long longval () { return sizeof ($gltype) * CHAR_BIT; }
5919 unsigned long ulongval () { return sizeof ($gltype) * CHAR_BIT; }
5926 FILE *f = fopen ("conftest.val", "w");
5929 if ((sizeof ($gltype) * CHAR_BIT) < 0)
5931 long i = longval ();
5932 if (i != (sizeof ($gltype) * CHAR_BIT))
5934 fprintf (f, "%ld\n", i);
5938 unsigned long i = ulongval ();
5939 if (i != (sizeof ($gltype) * CHAR_BIT))
5941 fprintf (f, "%lu\n", i);
5943 exit (ferror (f) || fclose (f) != 0);
5949 rm -f conftest
$ac_exeext
5950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5951 (eval $ac_link) 2>&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); }; }; then
5960 result
=`cat conftest.val`
5962 echo "$as_me: program exited with status $ac_status" >&5
5963 echo "$as_me: failed program was:" >&5
5964 sed 's/^/| /' conftest.
$ac_ext >&5
5969 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5973 eval gl_cv_bitsizeof_
${gltype}=\
$result
5976 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&5
5977 echo "${ECHO_T}`eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&6
5978 eval result
=\
$gl_cv_bitsizeof_${gltype}
5979 if test $result = unknown
; then
5982 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5983 cat >>confdefs.h
<<_ACEOF
5984 #define BITSIZEOF_${GLTYPE} $result
5987 eval BITSIZEOF_
${GLTYPE}=\
$result
5996 for gltype
in sig_atomic_t wchar_t wint_t
; do
5997 echo "$as_me:$LINENO: checking whether $gltype is signed" >&5
5998 echo $ECHO_N "checking whether $gltype is signed... $ECHO_C" >&6
5999 if eval "test \"\${gl_cv_type_${gltype}_signed+set}\" = set"; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 cat >conftest.
$ac_ext <<_ACEOF
6005 cat confdefs.h
>>conftest.
$ac_ext
6006 cat >>conftest.
$ac_ext <<_ACEOF
6007 /* end confdefs.h. */
6009 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6010 included before <wchar.h>. */
6019 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
6028 rm -f conftest.
$ac_objext
6029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6030 (eval $ac_compile) 2>conftest.er1
6032 grep -v '^ *+' conftest.er1
>conftest.err
6034 cat conftest.err
>&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); } &&
6037 { ac_try
='test -z "$ac_c_werror_flag"
6038 || test ! -s conftest.err'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; } &&
6044 { ac_try
='test -s conftest.$ac_objext'
6045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); }; }; then
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.
$ac_ext >&5
6057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6058 eval gl_cv_type_
${gltype}_signed
=\
$result
6061 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&5
6062 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&6
6063 eval result
=\
$gl_cv_type_${gltype}_signed
6064 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6065 if test "$result" = yes; then
6066 cat >>confdefs.h
<<_ACEOF
6067 #define HAVE_SIGNED_${GLTYPE} 1
6070 eval HAVE_SIGNED_
${GLTYPE}=1
6072 eval HAVE_SIGNED_
${GLTYPE}=0
6077 gl_cv_type_ptrdiff_t_signed
=yes
6078 gl_cv_type_size_t_signed
=no
6086 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
6087 echo "$as_me:$LINENO: checking for $gltype integer literal suffix" >&5
6088 echo $ECHO_N "checking for $gltype integer literal suffix... $ECHO_C" >&6
6089 if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\" = set"; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 eval gl_cv_type_
${gltype}_suffix
=no
6093 eval result
=\
$gl_cv_type_${gltype}_signed
6094 if test "$result" = yes; then
6099 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
6102 l
) gltype1
='long int';;
6103 ll
) gltype1
='long long int';;
6104 i64
) gltype1
='__int64';;
6105 u
) gltype1
='unsigned int';;
6106 ul
) gltype1
='unsigned long int';;
6107 ull
) gltype1
='unsigned long long int';;
6108 ui64
)gltype1
='unsigned __int64';;
6110 cat >conftest.
$ac_ext <<_ACEOF
6113 cat confdefs.h
>>conftest.
$ac_ext
6114 cat >>conftest.
$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6117 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6118 included before <wchar.h>. */
6128 extern $gltype1 foo;
6137 rm -f conftest.
$ac_objext
6138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6139 (eval $ac_compile) 2>conftest.er1
6141 grep -v '^ *+' conftest.er1
>conftest.err
6143 cat conftest.err
>&5
6144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145 (exit $ac_status); } &&
6146 { ac_try
='test -z "$ac_c_werror_flag"
6147 || test ! -s conftest.err'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; } &&
6153 { ac_try
='test -s conftest.$ac_objext'
6154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }; then
6159 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.
$ac_ext >&5
6165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6166 eval result
=\
$gl_cv_type_${gltype}_suffix
6167 test "$result" != no
&& break
6170 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&5
6171 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&6
6172 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6173 eval result
=\
$gl_cv_type_${gltype}_suffix
6174 test "$result" = no
&& result
=
6175 eval ${GLTYPE}_SUFFIX
=\
$result
6176 cat >>confdefs.h
<<_ACEOF
6177 #define ${GLTYPE}_SUFFIX $result
6193 echo "$as_me:$LINENO: checking whether <wchar.h> is standalone" >&5
6194 echo $ECHO_N "checking whether <wchar.h> is standalone... $ECHO_C" >&6
6195 if test "${gl_cv_header_wchar_h_standalone+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 cat >conftest.
$ac_ext <<_ACEOF
6202 rm -f conftest.
$ac_objext
6203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6204 (eval $ac_compile) 2>conftest.er1
6206 grep -v '^ *+' conftest.er1
>conftest.err
6208 cat conftest.err
>&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); } &&
6211 { ac_try
='test -z "$ac_c_werror_flag"
6212 || test ! -s conftest.err'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; } &&
6218 { ac_try
='test -s conftest.$ac_objext'
6219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }; }; then
6224 gl_cv_header_wchar_h_standalone
=yes
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.
$ac_ext >&5
6229 gl_cv_header_wchar_h_standalone
=no
6231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6233 echo "$as_me:$LINENO: result: $gl_cv_header_wchar_h_standalone" >&5
6234 echo "${ECHO_T}$gl_cv_header_wchar_h_standalone" >&6
6235 if test $gl_cv_header_wchar_h_standalone != yes; then
6246 if test $ac_cv_header_wchar_h = yes; then
6263 if test $gl_cv_have_include_next = yes; then
6264 gl_cv_next_wchar_h
='<'wchar.h
'>'
6266 echo "$as_me:$LINENO: checking absolute name of <wchar.h>" >&5
6267 echo $ECHO_N "checking absolute name of <wchar.h>... $ECHO_C" >&6
6268 if test "${gl_cv_next_wchar_h+set}" = set; then
6269 echo $ECHO_N "(cached) $ECHO_C" >&6
6272 if test $ac_cv_header_wchar_h = yes; then
6273 cat >conftest.
$ac_ext <<_ACEOF
6276 cat confdefs.h
>>conftest.
$ac_ext
6277 cat >>conftest.
$ac_ext <<_ACEOF
6278 /* end confdefs.h. */
6282 gl_cv_next_wchar_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6283 sed -n '\#/wchar.h#{
6284 s#.*"\(.*/wchar.h\)".*#\1#
6290 gl_cv_next_wchar_h
='<'wchar.h
'>'
6294 echo "$as_me:$LINENO: result: $gl_cv_next_wchar_h" >&5
6295 echo "${ECHO_T}$gl_cv_next_wchar_h" >&6
6297 NEXT_WCHAR_H
=$gl_cv_next_wchar_h
6311 gl_source_base
='tests'
6316 LIBGNU_LIBDEPS
="$gl_libdeps"
6318 LIBGNU_LTLIBDEPS
="$gl_ltlibdeps"
6322 # For Makefile dependencies.
6324 if test x
"$STDINT_H" != x
; then
6325 GNULIB_STDINT_H
=gnulib
/$STDINT_H
6331 cat >>confdefs.h
<<_ACEOF
6332 #define PACKAGE "$PACKAGE"
6337 # GDB does not use automake, but gnulib does. This line lets us
6338 # generate its Makefile.in.
6339 am__api_version
="1.9"
6340 # Find a good install program. We prefer a C program (faster),
6341 # so one script is as good as another. But avoid the broken or
6342 # incompatible versions:
6343 # SysV /etc/install, /usr/sbin/install
6344 # SunOS /usr/etc/install
6345 # IRIX /sbin/install
6347 # AmigaOS /C/install, which installs bootblocks on floppy discs
6348 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6349 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6350 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6351 # OS/2's system install, which has a completely different semantic
6352 # ./install, which can be erroneously created by make from ./install.sh.
6353 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6354 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6355 if test -z "$INSTALL"; then
6356 if test "${ac_cv_path_install+set}" = set; then
6357 echo $ECHO_N "(cached) $ECHO_C" >&6
6359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6363 test -z "$as_dir" && as_dir
=.
6364 # Account for people who put trailing slashes in PATH elements.
6366 .
/ | .
// |
/cC
/* | \
6367 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6368 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6371 # OSF1 and SCO ODT 3.0 have their own names for install.
6372 # Don't use installbsd from OSF since it installs stuff as root
6374 for ac_prog
in ginstall scoinst
install; do
6375 for ac_exec_ext
in '' $ac_executable_extensions; do
6376 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6377 if test $ac_prog = install &&
6378 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6379 # AIX install. It has an incompatible calling convention.
6381 elif test $ac_prog = install &&
6382 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6383 # program-specific install script used by HP pwplus--don't use.
6386 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6398 if test "${ac_cv_path_install+set}" = set; then
6399 INSTALL
=$ac_cv_path_install
6401 # As a last resort, use the slow shell script. We don't cache a
6402 # path for INSTALL within a source directory, because that will
6403 # break other packages using the cache if that directory is
6404 # removed, or if the path is relative.
6405 INSTALL
=$ac_install_sh
6408 echo "$as_me:$LINENO: result: $INSTALL" >&5
6409 echo "${ECHO_T}$INSTALL" >&6
6411 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6412 # It thinks the first close brace ends the variable substitution.
6413 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6415 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6417 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6419 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
6420 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
6423 echo timestamp
> conftest.
file
6424 # Do `set' in a subshell so we don't clobber the current shell's
6425 # arguments. Must try -L first in case configure is actually a
6426 # symlink; some systems play weird games with the mod time of symlinks
6427 # (eg FreeBSD returns the mod time of the symlink's containing
6430 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6431 if test "$*" = "X"; then
6433 set X
`ls -t $srcdir/configure conftest.file`
6436 if test "$*" != "X $srcdir/configure conftest.file" \
6437 && test "$*" != "X conftest.file $srcdir/configure"; then
6439 # If neither matched, then we have a broken ls. This can happen
6440 # if, for instance, CONFIG_SHELL is bash and it inherits a
6441 # broken ls alias from the environment. This has actually
6442 # happened. Such a system could not be considered "sane".
6443 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
6444 alias in your environment" >&5
6445 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
6446 alias in your environment" >&2;}
6447 { (exit 1); exit 1; }; }
6450 test "$2" = conftest.
file
6456 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
6457 Check your system clock" >&5
6458 echo "$as_me: error: newly created file is older than distributed files!
6459 Check your system clock" >&2;}
6460 { (exit 1); exit 1; }; }
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6464 test "$program_prefix" != NONE
&&
6465 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
6466 # Use a double $ so make ignores it.
6467 test "$program_suffix" != NONE
&&
6468 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
6469 # Double any \ or $. echo might interpret backslashes.
6470 # By default was `s,x,x', remove it if useless.
6471 cat <<\_ACEOF
>conftest.
sed
6472 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
6474 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
6477 # expand $ac_aux_dir to an absolute path
6478 am_aux_dir
=`cd $ac_aux_dir && pwd`
6480 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
6481 # Use eval to expand $SHELL
6482 if eval "$MISSING --run true"; then
6483 am_missing_run
="$MISSING --run "
6486 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
6487 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
6490 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
6491 # We used to keeping the `.' as first argument, in order to
6492 # allow $(mkdir_p) to be used without argument. As in
6493 # $(mkdir_p) $(somedir)
6494 # where $(somedir) is conditionally defined. However this is wrong
6496 # 1. if the package is installed by a user who cannot write `.'
6497 # make install will fail,
6498 # 2. the above comment should most certainly read
6499 # $(mkdir_p) $(DESTDIR)$(somedir)
6500 # so it does not work when $(somedir) is undefined and
6501 # $(DESTDIR) is not.
6502 # To support the latter case, we have to write
6503 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
6504 # so the `.' trick is pointless.
6505 mkdir_p
='mkdir -p --'
6507 # On NextStep and OpenStep, the `mkdir' command does not
6508 # recognize any option. It will interpret all options as
6509 # directories to create, and then abort because `.' already
6511 for d
in .
/-p .
/--version;
6513 test -d $d && rmdir $d
6515 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6516 if test -f "$ac_aux_dir/mkinstalldirs"; then
6517 mkdir_p
='$(mkinstalldirs)'
6519 mkdir_p
='$(install_sh) -d'
6523 for ac_prog
in gawk mawk nawk
awk
6525 # Extract the first word of "$ac_prog", so it can be a program name with args.
6526 set dummy
$ac_prog; ac_word
=$2
6527 echo "$as_me:$LINENO: checking for $ac_word" >&5
6528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6529 if test "${ac_cv_prog_AWK+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 if test -n "$AWK"; then
6533 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6539 test -z "$as_dir" && as_dir
=.
6540 for ac_exec_ext
in '' $ac_executable_extensions; do
6541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6542 ac_cv_prog_AWK
="$ac_prog"
6543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 if test -n "$AWK"; then
6553 echo "$as_me:$LINENO: result: $AWK" >&5
6554 echo "${ECHO_T}$AWK" >&6
6556 echo "$as_me:$LINENO: result: no" >&5
6557 echo "${ECHO_T}no" >&6
6560 test -n "$AWK" && break
6563 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6564 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6565 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
6566 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 cat >conftest.
make <<\_ACEOF
6571 @
echo 'ac_maketemp="$(MAKE)"'
6573 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6574 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6575 if test -n "$ac_maketemp"; then
6576 eval ac_cv_prog_make_
${ac_make}_set
=yes
6578 eval ac_cv_prog_make_
${ac_make}_set
=no
6582 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6583 echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6589 SET_MAKE
="MAKE=${MAKE-make}"
6592 rm -rf .tst
2>/dev
/null
6593 mkdir .tst
2>/dev
/null
6594 if test -d .tst
; then
6599 rmdir .tst
2>/dev
/null
6601 DEPDIR
="${am__leading_dot}deps"
6603 ac_config_commands
="$ac_config_commands depfiles"
6606 am_make
=${MAKE-make}
6607 cat > confinc
<< 'END'
6612 # If we don't find an include directive, just comment out the code.
6613 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6614 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
6618 # First try GNU make style include.
6619 echo "include confinc" > confmf
6620 # We grep out `Entering directory' and `Leaving directory'
6621 # messages which can occur if `w' ends up in MAKEFLAGS.
6622 # In particular we don't look at `^make:' because GNU make might
6623 # be invoked under some other name (usually "gmake"), in which
6624 # case it prints its new name instead of `make'.
6625 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6630 # Now try BSD make style include.
6631 if test "$am__include" = "#"; then
6632 echo '.include "confinc"' > confmf
6633 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6634 am__include
=.include
6641 echo "$as_me:$LINENO: result: $_am_result" >&5
6642 echo "${ECHO_T}$_am_result" >&6
6643 rm -f confinc confmf
6645 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
6646 if test "${enable_dependency_tracking+set}" = set; then
6647 enableval
="$enable_dependency_tracking"
6650 if test "x$enable_dependency_tracking" != xno
; then
6651 am_depcomp
="$ac_aux_dir/depcomp"
6656 if test "x$enable_dependency_tracking" != xno; then
6666 # test to see if srcdir already configured
6667 if test "`cd $srcdir && pwd`" != "`pwd`" &&
6668 test -f $srcdir/config.status
; then
6669 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
6670 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
6671 { (exit 1); exit 1; }; }
6674 # test whether we have cygpath
6675 if test -z "$CYGPATH_W"; then
6676 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
6677 CYGPATH_W
='cygpath -w'
6684 # Define the identity of the package.
6686 VERSION
=UNUSED-VERSION
6689 # Some tools Automake needs.
6691 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6694 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6697 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6700 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6703 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6705 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
6707 # Installed binaries are usually stripped using `strip' when the user
6708 # run `make install-strip'. However `strip' might not be the right
6709 # tool to use in cross-compilation environments, therefore Automake
6710 # will honor the `STRIP' environment variable to overrule this program.
6711 if test "$cross_compiling" != no
; then
6712 if test -n "$ac_tool_prefix"; then
6713 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6714 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6715 echo "$as_me:$LINENO: checking for $ac_word" >&5
6716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6717 if test "${ac_cv_prog_STRIP+set}" = set; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 if test -n "$STRIP"; then
6721 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir
=.
6728 for ac_exec_ext
in '' $ac_executable_extensions; do
6729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6739 STRIP
=$ac_cv_prog_STRIP
6740 if test -n "$STRIP"; then
6741 echo "$as_me:$LINENO: result: $STRIP" >&5
6742 echo "${ECHO_T}$STRIP" >&6
6744 echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6
6749 if test -z "$ac_cv_prog_STRIP"; then
6751 # Extract the first word of "strip", so it can be a program name with args.
6752 set dummy strip
; ac_word
=$2
6753 echo "$as_me:$LINENO: checking for $ac_word" >&5
6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6755 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 if test -n "$ac_ct_STRIP"; then
6759 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6765 test -z "$as_dir" && as_dir
=.
6766 for ac_exec_ext
in '' $ac_executable_extensions; do
6767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6768 ac_cv_prog_ac_ct_STRIP
="strip"
6769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6778 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6779 if test -n "$ac_ct_STRIP"; then
6780 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6781 echo "${ECHO_T}$ac_ct_STRIP" >&6
6783 echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6
6789 STRIP
="$ac_cv_prog_STRIP"
6793 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
6795 # We need awk for the "check" target. The system "awk" is bad on
6797 # Always define AMTAR for backward compatibility.
6799 AMTAR
=${AMTAR-"${am_missing_run}tar"}
6801 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
6806 depcc
="$CC" am_compiler_list
=
6808 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6809 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6810 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6811 echo $ECHO_N "(cached) $ECHO_C" >&6
6813 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6814 # We make a subdir and do the tests there. Otherwise we can end up
6815 # making bogus files that we don't know about and never remove. For
6816 # instance it was reported that on HP-UX the gcc test will end up
6817 # making a dummy file named `D' -- because `-MD' means `put the output
6820 # Copy depcomp to subdir because otherwise we won't find it if we're
6821 # using a relative directory.
6822 cp "$am_depcomp" conftest.dir
6824 # We will build objects and dependencies in a subdirectory because
6825 # it helps to detect inapplicable dependency modes. For instance
6826 # both Tru64's cc and ICC support -MD to output dependencies as a
6827 # side effect of compilation, but ICC will put the dependencies in
6828 # the current directory while Tru64 will put them in the object
6832 am_cv_CC_dependencies_compiler_type
=none
6833 if test "$am_compiler_list" = ""; then
6834 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6836 for depmode
in $am_compiler_list; do
6837 # Setup a source with many dependencies, because some compilers
6838 # like to wrap large dependency lists on column 80 (with \), and
6839 # we should not choose a depcomp mode which is confused by this.
6841 # We need to recreate these files for each test, as the compiler may
6842 # overwrite some of them when testing with obscure command lines.
6843 # This happens at least with the AIX C compiler.
6845 for i
in 1 2 3 4 5 6; do
6846 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6847 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6848 # Solaris 8's {/usr,}/bin/sh.
6849 touch sub
/conftst
$i.h
6851 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6855 # after this tag, mechanisms are not by side-effect, so they'll
6856 # only be used when explicitly requested
6857 if test "x$enable_dependency_tracking" = xyes
; then
6865 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6866 # mode. It turns out that the SunPro C++ compiler does not properly
6867 # handle `-M -o', and we need to detect this.
6868 if depmode
=$depmode \
6869 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6870 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6871 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6872 >/dev
/null
2>conftest.err
&&
6873 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6874 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6875 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6876 # icc doesn't choke on unknown options, it will just issue warnings
6877 # or remarks (even with -Werror). So we grep stderr for any message
6878 # that says an option was ignored or not supported.
6879 # When given -MP, icc 7.0 and 7.1 complain thusly:
6880 # icc: Command line warning: ignoring option '-M'; no argument required
6881 # The diagnosis changed in icc 8.0:
6882 # icc: Command line remark: option '-MP' not supported
6883 if (grep 'ignoring option' conftest.err ||
6884 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6885 am_cv_CC_dependencies_compiler_type
=$depmode
6894 am_cv_CC_dependencies_compiler_type
=none
6898 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6899 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6900 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6905 test "x$enable_dependency_tracking" != xno \
6906 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6908 am__fastdepCC_FALSE
='#'
6910 am__fastdepCC_TRUE
='#'
6911 am__fastdepCC_FALSE
=
6917 debugdir
=${libdir}/debug
6920 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
6921 if test "${with_separate_debug_dir+set}" = set; then
6922 withval
="$with_separate_debug_dir"
6923 debugdir
="${withval}"
6927 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
6928 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6929 ac_define_dir
=`eval echo $debugdir`
6930 ac_define_dir
=`eval echo $ac_define_dir`
6932 cat >>confdefs.h
<<_ACEOF
6933 #define DEBUGDIR "$ac_define_dir"
6937 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
6939 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
6940 if test "x$prefix" = xNONE
; then
6941 test_prefix
=/usr
/local
6946 test_prefix
=$exec_prefix
6949 "${test_prefix}"|
"${test_prefix}/"*|\
6950 '${exec_prefix}'|
'${exec_prefix}/'*)
6952 cat >>confdefs.h
<<\_ACEOF
6953 #define DEBUGDIR_RELOCATABLE 1
6961 subdirs
="$subdirs doc testsuite"
6964 # Check whether to support alternative target configurations
6965 # Check whether --enable-targets or --disable-targets was given.
6966 if test "${enable_targets+set}" = set; then
6967 enableval
="$enable_targets"
6968 case "${enableval}" in
6969 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
6970 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
6971 { (exit 1); exit 1; }; }
6973 no
) enable_targets
= ;;
6974 *) enable_targets
=$enableval ;;
6978 # Check whether to enable 64-bit support on 32-bit hosts
6979 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
6980 if test "${enable_64_bit_bfd+set}" = set; then
6981 enableval
="$enable_64_bit_bfd"
6982 case "${enableval}" in
6985 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
6986 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
6987 { (exit 1); exit 1; }; } ;;
6992 # Provide defaults for some variables set by the per-host and per-target
6994 gdb_host_obs
=posix-hdep.o
6996 if test "${target}" = "${host}"; then
7002 .
$srcdir/configure.
host
7004 # Accumulate some settings from configure.tgt over all enabled targets
7009 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
7011 if test "$targ_alias" = "all"; then
7014 # Canonicalize the secondary target names.
7015 result
=`$ac_config_sub $targ_alias 2>/dev/null`
7016 if test -n "$result"; then
7022 .
${srcdir}/configure.tgt
7024 # Target-specific object files
7025 for i
in ${gdb_target_obs}; do
7026 case " $TARGET_OBS " in
7029 TARGET_OBS
="$TARGET_OBS ${i}"
7034 # Check whether this target needs 64-bit CORE_ADDR
7035 if test x
${want64} = xfalse
; then
7036 .
${srcdir}/..
/bfd
/config.bfd
7041 if test x
${all_targets} = xtrue
; then
7043 # We want all 64-bit targets if we either:
7044 # - run on a 64-bit host or
7045 # - already require 64-bit support for some other target or
7046 # - the --enable-64-bit-bfd option was supplied
7047 # Otherwise we only support all 32-bit targets.
7049 # NOTE: This test must be in sync with the corresponding
7052 if test x
${want64} = xfalse
; then
7053 echo "$as_me:$LINENO: checking for long" >&5
7054 echo $ECHO_N "checking for long... $ECHO_C" >&6
7055 if test "${ac_cv_type_long+set}" = set; then
7056 echo $ECHO_N "(cached) $ECHO_C" >&6
7058 cat >conftest.
$ac_ext <<_ACEOF
7061 cat confdefs.h
>>conftest.
$ac_ext
7062 cat >>conftest.
$ac_ext <<_ACEOF
7063 /* end confdefs.h. */
7064 $ac_includes_default
7076 rm -f conftest.
$ac_objext
7077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7078 (eval $ac_compile) 2>conftest.er1
7080 grep -v '^ *+' conftest.er1
>conftest.err
7082 cat conftest.err
>&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } &&
7085 { ac_try
='test -z "$ac_c_werror_flag"
7086 || test ! -s conftest.err'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }; } &&
7092 { ac_try
='test -s conftest.$ac_objext'
7093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); }; }; then
7100 echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.
$ac_ext >&5
7105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7107 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7108 echo "${ECHO_T}$ac_cv_type_long" >&6
7110 echo "$as_me:$LINENO: checking size of long" >&5
7111 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7112 if test "${ac_cv_sizeof_long+set}" = set; then
7113 echo $ECHO_N "(cached) $ECHO_C" >&6
7115 if test "$ac_cv_type_long" = yes; then
7116 # The cast to unsigned long works around a bug in the HP C Compiler
7117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7119 # This bug is HP SR number 8606223364.
7120 if test "$cross_compiling" = yes; then
7121 # Depending upon the size, compute the lo and hi bounds.
7122 cat >conftest.
$ac_ext <<_ACEOF
7125 cat confdefs.h
>>conftest.
$ac_ext
7126 cat >>conftest.
$ac_ext <<_ACEOF
7127 /* end confdefs.h. */
7128 $ac_includes_default
7132 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7139 rm -f conftest.
$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1
>conftest.err
7145 cat conftest.err
>&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try
='test -z "$ac_c_werror_flag"
7149 || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest.$ac_objext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7163 cat >conftest.
$ac_ext <<_ACEOF
7166 cat confdefs.h
>>conftest.
$ac_ext
7167 cat >>conftest.
$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7169 $ac_includes_default
7173 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7180 rm -f conftest.
$ac_objext
7181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7182 (eval $ac_compile) 2>conftest.er1
7184 grep -v '^ *+' conftest.er1
>conftest.err
7186 cat conftest.err
>&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } &&
7189 { ac_try
='test -z "$ac_c_werror_flag"
7190 || test ! -s conftest.err'
7191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); }; } &&
7196 { ac_try
='test -s conftest.$ac_objext'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; }; then
7202 ac_hi
=$ac_mid; break
7204 echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.
$ac_ext >&5
7207 ac_lo
=`expr $ac_mid + 1`
7208 if test $ac_lo -le $ac_mid; then
7212 ac_mid
=`expr 2 '*' $ac_mid + 1`
7214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7217 echo "$as_me: failed program was:" >&5
7218 sed 's/^/| /' conftest.
$ac_ext >&5
7220 cat >conftest.
$ac_ext <<_ACEOF
7223 cat confdefs.h
>>conftest.
$ac_ext
7224 cat >>conftest.
$ac_ext <<_ACEOF
7225 /* end confdefs.h. */
7226 $ac_includes_default
7230 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7237 rm -f conftest.
$ac_objext
7238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7239 (eval $ac_compile) 2>conftest.er1
7241 grep -v '^ *+' conftest.er1
>conftest.err
7243 cat conftest.err
>&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } &&
7246 { ac_try
='test -z "$ac_c_werror_flag"
7247 || test ! -s conftest.err'
7248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); }; } &&
7253 { ac_try
='test -s conftest.$ac_objext'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7261 cat >conftest.
$ac_ext <<_ACEOF
7264 cat confdefs.h
>>conftest.
$ac_ext
7265 cat >>conftest.
$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7267 $ac_includes_default
7271 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7278 rm -f conftest.
$ac_objext
7279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7280 (eval $ac_compile) 2>conftest.er1
7282 grep -v '^ *+' conftest.er1
>conftest.err
7284 cat conftest.err
>&5
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 (exit $ac_status); } &&
7287 { ac_try
='test -z "$ac_c_werror_flag"
7288 || test ! -s conftest.err'
7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); }; } &&
7294 { ac_try
='test -s conftest.$ac_objext'
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; }; then
7300 ac_lo
=$ac_mid; break
7302 echo "$as_me: failed program was:" >&5
7303 sed 's/^/| /' conftest.
$ac_ext >&5
7305 ac_hi
=`expr '(' $ac_mid ')' - 1`
7306 if test $ac_mid -le $ac_hi; then
7310 ac_mid
=`expr 2 '*' $ac_mid`
7312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7315 echo "$as_me: failed program was:" >&5
7316 sed 's/^/| /' conftest.
$ac_ext >&5
7320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7323 # Binary search between lo and hi bounds.
7324 while test "x$ac_lo" != "x$ac_hi"; do
7325 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7326 cat >conftest.
$ac_ext <<_ACEOF
7329 cat confdefs.h
>>conftest.
$ac_ext
7330 cat >>conftest.
$ac_ext <<_ACEOF
7331 /* end confdefs.h. */
7332 $ac_includes_default
7336 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7343 rm -f conftest.
$ac_objext
7344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7345 (eval $ac_compile) 2>conftest.er1
7347 grep -v '^ *+' conftest.er1
>conftest.err
7349 cat conftest.err
>&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); } &&
7352 { ac_try
='test -z "$ac_c_werror_flag"
7353 || test ! -s conftest.err'
7354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 (exit $ac_status); }; } &&
7359 { ac_try
='test -s conftest.$ac_objext'
7360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; }; then
7367 echo "$as_me: failed program was:" >&5
7368 sed 's/^/| /' conftest.
$ac_ext >&5
7370 ac_lo
=`expr '(' $ac_mid ')' + 1`
7372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7375 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7376 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7377 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7378 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7379 See \`config.log' for more details." >&5
7380 echo "$as_me: error: cannot compute sizeof (long), 77
7381 See \`config.log' for more details." >&2;}
7382 { (exit 1); exit 1; }; }; } ;;
7385 if test "$cross_compiling" = yes; then
7386 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7387 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7388 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7389 See \`config.log' for more details." >&5
7390 echo "$as_me: error: cannot run test program while cross compiling
7391 See \`config.log' for more details." >&2;}
7392 { (exit 1); exit 1; }; }; }
7394 cat >conftest.
$ac_ext <<_ACEOF
7397 cat confdefs.h
>>conftest.
$ac_ext
7398 cat >>conftest.
$ac_ext <<_ACEOF
7399 /* end confdefs.h. */
7400 $ac_includes_default
7401 long longval () { return (long) (sizeof (long)); }
7402 unsigned long ulongval () { return (long) (sizeof (long)); }
7409 FILE *f = fopen ("conftest.val", "w");
7412 if (((long) (sizeof (long))) < 0)
7414 long i = longval ();
7415 if (i != ((long) (sizeof (long))))
7417 fprintf (f, "%ld\n", i);
7421 unsigned long i = ulongval ();
7422 if (i != ((long) (sizeof (long))))
7424 fprintf (f, "%lu\n", i);
7426 exit (ferror (f) || fclose (f) != 0);
7432 rm -f conftest
$ac_exeext
7433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7434 (eval $ac_link) 2>&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); }; }; then
7443 ac_cv_sizeof_long
=`cat conftest.val`
7445 echo "$as_me: program exited with status $ac_status" >&5
7446 echo "$as_me: failed program was:" >&5
7447 sed 's/^/| /' conftest.
$ac_ext >&5
7450 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7451 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7452 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7453 See \`config.log' for more details." >&5
7454 echo "$as_me: error: cannot compute sizeof (long), 77
7455 See \`config.log' for more details." >&2;}
7456 { (exit 1); exit 1; }; }; }
7458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7466 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7467 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7468 cat >>confdefs.h
<<_ACEOF
7469 #define SIZEOF_LONG $ac_cv_sizeof_long
7473 if test "x${ac_cv_sizeof_long}" = "x8"; then
7477 if test x
${want64} = xtrue
; then
7478 TARGET_OBS
='$(ALL_TARGET_OBS) $(ALL_64_TARGET_OBS)'
7480 TARGET_OBS
='$(ALL_TARGET_OBS)'
7486 # For other settings, only the main target counts.
7490 targ
=$target; .
${srcdir}/configure.tgt
7492 # Fetch the default architecture and default target vector from BFD.
7493 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
7495 # We only want the first architecture, so strip off the others if
7496 # there is more than one.
7497 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
7499 if test "x$targ_archs" != x
; then
7501 cat >>confdefs.h
<<_ACEOF
7502 #define DEFAULT_BFD_ARCH $targ_archs
7506 if test "x$targ_defvec" != x
; then
7508 cat >>confdefs.h
<<_ACEOF
7509 #define DEFAULT_BFD_VEC $targ_defvec
7514 # The CLI cannot be disabled yet, but may be in the future.
7517 # Check whether --enable-gdbcli or --disable-gdbcli was given.
7518 if test "${enable_gdbcli+set}" = set; then
7519 enableval
="$enable_gdbcli"
7524 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
7525 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
7526 { (exit 1); exit 1; }; } ;;
7528 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
7529 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
7530 { (exit 1); exit 1; }; } ;;
7535 if test x
"$enable_gdbcli" = xyes
; then
7536 if test -d $srcdir/cli
; then
7537 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
7538 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
7539 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
7540 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
7545 # Check whether --enable-gdbmi or --disable-gdbmi was given.
7546 if test "${enable_gdbmi+set}" = set; then
7547 enableval
="$enable_gdbmi"
7552 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
7553 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
7554 { (exit 1); exit 1; }; } ;;
7559 if test x
"$enable_gdbmi" = xyes
; then
7560 if test -d $srcdir/mi
; then
7561 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
7562 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
7563 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
7564 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
7569 # Check whether --enable-tui or --disable-tui was given.
7570 if test "${enable_tui+set}" = set; then
7571 enableval
="$enable_tui"
7576 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
7577 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
7578 { (exit 1); exit 1; }; } ;;
7585 # Check whether --enable-gdbtk or --disable-gdbtk was given.
7586 if test "${enable_gdbtk+set}" = set; then
7587 enableval
="$enable_gdbtk"
7592 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
7593 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
7594 { (exit 1); exit 1; }; } ;;
7597 if test -d $srcdir/gdbtk
; then
7603 # We unconditionally disable gdbtk tests on selected platforms.
7606 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
7607 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
7611 # Libunwind support.
7613 # Check whether --with-libunwind or --without-libunwind was given.
7614 if test "${with_libunwind+set}" = set; then
7615 withval
="$with_libunwind"
7616 case "${withval}" in
7617 yes) enable_libunwind
=yes ;;
7618 no
) enable_libunwind
=no
;;
7619 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
7620 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
7621 { (exit 1); exit 1; }; } ;;
7626 for ac_header
in libunwind.h
7628 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7630 echo "$as_me:$LINENO: checking for $ac_header" >&5
7631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7638 # Is the header compilable?
7639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7641 cat >conftest.
$ac_ext <<_ACEOF
7644 cat confdefs.h
>>conftest.
$ac_ext
7645 cat >>conftest.
$ac_ext <<_ACEOF
7646 /* end confdefs.h. */
7647 $ac_includes_default
7648 #include <$ac_header>
7650 rm -f conftest.
$ac_objext
7651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7652 (eval $ac_compile) 2>conftest.er1
7654 grep -v '^ *+' conftest.er1
>conftest.err
7656 cat conftest.err
>&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } &&
7659 { ac_try
='test -z "$ac_c_werror_flag"
7660 || test ! -s conftest.err'
7661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); }; } &&
7666 { ac_try
='test -s conftest.$ac_objext'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; }; then
7672 ac_header_compiler
=yes
7674 echo "$as_me: failed program was:" >&5
7675 sed 's/^/| /' conftest.
$ac_ext >&5
7677 ac_header_compiler
=no
7679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7681 echo "${ECHO_T}$ac_header_compiler" >&6
7683 # Is the header present?
7684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7686 cat >conftest.
$ac_ext <<_ACEOF
7689 cat confdefs.h
>>conftest.
$ac_ext
7690 cat >>conftest.
$ac_ext <<_ACEOF
7691 /* end confdefs.h. */
7692 #include <$ac_header>
7694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7697 grep -v '^ *+' conftest.er1
>conftest.err
7699 cat conftest.err
>&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } >/dev
/null
; then
7702 if test -s conftest.err
; then
7703 ac_cpp_err
=$ac_c_preproc_warn_flag
7704 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7711 if test -z "$ac_cpp_err"; then
7712 ac_header_preproc
=yes
7714 echo "$as_me: failed program was:" >&5
7715 sed 's/^/| /' conftest.
$ac_ext >&5
7717 ac_header_preproc
=no
7719 rm -f conftest.err conftest.
$ac_ext
7720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7721 echo "${ECHO_T}$ac_header_preproc" >&6
7723 # So? What about this header?
7724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7730 ac_header_preproc
=yes
7733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7747 ## ------------------------------------------ ##
7748 ## Report this to the AC_PACKAGE_NAME lists. ##
7749 ## ------------------------------------------ ##
7752 sed "s/^/$as_me: WARNING: /" >&2
7755 echo "$as_me:$LINENO: checking for $ac_header" >&5
7756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7758 echo $ECHO_N "(cached) $ECHO_C" >&6
7760 eval "$as_ac_Header=\$ac_header_preproc"
7762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7767 cat >>confdefs.h
<<_ACEOF
7768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7776 for ac_header
in libunwind-ia64.h
7778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7780 echo "$as_me:$LINENO: checking for $ac_header" >&5
7781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7783 echo $ECHO_N "(cached) $ECHO_C" >&6
7785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7788 # Is the header compilable?
7789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7791 cat >conftest.
$ac_ext <<_ACEOF
7794 cat confdefs.h
>>conftest.
$ac_ext
7795 cat >>conftest.
$ac_ext <<_ACEOF
7796 /* end confdefs.h. */
7797 $ac_includes_default
7798 #include <$ac_header>
7800 rm -f conftest.
$ac_objext
7801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7802 (eval $ac_compile) 2>conftest.er1
7804 grep -v '^ *+' conftest.er1
>conftest.err
7806 cat conftest.err
>&5
7807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808 (exit $ac_status); } &&
7809 { ac_try
='test -z "$ac_c_werror_flag"
7810 || test ! -s conftest.err'
7811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); }; } &&
7816 { ac_try
='test -s conftest.$ac_objext'
7817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }; }; then
7822 ac_header_compiler
=yes
7824 echo "$as_me: failed program was:" >&5
7825 sed 's/^/| /' conftest.
$ac_ext >&5
7827 ac_header_compiler
=no
7829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7831 echo "${ECHO_T}$ac_header_compiler" >&6
7833 # Is the header present?
7834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7836 cat >conftest.
$ac_ext <<_ACEOF
7839 cat confdefs.h
>>conftest.
$ac_ext
7840 cat >>conftest.
$ac_ext <<_ACEOF
7841 /* end confdefs.h. */
7842 #include <$ac_header>
7844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7847 grep -v '^ *+' conftest.er1
>conftest.err
7849 cat conftest.err
>&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } >/dev
/null
; then
7852 if test -s conftest.err
; then
7853 ac_cpp_err
=$ac_c_preproc_warn_flag
7854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7861 if test -z "$ac_cpp_err"; then
7862 ac_header_preproc
=yes
7864 echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.
$ac_ext >&5
7867 ac_header_preproc
=no
7869 rm -f conftest.err conftest.
$ac_ext
7870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7871 echo "${ECHO_T}$ac_header_preproc" >&6
7873 # So? What about this header?
7874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7880 ac_header_preproc
=yes
7883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7897 ## ------------------------------------------ ##
7898 ## Report this to the AC_PACKAGE_NAME lists. ##
7899 ## ------------------------------------------ ##
7902 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
7912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7917 cat >>confdefs.h
<<_ACEOF
7918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7925 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
7926 enable_libunwind
=yes;
7931 if test x
"$enable_libunwind" = xyes
; then
7933 for ac_header
in libunwind.h
7935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7937 echo "$as_me:$LINENO: checking for $ac_header" >&5
7938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7940 echo $ECHO_N "(cached) $ECHO_C" >&6
7942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7945 # Is the header compilable?
7946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7948 cat >conftest.
$ac_ext <<_ACEOF
7951 cat confdefs.h
>>conftest.
$ac_ext
7952 cat >>conftest.
$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7954 $ac_includes_default
7955 #include <$ac_header>
7957 rm -f conftest.
$ac_objext
7958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7959 (eval $ac_compile) 2>conftest.er1
7961 grep -v '^ *+' conftest.er1
>conftest.err
7963 cat conftest.err
>&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } &&
7966 { ac_try
='test -z "$ac_c_werror_flag"
7967 || test ! -s conftest.err'
7968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); }; } &&
7973 { ac_try
='test -s conftest.$ac_objext'
7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; }; then
7979 ac_header_compiler
=yes
7981 echo "$as_me: failed program was:" >&5
7982 sed 's/^/| /' conftest.
$ac_ext >&5
7984 ac_header_compiler
=no
7986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7988 echo "${ECHO_T}$ac_header_compiler" >&6
7990 # Is the header present?
7991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7993 cat >conftest.
$ac_ext <<_ACEOF
7996 cat confdefs.h
>>conftest.
$ac_ext
7997 cat >>conftest.
$ac_ext <<_ACEOF
7998 /* end confdefs.h. */
7999 #include <$ac_header>
8001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8002 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8004 grep -v '^ *+' conftest.er1
>conftest.err
8006 cat conftest.err
>&5
8007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008 (exit $ac_status); } >/dev
/null
; then
8009 if test -s conftest.err
; then
8010 ac_cpp_err
=$ac_c_preproc_warn_flag
8011 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8018 if test -z "$ac_cpp_err"; then
8019 ac_header_preproc
=yes
8021 echo "$as_me: failed program was:" >&5
8022 sed 's/^/| /' conftest.
$ac_ext >&5
8024 ac_header_preproc
=no
8026 rm -f conftest.err conftest.
$ac_ext
8027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8028 echo "${ECHO_T}$ac_header_preproc" >&6
8030 # So? What about this header?
8031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8037 ac_header_preproc
=yes
8040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8054 ## ------------------------------------------ ##
8055 ## Report this to the AC_PACKAGE_NAME lists. ##
8056 ## ------------------------------------------ ##
8059 sed "s/^/$as_me: WARNING: /" >&2
8062 echo "$as_me:$LINENO: checking for $ac_header" >&5
8063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8067 eval "$as_ac_Header=\$ac_header_preproc"
8069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074 cat >>confdefs.h
<<_ACEOF
8075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8083 for ac_header
in libunwind-ia64.h
8085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8087 echo "$as_me:$LINENO: checking for $ac_header" >&5
8088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8090 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8095 # Is the header compilable?
8096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8098 cat >conftest.
$ac_ext <<_ACEOF
8101 cat confdefs.h
>>conftest.
$ac_ext
8102 cat >>conftest.
$ac_ext <<_ACEOF
8103 /* end confdefs.h. */
8104 $ac_includes_default
8105 #include <$ac_header>
8107 rm -f conftest.
$ac_objext
8108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8109 (eval $ac_compile) 2>conftest.er1
8111 grep -v '^ *+' conftest.er1
>conftest.err
8113 cat conftest.err
>&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } &&
8116 { ac_try
='test -z "$ac_c_werror_flag"
8117 || test ! -s conftest.err'
8118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); }; } &&
8123 { ac_try
='test -s conftest.$ac_objext'
8124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); }; }; then
8129 ac_header_compiler
=yes
8131 echo "$as_me: failed program was:" >&5
8132 sed 's/^/| /' conftest.
$ac_ext >&5
8134 ac_header_compiler
=no
8136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8138 echo "${ECHO_T}$ac_header_compiler" >&6
8140 # Is the header present?
8141 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8143 cat >conftest.
$ac_ext <<_ACEOF
8146 cat confdefs.h
>>conftest.
$ac_ext
8147 cat >>conftest.
$ac_ext <<_ACEOF
8148 /* end confdefs.h. */
8149 #include <$ac_header>
8151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8154 grep -v '^ *+' conftest.er1
>conftest.err
8156 cat conftest.err
>&5
8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 (exit $ac_status); } >/dev
/null
; then
8159 if test -s conftest.err
; then
8160 ac_cpp_err
=$ac_c_preproc_warn_flag
8161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8168 if test -z "$ac_cpp_err"; then
8169 ac_header_preproc
=yes
8171 echo "$as_me: failed program was:" >&5
8172 sed 's/^/| /' conftest.
$ac_ext >&5
8174 ac_header_preproc
=no
8176 rm -f conftest.err conftest.
$ac_ext
8177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8178 echo "${ECHO_T}$ac_header_preproc" >&6
8180 # So? What about this header?
8181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8187 ac_header_preproc
=yes
8190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8204 ## ------------------------------------------ ##
8205 ## Report this to the AC_PACKAGE_NAME lists. ##
8206 ## ------------------------------------------ ##
8209 sed "s/^/$as_me: WARNING: /" >&2
8212 echo "$as_me:$LINENO: checking for $ac_header" >&5
8213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8215 echo $ECHO_N "(cached) $ECHO_C" >&6
8217 eval "$as_ac_Header=\$ac_header_preproc"
8219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8224 cat >>confdefs.h
<<_ACEOF
8225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8233 cat >>confdefs.h
<<\_ACEOF
8234 #define HAVE_LIBUNWIND 1
8237 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
8238 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
8239 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
8242 # Profiling support.
8243 # Check whether --enable-profiling or --disable-profiling was given.
8244 if test "${enable_profiling+set}" = set; then
8245 enableval
="$enable_profiling"
8250 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
8251 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
8252 { (exit 1); exit 1; }; } ;;
8260 for ac_func
in monstartup _mcleanup
8262 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8263 echo "$as_me:$LINENO: checking for $ac_func" >&5
8264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8265 if eval "test \"\${$as_ac_var+set}\" = set"; then
8266 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 cat >conftest.
$ac_ext <<_ACEOF
8271 cat confdefs.h
>>conftest.
$ac_ext
8272 cat >>conftest.
$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8276 #define $ac_func innocuous_$ac_func
8278 /* System header to define __stub macros and hopefully few prototypes,
8279 which can conflict with char $ac_func (); below.
8280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8281 <limits.h> exists even on freestanding compilers. */
8284 # include <limits.h>
8286 # include <assert.h>
8291 /* Override any gcc2 internal prototype to avoid an error. */
8296 /* We use char because int might match the return type of a gcc2
8297 builtin and then its argument prototype would still apply. */
8299 /* The GNU C library defines this for functions which it implements
8300 to always fail with ENOSYS. Some functions are actually named
8301 something starting with __ and the normal name is an alias. */
8302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8305 char (*f) () = $ac_func;
8314 return f != $ac_func;
8319 rm -f conftest.
$ac_objext conftest
$ac_exeext
8320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8321 (eval $ac_link) 2>conftest.er1
8323 grep -v '^ *+' conftest.er1
>conftest.err
8325 cat conftest.err
>&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); } &&
8328 { ac_try
='test -z "$ac_c_werror_flag"
8329 || test ! -s conftest.err'
8330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); }; } &&
8335 { ac_try
='test -s conftest$ac_exeext'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; }; then
8341 eval "$as_ac_var=yes"
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.
$ac_ext >&5
8346 eval "$as_ac_var=no"
8348 rm -f conftest.err conftest.
$ac_objext \
8349 conftest
$ac_exeext conftest.
$ac_ext
8351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8353 if test `eval echo '${'$as_ac_var'}'` = yes; then
8354 cat >>confdefs.h
<<_ACEOF
8355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8361 echo "$as_me:$LINENO: checking for _etext" >&5
8362 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
8363 if test "${ac_cv_var__etext+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 cat >conftest.
$ac_ext <<_ACEOF
8369 cat confdefs.h
>>conftest.
$ac_ext
8370 cat >>conftest.
$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8383 rm -f conftest.
$ac_objext conftest
$ac_exeext
8384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8385 (eval $ac_link) 2>conftest.er1
8387 grep -v '^ *+' conftest.er1
>conftest.err
8389 cat conftest.err
>&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); } &&
8392 { ac_try
='test -z "$ac_c_werror_flag"
8393 || test ! -s conftest.err'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; } &&
8399 { ac_try
='test -s conftest$ac_exeext'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; }; then
8405 ac_cv_var__etext
=yes
8407 echo "$as_me: failed program was:" >&5
8408 sed 's/^/| /' conftest.
$ac_ext >&5
8412 rm -f conftest.err conftest.
$ac_objext \
8413 conftest
$ac_exeext conftest.
$ac_ext
8415 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
8416 echo "${ECHO_T}$ac_cv_var__etext" >&6
8417 if test $ac_cv_var__etext = yes; then
8419 cat >>confdefs.h
<<\_ACEOF
8420 #define HAVE__ETEXT 1
8424 echo "$as_me:$LINENO: checking for etext" >&5
8425 echo $ECHO_N "checking for etext... $ECHO_C" >&6
8426 if test "${ac_cv_var_etext+set}" = set; then
8427 echo $ECHO_N "(cached) $ECHO_C" >&6
8429 cat >conftest.
$ac_ext <<_ACEOF
8432 cat confdefs.h
>>conftest.
$ac_ext
8433 cat >>conftest.
$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8446 rm -f conftest.
$ac_objext conftest
$ac_exeext
8447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8448 (eval $ac_link) 2>conftest.er1
8450 grep -v '^ *+' conftest.er1
>conftest.err
8452 cat conftest.err
>&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); } &&
8455 { ac_try
='test -z "$ac_c_werror_flag"
8456 || test ! -s conftest.err'
8457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); }; } &&
8462 { ac_try
='test -s conftest$ac_exeext'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; }; then
8470 echo "$as_me: failed program was:" >&5
8471 sed 's/^/| /' conftest.
$ac_ext >&5
8475 rm -f conftest.err conftest.
$ac_objext \
8476 conftest
$ac_exeext conftest.
$ac_ext
8478 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
8479 echo "${ECHO_T}$ac_cv_var_etext" >&6
8480 if test $ac_cv_var_etext = yes; then
8482 cat >>confdefs.h
<<\_ACEOF
8483 #define HAVE_ETEXT 1
8487 if test "$enable_profiling" = yes ; then
8488 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
8489 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
8490 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
8491 { (exit 1); exit 1; }; }
8494 OLD_CFLAGS
="$CFLAGS"
8495 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
8497 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
8498 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
8499 if test "${ac_cv_cc_supports_pg+set}" = set; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 cat >conftest.
$ac_ext <<_ACEOF
8505 cat confdefs.h
>>conftest.
$ac_ext
8506 cat >>conftest.
$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8517 rm -f conftest.
$ac_objext
8518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8519 (eval $ac_compile) 2>conftest.er1
8521 grep -v '^ *+' conftest.er1
>conftest.err
8523 cat conftest.err
>&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } &&
8526 { ac_try
='test -z "$ac_c_werror_flag"
8527 || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } &&
8533 { ac_try
='test -s conftest.$ac_objext'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; }; then
8539 ac_cv_cc_supports_pg
=yes
8541 echo "$as_me: failed program was:" >&5
8542 sed 's/^/| /' conftest.
$ac_ext >&5
8544 ac_cv_cc_supports_pg
=no
8546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8548 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
8549 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
8551 if test $ac_cv_cc_supports_pg = no
; then
8552 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
8553 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
8554 { (exit 1); exit 1; }; }
8557 CFLAGS
="$OLD_CFLAGS"
8562 # Check whether --with-pkgversion or --without-pkgversion was given.
8563 if test "${with_pkgversion+set}" = set; then
8564 withval
="$with_pkgversion"
8566 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
8567 echo "$as_me: error: package version not specified" >&2;}
8568 { (exit 1); exit 1; }; } ;;
8570 *) PKGVERSION
="($withval) " ;;
8580 # Check whether --with-bugurl or --without-bugurl was given.
8581 if test "${with_bugurl+set}" = set; then
8582 withval
="$with_bugurl"
8584 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
8585 echo "$as_me: error: bug URL not specified" >&2;}
8586 { (exit 1); exit 1; }; } ;;
8589 *) BUGURL
="$withval"
8593 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
8602 REPORT_BUGS_TO
="<$BUGURL>"
8603 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
8610 cat >>confdefs.h
<<_ACEOF
8611 #define PKGVERSION "$PKGVERSION"
8615 cat >>confdefs.h
<<_ACEOF
8616 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
8620 # --------------------- #
8621 # Checks for programs. #
8622 # --------------------- #
8624 for ac_prog
in gawk mawk nawk
awk
8626 # Extract the first word of "$ac_prog", so it can be a program name with args.
8627 set dummy
$ac_prog; ac_word
=$2
8628 echo "$as_me:$LINENO: checking for $ac_word" >&5
8629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8630 if test "${ac_cv_prog_AWK+set}" = set; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 if test -n "$AWK"; then
8634 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
8636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8640 test -z "$as_dir" && as_dir
=.
8641 for ac_exec_ext
in '' $ac_executable_extensions; do
8642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8643 ac_cv_prog_AWK
="$ac_prog"
8644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8653 if test -n "$AWK"; then
8654 echo "$as_me:$LINENO: result: $AWK" >&5
8655 echo "${ECHO_T}$AWK" >&6
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8661 test -n "$AWK" && break
8664 # Find a good install program. We prefer a C program (faster),
8665 # so one script is as good as another. But avoid the broken or
8666 # incompatible versions:
8667 # SysV /etc/install, /usr/sbin/install
8668 # SunOS /usr/etc/install
8669 # IRIX /sbin/install
8671 # AmigaOS /C/install, which installs bootblocks on floppy discs
8672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8675 # OS/2's system install, which has a completely different semantic
8676 # ./install, which can be erroneously created by make from ./install.sh.
8677 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8678 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8679 if test -z "$INSTALL"; then
8680 if test "${ac_cv_path_install+set}" = set; then
8681 echo $ECHO_N "(cached) $ECHO_C" >&6
8683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir
=.
8688 # Account for people who put trailing slashes in PATH elements.
8690 .
/ | .
// |
/cC
/* | \
8691 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8692 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8695 # OSF1 and SCO ODT 3.0 have their own names for install.
8696 # Don't use installbsd from OSF since it installs stuff as root
8698 for ac_prog
in ginstall scoinst
install; do
8699 for ac_exec_ext
in '' $ac_executable_extensions; do
8700 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8701 if test $ac_prog = install &&
8702 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8703 # AIX install. It has an incompatible calling convention.
8705 elif test $ac_prog = install &&
8706 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8707 # program-specific install script used by HP pwplus--don't use.
8710 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8722 if test "${ac_cv_path_install+set}" = set; then
8723 INSTALL
=$ac_cv_path_install
8725 # As a last resort, use the slow shell script. We don't cache a
8726 # path for INSTALL within a source directory, because that will
8727 # break other packages using the cache if that directory is
8728 # removed, or if the path is relative.
8729 INSTALL
=$ac_install_sh
8732 echo "$as_me:$LINENO: result: $INSTALL" >&5
8733 echo "${ECHO_T}$INSTALL" >&6
8735 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8736 # It thinks the first close brace ends the variable substitution.
8737 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8739 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8741 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8743 echo "$as_me:$LINENO: checking whether ln -s works" >&5
8744 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8746 if test "$LN_S" = "ln -s"; then
8747 echo "$as_me:$LINENO: result: yes" >&5
8748 echo "${ECHO_T}yes" >&6
8750 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8751 echo "${ECHO_T}no, using $LN_S" >&6
8754 if test -n "$ac_tool_prefix"; then
8755 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8756 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8757 echo "$as_me:$LINENO: checking for $ac_word" >&5
8758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8759 if test "${ac_cv_prog_RANLIB+set}" = set; then
8760 echo $ECHO_N "(cached) $ECHO_C" >&6
8762 if test -n "$RANLIB"; then
8763 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8769 test -z "$as_dir" && as_dir
=.
8770 for ac_exec_ext
in '' $ac_executable_extensions; do
8771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8772 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8781 RANLIB
=$ac_cv_prog_RANLIB
8782 if test -n "$RANLIB"; then
8783 echo "$as_me:$LINENO: result: $RANLIB" >&5
8784 echo "${ECHO_T}$RANLIB" >&6
8786 echo "$as_me:$LINENO: result: no" >&5
8787 echo "${ECHO_T}no" >&6
8791 if test -z "$ac_cv_prog_RANLIB"; then
8792 ac_ct_RANLIB
=$RANLIB
8793 # Extract the first word of "ranlib", so it can be a program name with args.
8794 set dummy ranlib
; ac_word
=$2
8795 echo "$as_me:$LINENO: checking for $ac_word" >&5
8796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8797 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8798 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 if test -n "$ac_ct_RANLIB"; then
8801 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8807 test -z "$as_dir" && as_dir
=.
8808 for ac_exec_ext
in '' $ac_executable_extensions; do
8809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8810 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8817 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
8820 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8821 if test -n "$ac_ct_RANLIB"; then
8822 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8823 echo "${ECHO_T}$ac_ct_RANLIB" >&6
8825 echo "$as_me:$LINENO: result: no" >&5
8826 echo "${ECHO_T}no" >&6
8829 RANLIB
=$ac_ct_RANLIB
8831 RANLIB
="$ac_cv_prog_RANLIB"
8834 for ac_prog
in 'bison -y' byacc
8836 # Extract the first word of "$ac_prog", so it can be a program name with args.
8837 set dummy
$ac_prog; ac_word
=$2
8838 echo "$as_me:$LINENO: checking for $ac_word" >&5
8839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8840 if test "${ac_cv_prog_YACC+set}" = set; then
8841 echo $ECHO_N "(cached) $ECHO_C" >&6
8843 if test -n "$YACC"; then
8844 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8850 test -z "$as_dir" && as_dir
=.
8851 for ac_exec_ext
in '' $ac_executable_extensions; do
8852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8853 ac_cv_prog_YACC
="$ac_prog"
8854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8862 YACC
=$ac_cv_prog_YACC
8863 if test -n "$YACC"; then
8864 echo "$as_me:$LINENO: result: $YACC" >&5
8865 echo "${ECHO_T}$YACC" >&6
8867 echo "$as_me:$LINENO: result: no" >&5
8868 echo "${ECHO_T}no" >&6
8871 test -n "$YACC" && break
8873 test -n "$YACC" || YACC
="yacc"
8876 if test -n "$ac_tool_prefix"; then
8877 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8878 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8879 echo "$as_me:$LINENO: checking for $ac_word" >&5
8880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8881 if test "${ac_cv_prog_AR+set}" = set; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8884 if test -n "$AR"; then
8885 ac_cv_prog_AR
="$AR" # Let the user override the test.
8887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8891 test -z "$as_dir" && as_dir
=.
8892 for ac_exec_ext
in '' $ac_executable_extensions; do
8893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8894 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8904 if test -n "$AR"; then
8905 echo "$as_me:$LINENO: result: $AR" >&5
8906 echo "${ECHO_T}$AR" >&6
8908 echo "$as_me:$LINENO: result: no" >&5
8909 echo "${ECHO_T}no" >&6
8913 if test -z "$ac_cv_prog_AR"; then
8915 # Extract the first word of "ar", so it can be a program name with args.
8916 set dummy
ar; ac_word
=$2
8917 echo "$as_me:$LINENO: checking for $ac_word" >&5
8918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8919 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8920 echo $ECHO_N "(cached) $ECHO_C" >&6
8922 if test -n "$ac_ct_AR"; then
8923 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8929 test -z "$as_dir" && as_dir
=.
8930 for ac_exec_ext
in '' $ac_executable_extensions; do
8931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8932 ac_cv_prog_ac_ct_AR
="ar"
8933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8941 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8942 if test -n "$ac_ct_AR"; then
8943 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8944 echo "${ECHO_T}$ac_ct_AR" >&6
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8955 if test -n "$ac_tool_prefix"; then
8956 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8957 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8958 echo "$as_me:$LINENO: checking for $ac_word" >&5
8959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8960 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8961 echo $ECHO_N "(cached) $ECHO_C" >&6
8963 if test -n "$DLLTOOL"; then
8964 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8970 test -z "$as_dir" && as_dir
=.
8971 for ac_exec_ext
in '' $ac_executable_extensions; do
8972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8973 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8982 DLLTOOL
=$ac_cv_prog_DLLTOOL
8983 if test -n "$DLLTOOL"; then
8984 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8985 echo "${ECHO_T}$DLLTOOL" >&6
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8992 if test -z "$ac_cv_prog_DLLTOOL"; then
8993 ac_ct_DLLTOOL
=$DLLTOOL
8994 # Extract the first word of "dlltool", so it can be a program name with args.
8995 set dummy dlltool
; ac_word
=$2
8996 echo "$as_me:$LINENO: checking for $ac_word" >&5
8997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8998 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8999 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 if test -n "$ac_ct_DLLTOOL"; then
9002 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9008 test -z "$as_dir" && as_dir
=.
9009 for ac_exec_ext
in '' $ac_executable_extensions; do
9010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9011 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9020 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9021 if test -n "$ac_ct_DLLTOOL"; then
9022 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
9023 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9029 DLLTOOL
=$ac_ct_DLLTOOL
9031 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9034 if test -n "$ac_tool_prefix"; then
9035 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
9036 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
9037 echo "$as_me:$LINENO: checking for $ac_word" >&5
9038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9039 if test "${ac_cv_prog_WINDRES+set}" = set; then
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 if test -n "$WINDRES"; then
9043 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
9045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9049 test -z "$as_dir" && as_dir
=.
9050 for ac_exec_ext
in '' $ac_executable_extensions; do
9051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9052 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
9053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9061 WINDRES
=$ac_cv_prog_WINDRES
9062 if test -n "$WINDRES"; then
9063 echo "$as_me:$LINENO: result: $WINDRES" >&5
9064 echo "${ECHO_T}$WINDRES" >&6
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9071 if test -z "$ac_cv_prog_WINDRES"; then
9072 ac_ct_WINDRES
=$WINDRES
9073 # Extract the first word of "windres", so it can be a program name with args.
9074 set dummy windres
; ac_word
=$2
9075 echo "$as_me:$LINENO: checking for $ac_word" >&5
9076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9077 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9080 if test -n "$ac_ct_WINDRES"; then
9081 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
9083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9087 test -z "$as_dir" && as_dir
=.
9088 for ac_exec_ext
in '' $ac_executable_extensions; do
9089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9090 ac_cv_prog_ac_ct_WINDRES
="windres"
9091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9099 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
9100 if test -n "$ac_ct_WINDRES"; then
9101 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
9102 echo "${ECHO_T}$ac_ct_WINDRES" >&6
9104 echo "$as_me:$LINENO: result: no" >&5
9105 echo "${ECHO_T}no" >&6
9108 WINDRES
=$ac_ct_WINDRES
9110 WINDRES
="$ac_cv_prog_WINDRES"
9114 # Needed for GNU/Hurd.
9115 if test -n "$ac_tool_prefix"; then
9116 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
9117 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
9118 echo "$as_me:$LINENO: checking for $ac_word" >&5
9119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9120 if test "${ac_cv_prog_MIG+set}" = set; then
9121 echo $ECHO_N "(cached) $ECHO_C" >&6
9123 if test -n "$MIG"; then
9124 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
9126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9130 test -z "$as_dir" && as_dir
=.
9131 for ac_exec_ext
in '' $ac_executable_extensions; do
9132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9133 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
9134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9143 if test -n "$MIG"; then
9144 echo "$as_me:$LINENO: result: $MIG" >&5
9145 echo "${ECHO_T}$MIG" >&6
9147 echo "$as_me:$LINENO: result: no" >&5
9148 echo "${ECHO_T}no" >&6
9152 if test -z "$ac_cv_prog_MIG"; then
9154 # Extract the first word of "mig", so it can be a program name with args.
9155 set dummy mig
; ac_word
=$2
9156 echo "$as_me:$LINENO: checking for $ac_word" >&5
9157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9158 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
9159 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 if test -n "$ac_ct_MIG"; then
9162 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
9164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9168 test -z "$as_dir" && as_dir
=.
9169 for ac_exec_ext
in '' $ac_executable_extensions; do
9170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9171 ac_cv_prog_ac_ct_MIG
="mig"
9172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9180 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
9181 if test -n "$ac_ct_MIG"; then
9182 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
9183 echo "${ECHO_T}$ac_ct_MIG" >&6
9185 echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6
9191 MIG
="$ac_cv_prog_MIG"
9195 # ---------------------- #
9196 # Checks for libraries. #
9197 # ---------------------- #
9199 # We might need to link with -lm; most simulators need it.
9201 echo "$as_me:$LINENO: checking for main in -lm" >&5
9202 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9203 if test "${ac_cv_lib_m_main+set}" = set; then
9204 echo $ECHO_N "(cached) $ECHO_C" >&6
9206 ac_check_lib_save_LIBS
=$LIBS
9208 cat >conftest.
$ac_ext <<_ACEOF
9211 cat confdefs.h
>>conftest.
$ac_ext
9212 cat >>conftest.
$ac_ext <<_ACEOF
9213 /* end confdefs.h. */
9224 rm -f conftest.
$ac_objext conftest
$ac_exeext
9225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9226 (eval $ac_link) 2>conftest.er1
9228 grep -v '^ *+' conftest.er1
>conftest.err
9230 cat conftest.err
>&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); } &&
9233 { ac_try
='test -z "$ac_c_werror_flag"
9234 || test ! -s conftest.err'
9235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; } &&
9240 { ac_try
='test -s conftest$ac_exeext'
9241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); }; }; then
9246 ac_cv_lib_m_main
=yes
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.
$ac_ext >&5
9253 rm -f conftest.err conftest.
$ac_objext \
9254 conftest
$ac_exeext conftest.
$ac_ext
9255 LIBS
=$ac_check_lib_save_LIBS
9257 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9258 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
9259 if test $ac_cv_lib_m_main = yes; then
9260 cat >>confdefs.h
<<_ACEOF
9269 # We need to link with -lw to get `wctype' on Solaris before Solaris
9270 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
9271 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
9272 # is known to have this problem). Therefore we avoid libw if we can.
9273 echo "$as_me:$LINENO: checking for wctype" >&5
9274 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
9275 if test "${ac_cv_func_wctype+set}" = set; then
9276 echo $ECHO_N "(cached) $ECHO_C" >&6
9278 cat >conftest.
$ac_ext <<_ACEOF
9281 cat confdefs.h
>>conftest.
$ac_ext
9282 cat >>conftest.
$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9284 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
9285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9286 #define wctype innocuous_wctype
9288 /* System header to define __stub macros and hopefully few prototypes,
9289 which can conflict with char wctype (); below.
9290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9291 <limits.h> exists even on freestanding compilers. */
9294 # include <limits.h>
9296 # include <assert.h>
9301 /* Override any gcc2 internal prototype to avoid an error. */
9306 /* We use char because int might match the return type of a gcc2
9307 builtin and then its argument prototype would still apply. */
9309 /* The GNU C library defines this for functions which it implements
9310 to always fail with ENOSYS. Some functions are actually named
9311 something starting with __ and the normal name is an alias. */
9312 #if defined (__stub_wctype) || defined (__stub___wctype)
9315 char (*f) () = wctype;
9329 rm -f conftest.
$ac_objext conftest
$ac_exeext
9330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9331 (eval $ac_link) 2>conftest.er1
9333 grep -v '^ *+' conftest.er1
>conftest.err
9335 cat conftest.err
>&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); } &&
9338 { ac_try
='test -z "$ac_c_werror_flag"
9339 || test ! -s conftest.err'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; } &&
9345 { ac_try
='test -s conftest$ac_exeext'
9346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; }; then
9351 ac_cv_func_wctype
=yes
9353 echo "$as_me: failed program was:" >&5
9354 sed 's/^/| /' conftest.
$ac_ext >&5
9356 ac_cv_func_wctype
=no
9358 rm -f conftest.err conftest.
$ac_objext \
9359 conftest
$ac_exeext conftest.
$ac_ext
9361 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
9362 echo "${ECHO_T}$ac_cv_func_wctype" >&6
9363 if test $ac_cv_func_wctype = yes; then
9367 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
9368 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
9369 if test "${ac_cv_lib_w_wctype+set}" = set; then
9370 echo $ECHO_N "(cached) $ECHO_C" >&6
9372 ac_check_lib_save_LIBS
=$LIBS
9374 cat >conftest.
$ac_ext <<_ACEOF
9377 cat confdefs.h
>>conftest.
$ac_ext
9378 cat >>conftest.
$ac_ext <<_ACEOF
9379 /* end confdefs.h. */
9381 /* Override any gcc2 internal prototype to avoid an error. */
9385 /* We use char because int might match the return type of a gcc2
9386 builtin and then its argument prototype would still apply. */
9396 rm -f conftest.
$ac_objext conftest
$ac_exeext
9397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9398 (eval $ac_link) 2>conftest.er1
9400 grep -v '^ *+' conftest.er1
>conftest.err
9402 cat conftest.err
>&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); } &&
9405 { ac_try
='test -z "$ac_c_werror_flag"
9406 || test ! -s conftest.err'
9407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 (exit $ac_status); }; } &&
9412 { ac_try
='test -s conftest$ac_exeext'
9413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; }; then
9418 ac_cv_lib_w_wctype
=yes
9420 echo "$as_me: failed program was:" >&5
9421 sed 's/^/| /' conftest.
$ac_ext >&5
9423 ac_cv_lib_w_wctype
=no
9425 rm -f conftest.err conftest.
$ac_objext \
9426 conftest
$ac_exeext conftest.
$ac_ext
9427 LIBS
=$ac_check_lib_save_LIBS
9429 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
9430 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
9431 if test $ac_cv_lib_w_wctype = yes; then
9432 cat >>confdefs.h
<<_ACEOF
9443 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
9444 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
9445 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
9446 if test "${ac_cv_search_gethostbyname+set}" = set; then
9447 echo $ECHO_N "(cached) $ECHO_C" >&6
9449 ac_func_search_save_LIBS
=$LIBS
9450 ac_cv_search_gethostbyname
=no
9451 cat >conftest.
$ac_ext <<_ACEOF
9454 cat confdefs.h
>>conftest.
$ac_ext
9455 cat >>conftest.
$ac_ext <<_ACEOF
9456 /* end confdefs.h. */
9458 /* Override any gcc2 internal prototype to avoid an error. */
9462 /* We use char because int might match the return type of a gcc2
9463 builtin and then its argument prototype would still apply. */
9464 char gethostbyname ();
9473 rm -f conftest.
$ac_objext conftest
$ac_exeext
9474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9475 (eval $ac_link) 2>conftest.er1
9477 grep -v '^ *+' conftest.er1
>conftest.err
9479 cat conftest.err
>&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); } &&
9482 { ac_try
='test -z "$ac_c_werror_flag"
9483 || test ! -s conftest.err'
9484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); }; } &&
9489 { ac_try
='test -s conftest$ac_exeext'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; }; then
9495 ac_cv_search_gethostbyname
="none required"
9497 echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.
$ac_ext >&5
9501 rm -f conftest.err conftest.
$ac_objext \
9502 conftest
$ac_exeext conftest.
$ac_ext
9503 if test "$ac_cv_search_gethostbyname" = no
; then
9504 for ac_lib
in nsl
; do
9505 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9506 cat >conftest.
$ac_ext <<_ACEOF
9509 cat confdefs.h
>>conftest.
$ac_ext
9510 cat >>conftest.
$ac_ext <<_ACEOF
9511 /* end confdefs.h. */
9513 /* Override any gcc2 internal prototype to avoid an error. */
9517 /* We use char because int might match the return type of a gcc2
9518 builtin and then its argument prototype would still apply. */
9519 char gethostbyname ();
9528 rm -f conftest.
$ac_objext conftest
$ac_exeext
9529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9530 (eval $ac_link) 2>conftest.er1
9532 grep -v '^ *+' conftest.er1
>conftest.err
9534 cat conftest.err
>&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); } &&
9537 { ac_try
='test -z "$ac_c_werror_flag"
9538 || test ! -s conftest.err'
9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); }; } &&
9544 { ac_try
='test -s conftest$ac_exeext'
9545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); }; }; then
9550 ac_cv_search_gethostbyname
="-l$ac_lib"
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.
$ac_ext >&5
9557 rm -f conftest.err conftest.
$ac_objext \
9558 conftest
$ac_exeext conftest.
$ac_ext
9561 LIBS
=$ac_func_search_save_LIBS
9563 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
9564 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
9565 if test "$ac_cv_search_gethostbyname" != no
; then
9566 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
9571 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
9572 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
9573 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
9574 if test "${ac_cv_search_socketpair+set}" = set; then
9575 echo $ECHO_N "(cached) $ECHO_C" >&6
9577 ac_func_search_save_LIBS
=$LIBS
9578 ac_cv_search_socketpair
=no
9579 cat >conftest.
$ac_ext <<_ACEOF
9582 cat confdefs.h
>>conftest.
$ac_ext
9583 cat >>conftest.
$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9586 /* Override any gcc2 internal prototype to avoid an error. */
9590 /* We use char because int might match the return type of a gcc2
9591 builtin and then its argument prototype would still apply. */
9601 rm -f conftest.
$ac_objext conftest
$ac_exeext
9602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9603 (eval $ac_link) 2>conftest.er1
9605 grep -v '^ *+' conftest.er1
>conftest.err
9607 cat conftest.err
>&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); } &&
9610 { ac_try
='test -z "$ac_c_werror_flag"
9611 || test ! -s conftest.err'
9612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); }; } &&
9617 { ac_try
='test -s conftest$ac_exeext'
9618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); }; }; then
9623 ac_cv_search_socketpair
="none required"
9625 echo "$as_me: failed program was:" >&5
9626 sed 's/^/| /' conftest.
$ac_ext >&5
9629 rm -f conftest.err conftest.
$ac_objext \
9630 conftest
$ac_exeext conftest.
$ac_ext
9631 if test "$ac_cv_search_socketpair" = no
; then
9632 for ac_lib
in socket
; do
9633 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9634 cat >conftest.
$ac_ext <<_ACEOF
9637 cat confdefs.h
>>conftest.
$ac_ext
9638 cat >>conftest.
$ac_ext <<_ACEOF
9639 /* end confdefs.h. */
9641 /* Override any gcc2 internal prototype to avoid an error. */
9645 /* We use char because int might match the return type of a gcc2
9646 builtin and then its argument prototype would still apply. */
9656 rm -f conftest.
$ac_objext conftest
$ac_exeext
9657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9658 (eval $ac_link) 2>conftest.er1
9660 grep -v '^ *+' conftest.er1
>conftest.err
9662 cat conftest.err
>&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); } &&
9665 { ac_try
='test -z "$ac_c_werror_flag"
9666 || test ! -s conftest.err'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; } &&
9672 { ac_try
='test -s conftest$ac_exeext'
9673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); }; }; then
9678 ac_cv_search_socketpair
="-l$ac_lib"
9681 echo "$as_me: failed program was:" >&5
9682 sed 's/^/| /' conftest.
$ac_ext >&5
9685 rm -f conftest.err conftest.
$ac_objext \
9686 conftest
$ac_exeext conftest.
$ac_ext
9689 LIBS
=$ac_func_search_save_LIBS
9691 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
9692 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
9693 if test "$ac_cv_search_socketpair" != no
; then
9694 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
9699 # Link in zlib if we can. This allows us to read compressed debug sections.
9700 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
9701 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
9702 if test "${ac_cv_search_zlibVersion+set}" = set; then
9703 echo $ECHO_N "(cached) $ECHO_C" >&6
9705 ac_func_search_save_LIBS
=$LIBS
9706 ac_cv_search_zlibVersion
=no
9707 cat >conftest.
$ac_ext <<_ACEOF
9710 cat confdefs.h
>>conftest.
$ac_ext
9711 cat >>conftest.
$ac_ext <<_ACEOF
9712 /* end confdefs.h. */
9714 /* Override any gcc2 internal prototype to avoid an error. */
9718 /* We use char because int might match the return type of a gcc2
9719 builtin and then its argument prototype would still apply. */
9720 char zlibVersion ();
9729 rm -f conftest.
$ac_objext conftest
$ac_exeext
9730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9731 (eval $ac_link) 2>conftest.er1
9733 grep -v '^ *+' conftest.er1
>conftest.err
9735 cat conftest.err
>&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); } &&
9738 { ac_try
='test -z "$ac_c_werror_flag"
9739 || test ! -s conftest.err'
9740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); }; } &&
9745 { ac_try
='test -s conftest$ac_exeext'
9746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; }; then
9751 ac_cv_search_zlibVersion
="none required"
9753 echo "$as_me: failed program was:" >&5
9754 sed 's/^/| /' conftest.
$ac_ext >&5
9757 rm -f conftest.err conftest.
$ac_objext \
9758 conftest
$ac_exeext conftest.
$ac_ext
9759 if test "$ac_cv_search_zlibVersion" = no
; then
9761 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9762 cat >conftest.
$ac_ext <<_ACEOF
9765 cat confdefs.h
>>conftest.
$ac_ext
9766 cat >>conftest.
$ac_ext <<_ACEOF
9767 /* end confdefs.h. */
9769 /* Override any gcc2 internal prototype to avoid an error. */
9773 /* We use char because int might match the return type of a gcc2
9774 builtin and then its argument prototype would still apply. */
9775 char zlibVersion ();
9784 rm -f conftest.
$ac_objext conftest
$ac_exeext
9785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9786 (eval $ac_link) 2>conftest.er1
9788 grep -v '^ *+' conftest.er1
>conftest.err
9790 cat conftest.err
>&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); } &&
9793 { ac_try
='test -z "$ac_c_werror_flag"
9794 || test ! -s conftest.err'
9795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); }; } &&
9800 { ac_try
='test -s conftest$ac_exeext'
9801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); }; }; then
9806 ac_cv_search_zlibVersion
="-l$ac_lib"
9809 echo "$as_me: failed program was:" >&5
9810 sed 's/^/| /' conftest.
$ac_ext >&5
9813 rm -f conftest.err conftest.
$ac_objext \
9814 conftest
$ac_exeext conftest.
$ac_ext
9817 LIBS
=$ac_func_search_save_LIBS
9819 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
9820 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
9821 if test "$ac_cv_search_zlibVersion" != no
; then
9822 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
9824 for ac_header
in zlib.h
9826 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9828 echo "$as_me:$LINENO: checking for $ac_header" >&5
9829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9831 echo $ECHO_N "(cached) $ECHO_C" >&6
9833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9836 # Is the header compilable?
9837 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9838 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9839 cat >conftest.
$ac_ext <<_ACEOF
9842 cat confdefs.h
>>conftest.
$ac_ext
9843 cat >>conftest.
$ac_ext <<_ACEOF
9844 /* end confdefs.h. */
9845 $ac_includes_default
9846 #include <$ac_header>
9848 rm -f conftest.
$ac_objext
9849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9850 (eval $ac_compile) 2>conftest.er1
9852 grep -v '^ *+' conftest.er1
>conftest.err
9854 cat conftest.err
>&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } &&
9857 { ac_try
='test -z "$ac_c_werror_flag"
9858 || test ! -s conftest.err'
9859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); }; } &&
9864 { ac_try
='test -s conftest.$ac_objext'
9865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); }; }; then
9870 ac_header_compiler
=yes
9872 echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.
$ac_ext >&5
9875 ac_header_compiler
=no
9877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9879 echo "${ECHO_T}$ac_header_compiler" >&6
9881 # Is the header present?
9882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9884 cat >conftest.
$ac_ext <<_ACEOF
9887 cat confdefs.h
>>conftest.
$ac_ext
9888 cat >>conftest.
$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9890 #include <$ac_header>
9892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9895 grep -v '^ *+' conftest.er1
>conftest.err
9897 cat conftest.err
>&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } >/dev
/null
; then
9900 if test -s conftest.err
; then
9901 ac_cpp_err
=$ac_c_preproc_warn_flag
9902 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9909 if test -z "$ac_cpp_err"; then
9910 ac_header_preproc
=yes
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.
$ac_ext >&5
9915 ac_header_preproc
=no
9917 rm -f conftest.err conftest.
$ac_ext
9918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9919 echo "${ECHO_T}$ac_header_preproc" >&6
9921 # So? What about this header?
9922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9928 ac_header_preproc
=yes
9931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9945 ## ------------------------------------------ ##
9946 ## Report this to the AC_PACKAGE_NAME lists. ##
9947 ## ------------------------------------------ ##
9950 sed "s/^/$as_me: WARNING: /" >&2
9953 echo "$as_me:$LINENO: checking for $ac_header" >&5
9954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9956 echo $ECHO_N "(cached) $ECHO_C" >&6
9958 eval "$as_ac_Header=\$ac_header_preproc"
9960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9965 cat >>confdefs.h
<<_ACEOF
9966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9976 # For the TUI, we need enhanced curses functionality.
9978 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
9979 # curses library because the latter might not provide all the
9980 # functionality we need. However, this leads to problems on systems
9981 # where the linker searches /usr/local/lib, but the compiler doesn't
9982 # search /usr/local/include, if ncurses is installed in /usr/local. A
9983 # default installation of ncurses on alpha*-dec-osf* will lead to such
9985 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
9986 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
9987 if test "${ac_cv_search_waddstr+set}" = set; then
9988 echo $ECHO_N "(cached) $ECHO_C" >&6
9990 ac_func_search_save_LIBS
=$LIBS
9991 ac_cv_search_waddstr
=no
9992 cat >conftest.
$ac_ext <<_ACEOF
9995 cat confdefs.h
>>conftest.
$ac_ext
9996 cat >>conftest.
$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9999 /* Override any gcc2 internal prototype to avoid an error. */
10003 /* We use char because int might match the return type of a gcc2
10004 builtin and then its argument prototype would still apply. */
10014 rm -f conftest.
$ac_objext conftest
$ac_exeext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10016 (eval $ac_link) 2>conftest.er1
10018 grep -v '^ *+' conftest.er1
>conftest.err
10020 cat conftest.err
>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try
='test -z "$ac_c_werror_flag"
10024 || test ! -s conftest.err'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; } &&
10030 { ac_try
='test -s conftest$ac_exeext'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; }; then
10036 ac_cv_search_waddstr
="none required"
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.
$ac_ext >&5
10042 rm -f conftest.err conftest.
$ac_objext \
10043 conftest
$ac_exeext conftest.
$ac_ext
10044 if test "$ac_cv_search_waddstr" = no
; then
10045 for ac_lib
in ncurses cursesX curses
; do
10046 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10047 cat >conftest.
$ac_ext <<_ACEOF
10050 cat confdefs.h
>>conftest.
$ac_ext
10051 cat >>conftest.
$ac_ext <<_ACEOF
10052 /* end confdefs.h. */
10054 /* Override any gcc2 internal prototype to avoid an error. */
10058 /* We use char because int might match the return type of a gcc2
10059 builtin and then its argument prototype would still apply. */
10069 rm -f conftest.
$ac_objext conftest
$ac_exeext
10070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10071 (eval $ac_link) 2>conftest.er1
10073 grep -v '^ *+' conftest.er1
>conftest.err
10075 cat conftest.err
>&5
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); } &&
10078 { ac_try
='test -z "$ac_c_werror_flag"
10079 || test ! -s conftest.err'
10080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10081 (eval $ac_try) 2>&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); }; } &&
10085 { ac_try
='test -s conftest$ac_exeext'
10086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10087 (eval $ac_try) 2>&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); }; }; then
10091 ac_cv_search_waddstr
="-l$ac_lib"
10094 echo "$as_me: failed program was:" >&5
10095 sed 's/^/| /' conftest.
$ac_ext >&5
10098 rm -f conftest.err conftest.
$ac_objext \
10099 conftest
$ac_exeext conftest.
$ac_ext
10102 LIBS
=$ac_func_search_save_LIBS
10104 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
10105 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
10106 if test "$ac_cv_search_waddstr" != no
; then
10107 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
10112 # On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
10113 echo "$as_me:$LINENO: checking for library containing dlgetmodinfo" >&5
10114 echo $ECHO_N "checking for library containing dlgetmodinfo... $ECHO_C" >&6
10115 if test "${ac_cv_search_dlgetmodinfo+set}" = set; then
10116 echo $ECHO_N "(cached) $ECHO_C" >&6
10118 ac_func_search_save_LIBS
=$LIBS
10119 ac_cv_search_dlgetmodinfo
=no
10120 cat >conftest.
$ac_ext <<_ACEOF
10123 cat confdefs.h
>>conftest.
$ac_ext
10124 cat >>conftest.
$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10127 /* Override any gcc2 internal prototype to avoid an error. */
10131 /* We use char because int might match the return type of a gcc2
10132 builtin and then its argument prototype would still apply. */
10133 char dlgetmodinfo ();
10142 rm -f conftest.
$ac_objext conftest
$ac_exeext
10143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10144 (eval $ac_link) 2>conftest.er1
10146 grep -v '^ *+' conftest.er1
>conftest.err
10148 cat conftest.err
>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); } &&
10151 { ac_try
='test -z "$ac_c_werror_flag"
10152 || test ! -s conftest.err'
10153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10154 (eval $ac_try) 2>&5
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); }; } &&
10158 { ac_try
='test -s conftest$ac_exeext'
10159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10160 (eval $ac_try) 2>&5
10162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 (exit $ac_status); }; }; then
10164 ac_cv_search_dlgetmodinfo
="none required"
10166 echo "$as_me: failed program was:" >&5
10167 sed 's/^/| /' conftest.
$ac_ext >&5
10170 rm -f conftest.err conftest.
$ac_objext \
10171 conftest
$ac_exeext conftest.
$ac_ext
10172 if test "$ac_cv_search_dlgetmodinfo" = no
; then
10173 for ac_lib
in dl xpdl
; do
10174 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
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. */
10188 char dlgetmodinfo ();
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_dlgetmodinfo
="-l$ac_lib"
10222 echo "$as_me: failed program was:" >&5
10223 sed 's/^/| /' conftest.
$ac_ext >&5
10226 rm -f conftest.err conftest.
$ac_objext \
10227 conftest
$ac_exeext conftest.
$ac_ext
10230 LIBS
=$ac_func_search_save_LIBS
10232 echo "$as_me:$LINENO: result: $ac_cv_search_dlgetmodinfo" >&5
10233 echo "${ECHO_T}$ac_cv_search_dlgetmodinfo" >&6
10234 if test "$ac_cv_search_dlgetmodinfo" != no
; then
10235 test "$ac_cv_search_dlgetmodinfo" = "none required" || LIBS
="$ac_cv_search_dlgetmodinfo $LIBS"
10240 # Since GDB uses Readline, we need termcap functionality. In many
10241 # cases this will be provided by the curses library, but some systems
10242 # have a seperate termcap library, or no curses library at all.
10246 if test -d $srcdir/libtermcap
; then
10247 LIBS
="../libtermcap/libtermcap.a $LIBS"
10248 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
10251 ac_cv_search_tgetent
="none required"
10254 ac_cv_search_tgetent
="none required"
10255 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
10259 # These are the libraries checked by Readline.
10260 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
10261 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
10262 if test "${ac_cv_search_tgetent+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 ac_func_search_save_LIBS
=$LIBS
10266 ac_cv_search_tgetent
=no
10267 cat >conftest.
$ac_ext <<_ACEOF
10270 cat confdefs.h
>>conftest.
$ac_ext
10271 cat >>conftest.
$ac_ext <<_ACEOF
10272 /* end confdefs.h. */
10274 /* Override any gcc2 internal prototype to avoid an error. */
10278 /* We use char because int might match the return type of a gcc2
10279 builtin and then its argument prototype would still apply. */
10289 rm -f conftest.
$ac_objext conftest
$ac_exeext
10290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10291 (eval $ac_link) 2>conftest.er1
10293 grep -v '^ *+' conftest.er1
>conftest.err
10295 cat conftest.err
>&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } &&
10298 { ac_try
='test -z "$ac_c_werror_flag"
10299 || test ! -s conftest.err'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; } &&
10305 { ac_try
='test -s conftest$ac_exeext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 ac_cv_search_tgetent
="none required"
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.
$ac_ext >&5
10317 rm -f conftest.err conftest.
$ac_objext \
10318 conftest
$ac_exeext conftest.
$ac_ext
10319 if test "$ac_cv_search_tgetent" = no
; then
10320 for ac_lib
in termcap tinfo curses ncurses
; do
10321 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10322 cat >conftest.
$ac_ext <<_ACEOF
10325 cat confdefs.h
>>conftest.
$ac_ext
10326 cat >>conftest.
$ac_ext <<_ACEOF
10327 /* end confdefs.h. */
10329 /* Override any gcc2 internal prototype to avoid an error. */
10333 /* We use char because int might match the return type of a gcc2
10334 builtin and then its argument prototype would still apply. */
10344 rm -f conftest.
$ac_objext conftest
$ac_exeext
10345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10346 (eval $ac_link) 2>conftest.er1
10348 grep -v '^ *+' conftest.er1
>conftest.err
10350 cat conftest.err
>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); } &&
10353 { ac_try
='test -z "$ac_c_werror_flag"
10354 || test ! -s conftest.err'
10355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10356 (eval $ac_try) 2>&5
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); }; } &&
10360 { ac_try
='test -s conftest$ac_exeext'
10361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10362 (eval $ac_try) 2>&5
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); }; }; then
10366 ac_cv_search_tgetent
="-l$ac_lib"
10369 echo "$as_me: failed program was:" >&5
10370 sed 's/^/| /' conftest.
$ac_ext >&5
10373 rm -f conftest.err conftest.
$ac_objext \
10374 conftest
$ac_exeext conftest.
$ac_ext
10377 LIBS
=$ac_func_search_save_LIBS
10379 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
10380 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
10381 if test "$ac_cv_search_tgetent" != no
; then
10382 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
10387 if test "$ac_cv_search_tgetent" = no
; then
10388 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
10389 echo "$as_me: error: no termcap library found" >&2;}
10390 { (exit 1); exit 1; }; }
10394 # Check whether --with-system-readline or --without-system-readline was given.
10395 if test "${with_system_readline+set}" = set; then
10396 withval
="$with_system_readline"
10400 if test "$with_system_readline" = yes; then
10401 READLINE
=-lreadline
10405 READLINE
='$(READLINE_DIR)/libreadline.a'
10406 READLINE_DEPS
='$(READLINE)'
10407 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
10414 # Check whether --with-expat or --without-expat was given.
10415 if test "${with_expat+set}" = set; then
10416 withval
="$with_expat"
10421 echo "$as_me:$LINENO: checking whether to use expat" >&5
10422 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
10423 echo "$as_me:$LINENO: result: $with_expat" >&5
10424 echo "${ECHO_T}$with_expat" >&6
10426 if test "${with_expat}" = no
; then
10427 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
10428 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
10432 if test "X$prefix" = "XNONE"; then
10433 acl_final_prefix
="$ac_default_prefix"
10435 acl_final_prefix
="$prefix"
10437 if test "X$exec_prefix" = "XNONE"; then
10438 acl_final_exec_prefix
='${prefix}'
10440 acl_final_exec_prefix
="$exec_prefix"
10442 acl_save_prefix
="$prefix"
10443 prefix
="$acl_final_prefix"
10444 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10445 prefix
="$acl_save_prefix"
10448 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10449 if test "${with_gnu_ld+set}" = set; then
10450 withval
="$with_gnu_ld"
10451 test "$withval" = no || with_gnu_ld
=yes
10455 # Prepare PATH_SEPARATOR.
10456 # The user is always right.
10457 if test "${PATH_SEPARATOR+set}" != set; then
10458 echo "#! /bin/sh" >conf$$.sh
10459 echo "exit 0" >>conf$$.sh
10461 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10469 if test "$GCC" = yes; then
10470 # Check if gcc -print-prog-name=ld gives a path.
10471 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10472 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10475 # gcc leaves a trailing carriage return which upsets mingw
10476 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10478 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10481 # Accept absolute paths.
10482 [\\/]* |
[A-Za-z
]:[\\/]*)
10483 re_direlt
='/[^/][^/]*/\.\./'
10484 # Canonicalize the path of ld
10485 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10486 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10487 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10489 test -z "$LD" && LD
="$ac_prog"
10492 # If it fails, then pretend we aren't using GCC.
10496 # If it is relative, then search for the first ld in PATH.
10497 with_gnu_ld
=unknown
10500 elif test "$with_gnu_ld" = yes; then
10501 echo "$as_me:$LINENO: checking for GNU ld" >&5
10502 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10504 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10505 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10507 if test "${acl_cv_path_LD+set}" = set; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 if test -z "$LD"; then
10511 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10512 for ac_dir
in $PATH; do
10513 test -z "$ac_dir" && ac_dir
=.
10514 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10515 acl_cv_path_LD
="$ac_dir/$ac_prog"
10516 # Check to see if the program is GNU ld. I'd rather use --version,
10517 # but apparently some GNU ld's only accept -v.
10518 # Break only if it was the GNU/non-GNU ld that we prefer.
10519 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10520 test "$with_gnu_ld" != no
&& break
10522 test "$with_gnu_ld" != yes && break
10528 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10532 LD
="$acl_cv_path_LD"
10533 if test -n "$LD"; then
10534 echo "$as_me:$LINENO: result: $LD" >&5
10535 echo "${ECHO_T}$LD" >&6
10537 echo "$as_me:$LINENO: result: no" >&5
10538 echo "${ECHO_T}no" >&6
10540 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10541 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10542 { (exit 1); exit 1; }; }
10543 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10544 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10545 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10546 echo $ECHO_N "(cached) $ECHO_C" >&6
10548 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10549 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10550 acl_cv_prog_gnu_ld
=yes
10552 acl_cv_prog_gnu_ld
=no
10555 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10556 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10557 with_gnu_ld
=$acl_cv_prog_gnu_ld
10561 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10562 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10563 if test "${acl_cv_rpath+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10568 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10570 rm -f .
/conftest.sh
10574 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10575 echo "${ECHO_T}$acl_cv_rpath" >&6
10577 libext
="$acl_cv_libext"
10578 shlibext
="$acl_cv_shlibext"
10579 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10580 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10581 hardcode_direct
="$acl_cv_hardcode_direct"
10582 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10583 # Check whether --enable-rpath or --disable-rpath was given.
10584 if test "${enable_rpath+set}" = set; then
10585 enableval
="$enable_rpath"
10601 acl_save_prefix
="$prefix"
10602 prefix
="$acl_final_prefix"
10603 acl_save_exec_prefix
="$exec_prefix"
10604 exec_prefix
="$acl_final_exec_prefix"
10606 eval additional_includedir
=\"$includedir\"
10607 eval additional_libdir
=\"$libdir\"
10609 exec_prefix
="$acl_save_exec_prefix"
10610 prefix
="$acl_save_prefix"
10613 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
10614 if test "${with_libexpat_prefix+set}" = set; then
10615 withval
="$with_libexpat_prefix"
10617 if test "X$withval" = "Xno"; then
10620 if test "X$withval" = "X"; then
10622 acl_save_prefix
="$prefix"
10623 prefix
="$acl_final_prefix"
10624 acl_save_exec_prefix
="$exec_prefix"
10625 exec_prefix
="$acl_final_exec_prefix"
10627 eval additional_includedir
=\"$includedir\"
10628 eval additional_libdir
=\"$libdir\"
10630 exec_prefix
="$acl_save_exec_prefix"
10631 prefix
="$acl_save_prefix"
10634 additional_includedir
="$withval/include"
10635 additional_libdir
="$withval/lib"
10645 names_already_handled
=
10646 names_next_round
='expat '
10647 while test -n "$names_next_round"; do
10648 names_this_round
="$names_next_round"
10650 for name
in $names_this_round; do
10652 for n
in $names_already_handled; do
10653 if test "$n" = "$name"; then
10654 already_handled
=yes
10658 if test -z "$already_handled"; then
10659 names_already_handled
="$names_already_handled $name"
10660 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10661 eval value
=\"\
$HAVE_LIB$uppername\"
10662 if test -n "$value"; then
10663 if test "$value" = yes; then
10664 eval value
=\"\
$LIB$uppername\"
10665 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
10666 eval value
=\"\
$LTLIB$uppername\"
10667 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
10676 if test $use_additional = yes; then
10677 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10678 found_dir
="$additional_libdir"
10679 found_so
="$additional_libdir/lib$name.$shlibext"
10680 if test -f "$additional_libdir/lib$name.la"; then
10681 found_la
="$additional_libdir/lib$name.la"
10684 if test -f "$additional_libdir/lib$name.$libext"; then
10685 found_dir
="$additional_libdir"
10686 found_a
="$additional_libdir/lib$name.$libext"
10687 if test -f "$additional_libdir/lib$name.la"; then
10688 found_la
="$additional_libdir/lib$name.la"
10693 if test "X$found_dir" = "X"; then
10694 for x
in $LDFLAGS $LTLIBEXPAT; do
10696 acl_save_prefix
="$prefix"
10697 prefix
="$acl_final_prefix"
10698 acl_save_exec_prefix
="$exec_prefix"
10699 exec_prefix
="$acl_final_exec_prefix"
10701 exec_prefix
="$acl_save_exec_prefix"
10702 prefix
="$acl_save_prefix"
10706 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10707 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10709 found_so
="$dir/lib$name.$shlibext"
10710 if test -f "$dir/lib$name.la"; then
10711 found_la
="$dir/lib$name.la"
10714 if test -f "$dir/lib$name.$libext"; then
10716 found_a
="$dir/lib$name.$libext"
10717 if test -f "$dir/lib$name.la"; then
10718 found_la
="$dir/lib$name.la"
10724 if test "X$found_dir" != "X"; then
10729 if test "X$found_dir" != "X"; then
10730 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
10731 if test "X$found_so" != "X"; then
10732 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10733 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10736 for x
in $ltrpathdirs; do
10737 if test "X$x" = "X$found_dir"; then
10742 if test -z "$haveit"; then
10743 ltrpathdirs
="$ltrpathdirs $found_dir"
10745 if test "$hardcode_direct" = yes; then
10746 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10748 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10749 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10751 for x
in $rpathdirs; do
10752 if test "X$x" = "X$found_dir"; then
10757 if test -z "$haveit"; then
10758 rpathdirs
="$rpathdirs $found_dir"
10762 for x
in $LDFLAGS $LIBEXPAT; do
10764 acl_save_prefix
="$prefix"
10765 prefix
="$acl_final_prefix"
10766 acl_save_exec_prefix
="$exec_prefix"
10767 exec_prefix
="$acl_final_exec_prefix"
10769 exec_prefix
="$acl_save_exec_prefix"
10770 prefix
="$acl_save_prefix"
10772 if test "X$x" = "X-L$found_dir"; then
10777 if test -z "$haveit"; then
10778 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
10780 if test "$hardcode_minus_L" != no
; then
10781 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10783 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
10789 if test "X$found_a" != "X"; then
10790 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
10792 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
10795 additional_includedir
=
10796 case "$found_dir" in
10798 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10799 additional_includedir
="$basedir/include"
10802 if test "X$additional_includedir" != "X"; then
10803 if test "X$additional_includedir" != "X/usr/include"; then
10805 if test "X$additional_includedir" = "X/usr/local/include"; then
10806 if test -n "$GCC"; then
10808 linux
*) haveit
=yes;;
10812 if test -z "$haveit"; then
10813 for x
in $CPPFLAGS $INCEXPAT; do
10815 acl_save_prefix
="$prefix"
10816 prefix
="$acl_final_prefix"
10817 acl_save_exec_prefix
="$exec_prefix"
10818 exec_prefix
="$acl_final_exec_prefix"
10820 exec_prefix
="$acl_save_exec_prefix"
10821 prefix
="$acl_save_prefix"
10823 if test "X$x" = "X-I$additional_includedir"; then
10828 if test -z "$haveit"; then
10829 if test -d "$additional_includedir"; then
10830 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
10836 if test -n "$found_la"; then
10837 save_libdir
="$libdir"
10838 case "$found_la" in
10839 */* |
*\\*) .
"$found_la" ;;
10840 *) .
"./$found_la" ;;
10842 libdir
="$save_libdir"
10843 for dep
in $dependency_libs; do
10846 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10847 if test "X$additional_libdir" != "X/usr/lib"; then
10849 if test "X$additional_libdir" = "X/usr/local/lib"; then
10850 if test -n "$GCC"; then
10852 linux
*) haveit
=yes;;
10856 if test -z "$haveit"; then
10858 for x
in $LDFLAGS $LIBEXPAT; do
10860 acl_save_prefix
="$prefix"
10861 prefix
="$acl_final_prefix"
10862 acl_save_exec_prefix
="$exec_prefix"
10863 exec_prefix
="$acl_final_exec_prefix"
10865 exec_prefix
="$acl_save_exec_prefix"
10866 prefix
="$acl_save_prefix"
10868 if test "X$x" = "X-L$additional_libdir"; then
10873 if test -z "$haveit"; then
10874 if test -d "$additional_libdir"; then
10875 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
10879 for x
in $LDFLAGS $LTLIBEXPAT; do
10881 acl_save_prefix
="$prefix"
10882 prefix
="$acl_final_prefix"
10883 acl_save_exec_prefix
="$exec_prefix"
10884 exec_prefix
="$acl_final_exec_prefix"
10886 exec_prefix
="$acl_save_exec_prefix"
10887 prefix
="$acl_save_prefix"
10889 if test "X$x" = "X-L$additional_libdir"; then
10894 if test -z "$haveit"; then
10895 if test -d "$additional_libdir"; then
10896 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
10903 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10904 if test "$enable_rpath" != no
; then
10906 for x
in $rpathdirs; do
10907 if test "X$x" = "X$dir"; then
10912 if test -z "$haveit"; then
10913 rpathdirs
="$rpathdirs $dir"
10916 for x
in $ltrpathdirs; do
10917 if test "X$x" = "X$dir"; then
10922 if test -z "$haveit"; then
10923 ltrpathdirs
="$ltrpathdirs $dir"
10928 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10931 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10934 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
10935 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
10941 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
10942 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
10948 if test "X$rpathdirs" != "X"; then
10949 if test -n "$hardcode_libdir_separator"; then
10951 for found_dir
in $rpathdirs; do
10952 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10954 acl_save_libdir
="$libdir"
10956 eval flag
=\"$hardcode_libdir_flag_spec\"
10957 libdir
="$acl_save_libdir"
10958 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
10960 for found_dir
in $rpathdirs; do
10961 acl_save_libdir
="$libdir"
10962 libdir
="$found_dir"
10963 eval flag
=\"$hardcode_libdir_flag_spec\"
10964 libdir
="$acl_save_libdir"
10965 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
10969 if test "X$ltrpathdirs" != "X"; then
10970 for found_dir
in $ltrpathdirs; do
10971 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
10976 ac_save_CPPFLAGS
="$CPPFLAGS"
10978 for element
in $INCEXPAT; do
10980 for x
in $CPPFLAGS; do
10982 acl_save_prefix
="$prefix"
10983 prefix
="$acl_final_prefix"
10984 acl_save_exec_prefix
="$exec_prefix"
10985 exec_prefix
="$acl_final_exec_prefix"
10987 exec_prefix
="$acl_save_exec_prefix"
10988 prefix
="$acl_save_prefix"
10990 if test "X$x" = "X$element"; then
10995 if test -z "$haveit"; then
10996 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
11001 echo "$as_me:$LINENO: checking for libexpat" >&5
11002 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
11003 if test "${ac_cv_libexpat+set}" = set; then
11004 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 ac_save_LIBS
="$LIBS"
11008 LIBS
="$LIBS $LIBEXPAT"
11009 cat >conftest.
$ac_ext <<_ACEOF
11012 cat confdefs.h
>>conftest.
$ac_ext
11013 cat >>conftest.
$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11019 XML_Parser p = XML_ParserCreate (0);
11024 rm -f conftest.
$ac_objext conftest
$ac_exeext
11025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026 (eval $ac_link) 2>conftest.er1
11028 grep -v '^ *+' conftest.er1
>conftest.err
11030 cat conftest.err
>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try
='test -z "$ac_c_werror_flag"
11034 || test ! -s conftest.err'
11035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; } &&
11040 { ac_try
='test -s conftest$ac_exeext'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; }; then
11048 echo "$as_me: failed program was:" >&5
11049 sed 's/^/| /' conftest.
$ac_ext >&5
11053 rm -f conftest.err conftest.
$ac_objext \
11054 conftest
$ac_exeext conftest.
$ac_ext
11055 LIBS
="$ac_save_LIBS"
11058 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
11059 echo "${ECHO_T}$ac_cv_libexpat" >&6
11060 if test "$ac_cv_libexpat" = yes; then
11063 cat >>confdefs.h
<<\_ACEOF
11064 #define HAVE_LIBEXPAT 1
11067 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
11068 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
11069 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
11070 echo "${ECHO_T}$LIBEXPAT" >&6
11073 CPPFLAGS
="$ac_save_CPPFLAGS"
11083 if test "$HAVE_LIBEXPAT" != yes; then
11084 if test "$with_expat" = yes; then
11085 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
11086 echo "$as_me: error: expat is missing or unusable" >&2;}
11087 { (exit 1); exit 1; }; }
11089 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
11090 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
11094 LIBS
="$LIBS $LIBEXPAT"
11096 for ac_func
in XML_StopParser
11098 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11099 echo "$as_me:$LINENO: checking for $ac_func" >&5
11100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11101 if eval "test \"\${$as_ac_var+set}\" = set"; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 cat >conftest.
$ac_ext <<_ACEOF
11107 cat confdefs.h
>>conftest.
$ac_ext
11108 cat >>conftest.
$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11112 #define $ac_func innocuous_$ac_func
11114 /* System header to define __stub macros and hopefully few prototypes,
11115 which can conflict with char $ac_func (); below.
11116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11117 <limits.h> exists even on freestanding compilers. */
11120 # include <limits.h>
11122 # include <assert.h>
11127 /* Override any gcc2 internal prototype to avoid an error. */
11132 /* We use char because int might match the return type of a gcc2
11133 builtin and then its argument prototype would still apply. */
11135 /* The GNU C library defines this for functions which it implements
11136 to always fail with ENOSYS. Some functions are actually named
11137 something starting with __ and the normal name is an alias. */
11138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11141 char (*f) () = $ac_func;
11150 return f != $ac_func;
11155 rm -f conftest.
$ac_objext conftest
$ac_exeext
11156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11157 (eval $ac_link) 2>conftest.er1
11159 grep -v '^ *+' conftest.er1
>conftest.err
11161 cat conftest.err
>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } &&
11164 { ac_try
='test -z "$ac_c_werror_flag"
11165 || test ! -s conftest.err'
11166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 (eval $ac_try) 2>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); }; } &&
11171 { ac_try
='test -s conftest$ac_exeext'
11172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173 (eval $ac_try) 2>&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; }; then
11177 eval "$as_ac_var=yes"
11179 echo "$as_me: failed program was:" >&5
11180 sed 's/^/| /' conftest.
$ac_ext >&5
11182 eval "$as_ac_var=no"
11184 rm -f conftest.err conftest.
$ac_objext \
11185 conftest
$ac_exeext conftest.
$ac_ext
11187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11189 if test `eval echo '${'$as_ac_var'}'` = yes; then
11190 cat >>confdefs.h
<<_ACEOF
11191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11204 # Check whether --with-python or --without-python was given.
11205 if test "${with_python+set}" = set; then
11206 withval
="$with_python"
11211 echo "$as_me:$LINENO: checking whether to use python" >&5
11212 echo $ECHO_N "checking whether to use python... $ECHO_C" >&6
11213 echo "$as_me:$LINENO: result: $with_python" >&5
11214 echo "${ECHO_T}$with_python" >&6
11216 if test "${with_python}" = no
; then
11217 { echo "$as_me:$LINENO: WARNING: python support disabled; some features may be unavailable." >&5
11218 echo "$as_me: WARNING: python support disabled; some features may be unavailable." >&2;}
11221 case "${with_python}" in
11223 # Leave as empty, use defaults.
11228 python_includes
="-I${with_python}/include"
11229 python_libs
="-L${with_python}/lib"
11232 { { echo "$as_me:$LINENO: error: invalid value for --with-python" >&5
11233 echo "$as_me: error: invalid value for --with-python" >&2;}
11234 { (exit 1); exit 1; }; }
11238 save_CPPFLAGS
=$CPPFLAGS
11239 CPPFLAGS
="$CPPFLAGS ${python_includes}"
11241 LIBS
="$LIBS ${python_libs}"
11243 if test "${have_libpython}" = no
; then
11248 HAVE_LIBPYTHON2_6
=no
11249 echo "$as_me:$LINENO: checking for ${version}" >&5
11250 echo $ECHO_N "checking for ${version}... $ECHO_C" >&6
11252 LIBS
="$LIBS -l${version}"
11253 cat >conftest.
$ac_ext <<_ACEOF
11256 cat confdefs.h
>>conftest.
$ac_ext
11257 cat >>conftest.
$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 #include "${version}/Python.h"
11268 rm -f conftest.
$ac_objext conftest
$ac_exeext
11269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11270 (eval $ac_link) 2>conftest.er1
11272 grep -v '^ *+' conftest.er1
>conftest.err
11274 cat conftest.err
>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); } &&
11277 { ac_try
='test -z "$ac_c_werror_flag"
11278 || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try
='test -s conftest$ac_exeext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 HAVE_LIBPYTHON2_6
=yes
11293 echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.
$ac_ext >&5
11298 rm -f conftest.err conftest.
$ac_objext \
11299 conftest
$ac_exeext conftest.
$ac_ext
11300 echo "$as_me:$LINENO: result: $HAVE_LIBPYTHON2_6" >&5
11301 echo "${ECHO_T}$HAVE_LIBPYTHON2_6" >&6
11303 if test "${HAVE_LIBPYTHON2_6}" = yes; then
11305 cat >>confdefs.h
<<\_ACEOF
11306 #define HAVE_LIBPYTHON2_6 1
11311 if test ${have_libpython} = no
; then
11316 HAVE_LIBPYTHON2_5
=no
11317 echo "$as_me:$LINENO: checking for ${version}" >&5
11318 echo $ECHO_N "checking for ${version}... $ECHO_C" >&6
11320 LIBS
="$LIBS -l${version}"
11321 cat >conftest.
$ac_ext <<_ACEOF
11324 cat confdefs.h
>>conftest.
$ac_ext
11325 cat >>conftest.
$ac_ext <<_ACEOF
11326 /* end confdefs.h. */
11327 #include "${version}/Python.h"
11336 rm -f conftest.
$ac_objext conftest
$ac_exeext
11337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11338 (eval $ac_link) 2>conftest.er1
11340 grep -v '^ *+' conftest.er1
>conftest.err
11342 cat conftest.err
>&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); } &&
11345 { ac_try
='test -z "$ac_c_werror_flag"
11346 || test ! -s conftest.err'
11347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11348 (eval $ac_try) 2>&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); }; } &&
11352 { ac_try
='test -s conftest$ac_exeext'
11353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11354 (eval $ac_try) 2>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); }; }; then
11358 HAVE_LIBPYTHON2_5
=yes
11361 echo "$as_me: failed program was:" >&5
11362 sed 's/^/| /' conftest.
$ac_ext >&5
11366 rm -f conftest.err conftest.
$ac_objext \
11367 conftest
$ac_exeext conftest.
$ac_ext
11368 echo "$as_me:$LINENO: result: $HAVE_LIBPYTHON2_5" >&5
11369 echo "${ECHO_T}$HAVE_LIBPYTHON2_5" >&6
11371 if test "${HAVE_LIBPYTHON2_5}" = yes; then
11373 cat >>confdefs.h
<<\_ACEOF
11374 #define HAVE_LIBPYTHON2_5 1
11379 if test ${have_libpython} = no
; then
11384 HAVE_LIBPYTHON2_4
=no
11385 echo "$as_me:$LINENO: checking for ${version}" >&5
11386 echo $ECHO_N "checking for ${version}... $ECHO_C" >&6
11388 LIBS
="$LIBS -l${version}"
11389 cat >conftest.
$ac_ext <<_ACEOF
11392 cat confdefs.h
>>conftest.
$ac_ext
11393 cat >>conftest.
$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11395 #include "${version}/Python.h"
11404 rm -f conftest.
$ac_objext conftest
$ac_exeext
11405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11406 (eval $ac_link) 2>conftest.er1
11408 grep -v '^ *+' conftest.er1
>conftest.err
11410 cat conftest.err
>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } &&
11413 { ac_try
='test -z "$ac_c_werror_flag"
11414 || test ! -s conftest.err'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; } &&
11420 { ac_try
='test -s conftest$ac_exeext'
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; }; then
11426 HAVE_LIBPYTHON2_4
=yes
11429 echo "$as_me: failed program was:" >&5
11430 sed 's/^/| /' conftest.
$ac_ext >&5
11434 rm -f conftest.err conftest.
$ac_objext \
11435 conftest
$ac_exeext conftest.
$ac_ext
11436 echo "$as_me:$LINENO: result: $HAVE_LIBPYTHON2_4" >&5
11437 echo "${ECHO_T}$HAVE_LIBPYTHON2_4" >&6
11439 if test "${HAVE_LIBPYTHON2_4}" = yes; then
11441 cat >>confdefs.h
<<\_ACEOF
11442 #define HAVE_LIBPYTHON2_4 1
11447 if test ${have_libpython} = no
; then
11448 case "${with_python}" in
11450 { { echo "$as_me:$LINENO: error: python is missing or unusable" >&5
11451 echo "$as_me: error: python is missing or unusable" >&2;}
11452 { (exit 1); exit 1; }; }
11455 { echo "$as_me:$LINENO: WARNING: python is missing or unusable; some features may be unavailable." >&5
11456 echo "$as_me: WARNING: python is missing or unusable; some features may be unavailable." >&2;}
11459 { { echo "$as_me:$LINENO: error: no usable python found at ${with_python}" >&5
11460 echo "$as_me: error: no usable python found at ${with_python}" >&2;}
11461 { (exit 1); exit 1; }; }
11464 CPPFLAGS
=$save_CPPFLAGS
11469 if test "${have_libpython}" = yes; then
11471 cat >>confdefs.h
<<\_ACEOF
11472 #define HAVE_PYTHON 1
11475 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_PYTHON_OBS)"
11476 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_PYTHON_DEPS)"
11477 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_PYTHON_SRCS)"
11478 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_PYTHON_CFLAGS)"
11480 # Flags needed to compile Python code (taken from python-config --cflags).
11481 # We cannot call python-config directly because it will output whatever was
11482 # used when compiling the Python interpreter itself, including flags which
11483 # would make the python-related objects be compiled differently from the
11484 # rest of GDB (e.g., -O2 and -fPIC).
11485 if test "${GCC}" = yes; then
11486 tentative_python_cflags
="-fno-strict-aliasing -DNDEBUG -fwrapv"
11489 if test "x${tentative_python_cflags}" != x
; then
11490 echo "$as_me:$LINENO: checking compiler flags for python code" >&5
11491 echo $ECHO_N "checking compiler flags for python code... $ECHO_C" >&6
11492 for flag
in ${tentative_python_cflags}; do
11493 # Check that the compiler accepts it
11494 saved_CFLAGS
="$CFLAGS"
11495 CFLAGS
="$CFLAGS $flag"
11496 cat >conftest.
$ac_ext <<_ACEOF
11499 cat confdefs.h
>>conftest.
$ac_ext
11500 cat >>conftest.
$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11511 rm -f conftest.
$ac_objext
11512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11513 (eval $ac_compile) 2>conftest.er1
11515 grep -v '^ *+' conftest.er1
>conftest.err
11517 cat conftest.err
>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); } &&
11520 { ac_try
='test -z "$ac_c_werror_flag"
11521 || test ! -s conftest.err'
11522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11523 (eval $ac_try) 2>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }; } &&
11527 { ac_try
='test -s conftest.$ac_objext'
11528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }; }; then
11533 PYTHON_CFLAGS
="${PYTHON_CFLAGS} $flag"
11535 echo "$as_me: failed program was:" >&5
11536 sed 's/^/| /' conftest.
$ac_ext >&5
11539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11540 CFLAGS
="$saved_CFLAGS"
11542 echo "$as_me:$LINENO: result: ${PYTHON_CFLAGS}" >&5
11543 echo "${ECHO_T}${PYTHON_CFLAGS}" >&6
11546 # Even if Python support is not compiled in, we need to have this file
11547 # included in order to recognize the GDB command "python".
11548 CONFIG_OBS
="$CONFIG_OBS python.o"
11549 CONFIG_SRCS
="$CONFIG_SRCS python/python.c"
11553 # ------------------------- #
11554 # Checks for header files. #
11555 # ------------------------- #
11562 ac_header_dirent
=no
11563 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
11564 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11565 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
11566 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
11567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11568 echo $ECHO_N "(cached) $ECHO_C" >&6
11570 cat >conftest.
$ac_ext <<_ACEOF
11573 cat confdefs.h
>>conftest.
$ac_ext
11574 cat >>conftest.
$ac_ext <<_ACEOF
11575 /* end confdefs.h. */
11576 #include <sys/types.h>
11588 rm -f conftest.
$ac_objext
11589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11590 (eval $ac_compile) 2>conftest.er1
11592 grep -v '^ *+' conftest.er1
>conftest.err
11594 cat conftest.err
>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); } &&
11597 { ac_try
='test -z "$ac_c_werror_flag"
11598 || test ! -s conftest.err'
11599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11600 (eval $ac_try) 2>&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); }; } &&
11604 { ac_try
='test -s conftest.$ac_objext'
11605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11606 (eval $ac_try) 2>&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); }; }; then
11610 eval "$as_ac_Header=yes"
11612 echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.
$ac_ext >&5
11615 eval "$as_ac_Header=no"
11617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11622 cat >>confdefs.h
<<_ACEOF
11623 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11626 ac_header_dirent
=$ac_hdr; break
11630 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11631 if test $ac_header_dirent = dirent.h
; then
11632 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11633 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11634 if test "${ac_cv_search_opendir+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6
11637 ac_func_search_save_LIBS
=$LIBS
11638 ac_cv_search_opendir
=no
11639 cat >conftest.
$ac_ext <<_ACEOF
11642 cat confdefs.h
>>conftest.
$ac_ext
11643 cat >>conftest.
$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11646 /* Override any gcc2 internal prototype to avoid an error. */
11650 /* We use char because int might match the return type of a gcc2
11651 builtin and then its argument prototype would still apply. */
11661 rm -f conftest.
$ac_objext conftest
$ac_exeext
11662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11663 (eval $ac_link) 2>conftest.er1
11665 grep -v '^ *+' conftest.er1
>conftest.err
11667 cat conftest.err
>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } &&
11670 { ac_try
='test -z "$ac_c_werror_flag"
11671 || test ! -s conftest.err'
11672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11673 (eval $ac_try) 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); }; } &&
11677 { ac_try
='test -s conftest$ac_exeext'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; }; then
11683 ac_cv_search_opendir
="none required"
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.
$ac_ext >&5
11689 rm -f conftest.err conftest.
$ac_objext \
11690 conftest
$ac_exeext conftest.
$ac_ext
11691 if test "$ac_cv_search_opendir" = no
; then
11692 for ac_lib
in dir
; do
11693 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11694 cat >conftest.
$ac_ext <<_ACEOF
11697 cat confdefs.h
>>conftest.
$ac_ext
11698 cat >>conftest.
$ac_ext <<_ACEOF
11699 /* end confdefs.h. */
11701 /* Override any gcc2 internal prototype to avoid an error. */
11705 /* We use char because int might match the return type of a gcc2
11706 builtin and then its argument prototype would still apply. */
11716 rm -f conftest.
$ac_objext conftest
$ac_exeext
11717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11718 (eval $ac_link) 2>conftest.er1
11720 grep -v '^ *+' conftest.er1
>conftest.err
11722 cat conftest.err
>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } &&
11725 { ac_try
='test -z "$ac_c_werror_flag"
11726 || test ! -s conftest.err'
11727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 (eval $ac_try) 2>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; } &&
11732 { ac_try
='test -s conftest$ac_exeext'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; }; then
11738 ac_cv_search_opendir
="-l$ac_lib"
11741 echo "$as_me: failed program was:" >&5
11742 sed 's/^/| /' conftest.
$ac_ext >&5
11745 rm -f conftest.err conftest.
$ac_objext \
11746 conftest
$ac_exeext conftest.
$ac_ext
11749 LIBS
=$ac_func_search_save_LIBS
11751 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11752 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11753 if test "$ac_cv_search_opendir" != no
; then
11754 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11759 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11760 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11761 if test "${ac_cv_search_opendir+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 ac_func_search_save_LIBS
=$LIBS
11765 ac_cv_search_opendir
=no
11766 cat >conftest.
$ac_ext <<_ACEOF
11769 cat confdefs.h
>>conftest.
$ac_ext
11770 cat >>conftest.
$ac_ext <<_ACEOF
11771 /* end confdefs.h. */
11773 /* Override any gcc2 internal prototype to avoid an error. */
11777 /* We use char because int might match the return type of a gcc2
11778 builtin and then its argument prototype would still apply. */
11788 rm -f conftest.
$ac_objext conftest
$ac_exeext
11789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11790 (eval $ac_link) 2>conftest.er1
11792 grep -v '^ *+' conftest.er1
>conftest.err
11794 cat conftest.err
>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); } &&
11797 { ac_try
='test -z "$ac_c_werror_flag"
11798 || test ! -s conftest.err'
11799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11800 (eval $ac_try) 2>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; } &&
11804 { ac_try
='test -s conftest$ac_exeext'
11805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11806 (eval $ac_try) 2>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); }; }; then
11810 ac_cv_search_opendir
="none required"
11812 echo "$as_me: failed program was:" >&5
11813 sed 's/^/| /' conftest.
$ac_ext >&5
11816 rm -f conftest.err conftest.
$ac_objext \
11817 conftest
$ac_exeext conftest.
$ac_ext
11818 if test "$ac_cv_search_opendir" = no
; then
11819 for ac_lib
in x
; do
11820 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11821 cat >conftest.
$ac_ext <<_ACEOF
11824 cat confdefs.h
>>conftest.
$ac_ext
11825 cat >>conftest.
$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11828 /* Override any gcc2 internal prototype to avoid an error. */
11832 /* We use char because int might match the return type of a gcc2
11833 builtin and then its argument prototype would still apply. */
11843 rm -f conftest.
$ac_objext conftest
$ac_exeext
11844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11845 (eval $ac_link) 2>conftest.er1
11847 grep -v '^ *+' conftest.er1
>conftest.err
11849 cat conftest.err
>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); } &&
11852 { ac_try
='test -z "$ac_c_werror_flag"
11853 || test ! -s conftest.err'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; } &&
11859 { ac_try
='test -s conftest$ac_exeext'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11865 ac_cv_search_opendir
="-l$ac_lib"
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.
$ac_ext >&5
11872 rm -f conftest.err conftest.
$ac_objext \
11873 conftest
$ac_exeext conftest.
$ac_ext
11876 LIBS
=$ac_func_search_save_LIBS
11878 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11879 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11880 if test "$ac_cv_search_opendir" != no
; then
11881 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11887 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11888 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11889 if test "${ac_cv_header_stat_broken+set}" = set; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 cat >conftest.
$ac_ext <<_ACEOF
11895 cat confdefs.h
>>conftest.
$ac_ext
11896 cat >>conftest.
$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11898 #include <sys/types.h>
11899 #include <sys/stat.h>
11901 #if defined(S_ISBLK) && defined(S_IFDIR)
11902 # if S_ISBLK (S_IFDIR)
11907 #if defined(S_ISBLK) && defined(S_IFCHR)
11908 # if S_ISBLK (S_IFCHR)
11913 #if defined(S_ISLNK) && defined(S_IFREG)
11914 # if S_ISLNK (S_IFREG)
11919 #if defined(S_ISSOCK) && defined(S_IFREG)
11920 # if S_ISSOCK (S_IFREG)
11926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11927 $EGREP "You lose" >/dev
/null
2>&1; then
11928 ac_cv_header_stat_broken
=yes
11930 ac_cv_header_stat_broken
=no
11935 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11936 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11937 if test $ac_cv_header_stat_broken = yes; then
11939 cat >>confdefs.h
<<\_ACEOF
11940 #define STAT_MACROS_BROKEN 1
11945 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11946 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11947 if test "${ac_cv_header_stdc+set}" = set; then
11948 echo $ECHO_N "(cached) $ECHO_C" >&6
11950 cat >conftest.
$ac_ext <<_ACEOF
11953 cat confdefs.h
>>conftest.
$ac_ext
11954 cat >>conftest.
$ac_ext <<_ACEOF
11955 /* end confdefs.h. */
11956 #include <stdlib.h>
11957 #include <stdarg.h>
11958 #include <string.h>
11969 rm -f conftest.
$ac_objext
11970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11971 (eval $ac_compile) 2>conftest.er1
11973 grep -v '^ *+' conftest.er1
>conftest.err
11975 cat conftest.err
>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try
='test -z "$ac_c_werror_flag"
11979 || test ! -s conftest.err'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; } &&
11985 { ac_try
='test -s conftest.$ac_objext'
11986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 (eval $ac_try) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; }; then
11991 ac_cv_header_stdc
=yes
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.
$ac_ext >&5
11996 ac_cv_header_stdc
=no
11998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12000 if test $ac_cv_header_stdc = yes; then
12001 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12002 cat >conftest.
$ac_ext <<_ACEOF
12005 cat confdefs.h
>>conftest.
$ac_ext
12006 cat >>conftest.
$ac_ext <<_ACEOF
12007 /* end confdefs.h. */
12008 #include <string.h>
12011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12012 $EGREP "memchr" >/dev
/null
2>&1; then
12015 ac_cv_header_stdc
=no
12021 if test $ac_cv_header_stdc = yes; then
12022 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12023 cat >conftest.
$ac_ext <<_ACEOF
12026 cat confdefs.h
>>conftest.
$ac_ext
12027 cat >>conftest.
$ac_ext <<_ACEOF
12028 /* end confdefs.h. */
12029 #include <stdlib.h>
12032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12033 $EGREP "free" >/dev
/null
2>&1; then
12036 ac_cv_header_stdc
=no
12042 if test $ac_cv_header_stdc = yes; then
12043 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12044 if test "$cross_compiling" = yes; then
12047 cat >conftest.
$ac_ext <<_ACEOF
12050 cat confdefs.h
>>conftest.
$ac_ext
12051 cat >>conftest.
$ac_ext <<_ACEOF
12052 /* end confdefs.h. */
12054 #if ((' ' & 0x0FF) == 0x020)
12055 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12056 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12058 # define ISLOWER(c) \
12059 (('a' <= (c) && (c) <= 'i') \
12060 || ('j' <= (c) && (c) <= 'r') \
12061 || ('s' <= (c) && (c) <= 'z'))
12062 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12065 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12070 for (i = 0; i < 256; i++)
12071 if (XOR (islower (i), ISLOWER (i))
12072 || toupper (i) != TOUPPER (i))
12077 rm -f conftest
$ac_exeext
12078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12079 (eval $ac_link) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084 (eval $ac_try) 2>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12090 echo "$as_me: program exited with status $ac_status" >&5
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.
$ac_ext >&5
12094 ( exit $ac_status )
12095 ac_cv_header_stdc
=no
12097 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12101 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12102 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12103 if test $ac_cv_header_stdc = yes; then
12105 cat >>confdefs.h
<<\_ACEOF
12106 #define STDC_HEADERS 1
12112 for ac_header
in nlist.h
12114 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12116 echo "$as_me:$LINENO: checking for $ac_header" >&5
12117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12124 # Is the header compilable?
12125 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12127 cat >conftest.
$ac_ext <<_ACEOF
12130 cat confdefs.h
>>conftest.
$ac_ext
12131 cat >>conftest.
$ac_ext <<_ACEOF
12132 /* end confdefs.h. */
12133 $ac_includes_default
12134 #include <$ac_header>
12136 rm -f conftest.
$ac_objext
12137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12138 (eval $ac_compile) 2>conftest.er1
12140 grep -v '^ *+' conftest.er1
>conftest.err
12142 cat conftest.err
>&5
12143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144 (exit $ac_status); } &&
12145 { ac_try
='test -z "$ac_c_werror_flag"
12146 || test ! -s conftest.err'
12147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12148 (eval $ac_try) 2>&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); }; } &&
12152 { ac_try
='test -s conftest.$ac_objext'
12153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12154 (eval $ac_try) 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; }; then
12158 ac_header_compiler
=yes
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.
$ac_ext >&5
12163 ac_header_compiler
=no
12165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12167 echo "${ECHO_T}$ac_header_compiler" >&6
12169 # Is the header present?
12170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12172 cat >conftest.
$ac_ext <<_ACEOF
12175 cat confdefs.h
>>conftest.
$ac_ext
12176 cat >>conftest.
$ac_ext <<_ACEOF
12177 /* end confdefs.h. */
12178 #include <$ac_header>
12180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12183 grep -v '^ *+' conftest.er1
>conftest.err
12185 cat conftest.err
>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } >/dev
/null
; then
12188 if test -s conftest.err
; then
12189 ac_cpp_err
=$ac_c_preproc_warn_flag
12190 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12197 if test -z "$ac_cpp_err"; then
12198 ac_header_preproc
=yes
12200 echo "$as_me: failed program was:" >&5
12201 sed 's/^/| /' conftest.
$ac_ext >&5
12203 ac_header_preproc
=no
12205 rm -f conftest.err conftest.
$ac_ext
12206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12207 echo "${ECHO_T}$ac_header_preproc" >&6
12209 # So? What about this header?
12210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12216 ac_header_preproc
=yes
12219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12233 ## ------------------------------------------ ##
12234 ## Report this to the AC_PACKAGE_NAME lists. ##
12235 ## ------------------------------------------ ##
12238 sed "s/^/$as_me: WARNING: /" >&2
12241 echo "$as_me:$LINENO: checking for $ac_header" >&5
12242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12244 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 eval "$as_ac_Header=\$ac_header_preproc"
12248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12253 cat >>confdefs.h
<<_ACEOF
12254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12262 for ac_header
in link.h
12264 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12265 echo "$as_me:$LINENO: checking for $ac_header" >&5
12266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 cat >conftest.
$ac_ext <<_ACEOF
12273 cat confdefs.h
>>conftest.
$ac_ext
12274 cat >>conftest.
$ac_ext <<_ACEOF
12275 /* end confdefs.h. */
12276 #if HAVE_SYS_TYPES_H
12277 # include <sys/types.h>
12280 # include <nlist.h>
12284 #include <$ac_header>
12286 rm -f conftest.
$ac_objext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12288 (eval $ac_compile) 2>conftest.er1
12290 grep -v '^ *+' conftest.er1
>conftest.err
12292 cat conftest.err
>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } &&
12295 { ac_try
='test -z "$ac_c_werror_flag"
12296 || test ! -s conftest.err'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; } &&
12302 { ac_try
='test -s conftest.$ac_objext'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308 eval "$as_ac_Header=yes"
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.
$ac_ext >&5
12313 eval "$as_ac_Header=no"
12315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12320 cat >>confdefs.h
<<_ACEOF
12321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12329 for ac_header
in machine
/reg.h
12331 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12333 echo "$as_me:$LINENO: checking for $ac_header" >&5
12334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12341 # Is the header compilable?
12342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12344 cat >conftest.
$ac_ext <<_ACEOF
12347 cat confdefs.h
>>conftest.
$ac_ext
12348 cat >>conftest.
$ac_ext <<_ACEOF
12349 /* end confdefs.h. */
12350 $ac_includes_default
12351 #include <$ac_header>
12353 rm -f conftest.
$ac_objext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12355 (eval $ac_compile) 2>conftest.er1
12357 grep -v '^ *+' conftest.er1
>conftest.err
12359 cat conftest.err
>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } &&
12362 { ac_try
='test -z "$ac_c_werror_flag"
12363 || test ! -s conftest.err'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try
='test -s conftest.$ac_objext'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 ac_header_compiler
=yes
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.
$ac_ext >&5
12380 ac_header_compiler
=no
12382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12384 echo "${ECHO_T}$ac_header_compiler" >&6
12386 # Is the header present?
12387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12389 cat >conftest.
$ac_ext <<_ACEOF
12392 cat confdefs.h
>>conftest.
$ac_ext
12393 cat >>conftest.
$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12395 #include <$ac_header>
12397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12400 grep -v '^ *+' conftest.er1
>conftest.err
12402 cat conftest.err
>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } >/dev
/null
; then
12405 if test -s conftest.err
; then
12406 ac_cpp_err
=$ac_c_preproc_warn_flag
12407 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12414 if test -z "$ac_cpp_err"; then
12415 ac_header_preproc
=yes
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.
$ac_ext >&5
12420 ac_header_preproc
=no
12422 rm -f conftest.err conftest.
$ac_ext
12423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12424 echo "${ECHO_T}$ac_header_preproc" >&6
12426 # So? What about this header?
12427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12433 ac_header_preproc
=yes
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12450 ## ------------------------------------------ ##
12451 ## Report this to the AC_PACKAGE_NAME lists. ##
12452 ## ------------------------------------------ ##
12455 sed "s/^/$as_me: WARNING: /" >&2
12458 echo "$as_me:$LINENO: checking for $ac_header" >&5
12459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12461 echo $ECHO_N "(cached) $ECHO_C" >&6
12463 eval "$as_ac_Header=\$ac_header_preproc"
12465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12470 cat >>confdefs.h
<<_ACEOF
12471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12480 for ac_header
in poll.h sys
/poll.h
12482 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12484 echo "$as_me:$LINENO: checking for $ac_header" >&5
12485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12492 # Is the header compilable?
12493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12495 cat >conftest.
$ac_ext <<_ACEOF
12498 cat confdefs.h
>>conftest.
$ac_ext
12499 cat >>conftest.
$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12501 $ac_includes_default
12502 #include <$ac_header>
12504 rm -f conftest.
$ac_objext
12505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12506 (eval $ac_compile) 2>conftest.er1
12508 grep -v '^ *+' conftest.er1
>conftest.err
12510 cat conftest.err
>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); } &&
12513 { ac_try
='test -z "$ac_c_werror_flag"
12514 || test ! -s conftest.err'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; } &&
12520 { ac_try
='test -s conftest.$ac_objext'
12521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522 (eval $ac_try) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; }; then
12526 ac_header_compiler
=yes
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.
$ac_ext >&5
12531 ac_header_compiler
=no
12533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12535 echo "${ECHO_T}$ac_header_compiler" >&6
12537 # Is the header present?
12538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12540 cat >conftest.
$ac_ext <<_ACEOF
12543 cat confdefs.h
>>conftest.
$ac_ext
12544 cat >>conftest.
$ac_ext <<_ACEOF
12545 /* end confdefs.h. */
12546 #include <$ac_header>
12548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12551 grep -v '^ *+' conftest.er1
>conftest.err
12553 cat conftest.err
>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } >/dev
/null
; then
12556 if test -s conftest.err
; then
12557 ac_cpp_err
=$ac_c_preproc_warn_flag
12558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12565 if test -z "$ac_cpp_err"; then
12566 ac_header_preproc
=yes
12568 echo "$as_me: failed program was:" >&5
12569 sed 's/^/| /' conftest.
$ac_ext >&5
12571 ac_header_preproc
=no
12573 rm -f conftest.err conftest.
$ac_ext
12574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12575 echo "${ECHO_T}$ac_header_preproc" >&6
12577 # So? What about this header?
12578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12584 ac_header_preproc
=yes
12587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12601 ## ------------------------------------------ ##
12602 ## Report this to the AC_PACKAGE_NAME lists. ##
12603 ## ------------------------------------------ ##
12606 sed "s/^/$as_me: WARNING: /" >&2
12609 echo "$as_me:$LINENO: checking for $ac_header" >&5
12610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 eval "$as_ac_Header=\$ac_header_preproc"
12616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12621 cat >>confdefs.h
<<_ACEOF
12622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12632 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
12634 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12636 echo "$as_me:$LINENO: checking for $ac_header" >&5
12637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12644 # Is the header compilable?
12645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12647 cat >conftest.
$ac_ext <<_ACEOF
12650 cat confdefs.h
>>conftest.
$ac_ext
12651 cat >>conftest.
$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12653 $ac_includes_default
12654 #include <$ac_header>
12656 rm -f conftest.
$ac_objext
12657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12658 (eval $ac_compile) 2>conftest.er1
12660 grep -v '^ *+' conftest.er1
>conftest.err
12662 cat conftest.err
>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } &&
12665 { ac_try
='test -z "$ac_c_werror_flag"
12666 || test ! -s conftest.err'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; } &&
12672 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
12678 ac_header_compiler
=yes
12680 echo "$as_me: failed program was:" >&5
12681 sed 's/^/| /' conftest.
$ac_ext >&5
12683 ac_header_compiler
=no
12685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12687 echo "${ECHO_T}$ac_header_compiler" >&6
12689 # Is the header present?
12690 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12691 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 #include <$ac_header>
12700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12701 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12703 grep -v '^ *+' conftest.er1
>conftest.err
12705 cat conftest.err
>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); } >/dev
/null
; then
12708 if test -s conftest.err
; then
12709 ac_cpp_err
=$ac_c_preproc_warn_flag
12710 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12717 if test -z "$ac_cpp_err"; then
12718 ac_header_preproc
=yes
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.
$ac_ext >&5
12723 ac_header_preproc
=no
12725 rm -f conftest.err conftest.
$ac_ext
12726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12727 echo "${ECHO_T}$ac_header_preproc" >&6
12729 # So? What about this header?
12730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12733 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12735 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12736 ac_header_preproc
=yes
12739 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12740 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12741 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12742 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12743 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12744 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12745 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12746 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12749 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12750 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12753 ## ------------------------------------------ ##
12754 ## Report this to the AC_PACKAGE_NAME lists. ##
12755 ## ------------------------------------------ ##
12758 sed "s/^/$as_me: WARNING: /" >&2
12761 echo "$as_me:$LINENO: checking for $ac_header" >&5
12762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 eval "$as_ac_Header=\$ac_header_preproc"
12768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12773 cat >>confdefs.h
<<_ACEOF
12774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12782 for ac_header
in signal.h
12784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12786 echo "$as_me:$LINENO: checking for $ac_header" >&5
12787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12789 echo $ECHO_N "(cached) $ECHO_C" >&6
12791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12794 # Is the header compilable?
12795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12797 cat >conftest.
$ac_ext <<_ACEOF
12800 cat confdefs.h
>>conftest.
$ac_ext
12801 cat >>conftest.
$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12803 $ac_includes_default
12804 #include <$ac_header>
12806 rm -f conftest.
$ac_objext
12807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12808 (eval $ac_compile) 2>conftest.er1
12810 grep -v '^ *+' conftest.er1
>conftest.err
12812 cat conftest.err
>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); } &&
12815 { ac_try
='test -z "$ac_c_werror_flag"
12816 || test ! -s conftest.err'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; } &&
12822 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
12828 ac_header_compiler
=yes
12830 echo "$as_me: failed program was:" >&5
12831 sed 's/^/| /' conftest.
$ac_ext >&5
12833 ac_header_compiler
=no
12835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12837 echo "${ECHO_T}$ac_header_compiler" >&6
12839 # Is the header present?
12840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12842 cat >conftest.
$ac_ext <<_ACEOF
12845 cat confdefs.h
>>conftest.
$ac_ext
12846 cat >>conftest.
$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12848 #include <$ac_header>
12850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12853 grep -v '^ *+' conftest.er1
>conftest.err
12855 cat conftest.err
>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); } >/dev
/null
; then
12858 if test -s conftest.err
; then
12859 ac_cpp_err
=$ac_c_preproc_warn_flag
12860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12867 if test -z "$ac_cpp_err"; then
12868 ac_header_preproc
=yes
12870 echo "$as_me: failed program was:" >&5
12871 sed 's/^/| /' conftest.
$ac_ext >&5
12873 ac_header_preproc
=no
12875 rm -f conftest.err conftest.
$ac_ext
12876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12877 echo "${ECHO_T}$ac_header_preproc" >&6
12879 # So? What about this header?
12880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12886 ac_header_preproc
=yes
12889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12903 ## ------------------------------------------ ##
12904 ## Report this to the AC_PACKAGE_NAME lists. ##
12905 ## ------------------------------------------ ##
12908 sed "s/^/$as_me: WARNING: /" >&2
12911 echo "$as_me:$LINENO: checking for $ac_header" >&5
12912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12916 eval "$as_ac_Header=\$ac_header_preproc"
12918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12923 cat >>confdefs.h
<<_ACEOF
12924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12932 for ac_header
in stddef.h
12934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12936 echo "$as_me:$LINENO: checking for $ac_header" >&5
12937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12944 # Is the header compilable?
12945 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12947 cat >conftest.
$ac_ext <<_ACEOF
12950 cat confdefs.h
>>conftest.
$ac_ext
12951 cat >>conftest.
$ac_ext <<_ACEOF
12952 /* end confdefs.h. */
12953 $ac_includes_default
12954 #include <$ac_header>
12956 rm -f conftest.
$ac_objext
12957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12958 (eval $ac_compile) 2>conftest.er1
12960 grep -v '^ *+' conftest.er1
>conftest.err
12962 cat conftest.err
>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } &&
12965 { ac_try
='test -z "$ac_c_werror_flag"
12966 || test ! -s conftest.err'
12967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12968 (eval $ac_try) 2>&5
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); }; } &&
12972 { ac_try
='test -s conftest.$ac_objext'
12973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 ac_header_compiler
=yes
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.
$ac_ext >&5
12983 ac_header_compiler
=no
12985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12987 echo "${ECHO_T}$ac_header_compiler" >&6
12989 # Is the header present?
12990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12992 cat >conftest.
$ac_ext <<_ACEOF
12995 cat confdefs.h
>>conftest.
$ac_ext
12996 cat >>conftest.
$ac_ext <<_ACEOF
12997 /* end confdefs.h. */
12998 #include <$ac_header>
13000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13003 grep -v '^ *+' conftest.er1
>conftest.err
13005 cat conftest.err
>&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); } >/dev
/null
; then
13008 if test -s conftest.err
; then
13009 ac_cpp_err
=$ac_c_preproc_warn_flag
13010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13017 if test -z "$ac_cpp_err"; then
13018 ac_header_preproc
=yes
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.
$ac_ext >&5
13023 ac_header_preproc
=no
13025 rm -f conftest.err conftest.
$ac_ext
13026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13027 echo "${ECHO_T}$ac_header_preproc" >&6
13029 # So? What about this header?
13030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13036 ac_header_preproc
=yes
13039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13053 ## ------------------------------------------ ##
13054 ## Report this to the AC_PACKAGE_NAME lists. ##
13055 ## ------------------------------------------ ##
13058 sed "s/^/$as_me: WARNING: /" >&2
13061 echo "$as_me:$LINENO: checking for $ac_header" >&5
13062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13064 echo $ECHO_N "(cached) $ECHO_C" >&6
13066 eval "$as_ac_Header=\$ac_header_preproc"
13068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13073 cat >>confdefs.h
<<_ACEOF
13074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13082 for ac_header
in stdlib.h
13084 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13086 echo "$as_me:$LINENO: checking for $ac_header" >&5
13087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13094 # Is the header compilable?
13095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13097 cat >conftest.
$ac_ext <<_ACEOF
13100 cat confdefs.h
>>conftest.
$ac_ext
13101 cat >>conftest.
$ac_ext <<_ACEOF
13102 /* end confdefs.h. */
13103 $ac_includes_default
13104 #include <$ac_header>
13106 rm -f conftest.
$ac_objext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13108 (eval $ac_compile) 2>conftest.er1
13110 grep -v '^ *+' conftest.er1
>conftest.err
13112 cat conftest.err
>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try
='test -z "$ac_c_werror_flag"
13116 || test ! -s conftest.err'
13117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13118 (eval $ac_try) 2>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); }; } &&
13122 { ac_try
='test -s conftest.$ac_objext'
13123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }; }; then
13128 ac_header_compiler
=yes
13130 echo "$as_me: failed program was:" >&5
13131 sed 's/^/| /' conftest.
$ac_ext >&5
13133 ac_header_compiler
=no
13135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13137 echo "${ECHO_T}$ac_header_compiler" >&6
13139 # Is the header present?
13140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13142 cat >conftest.
$ac_ext <<_ACEOF
13145 cat confdefs.h
>>conftest.
$ac_ext
13146 cat >>conftest.
$ac_ext <<_ACEOF
13147 /* end confdefs.h. */
13148 #include <$ac_header>
13150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13151 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13153 grep -v '^ *+' conftest.er1
>conftest.err
13155 cat conftest.err
>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } >/dev
/null
; then
13158 if test -s conftest.err
; then
13159 ac_cpp_err
=$ac_c_preproc_warn_flag
13160 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13167 if test -z "$ac_cpp_err"; then
13168 ac_header_preproc
=yes
13170 echo "$as_me: failed program was:" >&5
13171 sed 's/^/| /' conftest.
$ac_ext >&5
13173 ac_header_preproc
=no
13175 rm -f conftest.err conftest.
$ac_ext
13176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13177 echo "${ECHO_T}$ac_header_preproc" >&6
13179 # So? What about this header?
13180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13186 ac_header_preproc
=yes
13189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13203 ## ------------------------------------------ ##
13204 ## Report this to the AC_PACKAGE_NAME lists. ##
13205 ## ------------------------------------------ ##
13208 sed "s/^/$as_me: WARNING: /" >&2
13211 echo "$as_me:$LINENO: checking for $ac_header" >&5
13212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13214 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 eval "$as_ac_Header=\$ac_header_preproc"
13218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13223 cat >>confdefs.h
<<_ACEOF
13224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13234 for ac_header
in string.h memory.h
strings.h
13236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13238 echo "$as_me:$LINENO: checking for $ac_header" >&5
13239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13246 # Is the header compilable?
13247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13249 cat >conftest.
$ac_ext <<_ACEOF
13252 cat confdefs.h
>>conftest.
$ac_ext
13253 cat >>conftest.
$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13255 $ac_includes_default
13256 #include <$ac_header>
13258 rm -f conftest.
$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13262 grep -v '^ *+' conftest.er1
>conftest.err
13264 cat conftest.err
>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try
='test -z "$ac_c_werror_flag"
13268 || test ! -s conftest.err'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; } &&
13274 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13280 ac_header_compiler
=yes
13282 echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.
$ac_ext >&5
13285 ac_header_compiler
=no
13287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13289 echo "${ECHO_T}$ac_header_compiler" >&6
13291 # Is the header present?
13292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 #include <$ac_header>
13302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13305 grep -v '^ *+' conftest.er1
>conftest.err
13307 cat conftest.err
>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } >/dev
/null
; then
13310 if test -s conftest.err
; then
13311 ac_cpp_err
=$ac_c_preproc_warn_flag
13312 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13319 if test -z "$ac_cpp_err"; then
13320 ac_header_preproc
=yes
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.
$ac_ext >&5
13325 ac_header_preproc
=no
13327 rm -f conftest.err conftest.
$ac_ext
13328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13329 echo "${ECHO_T}$ac_header_preproc" >&6
13331 # So? What about this header?
13332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13338 ac_header_preproc
=yes
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13355 ## ------------------------------------------ ##
13356 ## Report this to the AC_PACKAGE_NAME lists. ##
13357 ## ------------------------------------------ ##
13360 sed "s/^/$as_me: WARNING: /" >&2
13363 echo "$as_me:$LINENO: checking for $ac_header" >&5
13364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13366 echo $ECHO_N "(cached) $ECHO_C" >&6
13368 eval "$as_ac_Header=\$ac_header_preproc"
13370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13375 cat >>confdefs.h
<<_ACEOF
13376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13384 for ac_header
in sys
/fault.h
13386 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13388 echo "$as_me:$LINENO: checking for $ac_header" >&5
13389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13396 # Is the header compilable?
13397 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13399 cat >conftest.
$ac_ext <<_ACEOF
13402 cat confdefs.h
>>conftest.
$ac_ext
13403 cat >>conftest.
$ac_ext <<_ACEOF
13404 /* end confdefs.h. */
13405 $ac_includes_default
13406 #include <$ac_header>
13408 rm -f conftest.
$ac_objext
13409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13410 (eval $ac_compile) 2>conftest.er1
13412 grep -v '^ *+' conftest.er1
>conftest.err
13414 cat conftest.err
>&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try
='test -z "$ac_c_werror_flag"
13418 || test ! -s conftest.err'
13419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13420 (eval $ac_try) 2>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); }; } &&
13424 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13430 ac_header_compiler
=yes
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.
$ac_ext >&5
13435 ac_header_compiler
=no
13437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13439 echo "${ECHO_T}$ac_header_compiler" >&6
13441 # Is the header present?
13442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13444 cat >conftest.
$ac_ext <<_ACEOF
13447 cat confdefs.h
>>conftest.
$ac_ext
13448 cat >>conftest.
$ac_ext <<_ACEOF
13449 /* end confdefs.h. */
13450 #include <$ac_header>
13452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13455 grep -v '^ *+' conftest.er1
>conftest.err
13457 cat conftest.err
>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); } >/dev
/null
; then
13460 if test -s conftest.err
; then
13461 ac_cpp_err
=$ac_c_preproc_warn_flag
13462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13469 if test -z "$ac_cpp_err"; then
13470 ac_header_preproc
=yes
13472 echo "$as_me: failed program was:" >&5
13473 sed 's/^/| /' conftest.
$ac_ext >&5
13475 ac_header_preproc
=no
13477 rm -f conftest.err conftest.
$ac_ext
13478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13479 echo "${ECHO_T}$ac_header_preproc" >&6
13481 # So? What about this header?
13482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13488 ac_header_preproc
=yes
13491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13496 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13498 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13502 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13505 ## ------------------------------------------ ##
13506 ## Report this to the AC_PACKAGE_NAME lists. ##
13507 ## ------------------------------------------ ##
13510 sed "s/^/$as_me: WARNING: /" >&2
13513 echo "$as_me:$LINENO: checking for $ac_header" >&5
13514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 eval "$as_ac_Header=\$ac_header_preproc"
13520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13525 cat >>confdefs.h
<<_ACEOF
13526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13534 for ac_header
in sys
/file.h
13536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13538 echo "$as_me:$LINENO: checking for $ac_header" >&5
13539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13546 # Is the header compilable?
13547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13549 cat >conftest.
$ac_ext <<_ACEOF
13552 cat confdefs.h
>>conftest.
$ac_ext
13553 cat >>conftest.
$ac_ext <<_ACEOF
13554 /* end confdefs.h. */
13555 $ac_includes_default
13556 #include <$ac_header>
13558 rm -f conftest.
$ac_objext
13559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13560 (eval $ac_compile) 2>conftest.er1
13562 grep -v '^ *+' conftest.er1
>conftest.err
13564 cat conftest.err
>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); } &&
13567 { ac_try
='test -z "$ac_c_werror_flag"
13568 || test ! -s conftest.err'
13569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13570 (eval $ac_try) 2>&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); }; } &&
13574 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13580 ac_header_compiler
=yes
13582 echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.
$ac_ext >&5
13585 ac_header_compiler
=no
13587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13589 echo "${ECHO_T}$ac_header_compiler" >&6
13591 # Is the header present?
13592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13594 cat >conftest.
$ac_ext <<_ACEOF
13597 cat confdefs.h
>>conftest.
$ac_ext
13598 cat >>conftest.
$ac_ext <<_ACEOF
13599 /* end confdefs.h. */
13600 #include <$ac_header>
13602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13603 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13605 grep -v '^ *+' conftest.er1
>conftest.err
13607 cat conftest.err
>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } >/dev
/null
; then
13610 if test -s conftest.err
; then
13611 ac_cpp_err
=$ac_c_preproc_warn_flag
13612 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13619 if test -z "$ac_cpp_err"; then
13620 ac_header_preproc
=yes
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.
$ac_ext >&5
13625 ac_header_preproc
=no
13627 rm -f conftest.err conftest.
$ac_ext
13628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13629 echo "${ECHO_T}$ac_header_preproc" >&6
13631 # So? What about this header?
13632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13634 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13637 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13638 ac_header_preproc
=yes
13641 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13642 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13643 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13644 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13645 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13646 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13647 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13648 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13650 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13651 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13655 ## ------------------------------------------ ##
13656 ## Report this to the AC_PACKAGE_NAME lists. ##
13657 ## ------------------------------------------ ##
13660 sed "s/^/$as_me: WARNING: /" >&2
13663 echo "$as_me:$LINENO: checking for $ac_header" >&5
13664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 eval "$as_ac_Header=\$ac_header_preproc"
13670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13675 cat >>confdefs.h
<<_ACEOF
13676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13684 for ac_header
in sys
/filio.h
13686 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13688 echo "$as_me:$LINENO: checking for $ac_header" >&5
13689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13691 echo $ECHO_N "(cached) $ECHO_C" >&6
13693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13696 # Is the header compilable?
13697 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13699 cat >conftest.
$ac_ext <<_ACEOF
13702 cat confdefs.h
>>conftest.
$ac_ext
13703 cat >>conftest.
$ac_ext <<_ACEOF
13704 /* end confdefs.h. */
13705 $ac_includes_default
13706 #include <$ac_header>
13708 rm -f conftest.
$ac_objext
13709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13710 (eval $ac_compile) 2>conftest.er1
13712 grep -v '^ *+' conftest.er1
>conftest.err
13714 cat conftest.err
>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); } &&
13717 { ac_try
='test -z "$ac_c_werror_flag"
13718 || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13730 ac_header_compiler
=yes
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.
$ac_ext >&5
13735 ac_header_compiler
=no
13737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13739 echo "${ECHO_T}$ac_header_compiler" >&6
13741 # Is the header present?
13742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13744 cat >conftest.
$ac_ext <<_ACEOF
13747 cat confdefs.h
>>conftest.
$ac_ext
13748 cat >>conftest.
$ac_ext <<_ACEOF
13749 /* end confdefs.h. */
13750 #include <$ac_header>
13752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13755 grep -v '^ *+' conftest.er1
>conftest.err
13757 cat conftest.err
>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } >/dev
/null
; then
13760 if test -s conftest.err
; then
13761 ac_cpp_err
=$ac_c_preproc_warn_flag
13762 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13769 if test -z "$ac_cpp_err"; then
13770 ac_header_preproc
=yes
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.
$ac_ext >&5
13775 ac_header_preproc
=no
13777 rm -f conftest.err conftest.
$ac_ext
13778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13779 echo "${ECHO_T}$ac_header_preproc" >&6
13781 # So? What about this header?
13782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13788 ac_header_preproc
=yes
13791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13805 ## ------------------------------------------ ##
13806 ## Report this to the AC_PACKAGE_NAME lists. ##
13807 ## ------------------------------------------ ##
13810 sed "s/^/$as_me: WARNING: /" >&2
13813 echo "$as_me:$LINENO: checking for $ac_header" >&5
13814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13816 echo $ECHO_N "(cached) $ECHO_C" >&6
13818 eval "$as_ac_Header=\$ac_header_preproc"
13820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13825 cat >>confdefs.h
<<_ACEOF
13826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13834 for ac_header
in sys
/ioctl.h
13836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13838 echo "$as_me:$LINENO: checking for $ac_header" >&5
13839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13846 # Is the header compilable?
13847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13849 cat >conftest.
$ac_ext <<_ACEOF
13852 cat confdefs.h
>>conftest.
$ac_ext
13853 cat >>conftest.
$ac_ext <<_ACEOF
13854 /* end confdefs.h. */
13855 $ac_includes_default
13856 #include <$ac_header>
13858 rm -f conftest.
$ac_objext
13859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13860 (eval $ac_compile) 2>conftest.er1
13862 grep -v '^ *+' conftest.er1
>conftest.err
13864 cat conftest.err
>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); } &&
13867 { ac_try
='test -z "$ac_c_werror_flag"
13868 || test ! -s conftest.err'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; } &&
13874 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13880 ac_header_compiler
=yes
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.
$ac_ext >&5
13885 ac_header_compiler
=no
13887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13889 echo "${ECHO_T}$ac_header_compiler" >&6
13891 # Is the header present?
13892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13894 cat >conftest.
$ac_ext <<_ACEOF
13897 cat confdefs.h
>>conftest.
$ac_ext
13898 cat >>conftest.
$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13900 #include <$ac_header>
13902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13905 grep -v '^ *+' conftest.er1
>conftest.err
13907 cat conftest.err
>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); } >/dev
/null
; then
13910 if test -s conftest.err
; then
13911 ac_cpp_err
=$ac_c_preproc_warn_flag
13912 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13919 if test -z "$ac_cpp_err"; then
13920 ac_header_preproc
=yes
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.
$ac_ext >&5
13925 ac_header_preproc
=no
13927 rm -f conftest.err conftest.
$ac_ext
13928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13929 echo "${ECHO_T}$ac_header_preproc" >&6
13931 # So? What about this header?
13932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13938 ac_header_preproc
=yes
13941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13955 ## ------------------------------------------ ##
13956 ## Report this to the AC_PACKAGE_NAME lists. ##
13957 ## ------------------------------------------ ##
13960 sed "s/^/$as_me: WARNING: /" >&2
13963 echo "$as_me:$LINENO: checking for $ac_header" >&5
13964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 eval "$as_ac_Header=\$ac_header_preproc"
13970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13975 cat >>confdefs.h
<<_ACEOF
13976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13984 for ac_header
in sys
/param.h
13986 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13988 echo "$as_me:$LINENO: checking for $ac_header" >&5
13989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13996 # Is the header compilable?
13997 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13999 cat >conftest.
$ac_ext <<_ACEOF
14002 cat confdefs.h
>>conftest.
$ac_ext
14003 cat >>conftest.
$ac_ext <<_ACEOF
14004 /* end confdefs.h. */
14005 $ac_includes_default
14006 #include <$ac_header>
14008 rm -f conftest.
$ac_objext
14009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14010 (eval $ac_compile) 2>conftest.er1
14012 grep -v '^ *+' conftest.er1
>conftest.err
14014 cat conftest.err
>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try
='test -z "$ac_c_werror_flag"
14018 || test ! -s conftest.err'
14019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14020 (eval $ac_try) 2>&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); }; } &&
14024 { ac_try
='test -s conftest.$ac_objext'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14030 ac_header_compiler
=yes
14032 echo "$as_me: failed program was:" >&5
14033 sed 's/^/| /' conftest.
$ac_ext >&5
14035 ac_header_compiler
=no
14037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14039 echo "${ECHO_T}$ac_header_compiler" >&6
14041 # Is the header present?
14042 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14044 cat >conftest.
$ac_ext <<_ACEOF
14047 cat confdefs.h
>>conftest.
$ac_ext
14048 cat >>conftest.
$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 #include <$ac_header>
14052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14053 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14055 grep -v '^ *+' conftest.er1
>conftest.err
14057 cat conftest.err
>&5
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); } >/dev
/null
; then
14060 if test -s conftest.err
; then
14061 ac_cpp_err
=$ac_c_preproc_warn_flag
14062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14069 if test -z "$ac_cpp_err"; then
14070 ac_header_preproc
=yes
14072 echo "$as_me: failed program was:" >&5
14073 sed 's/^/| /' conftest.
$ac_ext >&5
14075 ac_header_preproc
=no
14077 rm -f conftest.err conftest.
$ac_ext
14078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14079 echo "${ECHO_T}$ac_header_preproc" >&6
14081 # So? What about this header?
14082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14084 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14087 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14088 ac_header_preproc
=yes
14091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14095 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14096 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14097 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14098 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14101 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14105 ## ------------------------------------------ ##
14106 ## Report this to the AC_PACKAGE_NAME lists. ##
14107 ## ------------------------------------------ ##
14110 sed "s/^/$as_me: WARNING: /" >&2
14113 echo "$as_me:$LINENO: checking for $ac_header" >&5
14114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 eval "$as_ac_Header=\$ac_header_preproc"
14120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14125 cat >>confdefs.h
<<_ACEOF
14126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14134 for ac_header
in sys
/resource.h
14136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14138 echo "$as_me:$LINENO: checking for $ac_header" >&5
14139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14141 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14146 # Is the header compilable?
14147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14149 cat >conftest.
$ac_ext <<_ACEOF
14152 cat confdefs.h
>>conftest.
$ac_ext
14153 cat >>conftest.
$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155 $ac_includes_default
14156 #include <$ac_header>
14158 rm -f conftest.
$ac_objext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14160 (eval $ac_compile) 2>conftest.er1
14162 grep -v '^ *+' conftest.er1
>conftest.err
14164 cat conftest.err
>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try
='test -z "$ac_c_werror_flag"
14168 || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try
='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_header_compiler
=yes
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14185 ac_header_compiler
=no
14187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.
$ac_ext <<_ACEOF
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 #include <$ac_header>
14202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14205 grep -v '^ *+' conftest.er1
>conftest.err
14207 cat conftest.err
>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } >/dev
/null
; then
14210 if test -s conftest.err
; then
14211 ac_cpp_err
=$ac_c_preproc_warn_flag
14212 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14219 if test -z "$ac_cpp_err"; then
14220 ac_header_preproc
=yes
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.
$ac_ext >&5
14225 ac_header_preproc
=no
14227 rm -f conftest.err conftest.
$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14231 # So? What about this header?
14232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14238 ac_header_preproc
=yes
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14255 ## ------------------------------------------ ##
14256 ## Report this to the AC_PACKAGE_NAME lists. ##
14257 ## ------------------------------------------ ##
14260 sed "s/^/$as_me: WARNING: /" >&2
14263 echo "$as_me:$LINENO: checking for $ac_header" >&5
14264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 eval "$as_ac_Header=\$ac_header_preproc"
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14275 cat >>confdefs.h
<<_ACEOF
14276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14284 for ac_header
in sys
/proc.h
14286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14287 echo "$as_me:$LINENO: checking for $ac_header" >&5
14288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14290 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 cat >conftest.
$ac_ext <<_ACEOF
14295 cat confdefs.h
>>conftest.
$ac_ext
14296 cat >>conftest.
$ac_ext <<_ACEOF
14297 /* end confdefs.h. */
14298 #if HAVE_SYS_PARAM_H
14299 # include <sys/param.h>
14303 #include <$ac_header>
14305 rm -f conftest.
$ac_objext
14306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14307 (eval $ac_compile) 2>conftest.er1
14309 grep -v '^ *+' conftest.er1
>conftest.err
14311 cat conftest.err
>&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); } &&
14314 { ac_try
='test -z "$ac_c_werror_flag"
14315 || test ! -s conftest.err'
14316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14317 (eval $ac_try) 2>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); }; } &&
14321 { ac_try
='test -s conftest.$ac_objext'
14322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 (eval $ac_try) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; }; then
14327 eval "$as_ac_Header=yes"
14329 echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.
$ac_ext >&5
14332 eval "$as_ac_Header=no"
14334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14339 cat >>confdefs.h
<<_ACEOF
14340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14348 for ac_header
in sys
/procfs.h
14350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14352 echo "$as_me:$LINENO: checking for $ac_header" >&5
14353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14360 # Is the header compilable?
14361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14363 cat >conftest.
$ac_ext <<_ACEOF
14366 cat confdefs.h
>>conftest.
$ac_ext
14367 cat >>conftest.
$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369 $ac_includes_default
14370 #include <$ac_header>
14372 rm -f conftest.
$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374 (eval $ac_compile) 2>conftest.er1
14376 grep -v '^ *+' conftest.er1
>conftest.err
14378 cat conftest.err
>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } &&
14381 { ac_try
='test -z "$ac_c_werror_flag"
14382 || test ! -s conftest.err'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; } &&
14388 { ac_try
='test -s conftest.$ac_objext'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; }; then
14394 ac_header_compiler
=yes
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.
$ac_ext >&5
14399 ac_header_compiler
=no
14401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14403 echo "${ECHO_T}$ac_header_compiler" >&6
14405 # Is the header present?
14406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14408 cat >conftest.
$ac_ext <<_ACEOF
14411 cat confdefs.h
>>conftest.
$ac_ext
14412 cat >>conftest.
$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14414 #include <$ac_header>
14416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14419 grep -v '^ *+' conftest.er1
>conftest.err
14421 cat conftest.err
>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); } >/dev
/null
; then
14424 if test -s conftest.err
; then
14425 ac_cpp_err
=$ac_c_preproc_warn_flag
14426 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14433 if test -z "$ac_cpp_err"; then
14434 ac_header_preproc
=yes
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.
$ac_ext >&5
14439 ac_header_preproc
=no
14441 rm -f conftest.err conftest.
$ac_ext
14442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14443 echo "${ECHO_T}$ac_header_preproc" >&6
14445 # So? What about this header?
14446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14452 ac_header_preproc
=yes
14455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14469 ## ------------------------------------------ ##
14470 ## Report this to the AC_PACKAGE_NAME lists. ##
14471 ## ------------------------------------------ ##
14474 sed "s/^/$as_me: WARNING: /" >&2
14477 echo "$as_me:$LINENO: checking for $ac_header" >&5
14478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 eval "$as_ac_Header=\$ac_header_preproc"
14484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14489 cat >>confdefs.h
<<_ACEOF
14490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14499 for ac_header
in sys
/ptrace.h ptrace.h
14501 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14503 echo "$as_me:$LINENO: checking for $ac_header" >&5
14504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14506 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14511 # Is the header compilable?
14512 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14513 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14514 cat >conftest.
$ac_ext <<_ACEOF
14517 cat confdefs.h
>>conftest.
$ac_ext
14518 cat >>conftest.
$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14520 $ac_includes_default
14521 #include <$ac_header>
14523 rm -f conftest.
$ac_objext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14525 (eval $ac_compile) 2>conftest.er1
14527 grep -v '^ *+' conftest.er1
>conftest.err
14529 cat conftest.err
>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try
='test -z "$ac_c_werror_flag"
14533 || test ! -s conftest.err'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; } &&
14539 { ac_try
='test -s conftest.$ac_objext'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; }; then
14545 ac_header_compiler
=yes
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.
$ac_ext >&5
14550 ac_header_compiler
=no
14552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14554 echo "${ECHO_T}$ac_header_compiler" >&6
14556 # Is the header present?
14557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14559 cat >conftest.
$ac_ext <<_ACEOF
14562 cat confdefs.h
>>conftest.
$ac_ext
14563 cat >>conftest.
$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14565 #include <$ac_header>
14567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14568 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14570 grep -v '^ *+' conftest.er1
>conftest.err
14572 cat conftest.err
>&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); } >/dev
/null
; then
14575 if test -s conftest.err
; then
14576 ac_cpp_err
=$ac_c_preproc_warn_flag
14577 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14584 if test -z "$ac_cpp_err"; then
14585 ac_header_preproc
=yes
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.
$ac_ext >&5
14590 ac_header_preproc
=no
14592 rm -f conftest.err conftest.
$ac_ext
14593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14594 echo "${ECHO_T}$ac_header_preproc" >&6
14596 # So? What about this header?
14597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14603 ac_header_preproc
=yes
14606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14620 ## ------------------------------------------ ##
14621 ## Report this to the AC_PACKAGE_NAME lists. ##
14622 ## ------------------------------------------ ##
14625 sed "s/^/$as_me: WARNING: /" >&2
14628 echo "$as_me:$LINENO: checking for $ac_header" >&5
14629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 eval "$as_ac_Header=\$ac_header_preproc"
14635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14640 cat >>confdefs.h
<<_ACEOF
14641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14650 for ac_header
in sys
/reg.h sys
/debugreg.h
14652 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14654 echo "$as_me:$LINENO: checking for $ac_header" >&5
14655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14657 echo $ECHO_N "(cached) $ECHO_C" >&6
14659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14662 # Is the header compilable?
14663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14665 cat >conftest.
$ac_ext <<_ACEOF
14668 cat confdefs.h
>>conftest.
$ac_ext
14669 cat >>conftest.
$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14671 $ac_includes_default
14672 #include <$ac_header>
14674 rm -f conftest.
$ac_objext
14675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14676 (eval $ac_compile) 2>conftest.er1
14678 grep -v '^ *+' conftest.er1
>conftest.err
14680 cat conftest.err
>&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); } &&
14683 { ac_try
='test -z "$ac_c_werror_flag"
14684 || test ! -s conftest.err'
14685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14686 (eval $ac_try) 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); }; } &&
14690 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14696 ac_header_compiler
=yes
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.
$ac_ext >&5
14701 ac_header_compiler
=no
14703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14705 echo "${ECHO_T}$ac_header_compiler" >&6
14707 # Is the header present?
14708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14710 cat >conftest.
$ac_ext <<_ACEOF
14713 cat confdefs.h
>>conftest.
$ac_ext
14714 cat >>conftest.
$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 #include <$ac_header>
14718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14719 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14721 grep -v '^ *+' conftest.er1
>conftest.err
14723 cat conftest.err
>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } >/dev
/null
; then
14726 if test -s conftest.err
; then
14727 ac_cpp_err
=$ac_c_preproc_warn_flag
14728 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14735 if test -z "$ac_cpp_err"; then
14736 ac_header_preproc
=yes
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.
$ac_ext >&5
14741 ac_header_preproc
=no
14743 rm -f conftest.err conftest.
$ac_ext
14744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14745 echo "${ECHO_T}$ac_header_preproc" >&6
14747 # So? What about this header?
14748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14754 ac_header_preproc
=yes
14757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14771 ## ------------------------------------------ ##
14772 ## Report this to the AC_PACKAGE_NAME lists. ##
14773 ## ------------------------------------------ ##
14776 sed "s/^/$as_me: WARNING: /" >&2
14779 echo "$as_me:$LINENO: checking for $ac_header" >&5
14780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 eval "$as_ac_Header=\$ac_header_preproc"
14786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14791 cat >>confdefs.h
<<_ACEOF
14792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14800 for ac_header
in sys
/select.h
14802 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14804 echo "$as_me:$LINENO: checking for $ac_header" >&5
14805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14812 # Is the header compilable?
14813 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14814 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14815 cat >conftest.
$ac_ext <<_ACEOF
14818 cat confdefs.h
>>conftest.
$ac_ext
14819 cat >>conftest.
$ac_ext <<_ACEOF
14820 /* end confdefs.h. */
14821 $ac_includes_default
14822 #include <$ac_header>
14824 rm -f conftest.
$ac_objext
14825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14826 (eval $ac_compile) 2>conftest.er1
14828 grep -v '^ *+' conftest.er1
>conftest.err
14830 cat conftest.err
>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } &&
14833 { ac_try
='test -z "$ac_c_werror_flag"
14834 || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } &&
14840 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14846 ac_header_compiler
=yes
14848 echo "$as_me: failed program was:" >&5
14849 sed 's/^/| /' conftest.
$ac_ext >&5
14851 ac_header_compiler
=no
14853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14855 echo "${ECHO_T}$ac_header_compiler" >&6
14857 # Is the header present?
14858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14860 cat >conftest.
$ac_ext <<_ACEOF
14863 cat confdefs.h
>>conftest.
$ac_ext
14864 cat >>conftest.
$ac_ext <<_ACEOF
14865 /* end confdefs.h. */
14866 #include <$ac_header>
14868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14869 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14871 grep -v '^ *+' conftest.er1
>conftest.err
14873 cat conftest.err
>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } >/dev
/null
; then
14876 if test -s conftest.err
; then
14877 ac_cpp_err
=$ac_c_preproc_warn_flag
14878 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14885 if test -z "$ac_cpp_err"; then
14886 ac_header_preproc
=yes
14888 echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.
$ac_ext >&5
14891 ac_header_preproc
=no
14893 rm -f conftest.err conftest.
$ac_ext
14894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14895 echo "${ECHO_T}$ac_header_preproc" >&6
14897 # So? What about this header?
14898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14904 ac_header_preproc
=yes
14907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14921 ## ------------------------------------------ ##
14922 ## Report this to the AC_PACKAGE_NAME lists. ##
14923 ## ------------------------------------------ ##
14926 sed "s/^/$as_me: WARNING: /" >&2
14929 echo "$as_me:$LINENO: checking for $ac_header" >&5
14930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14932 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 eval "$as_ac_Header=\$ac_header_preproc"
14936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14941 cat >>confdefs.h
<<_ACEOF
14942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14950 for ac_header
in sys
/syscall.h
14952 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14954 echo "$as_me:$LINENO: checking for $ac_header" >&5
14955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14962 # Is the header compilable?
14963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14965 cat >conftest.
$ac_ext <<_ACEOF
14968 cat confdefs.h
>>conftest.
$ac_ext
14969 cat >>conftest.
$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 $ac_includes_default
14972 #include <$ac_header>
14974 rm -f conftest.
$ac_objext
14975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14976 (eval $ac_compile) 2>conftest.er1
14978 grep -v '^ *+' conftest.er1
>conftest.err
14980 cat conftest.err
>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } &&
14983 { ac_try
='test -z "$ac_c_werror_flag"
14984 || test ! -s conftest.err'
14985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986 (eval $ac_try) 2>&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; } &&
14990 { ac_try
='test -s conftest.$ac_objext'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; }; then
14996 ac_header_compiler
=yes
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.
$ac_ext >&5
15001 ac_header_compiler
=no
15003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15005 echo "${ECHO_T}$ac_header_compiler" >&6
15007 # Is the header present?
15008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15010 cat >conftest.
$ac_ext <<_ACEOF
15013 cat confdefs.h
>>conftest.
$ac_ext
15014 cat >>conftest.
$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15016 #include <$ac_header>
15018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15021 grep -v '^ *+' conftest.er1
>conftest.err
15023 cat conftest.err
>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); } >/dev
/null
; then
15026 if test -s conftest.err
; then
15027 ac_cpp_err
=$ac_c_preproc_warn_flag
15028 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15035 if test -z "$ac_cpp_err"; then
15036 ac_header_preproc
=yes
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.
$ac_ext >&5
15041 ac_header_preproc
=no
15043 rm -f conftest.err conftest.
$ac_ext
15044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15045 echo "${ECHO_T}$ac_header_preproc" >&6
15047 # So? What about this header?
15048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15054 ac_header_preproc
=yes
15057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15071 ## ------------------------------------------ ##
15072 ## Report this to the AC_PACKAGE_NAME lists. ##
15073 ## ------------------------------------------ ##
15076 sed "s/^/$as_me: WARNING: /" >&2
15079 echo "$as_me:$LINENO: checking for $ac_header" >&5
15080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15082 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 eval "$as_ac_Header=\$ac_header_preproc"
15086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15091 cat >>confdefs.h
<<_ACEOF
15092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15100 for ac_header
in sys
/types.h
15102 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15104 echo "$as_me:$LINENO: checking for $ac_header" >&5
15105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15112 # Is the header compilable?
15113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15115 cat >conftest.
$ac_ext <<_ACEOF
15118 cat confdefs.h
>>conftest.
$ac_ext
15119 cat >>conftest.
$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15121 $ac_includes_default
15122 #include <$ac_header>
15124 rm -f conftest.
$ac_objext
15125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15126 (eval $ac_compile) 2>conftest.er1
15128 grep -v '^ *+' conftest.er1
>conftest.err
15130 cat conftest.err
>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } &&
15133 { ac_try
='test -z "$ac_c_werror_flag"
15134 || test ! -s conftest.err'
15135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15136 (eval $ac_try) 2>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }; } &&
15140 { ac_try
='test -s conftest.$ac_objext'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; }; then
15146 ac_header_compiler
=yes
15148 echo "$as_me: failed program was:" >&5
15149 sed 's/^/| /' conftest.
$ac_ext >&5
15151 ac_header_compiler
=no
15153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15154 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15155 echo "${ECHO_T}$ac_header_compiler" >&6
15157 # Is the header present?
15158 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15160 cat >conftest.
$ac_ext <<_ACEOF
15163 cat confdefs.h
>>conftest.
$ac_ext
15164 cat >>conftest.
$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166 #include <$ac_header>
15168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15171 grep -v '^ *+' conftest.er1
>conftest.err
15173 cat conftest.err
>&5
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); } >/dev
/null
; then
15176 if test -s conftest.err
; then
15177 ac_cpp_err
=$ac_c_preproc_warn_flag
15178 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15185 if test -z "$ac_cpp_err"; then
15186 ac_header_preproc
=yes
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.
$ac_ext >&5
15191 ac_header_preproc
=no
15193 rm -f conftest.err conftest.
$ac_ext
15194 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15195 echo "${ECHO_T}$ac_header_preproc" >&6
15197 # So? What about this header?
15198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15201 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15203 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15204 ac_header_preproc
=yes
15207 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15208 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15209 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15210 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15211 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15212 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15213 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15214 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15217 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15218 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15221 ## ------------------------------------------ ##
15222 ## Report this to the AC_PACKAGE_NAME lists. ##
15223 ## ------------------------------------------ ##
15226 sed "s/^/$as_me: WARNING: /" >&2
15229 echo "$as_me:$LINENO: checking for $ac_header" >&5
15230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15232 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 eval "$as_ac_Header=\$ac_header_preproc"
15236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15241 cat >>confdefs.h
<<_ACEOF
15242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15250 for ac_header
in sys
/user.h
15252 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15253 echo "$as_me:$LINENO: checking for $ac_header" >&5
15254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 cat >conftest.
$ac_ext <<_ACEOF
15261 cat confdefs.h
>>conftest.
$ac_ext
15262 cat >>conftest.
$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 #if HAVE_SYS_PARAM_H
15265 # include <sys/param.h>
15269 #include <$ac_header>
15271 rm -f conftest.
$ac_objext
15272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15273 (eval $ac_compile) 2>conftest.er1
15275 grep -v '^ *+' conftest.er1
>conftest.err
15277 cat conftest.err
>&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } &&
15280 { ac_try
='test -z "$ac_c_werror_flag"
15281 || test ! -s conftest.err'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; } &&
15287 { ac_try
='test -s conftest.$ac_objext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15293 eval "$as_ac_Header=yes"
15295 echo "$as_me: failed program was:" >&5
15296 sed 's/^/| /' conftest.
$ac_ext >&5
15298 eval "$as_ac_Header=no"
15300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15305 cat >>confdefs.h
<<_ACEOF
15306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15315 for ac_header
in sys
/wait.h
wait.h
15317 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15319 echo "$as_me:$LINENO: checking for $ac_header" >&5
15320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15327 # Is the header compilable?
15328 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15330 cat >conftest.
$ac_ext <<_ACEOF
15333 cat confdefs.h
>>conftest.
$ac_ext
15334 cat >>conftest.
$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336 $ac_includes_default
15337 #include <$ac_header>
15339 rm -f conftest.
$ac_objext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>conftest.er1
15343 grep -v '^ *+' conftest.er1
>conftest.err
15345 cat conftest.err
>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } &&
15348 { ac_try
='test -z "$ac_c_werror_flag"
15349 || test ! -s conftest.err'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; } &&
15355 { ac_try
='test -s conftest.$ac_objext'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; }; then
15361 ac_header_compiler
=yes
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15366 ac_header_compiler
=no
15368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15370 echo "${ECHO_T}$ac_header_compiler" >&6
15372 # Is the header present?
15373 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15375 cat >conftest.
$ac_ext <<_ACEOF
15378 cat confdefs.h
>>conftest.
$ac_ext
15379 cat >>conftest.
$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381 #include <$ac_header>
15383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15386 grep -v '^ *+' conftest.er1
>conftest.err
15388 cat conftest.err
>&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } >/dev
/null
; then
15391 if test -s conftest.err
; then
15392 ac_cpp_err
=$ac_c_preproc_warn_flag
15393 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15400 if test -z "$ac_cpp_err"; then
15401 ac_header_preproc
=yes
15403 echo "$as_me: failed program was:" >&5
15404 sed 's/^/| /' conftest.
$ac_ext >&5
15406 ac_header_preproc
=no
15408 rm -f conftest.err conftest.
$ac_ext
15409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15410 echo "${ECHO_T}$ac_header_preproc" >&6
15412 # So? What about this header?
15413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15415 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15416 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15418 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15419 ac_header_preproc
=yes
15422 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15423 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15424 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15425 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15426 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15427 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15428 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15429 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15431 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15433 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15436 ## ------------------------------------------ ##
15437 ## Report this to the AC_PACKAGE_NAME lists. ##
15438 ## ------------------------------------------ ##
15441 sed "s/^/$as_me: WARNING: /" >&2
15444 echo "$as_me:$LINENO: checking for $ac_header" >&5
15445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15447 echo $ECHO_N "(cached) $ECHO_C" >&6
15449 eval "$as_ac_Header=\$ac_header_preproc"
15451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15456 cat >>confdefs.h
<<_ACEOF
15457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15467 for ac_header
in termios.h termio.h sgtty.h
15469 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15471 echo "$as_me:$LINENO: checking for $ac_header" >&5
15472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15474 echo $ECHO_N "(cached) $ECHO_C" >&6
15476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15479 # Is the header compilable?
15480 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15482 cat >conftest.
$ac_ext <<_ACEOF
15485 cat confdefs.h
>>conftest.
$ac_ext
15486 cat >>conftest.
$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 $ac_includes_default
15489 #include <$ac_header>
15491 rm -f conftest.
$ac_objext
15492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15493 (eval $ac_compile) 2>conftest.er1
15495 grep -v '^ *+' conftest.er1
>conftest.err
15497 cat conftest.err
>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } &&
15500 { ac_try
='test -z "$ac_c_werror_flag"
15501 || test ! -s conftest.err'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; } &&
15507 { ac_try
='test -s conftest.$ac_objext'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; }; then
15513 ac_header_compiler
=yes
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.
$ac_ext >&5
15518 ac_header_compiler
=no
15520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15522 echo "${ECHO_T}$ac_header_compiler" >&6
15524 # Is the header present?
15525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15527 cat >conftest.
$ac_ext <<_ACEOF
15530 cat confdefs.h
>>conftest.
$ac_ext
15531 cat >>conftest.
$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 #include <$ac_header>
15535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15536 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15538 grep -v '^ *+' conftest.er1
>conftest.err
15540 cat conftest.err
>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } >/dev
/null
; then
15543 if test -s conftest.err
; then
15544 ac_cpp_err
=$ac_c_preproc_warn_flag
15545 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15552 if test -z "$ac_cpp_err"; then
15553 ac_header_preproc
=yes
15555 echo "$as_me: failed program was:" >&5
15556 sed 's/^/| /' conftest.
$ac_ext >&5
15558 ac_header_preproc
=no
15560 rm -f conftest.err conftest.
$ac_ext
15561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15562 echo "${ECHO_T}$ac_header_preproc" >&6
15564 # So? What about this header?
15565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15567 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15570 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15571 ac_header_preproc
=yes
15574 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15576 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15577 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15578 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15579 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15580 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15581 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15584 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15585 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15588 ## ------------------------------------------ ##
15589 ## Report this to the AC_PACKAGE_NAME lists. ##
15590 ## ------------------------------------------ ##
15593 sed "s/^/$as_me: WARNING: /" >&2
15596 echo "$as_me:$LINENO: checking for $ac_header" >&5
15597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15599 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 eval "$as_ac_Header=\$ac_header_preproc"
15603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15608 cat >>confdefs.h
<<_ACEOF
15609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15617 for ac_header
in unistd.h
15619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15621 echo "$as_me:$LINENO: checking for $ac_header" >&5
15622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15629 # Is the header compilable?
15630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15632 cat >conftest.
$ac_ext <<_ACEOF
15635 cat confdefs.h
>>conftest.
$ac_ext
15636 cat >>conftest.
$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638 $ac_includes_default
15639 #include <$ac_header>
15641 rm -f conftest.
$ac_objext
15642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15643 (eval $ac_compile) 2>conftest.er1
15645 grep -v '^ *+' conftest.er1
>conftest.err
15647 cat conftest.err
>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } &&
15650 { ac_try
='test -z "$ac_c_werror_flag"
15651 || test ! -s conftest.err'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; } &&
15657 { ac_try
='test -s conftest.$ac_objext'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; }; then
15663 ac_header_compiler
=yes
15665 echo "$as_me: failed program was:" >&5
15666 sed 's/^/| /' conftest.
$ac_ext >&5
15668 ac_header_compiler
=no
15670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15672 echo "${ECHO_T}$ac_header_compiler" >&6
15674 # Is the header present?
15675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15677 cat >conftest.
$ac_ext <<_ACEOF
15680 cat confdefs.h
>>conftest.
$ac_ext
15681 cat >>conftest.
$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683 #include <$ac_header>
15685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15688 grep -v '^ *+' conftest.er1
>conftest.err
15690 cat conftest.err
>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); } >/dev
/null
; then
15693 if test -s conftest.err
; then
15694 ac_cpp_err
=$ac_c_preproc_warn_flag
15695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15702 if test -z "$ac_cpp_err"; then
15703 ac_header_preproc
=yes
15705 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.
$ac_ext >&5
15708 ac_header_preproc
=no
15710 rm -f conftest.err conftest.
$ac_ext
15711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15712 echo "${ECHO_T}$ac_header_preproc" >&6
15714 # So? What about this header?
15715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15721 ac_header_preproc
=yes
15724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15738 ## ------------------------------------------ ##
15739 ## Report this to the AC_PACKAGE_NAME lists. ##
15740 ## ------------------------------------------ ##
15743 sed "s/^/$as_me: WARNING: /" >&2
15746 echo "$as_me:$LINENO: checking for $ac_header" >&5
15747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15749 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 eval "$as_ac_Header=\$ac_header_preproc"
15753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15758 cat >>confdefs.h
<<_ACEOF
15759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15767 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
15768 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
15769 # think that we don't have <curses.h> if we're using GCC.
15772 if test "$GCC" = yes; then
15774 cat >>confdefs.h
<<\_ACEOF
15775 #define _MSE_INT_H 1
15784 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
15786 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15788 echo "$as_me:$LINENO: checking for $ac_header" >&5
15789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15791 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15796 # Is the header compilable?
15797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15799 cat >conftest.
$ac_ext <<_ACEOF
15802 cat confdefs.h
>>conftest.
$ac_ext
15803 cat >>conftest.
$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805 $ac_includes_default
15806 #include <$ac_header>
15808 rm -f conftest.
$ac_objext
15809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15810 (eval $ac_compile) 2>conftest.er1
15812 grep -v '^ *+' conftest.er1
>conftest.err
15814 cat conftest.err
>&5
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); } &&
15817 { ac_try
='test -z "$ac_c_werror_flag"
15818 || test ! -s conftest.err'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; } &&
15824 { ac_try
='test -s conftest.$ac_objext'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; }; then
15830 ac_header_compiler
=yes
15832 echo "$as_me: failed program was:" >&5
15833 sed 's/^/| /' conftest.
$ac_ext >&5
15835 ac_header_compiler
=no
15837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15839 echo "${ECHO_T}$ac_header_compiler" >&6
15841 # Is the header present?
15842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15844 cat >conftest.
$ac_ext <<_ACEOF
15847 cat confdefs.h
>>conftest.
$ac_ext
15848 cat >>conftest.
$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15850 #include <$ac_header>
15852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15855 grep -v '^ *+' conftest.er1
>conftest.err
15857 cat conftest.err
>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } >/dev
/null
; then
15860 if test -s conftest.err
; then
15861 ac_cpp_err
=$ac_c_preproc_warn_flag
15862 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15869 if test -z "$ac_cpp_err"; then
15870 ac_header_preproc
=yes
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.
$ac_ext >&5
15875 ac_header_preproc
=no
15877 rm -f conftest.err conftest.
$ac_ext
15878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15879 echo "${ECHO_T}$ac_header_preproc" >&6
15881 # So? What about this header?
15882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15887 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15888 ac_header_preproc
=yes
15891 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15893 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15895 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15896 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15897 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15898 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15901 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15902 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15905 ## ------------------------------------------ ##
15906 ## Report this to the AC_PACKAGE_NAME lists. ##
15907 ## ------------------------------------------ ##
15910 sed "s/^/$as_me: WARNING: /" >&2
15913 echo "$as_me:$LINENO: checking for $ac_header" >&5
15914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15918 eval "$as_ac_Header=\$ac_header_preproc"
15920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15925 cat >>confdefs.h
<<_ACEOF
15926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15934 for ac_header
in ncurses
/term.h
15936 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15938 echo "$as_me:$LINENO: checking for $ac_header" >&5
15939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15941 echo $ECHO_N "(cached) $ECHO_C" >&6
15943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15946 # Is the header compilable?
15947 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15949 cat >conftest.
$ac_ext <<_ACEOF
15952 cat confdefs.h
>>conftest.
$ac_ext
15953 cat >>conftest.
$ac_ext <<_ACEOF
15954 /* end confdefs.h. */
15955 $ac_includes_default
15956 #include <$ac_header>
15958 rm -f conftest.
$ac_objext
15959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15960 (eval $ac_compile) 2>conftest.er1
15962 grep -v '^ *+' conftest.er1
>conftest.err
15964 cat conftest.err
>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } &&
15967 { ac_try
='test -z "$ac_c_werror_flag"
15968 || test ! -s conftest.err'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; } &&
15974 { ac_try
='test -s conftest.$ac_objext'
15975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976 (eval $ac_try) 2>&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15980 ac_header_compiler
=yes
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.
$ac_ext >&5
15985 ac_header_compiler
=no
15987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15989 echo "${ECHO_T}$ac_header_compiler" >&6
15991 # Is the header present?
15992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15994 cat >conftest.
$ac_ext <<_ACEOF
15997 cat confdefs.h
>>conftest.
$ac_ext
15998 cat >>conftest.
$ac_ext <<_ACEOF
15999 /* end confdefs.h. */
16000 #include <$ac_header>
16002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16005 grep -v '^ *+' conftest.er1
>conftest.err
16007 cat conftest.err
>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } >/dev
/null
; then
16010 if test -s conftest.err
; then
16011 ac_cpp_err
=$ac_c_preproc_warn_flag
16012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16019 if test -z "$ac_cpp_err"; then
16020 ac_header_preproc
=yes
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.
$ac_ext >&5
16025 ac_header_preproc
=no
16027 rm -f conftest.err conftest.
$ac_ext
16028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16029 echo "${ECHO_T}$ac_header_preproc" >&6
16031 # So? What about this header?
16032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16034 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16037 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16038 ac_header_preproc
=yes
16041 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16042 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16043 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16044 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16045 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16046 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16047 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16048 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16051 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16052 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16055 ## ------------------------------------------ ##
16056 ## Report this to the AC_PACKAGE_NAME lists. ##
16057 ## ------------------------------------------ ##
16060 sed "s/^/$as_me: WARNING: /" >&2
16063 echo "$as_me:$LINENO: checking for $ac_header" >&5
16064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16066 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 eval "$as_ac_Header=\$ac_header_preproc"
16070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16075 cat >>confdefs.h
<<_ACEOF
16076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16084 for ac_header
in term.h
16086 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16087 echo "$as_me:$LINENO: checking for $ac_header" >&5
16088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 cat >conftest.
$ac_ext <<_ACEOF
16095 cat confdefs.h
>>conftest.
$ac_ext
16096 cat >>conftest.
$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16099 # include <curses.h>
16103 #include <$ac_header>
16105 rm -f conftest.
$ac_objext
16106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>conftest.er1
16109 grep -v '^ *+' conftest.er1
>conftest.err
16111 cat conftest.err
>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } &&
16114 { ac_try
='test -z "$ac_c_werror_flag"
16115 || test ! -s conftest.err'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; } &&
16121 { ac_try
='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 eval "$as_ac_Header=yes"
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.
$ac_ext >&5
16132 eval "$as_ac_Header=no"
16134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16139 cat >>confdefs.h
<<_ACEOF
16140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16148 # Check for HP/UX 64-bit shared library support
16150 for ac_header
in elf_hp.h
16152 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16154 echo "$as_me:$LINENO: checking for $ac_header" >&5
16155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6
16159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16162 # Is the header compilable?
16163 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16165 cat >conftest.
$ac_ext <<_ACEOF
16168 cat confdefs.h
>>conftest.
$ac_ext
16169 cat >>conftest.
$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16171 $ac_includes_default
16172 #include <$ac_header>
16174 rm -f conftest.
$ac_objext
16175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16176 (eval $ac_compile) 2>conftest.er1
16178 grep -v '^ *+' conftest.er1
>conftest.err
16180 cat conftest.err
>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); } &&
16183 { ac_try
='test -z "$ac_c_werror_flag"
16184 || test ! -s conftest.err'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; } &&
16190 { ac_try
='test -s conftest.$ac_objext'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; }; then
16196 ac_header_compiler
=yes
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.
$ac_ext >&5
16201 ac_header_compiler
=no
16203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16205 echo "${ECHO_T}$ac_header_compiler" >&6
16207 # Is the header present?
16208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16210 cat >conftest.
$ac_ext <<_ACEOF
16213 cat confdefs.h
>>conftest.
$ac_ext
16214 cat >>conftest.
$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16216 #include <$ac_header>
16218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16221 grep -v '^ *+' conftest.er1
>conftest.err
16223 cat conftest.err
>&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } >/dev
/null
; then
16226 if test -s conftest.err
; then
16227 ac_cpp_err
=$ac_c_preproc_warn_flag
16228 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16235 if test -z "$ac_cpp_err"; then
16236 ac_header_preproc
=yes
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.
$ac_ext >&5
16241 ac_header_preproc
=no
16243 rm -f conftest.err conftest.
$ac_ext
16244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16245 echo "${ECHO_T}$ac_header_preproc" >&6
16247 # So? What about this header?
16248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16254 ac_header_preproc
=yes
16257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16271 ## ------------------------------------------ ##
16272 ## Report this to the AC_PACKAGE_NAME lists. ##
16273 ## ------------------------------------------ ##
16276 sed "s/^/$as_me: WARNING: /" >&2
16279 echo "$as_me:$LINENO: checking for $ac_header" >&5
16280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16282 echo $ECHO_N "(cached) $ECHO_C" >&6
16284 eval "$as_ac_Header=\$ac_header_preproc"
16286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16291 cat >>confdefs.h
<<_ACEOF
16292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16300 # FIXME: kettenis/20030102: In most cases we include these
16301 # unconditionally, so what's the point in checking these?
16304 for ac_header
in ctype.h
time.h
16306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16308 echo "$as_me:$LINENO: checking for $ac_header" >&5
16309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16316 # Is the header compilable?
16317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16319 cat >conftest.
$ac_ext <<_ACEOF
16322 cat confdefs.h
>>conftest.
$ac_ext
16323 cat >>conftest.
$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16325 $ac_includes_default
16326 #include <$ac_header>
16328 rm -f conftest.
$ac_objext
16329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16330 (eval $ac_compile) 2>conftest.er1
16332 grep -v '^ *+' conftest.er1
>conftest.err
16334 cat conftest.err
>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); } &&
16337 { ac_try
='test -z "$ac_c_werror_flag"
16338 || test ! -s conftest.err'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try
='test -s conftest.$ac_objext'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; }; then
16350 ac_header_compiler
=yes
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.
$ac_ext >&5
16355 ac_header_compiler
=no
16357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16359 echo "${ECHO_T}$ac_header_compiler" >&6
16361 # Is the header present?
16362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16364 cat >conftest.
$ac_ext <<_ACEOF
16367 cat confdefs.h
>>conftest.
$ac_ext
16368 cat >>conftest.
$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16370 #include <$ac_header>
16372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16375 grep -v '^ *+' conftest.er1
>conftest.err
16377 cat conftest.err
>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } >/dev
/null
; then
16380 if test -s conftest.err
; then
16381 ac_cpp_err
=$ac_c_preproc_warn_flag
16382 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16389 if test -z "$ac_cpp_err"; then
16390 ac_header_preproc
=yes
16392 echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.
$ac_ext >&5
16395 ac_header_preproc
=no
16397 rm -f conftest.err conftest.
$ac_ext
16398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16399 echo "${ECHO_T}$ac_header_preproc" >&6
16401 # So? What about this header?
16402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16408 ac_header_preproc
=yes
16411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16425 ## ------------------------------------------ ##
16426 ## Report this to the AC_PACKAGE_NAME lists. ##
16427 ## ------------------------------------------ ##
16430 sed "s/^/$as_me: WARNING: /" >&2
16433 echo "$as_me:$LINENO: checking for $ac_header" >&5
16434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 eval "$as_ac_Header=\$ac_header_preproc"
16440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16445 cat >>confdefs.h
<<_ACEOF
16446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16454 # ------------------------- #
16455 # Checks for declarations. #
16456 # ------------------------- #
16458 echo "$as_me:$LINENO: checking whether free is declared" >&5
16459 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
16460 if test "${ac_cv_have_decl_free+set}" = set; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16463 cat >conftest.
$ac_ext <<_ACEOF
16466 cat confdefs.h
>>conftest.
$ac_ext
16467 cat >>conftest.
$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16474 char *p = (char *) free;
16481 rm -f conftest.
$ac_objext
16482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16483 (eval $ac_compile) 2>conftest.er1
16485 grep -v '^ *+' conftest.er1
>conftest.err
16487 cat conftest.err
>&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); } &&
16490 { ac_try
='test -z "$ac_c_werror_flag"
16491 || test ! -s conftest.err'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try
='test -s conftest.$ac_objext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16503 ac_cv_have_decl_free
=yes
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.
$ac_ext >&5
16508 ac_cv_have_decl_free
=no
16510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16512 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
16513 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
16514 if test $ac_cv_have_decl_free = yes; then
16516 cat >>confdefs.h
<<_ACEOF
16517 #define HAVE_DECL_FREE 1
16522 cat >>confdefs.h
<<_ACEOF
16523 #define HAVE_DECL_FREE 0
16528 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
16529 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
16530 if test "${ac_cv_have_decl_malloc+set}" = set; then
16531 echo $ECHO_N "(cached) $ECHO_C" >&6
16533 cat >conftest.
$ac_ext <<_ACEOF
16536 cat confdefs.h
>>conftest.
$ac_ext
16537 cat >>conftest.
$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 $ac_includes_default
16544 char *p = (char *) malloc;
16551 rm -f conftest.
$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>conftest.er1
16555 grep -v '^ *+' conftest.er1
>conftest.err
16557 cat conftest.err
>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try
='test -z "$ac_c_werror_flag"
16561 || test ! -s conftest.err'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; } &&
16567 { ac_try
='test -s conftest.$ac_objext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16573 ac_cv_have_decl_malloc
=yes
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.
$ac_ext >&5
16578 ac_cv_have_decl_malloc
=no
16580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16582 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
16583 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
16584 if test $ac_cv_have_decl_malloc = yes; then
16586 cat >>confdefs.h
<<_ACEOF
16587 #define HAVE_DECL_MALLOC 1
16592 cat >>confdefs.h
<<_ACEOF
16593 #define HAVE_DECL_MALLOC 0
16598 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
16599 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
16600 if test "${ac_cv_have_decl_realloc+set}" = set; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 cat >conftest.
$ac_ext <<_ACEOF
16606 cat confdefs.h
>>conftest.
$ac_ext
16607 cat >>conftest.
$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 $ac_includes_default
16614 char *p = (char *) realloc;
16621 rm -f conftest.
$ac_objext
16622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16623 (eval $ac_compile) 2>conftest.er1
16625 grep -v '^ *+' conftest.er1
>conftest.err
16627 cat conftest.err
>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); } &&
16630 { ac_try
='test -z "$ac_c_werror_flag"
16631 || test ! -s conftest.err'
16632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16633 (eval $ac_try) 2>&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }; } &&
16637 { ac_try
='test -s conftest.$ac_objext'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; }; then
16643 ac_cv_have_decl_realloc
=yes
16645 echo "$as_me: failed program was:" >&5
16646 sed 's/^/| /' conftest.
$ac_ext >&5
16648 ac_cv_have_decl_realloc
=no
16650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16652 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
16653 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
16654 if test $ac_cv_have_decl_realloc = yes; then
16656 cat >>confdefs.h
<<_ACEOF
16657 #define HAVE_DECL_REALLOC 1
16662 cat >>confdefs.h
<<_ACEOF
16663 #define HAVE_DECL_REALLOC 0
16670 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
16671 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
16672 if test "${ac_cv_have_decl_strerror+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 cat >conftest.
$ac_ext <<_ACEOF
16678 cat confdefs.h
>>conftest.
$ac_ext
16679 cat >>conftest.
$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16686 char *p = (char *) strerror;
16693 rm -f conftest.
$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16697 grep -v '^ *+' conftest.er1
>conftest.err
16699 cat conftest.err
>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try
='test -z "$ac_c_werror_flag"
16703 || test ! -s conftest.err'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; } &&
16709 { ac_try
='test -s conftest.$ac_objext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16715 ac_cv_have_decl_strerror
=yes
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.
$ac_ext >&5
16720 ac_cv_have_decl_strerror
=no
16722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16724 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
16725 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
16726 if test $ac_cv_have_decl_strerror = yes; then
16728 cat >>confdefs.h
<<_ACEOF
16729 #define HAVE_DECL_STRERROR 1
16734 cat >>confdefs.h
<<_ACEOF
16735 #define HAVE_DECL_STRERROR 0
16740 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
16741 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
16742 if test "${ac_cv_have_decl_strstr+set}" = set; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 cat >conftest.
$ac_ext <<_ACEOF
16748 cat confdefs.h
>>conftest.
$ac_ext
16749 cat >>conftest.
$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751 $ac_includes_default
16756 char *p = (char *) strstr;
16763 rm -f conftest.
$ac_objext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16765 (eval $ac_compile) 2>conftest.er1
16767 grep -v '^ *+' conftest.er1
>conftest.err
16769 cat conftest.err
>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try
='test -z "$ac_c_werror_flag"
16773 || test ! -s conftest.err'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; } &&
16779 { ac_try
='test -s conftest.$ac_objext'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; }; then
16785 ac_cv_have_decl_strstr
=yes
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.
$ac_ext >&5
16790 ac_cv_have_decl_strstr
=no
16792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16794 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
16795 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
16796 if test $ac_cv_have_decl_strstr = yes; then
16798 cat >>confdefs.h
<<_ACEOF
16799 #define HAVE_DECL_STRSTR 1
16804 cat >>confdefs.h
<<_ACEOF
16805 #define HAVE_DECL_STRSTR 0
16812 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
16813 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
16814 if test "${ac_cv_have_decl_getopt+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 cat >conftest.
$ac_ext <<_ACEOF
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 $ac_includes_default
16828 char *p = (char *) getopt;
16835 rm -f conftest.
$ac_objext
16836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16837 (eval $ac_compile) 2>conftest.er1
16839 grep -v '^ *+' conftest.er1
>conftest.err
16841 cat conftest.err
>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try
='test -z "$ac_c_werror_flag"
16845 || test ! -s conftest.err'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; } &&
16851 { ac_try
='test -s conftest.$ac_objext'
16852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853 (eval $ac_try) 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16857 ac_cv_have_decl_getopt
=yes
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16862 ac_cv_have_decl_getopt
=no
16864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16866 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
16867 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
16868 if test $ac_cv_have_decl_getopt = yes; then
16870 cat >>confdefs.h
<<_ACEOF
16871 #define HAVE_DECL_GETOPT 1
16876 cat >>confdefs.h
<<_ACEOF
16877 #define HAVE_DECL_GETOPT 0
16882 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
16883 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
16884 if test "${ac_cv_have_decl_snprintf+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 cat >conftest.
$ac_ext <<_ACEOF
16890 cat confdefs.h
>>conftest.
$ac_ext
16891 cat >>conftest.
$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 $ac_includes_default
16898 char *p = (char *) snprintf;
16905 rm -f conftest.
$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16909 grep -v '^ *+' conftest.er1
>conftest.err
16911 cat conftest.err
>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try
='test -z "$ac_c_werror_flag"
16915 || test ! -s conftest.err'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; } &&
16921 { ac_try
='test -s conftest.$ac_objext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16927 ac_cv_have_decl_snprintf
=yes
16929 echo "$as_me: failed program was:" >&5
16930 sed 's/^/| /' conftest.
$ac_ext >&5
16932 ac_cv_have_decl_snprintf
=no
16934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16936 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
16937 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
16938 if test $ac_cv_have_decl_snprintf = yes; then
16940 cat >>confdefs.h
<<_ACEOF
16941 #define HAVE_DECL_SNPRINTF 1
16946 cat >>confdefs.h
<<_ACEOF
16947 #define HAVE_DECL_SNPRINTF 0
16952 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
16953 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
16954 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 cat >conftest.
$ac_ext <<_ACEOF
16960 cat confdefs.h
>>conftest.
$ac_ext
16961 cat >>conftest.
$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16968 char *p = (char *) vsnprintf;
16975 rm -f conftest.
$ac_objext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16977 (eval $ac_compile) 2>conftest.er1
16979 grep -v '^ *+' conftest.er1
>conftest.err
16981 cat conftest.err
>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try
='test -z "$ac_c_werror_flag"
16985 || test ! -s conftest.err'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; } &&
16991 { ac_try
='test -s conftest.$ac_objext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 ac_cv_have_decl_vsnprintf
=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.
$ac_ext >&5
17002 ac_cv_have_decl_vsnprintf
=no
17004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
17007 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
17008 if test $ac_cv_have_decl_vsnprintf = yes; then
17010 cat >>confdefs.h
<<_ACEOF
17011 #define HAVE_DECL_VSNPRINTF 1
17016 cat >>confdefs.h
<<_ACEOF
17017 #define HAVE_DECL_VSNPRINTF 0
17025 # ----------------------- #
17026 # Checks for structures. #
17027 # ----------------------- #
17029 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17030 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17031 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 cat >conftest.
$ac_ext <<_ACEOF
17037 cat confdefs.h
>>conftest.
$ac_ext
17038 cat >>conftest.
$ac_ext <<_ACEOF
17039 /* end confdefs.h. */
17040 $ac_includes_default
17044 static struct stat ac_aggr;
17045 if (ac_aggr.st_blocks)
17051 rm -f conftest.
$ac_objext
17052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17053 (eval $ac_compile) 2>conftest.er1
17055 grep -v '^ *+' conftest.er1
>conftest.err
17057 cat conftest.err
>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); } &&
17060 { ac_try
='test -z "$ac_c_werror_flag"
17061 || test ! -s conftest.err'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; } &&
17067 { ac_try
='test -s conftest.$ac_objext'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; }; then
17073 ac_cv_member_struct_stat_st_blocks
=yes
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.
$ac_ext >&5
17078 cat >conftest.
$ac_ext <<_ACEOF
17081 cat confdefs.h
>>conftest.
$ac_ext
17082 cat >>conftest.
$ac_ext <<_ACEOF
17083 /* end confdefs.h. */
17084 $ac_includes_default
17088 static struct stat ac_aggr;
17089 if (sizeof ac_aggr.st_blocks)
17095 rm -f conftest.
$ac_objext
17096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17097 (eval $ac_compile) 2>conftest.er1
17099 grep -v '^ *+' conftest.er1
>conftest.err
17101 cat conftest.err
>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } &&
17104 { ac_try
='test -z "$ac_c_werror_flag"
17105 || test ! -s conftest.err'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; } &&
17111 { ac_try
='test -s conftest.$ac_objext'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; }; then
17117 ac_cv_member_struct_stat_st_blocks
=yes
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.
$ac_ext >&5
17122 ac_cv_member_struct_stat_st_blocks
=no
17124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17128 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17129 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17130 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17132 cat >>confdefs.h
<<_ACEOF
17133 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17139 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17140 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17141 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 cat >conftest.
$ac_ext <<_ACEOF
17147 cat confdefs.h
>>conftest.
$ac_ext
17148 cat >>conftest.
$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150 $ac_includes_default
17154 static struct stat ac_aggr;
17155 if (ac_aggr.st_blksize)
17161 rm -f conftest.
$ac_objext
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>conftest.er1
17165 grep -v '^ *+' conftest.er1
>conftest.err
17167 cat conftest.err
>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } &&
17170 { ac_try
='test -z "$ac_c_werror_flag"
17171 || test ! -s conftest.err'
17172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17173 (eval $ac_try) 2>&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); }; } &&
17177 { ac_try
='test -s conftest.$ac_objext'
17178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17179 (eval $ac_try) 2>&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); }; }; then
17183 ac_cv_member_struct_stat_st_blksize
=yes
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.
$ac_ext >&5
17188 cat >conftest.
$ac_ext <<_ACEOF
17191 cat confdefs.h
>>conftest.
$ac_ext
17192 cat >>conftest.
$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17198 static struct stat ac_aggr;
17199 if (sizeof ac_aggr.st_blksize)
17205 rm -f conftest.
$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17209 grep -v '^ *+' conftest.er1
>conftest.err
17211 cat conftest.err
>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try
='test -z "$ac_c_werror_flag"
17215 || test ! -s conftest.err'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; } &&
17221 { ac_try
='test -s conftest.$ac_objext'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; }; then
17227 ac_cv_member_struct_stat_st_blksize
=yes
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.
$ac_ext >&5
17232 ac_cv_member_struct_stat_st_blksize
=no
17234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17238 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17239 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17240 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17242 cat >>confdefs.h
<<_ACEOF
17243 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17250 # ------------------ #
17251 # Checks for types. #
17252 # ------------------ #
17254 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
17255 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
17256 if test "${ac_cv_type_signal+set}" = set; then
17257 echo $ECHO_N "(cached) $ECHO_C" >&6
17259 cat >conftest.
$ac_ext <<_ACEOF
17262 cat confdefs.h
>>conftest.
$ac_ext
17263 cat >>conftest.
$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265 #include <sys/types.h>
17266 #include <signal.h>
17271 extern "C" void (*signal (int, void (*)(int)))(int);
17273 void (*signal ()) ();
17284 rm -f conftest.
$ac_objext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17286 (eval $ac_compile) 2>conftest.er1
17288 grep -v '^ *+' conftest.er1
>conftest.err
17290 cat conftest.err
>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } &&
17293 { ac_try
='test -z "$ac_c_werror_flag"
17294 || test ! -s conftest.err'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; } &&
17300 { ac_try
='test -s conftest.$ac_objext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306 ac_cv_type_signal
=void
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.
$ac_ext >&5
17311 ac_cv_type_signal
=int
17313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17315 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
17316 echo "${ECHO_T}$ac_cv_type_signal" >&6
17318 cat >>confdefs.h
<<_ACEOF
17319 #define RETSIGTYPE $ac_cv_type_signal
17323 echo "$as_me:$LINENO: checking for socklen_t" >&5
17324 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
17325 if test "${ac_cv_type_socklen_t+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 cat >conftest.
$ac_ext <<_ACEOF
17331 cat confdefs.h
>>conftest.
$ac_ext
17332 cat >>conftest.
$ac_ext <<_ACEOF
17333 /* end confdefs.h. */
17334 #include <sys/types.h>
17335 #include <sys/socket.h>
17341 if ((socklen_t *) 0)
17343 if (sizeof (socklen_t))
17349 rm -f conftest.
$ac_objext
17350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17351 (eval $ac_compile) 2>conftest.er1
17353 grep -v '^ *+' conftest.er1
>conftest.err
17355 cat conftest.err
>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } &&
17358 { ac_try
='test -z "$ac_c_werror_flag"
17359 || test ! -s conftest.err'
17360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361 (eval $ac_try) 2>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); }; } &&
17365 { ac_try
='test -s conftest.$ac_objext'
17366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367 (eval $ac_try) 2>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); }; }; then
17371 ac_cv_type_socklen_t
=yes
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.
$ac_ext >&5
17376 ac_cv_type_socklen_t
=no
17378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17380 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
17381 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
17382 if test $ac_cv_type_socklen_t = yes; then
17384 cat >>confdefs.h
<<_ACEOF
17385 #define HAVE_SOCKLEN_T 1
17392 # ------------------------------------- #
17393 # Checks for compiler characteristics. #
17394 # ------------------------------------- #
17396 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17397 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17398 if test "${ac_cv_c_const+set}" = set; then
17399 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 cat >conftest.
$ac_ext <<_ACEOF
17404 cat confdefs.h
>>conftest.
$ac_ext
17405 cat >>conftest.
$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17411 /* FIXME: Include the comments suggested by Paul. */
17412 #ifndef __cplusplus
17413 /* Ultrix mips cc rejects this. */
17414 typedef int charset[2];
17416 /* SunOS 4.1.1 cc rejects this. */
17417 char const *const *ccp;
17419 /* NEC SVR4.0.2 mips cc rejects this. */
17420 struct point {int x, y;};
17421 static struct point const zero = {0,0};
17422 /* AIX XL C 1.02.0.0 rejects this.
17423 It does not let you subtract one const X* pointer from another in
17424 an arm of an if-expression whose if-part is not a constant
17426 const char *g = "string";
17427 ccp = &g + (g ? g-g : 0);
17428 /* HPUX 7.0 cc rejects these. */
17431 ccp = (char const *const *) p;
17432 { /* SCO 3.2v4 cc rejects this. */
17434 char const *s = 0 ? (char *) 0 : (char const *) 0;
17438 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17439 int x[] = {25, 17};
17440 const int *foo = &x[0];
17443 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17444 typedef const int *iptr;
17448 { /* AIX XL C 1.02.0.0 rejects this saying
17449 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17450 struct s { int j; const int *ap[3]; };
17451 struct s *b; b->j = 5;
17453 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17454 const int foo = 10;
17462 rm -f conftest.
$ac_objext
17463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17464 (eval $ac_compile) 2>conftest.er1
17466 grep -v '^ *+' conftest.er1
>conftest.err
17468 cat conftest.err
>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } &&
17471 { ac_try
='test -z "$ac_c_werror_flag"
17472 || test ! -s conftest.err'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; } &&
17478 { ac_try
='test -s conftest.$ac_objext'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; }; then
17486 echo "$as_me: failed program was:" >&5
17487 sed 's/^/| /' conftest.
$ac_ext >&5
17491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17493 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17494 echo "${ECHO_T}$ac_cv_c_const" >&6
17495 if test $ac_cv_c_const = no
; then
17497 cat >>confdefs.h
<<\_ACEOF
17503 echo "$as_me:$LINENO: checking for inline" >&5
17504 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17505 if test "${ac_cv_c_inline+set}" = set; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 for ac_kw
in inline __inline__ __inline
; do
17510 cat >conftest.
$ac_ext <<_ACEOF
17513 cat confdefs.h
>>conftest.
$ac_ext
17514 cat >>conftest.
$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 #ifndef __cplusplus
17518 static $ac_kw foo_t static_foo () {return 0; }
17519 $ac_kw foo_t foo () {return 0; }
17523 rm -f conftest.
$ac_objext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17525 (eval $ac_compile) 2>conftest.er1
17527 grep -v '^ *+' conftest.er1
>conftest.err
17529 cat conftest.err
>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); } &&
17532 { ac_try
='test -z "$ac_c_werror_flag"
17533 || test ! -s conftest.err'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; } &&
17539 { ac_try
='test -s conftest.$ac_objext'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; }; then
17545 ac_cv_c_inline
=$ac_kw; break
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.
$ac_ext >&5
17551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17555 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17556 echo "${ECHO_T}$ac_cv_c_inline" >&6
17559 case $ac_cv_c_inline in
17562 case $ac_cv_c_inline in
17564 *) ac_val
=$ac_cv_c_inline;;
17566 cat >>confdefs.h
<<_ACEOF
17567 #ifndef __cplusplus
17568 #define inline $ac_val
17574 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17575 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17576 if test "${ac_cv_c_bigendian+set}" = set; then
17577 echo $ECHO_N "(cached) $ECHO_C" >&6
17579 # See if sys/param.h defines the BYTE_ORDER macro.
17580 cat >conftest.
$ac_ext <<_ACEOF
17583 cat confdefs.h
>>conftest.
$ac_ext
17584 cat >>conftest.
$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 #include <sys/types.h>
17587 #include <sys/param.h>
17592 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17593 bogus endian macros
17600 rm -f conftest.
$ac_objext
17601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17602 (eval $ac_compile) 2>conftest.er1
17604 grep -v '^ *+' conftest.er1
>conftest.err
17606 cat conftest.err
>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try
='test -z "$ac_c_werror_flag"
17610 || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try
='test -s conftest.$ac_objext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 # It does; now see whether it defined to BIG_ENDIAN or not.
17623 cat >conftest.
$ac_ext <<_ACEOF
17626 cat confdefs.h
>>conftest.
$ac_ext
17627 cat >>conftest.
$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17629 #include <sys/types.h>
17630 #include <sys/param.h>
17635 #if BYTE_ORDER != BIG_ENDIAN
17643 rm -f conftest.
$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17647 grep -v '^ *+' conftest.er1
>conftest.err
17649 cat conftest.err
>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try
='test -z "$ac_c_werror_flag"
17653 || test ! -s conftest.err'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; } &&
17659 { ac_try
='test -s conftest.$ac_objext'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; }; then
17665 ac_cv_c_bigendian
=yes
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.
$ac_ext >&5
17670 ac_cv_c_bigendian
=no
17672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.
$ac_ext >&5
17677 # It does not; compile a test program.
17678 if test "$cross_compiling" = yes; then
17679 # try to guess the endianness by grepping values into an object file
17680 ac_cv_c_bigendian
=unknown
17681 cat >conftest.
$ac_ext <<_ACEOF
17684 cat confdefs.h
>>conftest.
$ac_ext
17685 cat >>conftest.
$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17687 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17688 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17689 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
17690 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17691 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17692 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
17696 _ascii (); _ebcdic ();
17701 rm -f conftest.
$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17705 grep -v '^ *+' conftest.er1
>conftest.err
17707 cat conftest.err
>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try
='test -z "$ac_c_werror_flag"
17711 || test ! -s conftest.err'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; } &&
17717 { ac_try
='test -s conftest.$ac_objext'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; }; then
17723 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
17724 ac_cv_c_bigendian
=yes
17726 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
17727 if test "$ac_cv_c_bigendian" = unknown
; then
17728 ac_cv_c_bigendian
=no
17730 # finding both strings is unlikely to happen, but who knows?
17731 ac_cv_c_bigendian
=unknown
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.
$ac_ext >&5
17739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17741 cat >conftest.
$ac_ext <<_ACEOF
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17750 /* Are we little or big endian? From Harbison&Steele. */
17754 char c[sizeof (long)];
17757 exit (u.c[sizeof (long) - 1] == 1);
17760 rm -f conftest
$ac_exeext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17762 (eval $ac_link) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 ac_cv_c_bigendian
=no
17773 echo "$as_me: program exited with status $ac_status" >&5
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.
$ac_ext >&5
17777 ( exit $ac_status )
17778 ac_cv_c_bigendian
=yes
17780 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17785 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17786 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17787 case $ac_cv_c_bigendian in
17790 cat >>confdefs.h
<<\_ACEOF
17791 #define WORDS_BIGENDIAN 1
17797 { { echo "$as_me:$LINENO: error: unknown endianness
17798 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
17799 echo "$as_me: error: unknown endianness
17800 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
17801 { (exit 1); exit 1; }; } ;;
17805 # ------------------------------ #
17806 # Checks for library functions. #
17807 # ------------------------------ #
17809 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17810 # for constant arguments. Useless!
17811 echo "$as_me:$LINENO: checking for working alloca.h" >&5
17812 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
17813 if test "${ac_cv_working_alloca_h+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 cat >conftest.
$ac_ext <<_ACEOF
17819 cat confdefs.h
>>conftest.
$ac_ext
17820 cat >>conftest.
$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17822 #include <alloca.h>
17826 char *p = (char *) alloca (2 * sizeof (int));
17831 rm -f conftest.
$ac_objext conftest
$ac_exeext
17832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17833 (eval $ac_link) 2>conftest.er1
17835 grep -v '^ *+' conftest.er1
>conftest.err
17837 cat conftest.err
>&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } &&
17840 { ac_try
='test -z "$ac_c_werror_flag"
17841 || test ! -s conftest.err'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; } &&
17847 { ac_try
='test -s conftest$ac_exeext'
17848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 ac_cv_working_alloca_h
=yes
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.
$ac_ext >&5
17858 ac_cv_working_alloca_h
=no
17860 rm -f conftest.err conftest.
$ac_objext \
17861 conftest
$ac_exeext conftest.
$ac_ext
17863 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
17864 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
17865 if test $ac_cv_working_alloca_h = yes; then
17867 cat >>confdefs.h
<<\_ACEOF
17868 #define HAVE_ALLOCA_H 1
17873 echo "$as_me:$LINENO: checking for alloca" >&5
17874 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
17875 if test "${ac_cv_func_alloca_works+set}" = set; then
17876 echo $ECHO_N "(cached) $ECHO_C" >&6
17878 cat >conftest.
$ac_ext <<_ACEOF
17881 cat confdefs.h
>>conftest.
$ac_ext
17882 cat >>conftest.
$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17885 # define alloca __builtin_alloca
17888 # include <malloc.h>
17889 # define alloca _alloca
17892 # include <alloca.h>
17897 # ifndef alloca /* predefined by HP cc +Olibcalls */
17908 char *p = (char *) alloca (1);
17913 rm -f conftest.
$ac_objext conftest
$ac_exeext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17915 (eval $ac_link) 2>conftest.er1
17917 grep -v '^ *+' conftest.er1
>conftest.err
17919 cat conftest.err
>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } &&
17922 { ac_try
='test -z "$ac_c_werror_flag"
17923 || test ! -s conftest.err'
17924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; } &&
17929 { ac_try
='test -s conftest$ac_exeext'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; }; then
17935 ac_cv_func_alloca_works
=yes
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.
$ac_ext >&5
17940 ac_cv_func_alloca_works
=no
17942 rm -f conftest.err conftest.
$ac_objext \
17943 conftest
$ac_exeext conftest.
$ac_ext
17945 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
17946 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
17948 if test $ac_cv_func_alloca_works = yes; then
17950 cat >>confdefs.h
<<\_ACEOF
17951 #define HAVE_ALLOCA 1
17955 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17956 # that cause trouble. Some versions do not even contain alloca or
17957 # contain a buggy version. If you still want to use their alloca,
17958 # use ar to extract alloca.o from them instead of compiling alloca.c.
17960 ALLOCA
=alloca.
$ac_objext
17962 cat >>confdefs.h
<<\_ACEOF
17967 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
17968 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
17969 if test "${ac_cv_os_cray+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 cat >conftest.
$ac_ext <<_ACEOF
17975 cat confdefs.h
>>conftest.
$ac_ext
17976 cat >>conftest.
$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 #if defined(CRAY) && ! defined(CRAY2)
17985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17986 $EGREP "webecray" >/dev
/null
2>&1; then
17994 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
17995 echo "${ECHO_T}$ac_cv_os_cray" >&6
17996 if test $ac_cv_os_cray = yes; then
17997 for ac_func
in _getb67 GETB67 getb67
; do
17998 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17999 echo "$as_me:$LINENO: checking for $ac_func" >&5
18000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18001 if eval "test \"\${$as_ac_var+set}\" = set"; then
18002 echo $ECHO_N "(cached) $ECHO_C" >&6
18004 cat >conftest.
$ac_ext <<_ACEOF
18007 cat confdefs.h
>>conftest.
$ac_ext
18008 cat >>conftest.
$ac_ext <<_ACEOF
18009 /* end confdefs.h. */
18010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18012 #define $ac_func innocuous_$ac_func
18014 /* System header to define __stub macros and hopefully few prototypes,
18015 which can conflict with char $ac_func (); below.
18016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18017 <limits.h> exists even on freestanding compilers. */
18020 # include <limits.h>
18022 # include <assert.h>
18027 /* Override any gcc2 internal prototype to avoid an error. */
18032 /* We use char because int might match the return type of a gcc2
18033 builtin and then its argument prototype would still apply. */
18035 /* The GNU C library defines this for functions which it implements
18036 to always fail with ENOSYS. Some functions are actually named
18037 something starting with __ and the normal name is an alias. */
18038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18041 char (*f) () = $ac_func;
18050 return f != $ac_func;
18055 rm -f conftest.
$ac_objext conftest
$ac_exeext
18056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18057 (eval $ac_link) 2>conftest.er1
18059 grep -v '^ *+' conftest.er1
>conftest.err
18061 cat conftest.err
>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try
='test -z "$ac_c_werror_flag"
18065 || test ! -s conftest.err'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; } &&
18071 { ac_try
='test -s conftest$ac_exeext'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; }; then
18077 eval "$as_ac_var=yes"
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.
$ac_ext >&5
18082 eval "$as_ac_var=no"
18084 rm -f conftest.err conftest.
$ac_objext \
18085 conftest
$ac_exeext conftest.
$ac_ext
18087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18089 if test `eval echo '${'$as_ac_var'}'` = yes; then
18091 cat >>confdefs.h
<<_ACEOF
18092 #define CRAY_STACKSEG_END $ac_func
18101 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
18102 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
18103 if test "${ac_cv_c_stack_direction+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 if test "$cross_compiling" = yes; then
18107 ac_cv_c_stack_direction
=0
18109 cat >conftest.
$ac_ext <<_ACEOF
18112 cat confdefs.h
>>conftest.
$ac_ext
18113 cat >>conftest.
$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18116 find_stack_direction ()
18118 static char *addr = 0;
18123 return find_stack_direction ();
18126 return (&dummy > addr) ? 1 : -1;
18132 exit (find_stack_direction () < 0);
18135 rm -f conftest
$ac_exeext
18136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18137 (eval $ac_link) 2>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18142 (eval $ac_try) 2>&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); }; }; then
18146 ac_cv_c_stack_direction
=1
18148 echo "$as_me: program exited with status $ac_status" >&5
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.
$ac_ext >&5
18152 ( exit $ac_status )
18153 ac_cv_c_stack_direction
=-1
18155 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18158 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
18159 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
18161 cat >>confdefs.h
<<_ACEOF
18162 #define STACK_DIRECTION $ac_cv_c_stack_direction
18170 for ac_header
in stdlib.h unistd.h
18172 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18174 echo "$as_me:$LINENO: checking for $ac_header" >&5
18175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18182 # Is the header compilable?
18183 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18185 cat >conftest.
$ac_ext <<_ACEOF
18188 cat confdefs.h
>>conftest.
$ac_ext
18189 cat >>conftest.
$ac_ext <<_ACEOF
18190 /* end confdefs.h. */
18191 $ac_includes_default
18192 #include <$ac_header>
18194 rm -f conftest.
$ac_objext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18196 (eval $ac_compile) 2>conftest.er1
18198 grep -v '^ *+' conftest.er1
>conftest.err
18200 cat conftest.err
>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try
='test -z "$ac_c_werror_flag"
18204 || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try
='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 ac_header_compiler
=yes
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.
$ac_ext >&5
18221 ac_header_compiler
=no
18223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18225 echo "${ECHO_T}$ac_header_compiler" >&6
18227 # Is the header present?
18228 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18230 cat >conftest.
$ac_ext <<_ACEOF
18233 cat confdefs.h
>>conftest.
$ac_ext
18234 cat >>conftest.
$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236 #include <$ac_header>
18238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18241 grep -v '^ *+' conftest.er1
>conftest.err
18243 cat conftest.err
>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } >/dev
/null
; then
18246 if test -s conftest.err
; then
18247 ac_cpp_err
=$ac_c_preproc_warn_flag
18248 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18255 if test -z "$ac_cpp_err"; then
18256 ac_header_preproc
=yes
18258 echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.
$ac_ext >&5
18261 ac_header_preproc
=no
18263 rm -f conftest.err conftest.
$ac_ext
18264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18265 echo "${ECHO_T}$ac_header_preproc" >&6
18267 # So? What about this header?
18268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18270 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18271 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18273 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18274 ac_header_preproc
=yes
18277 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18278 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18279 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18280 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18281 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18282 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18283 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18284 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18287 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18288 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18291 ## ------------------------------------------ ##
18292 ## Report this to the AC_PACKAGE_NAME lists. ##
18293 ## ------------------------------------------ ##
18296 sed "s/^/$as_me: WARNING: /" >&2
18299 echo "$as_me:$LINENO: checking for $ac_header" >&5
18300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18304 eval "$as_ac_Header=\$ac_header_preproc"
18306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18311 cat >>confdefs.h
<<_ACEOF
18312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18320 for ac_func
in getpagesize
18322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18323 echo "$as_me:$LINENO: checking for $ac_func" >&5
18324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18325 if eval "test \"\${$as_ac_var+set}\" = set"; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18328 cat >conftest.
$ac_ext <<_ACEOF
18331 cat confdefs.h
>>conftest.
$ac_ext
18332 cat >>conftest.
$ac_ext <<_ACEOF
18333 /* end confdefs.h. */
18334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18336 #define $ac_func innocuous_$ac_func
18338 /* System header to define __stub macros and hopefully few prototypes,
18339 which can conflict with char $ac_func (); below.
18340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18341 <limits.h> exists even on freestanding compilers. */
18344 # include <limits.h>
18346 # include <assert.h>
18351 /* Override any gcc2 internal prototype to avoid an error. */
18356 /* We use char because int might match the return type of a gcc2
18357 builtin and then its argument prototype would still apply. */
18359 /* The GNU C library defines this for functions which it implements
18360 to always fail with ENOSYS. Some functions are actually named
18361 something starting with __ and the normal name is an alias. */
18362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18365 char (*f) () = $ac_func;
18374 return f != $ac_func;
18379 rm -f conftest.
$ac_objext conftest
$ac_exeext
18380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18381 (eval $ac_link) 2>conftest.er1
18383 grep -v '^ *+' conftest.er1
>conftest.err
18385 cat conftest.err
>&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); } &&
18388 { ac_try
='test -z "$ac_c_werror_flag"
18389 || test ! -s conftest.err'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; } &&
18395 { ac_try
='test -s conftest$ac_exeext'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; }; then
18401 eval "$as_ac_var=yes"
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.
$ac_ext >&5
18406 eval "$as_ac_var=no"
18408 rm -f conftest.err conftest.
$ac_objext \
18409 conftest
$ac_exeext conftest.
$ac_ext
18411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18413 if test `eval echo '${'$as_ac_var'}'` = yes; then
18414 cat >>confdefs.h
<<_ACEOF
18415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18421 echo "$as_me:$LINENO: checking for working mmap" >&5
18422 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
18423 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
18424 echo $ECHO_N "(cached) $ECHO_C" >&6
18426 if test "$cross_compiling" = yes; then
18427 ac_cv_func_mmap_fixed_mapped
=no
18429 cat >conftest.
$ac_ext <<_ACEOF
18432 cat confdefs.h
>>conftest.
$ac_ext
18433 cat >>conftest.
$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18435 $ac_includes_default
18436 /* malloc might have been renamed as rpl_malloc. */
18439 /* Thanks to Mike Haertel and Jim Avera for this test.
18440 Here is a matrix of mmap possibilities:
18441 mmap private not fixed
18442 mmap private fixed at somewhere currently unmapped
18443 mmap private fixed at somewhere already mapped
18444 mmap shared not fixed
18445 mmap shared fixed at somewhere currently unmapped
18446 mmap shared fixed at somewhere already mapped
18447 For private mappings, we should verify that changes cannot be read()
18448 back from the file, nor mmap's back from the file at a different
18449 address. (There have been systems where private was not correctly
18450 implemented like the infamous i386 svr4.0, and systems where the
18451 VM page cache was not coherent with the file system buffer cache
18452 like early versions of FreeBSD and possibly contemporary NetBSD.)
18453 For shared mappings, we should conversely verify that changes get
18454 propagated back to all the places they're supposed to be.
18456 Grep wants private fixed already mapped.
18457 The main things grep needs to know about mmap are:
18458 * does it exist and is it safe to write into the mmap'd area
18459 * how to use it (BSD variants) */
18462 #include <sys/mman.h>
18464 #if !STDC_HEADERS && !HAVE_STDLIB_H
18468 /* This mess was copied from the GNU getpagesize.h. */
18469 #if !HAVE_GETPAGESIZE
18470 /* Assume that all systems that can run configure have sys/param.h. */
18471 # if !HAVE_SYS_PARAM_H
18472 # define HAVE_SYS_PARAM_H 1
18475 # ifdef _SC_PAGESIZE
18476 # define getpagesize() sysconf(_SC_PAGESIZE)
18477 # else /* no _SC_PAGESIZE */
18478 # if HAVE_SYS_PARAM_H
18479 # include <sys/param.h>
18480 # ifdef EXEC_PAGESIZE
18481 # define getpagesize() EXEC_PAGESIZE
18482 # else /* no EXEC_PAGESIZE */
18484 # define getpagesize() NBPG * CLSIZE
18487 # endif /* no CLSIZE */
18488 # else /* no NBPG */
18490 # define getpagesize() NBPC
18491 # else /* no NBPC */
18493 # define getpagesize() PAGESIZE
18494 # endif /* PAGESIZE */
18495 # endif /* no NBPC */
18496 # endif /* no NBPG */
18497 # endif /* no EXEC_PAGESIZE */
18498 # else /* no HAVE_SYS_PARAM_H */
18499 # define getpagesize() 8192 /* punt totally */
18500 # endif /* no HAVE_SYS_PARAM_H */
18501 # endif /* no _SC_PAGESIZE */
18503 #endif /* no HAVE_GETPAGESIZE */
18508 char *data, *data2, *data3;
18512 pagesize = getpagesize ();
18514 /* First, make a file with some known garbage in it. */
18515 data = (char *) malloc (pagesize);
18518 for (i = 0; i < pagesize; ++i)
18519 *(data + i) = rand ();
18521 fd = creat ("conftest.mmap", 0600);
18524 if (write (fd, data, pagesize) != pagesize)
18528 /* Next, try to mmap the file at a fixed address which already has
18529 something else allocated at it. If we can, also make sure that
18530 we see the same garbage. */
18531 fd = open ("conftest.mmap", O_RDWR);
18534 data2 = (char *) malloc (2 * pagesize);
18537 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
18538 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
18539 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18541 for (i = 0; i < pagesize; ++i)
18542 if (*(data + i) != *(data2 + i))
18545 /* Finally, make sure that changes to the mapped area do not
18546 percolate back to the file as seen by read(). (This is a bug on
18547 some variants of i386 svr4.0.) */
18548 for (i = 0; i < pagesize; ++i)
18549 *(data2 + i) = *(data2 + i) + 1;
18550 data3 = (char *) malloc (pagesize);
18553 if (read (fd, data3, pagesize) != pagesize)
18555 for (i = 0; i < pagesize; ++i)
18556 if (*(data + i) != *(data3 + i))
18562 rm -f conftest
$ac_exeext
18563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18564 (eval $ac_link) 2>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_cv_func_mmap_fixed_mapped
=yes
18575 echo "$as_me: program exited with status $ac_status" >&5
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.
$ac_ext >&5
18579 ( exit $ac_status )
18580 ac_cv_func_mmap_fixed_mapped
=no
18582 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18585 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
18586 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
18587 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18589 cat >>confdefs.h
<<\_ACEOF
18590 #define HAVE_MMAP 1
18594 rm -f conftest.mmap
18596 echo "$as_me:$LINENO: checking for pid_t" >&5
18597 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
18598 if test "${ac_cv_type_pid_t+set}" = set; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18601 cat >conftest.
$ac_ext <<_ACEOF
18604 cat confdefs.h
>>conftest.
$ac_ext
18605 cat >>conftest.
$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 $ac_includes_default
18613 if (sizeof (pid_t))
18619 rm -f conftest.
$ac_objext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>conftest.er1
18623 grep -v '^ *+' conftest.er1
>conftest.err
18625 cat conftest.err
>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } &&
18628 { ac_try
='test -z "$ac_c_werror_flag"
18629 || test ! -s conftest.err'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; } &&
18635 { ac_try
='test -s conftest.$ac_objext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18641 ac_cv_type_pid_t
=yes
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.
$ac_ext >&5
18646 ac_cv_type_pid_t
=no
18648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18650 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18651 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
18652 if test $ac_cv_type_pid_t = yes; then
18656 cat >>confdefs.h
<<_ACEOF
18664 for ac_header
in unistd.h vfork.h
18666 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18668 echo "$as_me:$LINENO: checking for $ac_header" >&5
18669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18676 # Is the header compilable?
18677 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18679 cat >conftest.
$ac_ext <<_ACEOF
18682 cat confdefs.h
>>conftest.
$ac_ext
18683 cat >>conftest.
$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18685 $ac_includes_default
18686 #include <$ac_header>
18688 rm -f conftest.
$ac_objext
18689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18690 (eval $ac_compile) 2>conftest.er1
18692 grep -v '^ *+' conftest.er1
>conftest.err
18694 cat conftest.err
>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } &&
18697 { ac_try
='test -z "$ac_c_werror_flag"
18698 || test ! -s conftest.err'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; } &&
18704 { ac_try
='test -s conftest.$ac_objext'
18705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18706 (eval $ac_try) 2>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); }; }; then
18710 ac_header_compiler
=yes
18712 echo "$as_me: failed program was:" >&5
18713 sed 's/^/| /' conftest.
$ac_ext >&5
18715 ac_header_compiler
=no
18717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18719 echo "${ECHO_T}$ac_header_compiler" >&6
18721 # Is the header present?
18722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18724 cat >conftest.
$ac_ext <<_ACEOF
18727 cat confdefs.h
>>conftest.
$ac_ext
18728 cat >>conftest.
$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 #include <$ac_header>
18732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18735 grep -v '^ *+' conftest.er1
>conftest.err
18737 cat conftest.err
>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } >/dev
/null
; then
18740 if test -s conftest.err
; then
18741 ac_cpp_err
=$ac_c_preproc_warn_flag
18742 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18749 if test -z "$ac_cpp_err"; then
18750 ac_header_preproc
=yes
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.
$ac_ext >&5
18755 ac_header_preproc
=no
18757 rm -f conftest.err conftest.
$ac_ext
18758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18759 echo "${ECHO_T}$ac_header_preproc" >&6
18761 # So? What about this header?
18762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18768 ac_header_preproc
=yes
18771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18785 ## ------------------------------------------ ##
18786 ## Report this to the AC_PACKAGE_NAME lists. ##
18787 ## ------------------------------------------ ##
18790 sed "s/^/$as_me: WARNING: /" >&2
18793 echo "$as_me:$LINENO: checking for $ac_header" >&5
18794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 eval "$as_ac_Header=\$ac_header_preproc"
18800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18805 cat >>confdefs.h
<<_ACEOF
18806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18815 for ac_func
in fork vfork
18817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18818 echo "$as_me:$LINENO: checking for $ac_func" >&5
18819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18820 if eval "test \"\${$as_ac_var+set}\" = set"; then
18821 echo $ECHO_N "(cached) $ECHO_C" >&6
18823 cat >conftest.
$ac_ext <<_ACEOF
18826 cat confdefs.h
>>conftest.
$ac_ext
18827 cat >>conftest.
$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18831 #define $ac_func innocuous_$ac_func
18833 /* System header to define __stub macros and hopefully few prototypes,
18834 which can conflict with char $ac_func (); below.
18835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18836 <limits.h> exists even on freestanding compilers. */
18839 # include <limits.h>
18841 # include <assert.h>
18846 /* Override any gcc2 internal prototype to avoid an error. */
18851 /* We use char because int might match the return type of a gcc2
18852 builtin and then its argument prototype would still apply. */
18854 /* The GNU C library defines this for functions which it implements
18855 to always fail with ENOSYS. Some functions are actually named
18856 something starting with __ and the normal name is an alias. */
18857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18860 char (*f) () = $ac_func;
18869 return f != $ac_func;
18874 rm -f conftest.
$ac_objext conftest
$ac_exeext
18875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18876 (eval $ac_link) 2>conftest.er1
18878 grep -v '^ *+' conftest.er1
>conftest.err
18880 cat conftest.err
>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } &&
18883 { ac_try
='test -z "$ac_c_werror_flag"
18884 || test ! -s conftest.err'
18885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18886 (eval $ac_try) 2>&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); }; } &&
18890 { ac_try
='test -s conftest$ac_exeext'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; }; then
18896 eval "$as_ac_var=yes"
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18901 eval "$as_ac_var=no"
18903 rm -f conftest.err conftest.
$ac_objext \
18904 conftest
$ac_exeext conftest.
$ac_ext
18906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18908 if test `eval echo '${'$as_ac_var'}'` = yes; then
18909 cat >>confdefs.h
<<_ACEOF
18910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18916 if test "x$ac_cv_func_fork" = xyes
; then
18917 echo "$as_me:$LINENO: checking for working fork" >&5
18918 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
18919 if test "${ac_cv_func_fork_works+set}" = set; then
18920 echo $ECHO_N "(cached) $ECHO_C" >&6
18922 if test "$cross_compiling" = yes; then
18923 ac_cv_func_fork_works
=cross
18925 cat >conftest.
$ac_ext <<_ACEOF
18926 /* By Ruediger Kuhlmann. */
18927 #include <sys/types.h>
18929 # include <unistd.h>
18931 /* Some systems only have a dummy stub for fork() */
18939 rm -f conftest
$ac_exeext
18940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18941 (eval $ac_link) 2>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; }; then
18950 ac_cv_func_fork_works
=yes
18952 echo "$as_me: program exited with status $ac_status" >&5
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.
$ac_ext >&5
18956 ( exit $ac_status )
18957 ac_cv_func_fork_works
=no
18959 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18962 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
18963 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
18966 ac_cv_func_fork_works
=$ac_cv_func_fork
18968 if test "x$ac_cv_func_fork_works" = xcross
; then
18970 *-*-amigaos* |
*-*-msdosdjgpp*)
18971 # Override, as these systems have only a dummy fork() stub
18972 ac_cv_func_fork_works
=no
18975 ac_cv_func_fork_works
=yes
18978 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
18979 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
18981 ac_cv_func_vfork_works
=$ac_cv_func_vfork
18982 if test "x$ac_cv_func_vfork" = xyes
; then
18983 echo "$as_me:$LINENO: checking for working vfork" >&5
18984 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
18985 if test "${ac_cv_func_vfork_works+set}" = set; then
18986 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 if test "$cross_compiling" = yes; then
18989 ac_cv_func_vfork_works
=cross
18991 cat >conftest.
$ac_ext <<_ACEOF
18994 cat confdefs.h
>>conftest.
$ac_ext
18995 cat >>conftest.
$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18997 /* Thanks to Paul Eggert for this test. */
18999 #include <stdlib.h>
19000 #include <sys/types.h>
19001 #include <sys/stat.h>
19002 #include <sys/wait.h>
19004 # include <unistd.h>
19007 # include <vfork.h>
19009 /* On some sparc systems, changes by the child to local and incoming
19010 argument registers are propagated back to the parent. The compiler
19011 is told about this with #include <vfork.h>, but some compilers
19012 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
19013 static variable whose address is put into a register that is
19014 clobbered by the vfork. */
19017 sparc_address_test (int arg)
19019 sparc_address_test (arg) int arg;
19022 static pid_t child;
19040 pid_t parent = getpid ();
19043 sparc_address_test (0);
19048 /* Here is another test for sparc vfork register problems. This
19049 test uses lots of local variables, at least as many local
19050 variables as main has allocated so far including compiler
19051 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
19052 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
19053 reuse the register of parent for one of the local variables,
19054 since it will think that parent can't possibly be used any more
19055 in this routine. Assigning to the local variable will thus
19056 munge parent in the parent process. */
19058 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19059 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19060 /* Convince the compiler that p..p7 are live; otherwise, it might
19061 use the same hardware register for all 8 local variables. */
19062 if (p != p1 || p != p2 || p != p3 || p != p4
19063 || p != p5 || p != p6 || p != p7)
19066 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19067 from child file descriptors. If the child closes a descriptor
19068 before it execs or exits, this munges the parent's descriptor
19069 as well. Test for this by closing stdout in the child. */
19070 _exit(close(fileno(stdout)) != 0);
19075 while (wait(&status) != child)
19078 /* Was there some problem with vforking? */
19081 /* Did the child fail? (This shouldn't happen.) */
19084 /* Did the vfork/compiler bug occur? */
19085 || parent != getpid()
19087 /* Did the file descriptor bug occur? */
19088 || fstat(fileno(stdout), &st) != 0
19093 rm -f conftest
$ac_exeext
19094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19095 (eval $ac_link) 2>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_cv_func_vfork_works
=yes
19106 echo "$as_me: program exited with status $ac_status" >&5
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.
$ac_ext >&5
19110 ( exit $ac_status )
19111 ac_cv_func_vfork_works
=no
19113 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19116 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
19117 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
19120 if test "x$ac_cv_func_fork_works" = xcross
; then
19121 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19122 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19123 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19126 if test "x$ac_cv_func_vfork_works" = xyes
; then
19128 cat >>confdefs.h
<<\_ACEOF
19129 #define HAVE_WORKING_VFORK 1
19134 cat >>confdefs.h
<<\_ACEOF
19139 if test "x$ac_cv_func_fork_works" = xyes
; then
19141 cat >>confdefs.h
<<\_ACEOF
19142 #define HAVE_WORKING_FORK 1
19149 for ac_func
in canonicalize_file_name realpath
19151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19152 echo "$as_me:$LINENO: checking for $ac_func" >&5
19153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19154 if eval "test \"\${$as_ac_var+set}\" = set"; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 cat >conftest.
$ac_ext <<_ACEOF
19160 cat confdefs.h
>>conftest.
$ac_ext
19161 cat >>conftest.
$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19165 #define $ac_func innocuous_$ac_func
19167 /* System header to define __stub macros and hopefully few prototypes,
19168 which can conflict with char $ac_func (); below.
19169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19170 <limits.h> exists even on freestanding compilers. */
19173 # include <limits.h>
19175 # include <assert.h>
19180 /* Override any gcc2 internal prototype to avoid an error. */
19185 /* We use char because int might match the return type of a gcc2
19186 builtin and then its argument prototype would still apply. */
19188 /* The GNU C library defines this for functions which it implements
19189 to always fail with ENOSYS. Some functions are actually named
19190 something starting with __ and the normal name is an alias. */
19191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19194 char (*f) () = $ac_func;
19203 return f != $ac_func;
19208 rm -f conftest.
$ac_objext conftest
$ac_exeext
19209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19210 (eval $ac_link) 2>conftest.er1
19212 grep -v '^ *+' conftest.er1
>conftest.err
19214 cat conftest.err
>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } &&
19217 { ac_try
='test -z "$ac_c_werror_flag"
19218 || test ! -s conftest.err'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; } &&
19224 { ac_try
='test -s conftest$ac_exeext'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 eval "$as_ac_var=yes"
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.
$ac_ext >&5
19235 eval "$as_ac_var=no"
19237 rm -f conftest.err conftest.
$ac_objext \
19238 conftest
$ac_exeext conftest.
$ac_ext
19240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19242 if test `eval echo '${'$as_ac_var'}'` = yes; then
19243 cat >>confdefs.h
<<_ACEOF
19244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19251 for ac_func
in getrusage
19253 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19254 echo "$as_me:$LINENO: checking for $ac_func" >&5
19255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19256 if eval "test \"\${$as_ac_var+set}\" = set"; then
19257 echo $ECHO_N "(cached) $ECHO_C" >&6
19259 cat >conftest.
$ac_ext <<_ACEOF
19262 cat confdefs.h
>>conftest.
$ac_ext
19263 cat >>conftest.
$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19267 #define $ac_func innocuous_$ac_func
19269 /* System header to define __stub macros and hopefully few prototypes,
19270 which can conflict with char $ac_func (); below.
19271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19272 <limits.h> exists even on freestanding compilers. */
19275 # include <limits.h>
19277 # include <assert.h>
19282 /* Override any gcc2 internal prototype to avoid an error. */
19287 /* We use char because int might match the return type of a gcc2
19288 builtin and then its argument prototype would still apply. */
19290 /* The GNU C library defines this for functions which it implements
19291 to always fail with ENOSYS. Some functions are actually named
19292 something starting with __ and the normal name is an alias. */
19293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19296 char (*f) () = $ac_func;
19305 return f != $ac_func;
19310 rm -f conftest.
$ac_objext conftest
$ac_exeext
19311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19312 (eval $ac_link) 2>conftest.er1
19314 grep -v '^ *+' conftest.er1
>conftest.err
19316 cat conftest.err
>&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } &&
19319 { ac_try
='test -z "$ac_c_werror_flag"
19320 || test ! -s conftest.err'
19321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322 (eval $ac_try) 2>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); }; } &&
19326 { ac_try
='test -s conftest$ac_exeext'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; }; then
19332 eval "$as_ac_var=yes"
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.
$ac_ext >&5
19337 eval "$as_ac_var=no"
19339 rm -f conftest.err conftest.
$ac_objext \
19340 conftest
$ac_exeext conftest.
$ac_ext
19342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19344 if test `eval echo '${'$as_ac_var'}'` = yes; then
19345 cat >>confdefs.h
<<_ACEOF
19346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19354 for ac_func
in getuid getgid
19356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19357 echo "$as_me:$LINENO: checking for $ac_func" >&5
19358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19359 if eval "test \"\${$as_ac_var+set}\" = set"; then
19360 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 cat >conftest.
$ac_ext <<_ACEOF
19365 cat confdefs.h
>>conftest.
$ac_ext
19366 cat >>conftest.
$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19370 #define $ac_func innocuous_$ac_func
19372 /* System header to define __stub macros and hopefully few prototypes,
19373 which can conflict with char $ac_func (); below.
19374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19375 <limits.h> exists even on freestanding compilers. */
19378 # include <limits.h>
19380 # include <assert.h>
19385 /* Override any gcc2 internal prototype to avoid an error. */
19390 /* We use char because int might match the return type of a gcc2
19391 builtin and then its argument prototype would still apply. */
19393 /* The GNU C library defines this for functions which it implements
19394 to always fail with ENOSYS. Some functions are actually named
19395 something starting with __ and the normal name is an alias. */
19396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19399 char (*f) () = $ac_func;
19408 return f != $ac_func;
19413 rm -f conftest.
$ac_objext conftest
$ac_exeext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19415 (eval $ac_link) 2>conftest.er1
19417 grep -v '^ *+' conftest.er1
>conftest.err
19419 cat conftest.err
>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); } &&
19422 { ac_try
='test -z "$ac_c_werror_flag"
19423 || test ! -s conftest.err'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; } &&
19429 { ac_try
='test -s conftest$ac_exeext'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; }; then
19435 eval "$as_ac_var=yes"
19437 echo "$as_me: failed program was:" >&5
19438 sed 's/^/| /' conftest.
$ac_ext >&5
19440 eval "$as_ac_var=no"
19442 rm -f conftest.err conftest.
$ac_objext \
19443 conftest
$ac_exeext conftest.
$ac_ext
19445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19447 if test `eval echo '${'$as_ac_var'}'` = yes; then
19448 cat >>confdefs.h
<<_ACEOF
19449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19456 for ac_func
in poll
19458 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19459 echo "$as_me:$LINENO: checking for $ac_func" >&5
19460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19461 if eval "test \"\${$as_ac_var+set}\" = set"; then
19462 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 cat >conftest.
$ac_ext <<_ACEOF
19467 cat confdefs.h
>>conftest.
$ac_ext
19468 cat >>conftest.
$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19472 #define $ac_func innocuous_$ac_func
19474 /* System header to define __stub macros and hopefully few prototypes,
19475 which can conflict with char $ac_func (); below.
19476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19477 <limits.h> exists even on freestanding compilers. */
19480 # include <limits.h>
19482 # include <assert.h>
19487 /* Override any gcc2 internal prototype to avoid an error. */
19492 /* We use char because int might match the return type of a gcc2
19493 builtin and then its argument prototype would still apply. */
19495 /* The GNU C library defines this for functions which it implements
19496 to always fail with ENOSYS. Some functions are actually named
19497 something starting with __ and the normal name is an alias. */
19498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19501 char (*f) () = $ac_func;
19510 return f != $ac_func;
19515 rm -f conftest.
$ac_objext conftest
$ac_exeext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19517 (eval $ac_link) 2>conftest.er1
19519 grep -v '^ *+' conftest.er1
>conftest.err
19521 cat conftest.err
>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try
='test -z "$ac_c_werror_flag"
19525 || test ! -s conftest.err'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } &&
19531 { ac_try
='test -s conftest$ac_exeext'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; }; then
19537 eval "$as_ac_var=yes"
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.
$ac_ext >&5
19542 eval "$as_ac_var=no"
19544 rm -f conftest.err conftest.
$ac_objext \
19545 conftest
$ac_exeext conftest.
$ac_ext
19547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19549 if test `eval echo '${'$as_ac_var'}'` = yes; then
19550 cat >>confdefs.h
<<_ACEOF
19551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19558 for ac_func
in pread64
19560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19561 echo "$as_me:$LINENO: checking for $ac_func" >&5
19562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19563 if eval "test \"\${$as_ac_var+set}\" = set"; then
19564 echo $ECHO_N "(cached) $ECHO_C" >&6
19566 cat >conftest.
$ac_ext <<_ACEOF
19569 cat confdefs.h
>>conftest.
$ac_ext
19570 cat >>conftest.
$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19574 #define $ac_func innocuous_$ac_func
19576 /* System header to define __stub macros and hopefully few prototypes,
19577 which can conflict with char $ac_func (); below.
19578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19579 <limits.h> exists even on freestanding compilers. */
19582 # include <limits.h>
19584 # include <assert.h>
19589 /* Override any gcc2 internal prototype to avoid an error. */
19594 /* We use char because int might match the return type of a gcc2
19595 builtin and then its argument prototype would still apply. */
19597 /* The GNU C library defines this for functions which it implements
19598 to always fail with ENOSYS. Some functions are actually named
19599 something starting with __ and the normal name is an alias. */
19600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19603 char (*f) () = $ac_func;
19612 return f != $ac_func;
19617 rm -f conftest.
$ac_objext conftest
$ac_exeext
19618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19619 (eval $ac_link) 2>conftest.er1
19621 grep -v '^ *+' conftest.er1
>conftest.err
19623 cat conftest.err
>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try
='test -z "$ac_c_werror_flag"
19627 || test ! -s conftest.err'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; } &&
19633 { ac_try
='test -s conftest$ac_exeext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 eval "$as_ac_var=yes"
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.
$ac_ext >&5
19644 eval "$as_ac_var=no"
19646 rm -f conftest.err conftest.
$ac_objext \
19647 conftest
$ac_exeext conftest.
$ac_ext
19649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19651 if test `eval echo '${'$as_ac_var'}'` = yes; then
19652 cat >>confdefs.h
<<_ACEOF
19653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19660 for ac_func
in sbrk
19662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19663 echo "$as_me:$LINENO: checking for $ac_func" >&5
19664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19665 if eval "test \"\${$as_ac_var+set}\" = set"; then
19666 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 cat >conftest.
$ac_ext <<_ACEOF
19671 cat confdefs.h
>>conftest.
$ac_ext
19672 cat >>conftest.
$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19676 #define $ac_func innocuous_$ac_func
19678 /* System header to define __stub macros and hopefully few prototypes,
19679 which can conflict with char $ac_func (); below.
19680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19681 <limits.h> exists even on freestanding compilers. */
19684 # include <limits.h>
19686 # include <assert.h>
19691 /* Override any gcc2 internal prototype to avoid an error. */
19696 /* We use char because int might match the return type of a gcc2
19697 builtin and then its argument prototype would still apply. */
19699 /* The GNU C library defines this for functions which it implements
19700 to always fail with ENOSYS. Some functions are actually named
19701 something starting with __ and the normal name is an alias. */
19702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19705 char (*f) () = $ac_func;
19714 return f != $ac_func;
19719 rm -f conftest.
$ac_objext conftest
$ac_exeext
19720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19721 (eval $ac_link) 2>conftest.er1
19723 grep -v '^ *+' conftest.er1
>conftest.err
19725 cat conftest.err
>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } &&
19728 { ac_try
='test -z "$ac_c_werror_flag"
19729 || test ! -s conftest.err'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; } &&
19735 { ac_try
='test -s conftest$ac_exeext'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; }; then
19741 eval "$as_ac_var=yes"
19743 echo "$as_me: failed program was:" >&5
19744 sed 's/^/| /' conftest.
$ac_ext >&5
19746 eval "$as_ac_var=no"
19748 rm -f conftest.err conftest.
$ac_objext \
19749 conftest
$ac_exeext conftest.
$ac_ext
19751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19753 if test `eval echo '${'$as_ac_var'}'` = yes; then
19754 cat >>confdefs.h
<<_ACEOF
19755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19764 for ac_func
in setpgid setpgrp setsid
19766 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19767 echo "$as_me:$LINENO: checking for $ac_func" >&5
19768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19769 if eval "test \"\${$as_ac_var+set}\" = set"; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 cat >conftest.
$ac_ext <<_ACEOF
19775 cat confdefs.h
>>conftest.
$ac_ext
19776 cat >>conftest.
$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19780 #define $ac_func innocuous_$ac_func
19782 /* System header to define __stub macros and hopefully few prototypes,
19783 which can conflict with char $ac_func (); below.
19784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19785 <limits.h> exists even on freestanding compilers. */
19788 # include <limits.h>
19790 # include <assert.h>
19795 /* Override any gcc2 internal prototype to avoid an error. */
19800 /* We use char because int might match the return type of a gcc2
19801 builtin and then its argument prototype would still apply. */
19803 /* The GNU C library defines this for functions which it implements
19804 to always fail with ENOSYS. Some functions are actually named
19805 something starting with __ and the normal name is an alias. */
19806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19809 char (*f) () = $ac_func;
19818 return f != $ac_func;
19823 rm -f conftest.
$ac_objext conftest
$ac_exeext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19825 (eval $ac_link) 2>conftest.er1
19827 grep -v '^ *+' conftest.er1
>conftest.err
19829 cat conftest.err
>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try
='test -z "$ac_c_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try
='test -s conftest$ac_exeext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 eval "$as_ac_var=yes"
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.
$ac_ext >&5
19850 eval "$as_ac_var=no"
19852 rm -f conftest.err conftest.
$ac_objext \
19853 conftest
$ac_exeext conftest.
$ac_ext
19855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19857 if test `eval echo '${'$as_ac_var'}'` = yes; then
19858 cat >>confdefs.h
<<_ACEOF
19859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19868 for ac_func
in sigaction sigprocmask sigsetmask
19870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19871 echo "$as_me:$LINENO: checking for $ac_func" >&5
19872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19873 if eval "test \"\${$as_ac_var+set}\" = set"; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19876 cat >conftest.
$ac_ext <<_ACEOF
19879 cat confdefs.h
>>conftest.
$ac_ext
19880 cat >>conftest.
$ac_ext <<_ACEOF
19881 /* end confdefs.h. */
19882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19884 #define $ac_func innocuous_$ac_func
19886 /* System header to define __stub macros and hopefully few prototypes,
19887 which can conflict with char $ac_func (); below.
19888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19889 <limits.h> exists even on freestanding compilers. */
19892 # include <limits.h>
19894 # include <assert.h>
19899 /* Override any gcc2 internal prototype to avoid an error. */
19904 /* We use char because int might match the return type of a gcc2
19905 builtin and then its argument prototype would still apply. */
19907 /* The GNU C library defines this for functions which it implements
19908 to always fail with ENOSYS. Some functions are actually named
19909 something starting with __ and the normal name is an alias. */
19910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19913 char (*f) () = $ac_func;
19922 return f != $ac_func;
19927 rm -f conftest.
$ac_objext conftest
$ac_exeext
19928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19929 (eval $ac_link) 2>conftest.er1
19931 grep -v '^ *+' conftest.er1
>conftest.err
19933 cat conftest.err
>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); } &&
19936 { ac_try
='test -z "$ac_c_werror_flag"
19937 || test ! -s conftest.err'
19938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; } &&
19943 { ac_try
='test -s conftest$ac_exeext'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; }; then
19949 eval "$as_ac_var=yes"
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.
$ac_ext >&5
19954 eval "$as_ac_var=no"
19956 rm -f conftest.err conftest.
$ac_objext \
19957 conftest
$ac_exeext conftest.
$ac_ext
19959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19961 if test `eval echo '${'$as_ac_var'}'` = yes; then
19962 cat >>confdefs.h
<<_ACEOF
19963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19970 for ac_func
in socketpair
19972 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19973 echo "$as_me:$LINENO: checking for $ac_func" >&5
19974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19975 if eval "test \"\${$as_ac_var+set}\" = set"; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19978 cat >conftest.
$ac_ext <<_ACEOF
19981 cat confdefs.h
>>conftest.
$ac_ext
19982 cat >>conftest.
$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19986 #define $ac_func innocuous_$ac_func
19988 /* System header to define __stub macros and hopefully few prototypes,
19989 which can conflict with char $ac_func (); below.
19990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19991 <limits.h> exists even on freestanding compilers. */
19994 # include <limits.h>
19996 # include <assert.h>
20001 /* Override any gcc2 internal prototype to avoid an error. */
20006 /* We use char because int might match the return type of a gcc2
20007 builtin and then its argument prototype would still apply. */
20009 /* The GNU C library defines this for functions which it implements
20010 to always fail with ENOSYS. Some functions are actually named
20011 something starting with __ and the normal name is an alias. */
20012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20015 char (*f) () = $ac_func;
20024 return f != $ac_func;
20029 rm -f conftest.
$ac_objext conftest
$ac_exeext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20031 (eval $ac_link) 2>conftest.er1
20033 grep -v '^ *+' conftest.er1
>conftest.err
20035 cat conftest.err
>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } &&
20038 { ac_try
='test -z "$ac_c_werror_flag"
20039 || test ! -s conftest.err'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; } &&
20045 { ac_try
='test -s conftest$ac_exeext'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; }; then
20051 eval "$as_ac_var=yes"
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.
$ac_ext >&5
20056 eval "$as_ac_var=no"
20058 rm -f conftest.err conftest.
$ac_objext \
20059 conftest
$ac_exeext conftest.
$ac_ext
20061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20063 if test `eval echo '${'$as_ac_var'}'` = yes; then
20064 cat >>confdefs.h
<<_ACEOF
20065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20072 for ac_func
in syscall
20074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20075 echo "$as_me:$LINENO: checking for $ac_func" >&5
20076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20077 if eval "test \"\${$as_ac_var+set}\" = set"; then
20078 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 cat >conftest.
$ac_ext <<_ACEOF
20083 cat confdefs.h
>>conftest.
$ac_ext
20084 cat >>conftest.
$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20088 #define $ac_func innocuous_$ac_func
20090 /* System header to define __stub macros and hopefully few prototypes,
20091 which can conflict with char $ac_func (); below.
20092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20093 <limits.h> exists even on freestanding compilers. */
20096 # include <limits.h>
20098 # include <assert.h>
20103 /* Override any gcc2 internal prototype to avoid an error. */
20108 /* We use char because int might match the return type of a gcc2
20109 builtin and then its argument prototype would still apply. */
20111 /* The GNU C library defines this for functions which it implements
20112 to always fail with ENOSYS. Some functions are actually named
20113 something starting with __ and the normal name is an alias. */
20114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20117 char (*f) () = $ac_func;
20126 return f != $ac_func;
20131 rm -f conftest.
$ac_objext conftest
$ac_exeext
20132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20133 (eval $ac_link) 2>conftest.er1
20135 grep -v '^ *+' conftest.er1
>conftest.err
20137 cat conftest.err
>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try
='test -z "$ac_c_werror_flag"
20141 || test ! -s conftest.err'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try
='test -s conftest$ac_exeext'
20148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20149 (eval $ac_try) 2>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; }; then
20153 eval "$as_ac_var=yes"
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.
$ac_ext >&5
20158 eval "$as_ac_var=no"
20160 rm -f conftest.err conftest.
$ac_objext \
20161 conftest
$ac_exeext conftest.
$ac_ext
20163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20165 if test `eval echo '${'$as_ac_var'}'` = yes; then
20166 cat >>confdefs.h
<<_ACEOF
20167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20174 for ac_func
in ttrace
20176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20177 echo "$as_me:$LINENO: checking for $ac_func" >&5
20178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20179 if eval "test \"\${$as_ac_var+set}\" = set"; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20182 cat >conftest.
$ac_ext <<_ACEOF
20185 cat confdefs.h
>>conftest.
$ac_ext
20186 cat >>conftest.
$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20190 #define $ac_func innocuous_$ac_func
20192 /* System header to define __stub macros and hopefully few prototypes,
20193 which can conflict with char $ac_func (); below.
20194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20195 <limits.h> exists even on freestanding compilers. */
20198 # include <limits.h>
20200 # include <assert.h>
20205 /* Override any gcc2 internal prototype to avoid an error. */
20210 /* We use char because int might match the return type of a gcc2
20211 builtin and then its argument prototype would still apply. */
20213 /* The GNU C library defines this for functions which it implements
20214 to always fail with ENOSYS. Some functions are actually named
20215 something starting with __ and the normal name is an alias. */
20216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20219 char (*f) () = $ac_func;
20228 return f != $ac_func;
20233 rm -f conftest.
$ac_objext conftest
$ac_exeext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235 (eval $ac_link) 2>conftest.er1
20237 grep -v '^ *+' conftest.er1
>conftest.err
20239 cat conftest.err
>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try
='test -z "$ac_c_werror_flag"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try
='test -s conftest$ac_exeext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 eval "$as_ac_var=yes"
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.
$ac_ext >&5
20260 eval "$as_ac_var=no"
20262 rm -f conftest.err conftest.
$ac_objext \
20263 conftest
$ac_exeext conftest.
$ac_ext
20265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20267 if test `eval echo '${'$as_ac_var'}'` = yes; then
20268 cat >>confdefs.h
<<_ACEOF
20269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20276 for ac_func
in wborder
20278 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20279 echo "$as_me:$LINENO: checking for $ac_func" >&5
20280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20281 if eval "test \"\${$as_ac_var+set}\" = set"; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 cat >conftest.
$ac_ext <<_ACEOF
20287 cat confdefs.h
>>conftest.
$ac_ext
20288 cat >>conftest.
$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20292 #define $ac_func innocuous_$ac_func
20294 /* System header to define __stub macros and hopefully few prototypes,
20295 which can conflict with char $ac_func (); below.
20296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20297 <limits.h> exists even on freestanding compilers. */
20300 # include <limits.h>
20302 # include <assert.h>
20307 /* Override any gcc2 internal prototype to avoid an error. */
20312 /* We use char because int might match the return type of a gcc2
20313 builtin and then its argument prototype would still apply. */
20315 /* The GNU C library defines this for functions which it implements
20316 to always fail with ENOSYS. Some functions are actually named
20317 something starting with __ and the normal name is an alias. */
20318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20321 char (*f) () = $ac_func;
20330 return f != $ac_func;
20335 rm -f conftest.
$ac_objext conftest
$ac_exeext
20336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20337 (eval $ac_link) 2>conftest.er1
20339 grep -v '^ *+' conftest.er1
>conftest.err
20341 cat conftest.err
>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } &&
20344 { ac_try
='test -z "$ac_c_werror_flag"
20345 || test ! -s conftest.err'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; } &&
20351 { ac_try
='test -s conftest$ac_exeext'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 eval "$as_ac_var=yes"
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.
$ac_ext >&5
20362 eval "$as_ac_var=no"
20364 rm -f conftest.err conftest.
$ac_objext \
20365 conftest
$ac_exeext conftest.
$ac_ext
20367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20369 if test `eval echo '${'$as_ac_var'}'` = yes; then
20370 cat >>confdefs.h
<<_ACEOF
20371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20378 # Check the return and argument types of ptrace. No canned test for
20379 # this, so roll our own.
20380 gdb_ptrace_headers
='
20381 #if HAVE_SYS_TYPES_H
20382 # include <sys/types.h>
20384 #if HAVE_SYS_PTRACE_H
20385 # include <sys/ptrace.h>
20388 # include <unistd.h>
20391 # There is no point in checking if we don't have a prototype.
20392 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
20393 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
20394 if test "${ac_cv_have_decl_ptrace+set}" = set; then
20395 echo $ECHO_N "(cached) $ECHO_C" >&6
20397 cat >conftest.
$ac_ext <<_ACEOF
20400 cat confdefs.h
>>conftest.
$ac_ext
20401 cat >>conftest.
$ac_ext <<_ACEOF
20402 /* end confdefs.h. */
20403 $gdb_ptrace_headers
20409 char *p = (char *) ptrace;
20416 rm -f conftest.
$ac_objext
20417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20418 (eval $ac_compile) 2>conftest.er1
20420 grep -v '^ *+' conftest.er1
>conftest.err
20422 cat conftest.err
>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } &&
20425 { ac_try
='test -z "$ac_c_werror_flag"
20426 || test ! -s conftest.err'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; } &&
20432 { ac_try
='test -s conftest.$ac_objext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20438 ac_cv_have_decl_ptrace
=yes
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.
$ac_ext >&5
20443 ac_cv_have_decl_ptrace
=no
20445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20447 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
20448 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
20449 if test $ac_cv_have_decl_ptrace = yes; then
20451 cat >>confdefs.h
<<_ACEOF
20452 #define HAVE_DECL_PTRACE 1
20457 cat >>confdefs.h
<<_ACEOF
20458 #define HAVE_DECL_PTRACE 0
20462 : ${gdb_cv_func_ptrace_ret='int'}
20463 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
20468 # Check return type. Varargs (used on GNU/Linux) conflict with the
20469 # empty argument list, so check for that explicitly.
20470 echo "$as_me:$LINENO: checking return type of ptrace" >&5
20471 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
20472 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20475 cat >conftest.
$ac_ext <<_ACEOF
20478 cat confdefs.h
>>conftest.
$ac_ext
20479 cat >>conftest.
$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 $gdb_ptrace_headers
20485 extern long ptrace (enum __ptrace_request, ...);
20490 rm -f conftest.
$ac_objext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20492 (eval $ac_compile) 2>conftest.er1
20494 grep -v '^ *+' conftest.er1
>conftest.err
20496 cat conftest.err
>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } &&
20499 { ac_try
='test -z "$ac_c_werror_flag"
20500 || test ! -s conftest.err'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; } &&
20506 { ac_try
='test -s conftest.$ac_objext'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; }; then
20512 gdb_cv_func_ptrace_ret
='long'
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.
$ac_ext >&5
20517 cat >conftest.
$ac_ext <<_ACEOF
20520 cat confdefs.h
>>conftest.
$ac_ext
20521 cat >>conftest.
$ac_ext <<_ACEOF
20522 /* end confdefs.h. */
20523 $gdb_ptrace_headers
20527 extern int ptrace ();
20532 rm -f conftest.
$ac_objext
20533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20534 (eval $ac_compile) 2>conftest.er1
20536 grep -v '^ *+' conftest.er1
>conftest.err
20538 cat conftest.err
>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } &&
20541 { ac_try
='test -z "$ac_c_werror_flag"
20542 || test ! -s conftest.err'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; } &&
20548 { ac_try
='test -s conftest.$ac_objext'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 gdb_cv_func_ptrace_ret
='int'
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 gdb_cv_func_ptrace_ret
='long'
20561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20565 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
20566 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
20568 cat >>confdefs.h
<<_ACEOF
20569 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
20572 # Check argument types.
20573 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
20574 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
20575 if test "${gdb_cv_func_ptrace_args+set}" = set; then
20576 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 cat >conftest.
$ac_ext <<_ACEOF
20582 cat confdefs.h
>>conftest.
$ac_ext
20583 cat >>conftest.
$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $gdb_ptrace_headers
20589 extern long ptrace (enum __ptrace_request, ...);
20594 rm -f conftest.
$ac_objext
20595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20596 (eval $ac_compile) 2>conftest.er1
20598 grep -v '^ *+' conftest.er1
>conftest.err
20600 cat conftest.err
>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } &&
20603 { ac_try
='test -z "$ac_c_werror_flag"
20604 || test ! -s conftest.err'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; } &&
20610 { ac_try
='test -s conftest.$ac_objext'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; }; then
20616 gdb_cv_func_ptrace_args
='int,int,long,long'
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.
$ac_ext >&5
20622 for gdb_arg1
in 'int' 'long'; do
20623 for gdb_arg2
in 'pid_t' 'int' 'long'; do
20624 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long' 'void *'; do
20625 for gdb_arg4
in 'int' 'long'; do
20626 cat >conftest.
$ac_ext <<_ACEOF
20629 cat confdefs.h
>>conftest.
$ac_ext
20630 cat >>conftest.
$ac_ext <<_ACEOF
20631 /* end confdefs.h. */
20632 $gdb_ptrace_headers
20637 extern $gdb_cv_func_ptrace_ret
20638 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
20644 rm -f conftest.
$ac_objext
20645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20646 (eval $ac_compile) 2>conftest.er1
20648 grep -v '^ *+' conftest.er1
>conftest.err
20650 cat conftest.err
>&5
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } &&
20653 { ac_try
='test -z "$ac_c_werror_flag"
20654 || test ! -s conftest.err'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; } &&
20660 { ac_try
='test -s conftest.$ac_objext'
20661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20662 (eval $ac_try) 2>&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); }; }; then
20666 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
20669 echo "$as_me: failed program was:" >&5
20670 sed 's/^/| /' conftest.
$ac_ext >&5
20673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20674 for gdb_arg5
in 'int *' 'int' 'long'; do
20675 cat >conftest.
$ac_ext <<_ACEOF
20678 cat confdefs.h
>>conftest.
$ac_ext
20679 cat >>conftest.
$ac_ext <<_ACEOF
20680 /* end confdefs.h. */
20681 $gdb_ptrace_headers
20686 extern $gdb_cv_func_ptrace_ret
20687 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
20693 rm -f conftest.
$ac_objext
20694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20695 (eval $ac_compile) 2>conftest.er1
20697 grep -v '^ *+' conftest.er1
>conftest.err
20699 cat conftest.err
>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } &&
20702 { ac_try
='test -z "$ac_c_werror_flag"
20703 || test ! -s conftest.err'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try
='test -s conftest.$ac_objext'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; }; then
20716 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.
$ac_ext >&5
20723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20729 # Provide a safe default value.
20730 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
20733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20735 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
20736 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
20737 ac_save_IFS
=$IFS; IFS
=','
20738 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
20742 cat >>confdefs.h
<<_ACEOF
20743 #define PTRACE_TYPE_ARG3 $3
20746 if test -n "$5"; then
20748 cat >>confdefs.h
<<_ACEOF
20749 #define PTRACE_TYPE_ARG5 $5
20754 if test "$cross_compiling" = no
; then
20755 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20756 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
20757 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20758 echo $ECHO_N "(cached) $ECHO_C" >&6
20760 if test "$cross_compiling" = yes; then
20761 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
20762 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
20763 { (exit 1); exit 1; }; }
20765 cat >conftest.
$ac_ext <<_ACEOF
20768 cat confdefs.h
>>conftest.
$ac_ext
20769 cat >>conftest.
$ac_ext <<_ACEOF
20770 /* end confdefs.h. */
20772 # include <unistd.h>
20778 /* If this system has a BSD-style setpgrp which takes arguments,
20779 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
20780 exit successfully. */
20781 exit (setpgrp (1,1) == -1 ? 0 : 1);
20786 rm -f conftest
$ac_exeext
20787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20788 (eval $ac_link) 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 ac_cv_func_setpgrp_void
=no
20799 echo "$as_me: program exited with status $ac_status" >&5
20800 echo "$as_me: failed program was:" >&5
20801 sed 's/^/| /' conftest.
$ac_ext >&5
20803 ( exit $ac_status )
20804 ac_cv_func_setpgrp_void
=yes
20806 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20809 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20810 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
20811 if test $ac_cv_func_setpgrp_void = yes; then
20813 cat >>confdefs.h
<<\_ACEOF
20814 #define SETPGRP_VOID 1
20820 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20821 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
20822 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20823 echo $ECHO_N "(cached) $ECHO_C" >&6
20825 cat >conftest.
$ac_ext <<_ACEOF
20828 cat confdefs.h
>>conftest.
$ac_ext
20829 cat >>conftest.
$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20832 #include <unistd.h>
20838 if (setpgrp(1,1) == -1)
20847 rm -f conftest.
$ac_objext
20848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20849 (eval $ac_compile) 2>conftest.er1
20851 grep -v '^ *+' conftest.er1
>conftest.err
20853 cat conftest.err
>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } &&
20856 { ac_try
='test -z "$ac_c_werror_flag"
20857 || test ! -s conftest.err'
20858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20859 (eval $ac_try) 2>&5
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); }; } &&
20863 { ac_try
='test -s conftest.$ac_objext'
20864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20865 (eval $ac_try) 2>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); }; }; then
20869 ac_cv_func_setpgrp_void
=no
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.
$ac_ext >&5
20874 ac_cv_func_setpgrp_void
=yes
20876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20878 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20879 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
20880 if test $ac_cv_func_setpgrp_void = yes; then
20881 cat >>confdefs.h
<<\_ACEOF
20882 #define SETPGRP_VOID 1
20888 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
20889 # since sigsetjmp might only be defined as a macro.
20890 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
20891 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
20892 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
20893 echo $ECHO_N "(cached) $ECHO_C" >&6
20895 cat >conftest.
$ac_ext <<_ACEOF
20898 cat confdefs.h
>>conftest.
$ac_ext
20899 cat >>conftest.
$ac_ext <<_ACEOF
20900 /* end confdefs.h. */
20902 #include <setjmp.h>
20907 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
20912 rm -f conftest.
$ac_objext
20913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20914 (eval $ac_compile) 2>conftest.er1
20916 grep -v '^ *+' conftest.er1
>conftest.err
20918 cat conftest.err
>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } &&
20921 { ac_try
='test -z "$ac_c_werror_flag"
20922 || test ! -s conftest.err'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; } &&
20928 { ac_try
='test -s conftest.$ac_objext'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; }; then
20934 gdb_cv_func_sigsetjmp
=yes
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.
$ac_ext >&5
20939 gdb_cv_func_sigsetjmp
=no
20941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20943 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
20944 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
20945 if test $gdb_cv_func_sigsetjmp = yes; then
20947 cat >>confdefs.h
<<\_ACEOF
20948 #define HAVE_SIGSETJMP 1
20953 # Assume we'll default to using the included libiberty regex.
20954 gdb_use_included_regex
=yes
20956 # However, if the system regex is GNU regex, then default to *not*
20957 # using the included regex.
20958 echo "$as_me:$LINENO: checking for GNU regex" >&5
20959 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
20960 if test "${gdb_cv_have_gnu_regex+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20963 cat >conftest.
$ac_ext <<_ACEOF
20966 cat confdefs.h
>>conftest.
$ac_ext
20967 cat >>conftest.
$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20969 #include <gnu-versions.h>
20973 #define REGEX_INTERFACE_VERSION 1
20974 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
20975 # error "Version mismatch"
20981 rm -f conftest.
$ac_objext
20982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20983 (eval $ac_compile) 2>conftest.er1
20985 grep -v '^ *+' conftest.er1
>conftest.err
20987 cat conftest.err
>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); } &&
20990 { ac_try
='test -z "$ac_c_werror_flag"
20991 || test ! -s conftest.err'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; } &&
20997 { ac_try
='test -s conftest.$ac_objext'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; }; then
21003 gdb_cv_have_gnu_regex
=yes
21005 echo "$as_me: failed program was:" >&5
21006 sed 's/^/| /' conftest.
$ac_ext >&5
21008 gdb_cv_have_gnu_regex
=no
21010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21012 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
21013 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
21014 if test $gdb_cv_have_gnu_regex = yes; then
21015 gdb_use_included_regex
=no
21019 # Check whether --with-included-regex or --without-included-regex was given.
21020 if test "${with_included_regex+set}" = set; then
21021 withval
="$with_included_regex"
21022 gdb_with_regex
=$withval
21024 gdb_with_regex
=$gdb_use_included_regex
21026 if test "$gdb_with_regex" = yes; then
21028 cat >>confdefs.h
<<\_ACEOF
21029 #define USE_INCLUDED_REGEX 1
21034 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
21035 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
21036 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
21037 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 cat >conftest.
$ac_ext <<_ACEOF
21043 cat confdefs.h
>>conftest.
$ac_ext
21044 cat >>conftest.
$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 #include <sys/param.h>
21047 #include <sys/proc.h>
21053 static struct thread ac_aggr;
21054 if (ac_aggr.td_pcb)
21060 rm -f conftest.
$ac_objext
21061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21062 (eval $ac_compile) 2>conftest.er1
21064 grep -v '^ *+' conftest.er1
>conftest.err
21066 cat conftest.err
>&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } &&
21069 { ac_try
='test -z "$ac_c_werror_flag"
21070 || test ! -s conftest.err'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; } &&
21076 { ac_try
='test -s conftest.$ac_objext'
21077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21078 (eval $ac_try) 2>&5
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); }; }; then
21082 ac_cv_member_struct_thread_td_pcb
=yes
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.
$ac_ext >&5
21087 cat >conftest.
$ac_ext <<_ACEOF
21090 cat confdefs.h
>>conftest.
$ac_ext
21091 cat >>conftest.
$ac_ext <<_ACEOF
21092 /* end confdefs.h. */
21093 #include <sys/param.h>
21094 #include <sys/proc.h>
21100 static struct thread ac_aggr;
21101 if (sizeof ac_aggr.td_pcb)
21107 rm -f conftest.
$ac_objext
21108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21109 (eval $ac_compile) 2>conftest.er1
21111 grep -v '^ *+' conftest.er1
>conftest.err
21113 cat conftest.err
>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } &&
21116 { ac_try
='test -z "$ac_c_werror_flag"
21117 || test ! -s conftest.err'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; } &&
21123 { ac_try
='test -s conftest.$ac_objext'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; }; then
21129 ac_cv_member_struct_thread_td_pcb
=yes
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.
$ac_ext >&5
21134 ac_cv_member_struct_thread_td_pcb
=no
21136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21140 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
21141 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
21142 if test $ac_cv_member_struct_thread_td_pcb = yes; then
21144 cat >>confdefs.h
<<_ACEOF
21145 #define HAVE_STRUCT_THREAD_TD_PCB 1
21152 # See if <sys/lwp.h> defines `struct lwp`.
21153 echo "$as_me:$LINENO: checking for struct lwp" >&5
21154 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
21155 if test "${gdb_cv_struct_lwp+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 cat >conftest.
$ac_ext <<_ACEOF
21161 cat confdefs.h
>>conftest.
$ac_ext
21162 cat >>conftest.
$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 #include <sys/param.h>
21165 #include <sys/lwp.h>
21174 rm -f conftest.
$ac_objext
21175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21176 (eval $ac_compile) 2>conftest.er1
21178 grep -v '^ *+' conftest.er1
>conftest.err
21180 cat conftest.err
>&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } &&
21183 { ac_try
='test -z "$ac_c_werror_flag"
21184 || test ! -s conftest.err'
21185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21186 (eval $ac_try) 2>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); }; } &&
21190 { ac_try
='test -s conftest.$ac_objext'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; }; then
21196 gdb_cv_struct_lwp
=yes
21198 echo "$as_me: failed program was:" >&5
21199 sed 's/^/| /' conftest.
$ac_ext >&5
21201 gdb_cv_struct_lwp
=no
21203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21205 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
21206 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
21207 if test $gdb_cv_struct_lwp = yes; then
21209 cat >>confdefs.h
<<\_ACEOF
21210 #define HAVE_STRUCT_LWP 1
21215 # See if <machine/reg.h> degines `struct reg'.
21216 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
21217 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
21218 if test "${gdb_cv_struct_reg+set}" = set; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 cat >conftest.
$ac_ext <<_ACEOF
21224 cat confdefs.h
>>conftest.
$ac_ext
21225 cat >>conftest.
$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21227 #include <sys/types.h>
21228 #include <machine/reg.h>
21237 rm -f conftest.
$ac_objext
21238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21239 (eval $ac_compile) 2>conftest.er1
21241 grep -v '^ *+' conftest.er1
>conftest.err
21243 cat conftest.err
>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } &&
21246 { ac_try
='test -z "$ac_c_werror_flag"
21247 || test ! -s conftest.err'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; } &&
21253 { ac_try
='test -s conftest.$ac_objext'
21254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21255 (eval $ac_try) 2>&5
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; }; then
21259 gdb_cv_struct_reg
=yes
21261 echo "$as_me: failed program was:" >&5
21262 sed 's/^/| /' conftest.
$ac_ext >&5
21264 gdb_cv_struct_reg
=no
21266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21268 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
21269 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
21270 if test $gdb_cv_struct_reg = yes; then
21272 cat >>confdefs.h
<<\_ACEOF
21273 #define HAVE_STRUCT_REG 1
21278 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
21279 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
21280 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
21281 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
21282 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 cat >conftest.
$ac_ext <<_ACEOF
21288 cat confdefs.h
>>conftest.
$ac_ext
21289 cat >>conftest.
$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 #include <machine/reg.h>
21296 static struct reg ac_aggr;
21303 rm -f conftest.
$ac_objext
21304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21305 (eval $ac_compile) 2>conftest.er1
21307 grep -v '^ *+' conftest.er1
>conftest.err
21309 cat conftest.err
>&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } &&
21312 { ac_try
='test -z "$ac_c_werror_flag"
21313 || test ! -s conftest.err'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; } &&
21319 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21325 ac_cv_member_struct_reg_r_fs
=yes
21327 echo "$as_me: failed program was:" >&5
21328 sed 's/^/| /' conftest.
$ac_ext >&5
21330 cat >conftest.
$ac_ext <<_ACEOF
21333 cat confdefs.h
>>conftest.
$ac_ext
21334 cat >>conftest.
$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 #include <machine/reg.h>
21341 static struct reg ac_aggr;
21342 if (sizeof ac_aggr.r_fs)
21348 rm -f conftest.
$ac_objext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21350 (eval $ac_compile) 2>conftest.er1
21352 grep -v '^ *+' conftest.er1
>conftest.err
21354 cat conftest.err
>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } &&
21357 { ac_try
='test -z "$ac_c_werror_flag"
21358 || test ! -s conftest.err'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; } &&
21364 { ac_try
='test -s conftest.$ac_objext'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_cv_member_struct_reg_r_fs
=yes
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.
$ac_ext >&5
21375 ac_cv_member_struct_reg_r_fs
=no
21377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21381 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
21382 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
21383 if test $ac_cv_member_struct_reg_r_fs = yes; then
21385 cat >>confdefs.h
<<_ACEOF
21386 #define HAVE_STRUCT_REG_R_FS 1
21391 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
21392 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
21393 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 cat >conftest.
$ac_ext <<_ACEOF
21399 cat confdefs.h
>>conftest.
$ac_ext
21400 cat >>conftest.
$ac_ext <<_ACEOF
21401 /* end confdefs.h. */
21402 #include <machine/reg.h>
21407 static struct reg ac_aggr;
21414 rm -f conftest.
$ac_objext
21415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21416 (eval $ac_compile) 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try
='test -z "$ac_c_werror_flag"
21424 || test ! -s conftest.err'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; } &&
21430 { ac_try
='test -s conftest.$ac_objext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21436 ac_cv_member_struct_reg_r_gs
=yes
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.
$ac_ext >&5
21441 cat >conftest.
$ac_ext <<_ACEOF
21444 cat confdefs.h
>>conftest.
$ac_ext
21445 cat >>conftest.
$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21447 #include <machine/reg.h>
21452 static struct reg ac_aggr;
21453 if (sizeof ac_aggr.r_gs)
21459 rm -f conftest.
$ac_objext
21460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21461 (eval $ac_compile) 2>conftest.er1
21463 grep -v '^ *+' conftest.er1
>conftest.err
21465 cat conftest.err
>&5
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); } &&
21468 { ac_try
='test -z "$ac_c_werror_flag"
21469 || test ! -s conftest.err'
21470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21471 (eval $ac_try) 2>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); }; } &&
21475 { ac_try
='test -s conftest.$ac_objext'
21476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477 (eval $ac_try) 2>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); }; }; then
21481 ac_cv_member_struct_reg_r_gs
=yes
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.
$ac_ext >&5
21486 ac_cv_member_struct_reg_r_gs
=no
21488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21492 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
21493 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
21494 if test $ac_cv_member_struct_reg_r_gs = yes; then
21496 cat >>confdefs.h
<<_ACEOF
21497 #define HAVE_STRUCT_REG_R_GS 1
21504 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
21505 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
21506 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
21507 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
21508 echo $ECHO_N "(cached) $ECHO_C" >&6
21510 cat >conftest.
$ac_ext <<_ACEOF
21513 cat confdefs.h
>>conftest.
$ac_ext
21514 cat >>conftest.
$ac_ext <<_ACEOF
21515 /* end confdefs.h. */
21516 #include <sys/ptrace.h>
21525 rm -f conftest.
$ac_objext
21526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21527 (eval $ac_compile) 2>conftest.er1
21529 grep -v '^ *+' conftest.er1
>conftest.err
21531 cat conftest.err
>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); } &&
21534 { ac_try
='test -z "$ac_c_werror_flag"
21535 || test ! -s conftest.err'
21536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537 (eval $ac_try) 2>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); }; } &&
21541 { ac_try
='test -s conftest.$ac_objext'
21542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21543 (eval $ac_try) 2>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); }; }; then
21547 gdb_cv_have_ptrace_getregs
=yes
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.
$ac_ext >&5
21552 gdb_cv_have_ptrace_getregs
=no
21554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21557 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
21558 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
21559 if test $gdb_cv_have_ptrace_getregs = yes; then
21561 cat >>confdefs.h
<<\_ACEOF
21562 #define HAVE_PTRACE_GETREGS 1
21567 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
21568 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
21569 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
21570 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
21571 echo $ECHO_N "(cached) $ECHO_C" >&6
21573 cat >conftest.
$ac_ext <<_ACEOF
21576 cat confdefs.h
>>conftest.
$ac_ext
21577 cat >>conftest.
$ac_ext <<_ACEOF
21578 /* end confdefs.h. */
21579 #include <sys/ptrace.h>
21588 rm -f conftest.
$ac_objext
21589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21590 (eval $ac_compile) 2>conftest.er1
21592 grep -v '^ *+' conftest.er1
>conftest.err
21594 cat conftest.err
>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try
='test -z "$ac_c_werror_flag"
21598 || test ! -s conftest.err'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; } &&
21604 { ac_try
='test -s conftest.$ac_objext'
21605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21606 (eval $ac_try) 2>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; }; then
21610 gdb_cv_have_ptrace_getfpxregs
=yes
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.
$ac_ext >&5
21615 gdb_cv_have_ptrace_getfpxregs
=no
21617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21620 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
21621 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
21622 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
21624 cat >>confdefs.h
<<\_ACEOF
21625 #define HAVE_PTRACE_GETFPXREGS 1
21630 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
21631 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
21632 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
21633 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21636 cat >conftest.
$ac_ext <<_ACEOF
21639 cat confdefs.h
>>conftest.
$ac_ext
21640 cat >>conftest.
$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21642 #include <sys/types.h>
21643 #include <sys/ptrace.h>
21652 rm -f conftest.
$ac_objext
21653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21654 (eval $ac_compile) 2>conftest.er1
21656 grep -v '^ *+' conftest.er1
>conftest.err
21658 cat conftest.err
>&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } &&
21661 { ac_try
='test -z "$ac_c_werror_flag"
21662 || test ! -s conftest.err'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; } &&
21668 { ac_try
='test -s conftest.$ac_objext'
21669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21670 (eval $ac_try) 2>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); }; }; then
21674 gdb_cv_have_pt_getdbregs
=yes
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.
$ac_ext >&5
21679 gdb_cv_have_pt_getdbregs
=no
21681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21684 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
21685 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
21686 if test $gdb_cv_have_pt_getdbregs = yes; then
21688 cat >>confdefs.h
<<\_ACEOF
21689 #define HAVE_PT_GETDBREGS 1
21694 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
21695 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
21696 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
21697 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21700 cat >conftest.
$ac_ext <<_ACEOF
21703 cat confdefs.h
>>conftest.
$ac_ext
21704 cat >>conftest.
$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21706 #include <sys/types.h>
21707 #include <sys/ptrace.h>
21716 rm -f conftest.
$ac_objext
21717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21718 (eval $ac_compile) 2>conftest.er1
21720 grep -v '^ *+' conftest.er1
>conftest.err
21722 cat conftest.err
>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
21725 { ac_try
='test -z "$ac_c_werror_flag"
21726 || test ! -s conftest.err'
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; } &&
21732 { ac_try
='test -s conftest.$ac_objext'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; }; then
21738 gdb_cv_have_pt_getxmmregs
=yes
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.
$ac_ext >&5
21743 gdb_cv_have_pt_getxmmregs
=no
21745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21748 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
21749 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
21750 if test $gdb_cv_have_pt_getxmmregs = yes; then
21752 cat >>confdefs.h
<<\_ACEOF
21753 #define HAVE_PT_GETXMMREGS 1
21758 # Detect which type of /proc is in use, such as for Unixware or Solaris.
21760 if test "${target}" = "${host}"; then
21762 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
21764 cat >>confdefs.h
<<\_ACEOF
21765 #define NEW_PROC_API 1
21769 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9]*)
21771 cat >>confdefs.h
<<\_ACEOF
21772 #define NEW_PROC_API 1
21777 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
21779 cat >>confdefs.h
<<\_ACEOF
21780 #define _KMEMUSER 1
21787 if test "$ac_cv_header_sys_procfs_h" = yes; then
21788 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
21789 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
21790 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
21791 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 cat >conftest.
$ac_ext <<_ACEOF
21796 cat confdefs.h
>>conftest.
$ac_ext
21797 cat >>conftest.
$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21801 #include <sys/procfs.h>
21810 rm -f conftest.
$ac_objext
21811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21812 (eval $ac_compile) 2>conftest.er1
21814 grep -v '^ *+' conftest.er1
>conftest.err
21816 cat conftest.err
>&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); } &&
21819 { ac_try
='test -z "$ac_c_werror_flag"
21820 || test ! -s conftest.err'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; } &&
21826 { ac_try
='test -s conftest.$ac_objext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.
$ac_ext >&5
21837 bfd_cv_have_sys_procfs_type_pstatus_t
=no
21840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21843 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
21845 cat >>confdefs.h
<<\_ACEOF
21846 #define HAVE_PSTATUS_T 1
21850 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
21851 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
21853 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
21854 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
21855 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
21856 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 cat >conftest.
$ac_ext <<_ACEOF
21861 cat confdefs.h
>>conftest.
$ac_ext
21862 cat >>conftest.
$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21866 #include <sys/procfs.h>
21875 rm -f conftest.
$ac_objext
21876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21877 (eval $ac_compile) 2>conftest.er1
21879 grep -v '^ *+' conftest.er1
>conftest.err
21881 cat conftest.err
>&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } &&
21884 { ac_try
='test -z "$ac_c_werror_flag"
21885 || test ! -s conftest.err'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; } &&
21891 { ac_try
='test -s conftest.$ac_objext'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; }; then
21897 bfd_cv_have_sys_procfs_type_prrun_t
=yes
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.
$ac_ext >&5
21902 bfd_cv_have_sys_procfs_type_prrun_t
=no
21905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21908 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
21910 cat >>confdefs.h
<<\_ACEOF
21911 #define HAVE_PRRUN_T 1
21915 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
21916 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
21918 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
21919 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
21920 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
21921 echo $ECHO_N "(cached) $ECHO_C" >&6
21923 cat >conftest.
$ac_ext <<_ACEOF
21926 cat confdefs.h
>>conftest.
$ac_ext
21927 cat >>conftest.
$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21931 #include <sys/procfs.h>
21940 rm -f conftest.
$ac_objext
21941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21942 (eval $ac_compile) 2>conftest.er1
21944 grep -v '^ *+' conftest.er1
>conftest.err
21946 cat conftest.err
>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } &&
21949 { ac_try
='test -z "$ac_c_werror_flag"
21950 || test ! -s conftest.err'
21951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21952 (eval $ac_try) 2>&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); }; } &&
21956 { ac_try
='test -s conftest.$ac_objext'
21957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21958 (eval $ac_try) 2>&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); }; }; then
21962 bfd_cv_have_sys_procfs_type_gregset_t
=yes
21964 echo "$as_me: failed program was:" >&5
21965 sed 's/^/| /' conftest.
$ac_ext >&5
21967 bfd_cv_have_sys_procfs_type_gregset_t
=no
21970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21973 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
21975 cat >>confdefs.h
<<\_ACEOF
21976 #define HAVE_GREGSET_T 1
21980 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
21981 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
21983 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
21984 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
21985 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
21986 echo $ECHO_N "(cached) $ECHO_C" >&6
21988 cat >conftest.
$ac_ext <<_ACEOF
21991 cat confdefs.h
>>conftest.
$ac_ext
21992 cat >>conftest.
$ac_ext <<_ACEOF
21993 /* end confdefs.h. */
21996 #include <sys/procfs.h>
22005 rm -f conftest.
$ac_objext
22006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22007 (eval $ac_compile) 2>conftest.er1
22009 grep -v '^ *+' conftest.er1
>conftest.err
22011 cat conftest.err
>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } &&
22014 { ac_try
='test -z "$ac_c_werror_flag"
22015 || test ! -s conftest.err'
22016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22017 (eval $ac_try) 2>&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; } &&
22021 { ac_try
='test -s conftest.$ac_objext'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; }; then
22027 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.
$ac_ext >&5
22032 bfd_cv_have_sys_procfs_type_fpregset_t
=no
22035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22038 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
22040 cat >>confdefs.h
<<\_ACEOF
22041 #define HAVE_FPREGSET_T 1
22045 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
22046 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
22048 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
22049 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
22050 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
22051 echo $ECHO_N "(cached) $ECHO_C" >&6
22053 cat >conftest.
$ac_ext <<_ACEOF
22056 cat confdefs.h
>>conftest.
$ac_ext
22057 cat >>conftest.
$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22061 #include <sys/procfs.h>
22070 rm -f conftest.
$ac_objext
22071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22072 (eval $ac_compile) 2>conftest.er1
22074 grep -v '^ *+' conftest.er1
>conftest.err
22076 cat conftest.err
>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); } &&
22079 { ac_try
='test -z "$ac_c_werror_flag"
22080 || test ! -s conftest.err'
22081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22082 (eval $ac_try) 2>&5
22084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22085 (exit $ac_status); }; } &&
22086 { ac_try
='test -s conftest.$ac_objext'
22087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22088 (eval $ac_try) 2>&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); }; }; then
22092 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
22094 echo "$as_me: failed program was:" >&5
22095 sed 's/^/| /' conftest.
$ac_ext >&5
22097 bfd_cv_have_sys_procfs_type_prgregset_t
=no
22100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22103 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
22105 cat >>confdefs.h
<<\_ACEOF
22106 #define HAVE_PRGREGSET_T 1
22110 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
22111 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
22113 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
22114 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
22115 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
22116 echo $ECHO_N "(cached) $ECHO_C" >&6
22118 cat >conftest.
$ac_ext <<_ACEOF
22121 cat confdefs.h
>>conftest.
$ac_ext
22122 cat >>conftest.
$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22126 #include <sys/procfs.h>
22135 rm -f conftest.
$ac_objext
22136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22137 (eval $ac_compile) 2>conftest.er1
22139 grep -v '^ *+' conftest.er1
>conftest.err
22141 cat conftest.err
>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } &&
22144 { ac_try
='test -z "$ac_c_werror_flag"
22145 || test ! -s conftest.err'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; } &&
22151 { ac_try
='test -s conftest.$ac_objext'
22152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153 (eval $ac_try) 2>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; }; then
22157 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.
$ac_ext >&5
22162 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
22165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22168 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
22170 cat >>confdefs.h
<<\_ACEOF
22171 #define HAVE_PRFPREGSET_T 1
22175 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
22176 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
22178 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
22179 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
22180 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
22181 echo $ECHO_N "(cached) $ECHO_C" >&6
22183 cat >conftest.
$ac_ext <<_ACEOF
22186 cat confdefs.h
>>conftest.
$ac_ext
22187 cat >>conftest.
$ac_ext <<_ACEOF
22188 /* end confdefs.h. */
22191 #include <sys/procfs.h>
22200 rm -f conftest.
$ac_objext
22201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22202 (eval $ac_compile) 2>conftest.er1
22204 grep -v '^ *+' conftest.er1
>conftest.err
22206 cat conftest.err
>&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); } &&
22209 { ac_try
='test -z "$ac_c_werror_flag"
22210 || test ! -s conftest.err'
22211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22212 (eval $ac_try) 2>&5
22214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22215 (exit $ac_status); }; } &&
22216 { ac_try
='test -s conftest.$ac_objext'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
22224 echo "$as_me: failed program was:" >&5
22225 sed 's/^/| /' conftest.
$ac_ext >&5
22227 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
22230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22233 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
22235 cat >>confdefs.h
<<\_ACEOF
22236 #define HAVE_PRGREGSET32_T 1
22240 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
22241 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
22243 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
22244 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
22245 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
22246 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 cat >conftest.
$ac_ext <<_ACEOF
22251 cat confdefs.h
>>conftest.
$ac_ext
22252 cat >>conftest.
$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22256 #include <sys/procfs.h>
22260 prfpregset32_t avar
22265 rm -f conftest.
$ac_objext
22266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22267 (eval $ac_compile) 2>conftest.er1
22269 grep -v '^ *+' conftest.er1
>conftest.err
22271 cat conftest.err
>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } &&
22274 { ac_try
='test -z "$ac_c_werror_flag"
22275 || test ! -s conftest.err'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; } &&
22281 { ac_try
='test -s conftest.$ac_objext'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; }; then
22287 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.
$ac_ext >&5
22292 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
22295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22298 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
22300 cat >>confdefs.h
<<\_ACEOF
22301 #define HAVE_PRFPREGSET32_T 1
22305 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
22306 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
22308 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
22309 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
22310 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
22311 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 cat >conftest.
$ac_ext <<_ACEOF
22316 cat confdefs.h
>>conftest.
$ac_ext
22317 cat >>conftest.
$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22321 #include <sys/procfs.h>
22330 rm -f conftest.
$ac_objext
22331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22332 (eval $ac_compile) 2>conftest.er1
22334 grep -v '^ *+' conftest.er1
>conftest.err
22336 cat conftest.err
>&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } &&
22339 { ac_try
='test -z "$ac_c_werror_flag"
22340 || test ! -s conftest.err'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; } &&
22346 { ac_try
='test -s conftest.$ac_objext'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22352 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.
$ac_ext >&5
22357 bfd_cv_have_sys_procfs_type_lwpid_t
=no
22360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22363 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
22365 cat >>confdefs.h
<<\_ACEOF
22366 #define HAVE_LWPID_T 1
22370 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
22371 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
22373 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
22374 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
22375 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
22376 echo $ECHO_N "(cached) $ECHO_C" >&6
22378 cat >conftest.
$ac_ext <<_ACEOF
22381 cat confdefs.h
>>conftest.
$ac_ext
22382 cat >>conftest.
$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22386 #include <sys/procfs.h>
22395 rm -f conftest.
$ac_objext
22396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22397 (eval $ac_compile) 2>conftest.er1
22399 grep -v '^ *+' conftest.er1
>conftest.err
22401 cat conftest.err
>&5
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); } &&
22404 { ac_try
='test -z "$ac_c_werror_flag"
22405 || test ! -s conftest.err'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; } &&
22411 { ac_try
='test -s conftest.$ac_objext'
22412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413 (eval $ac_try) 2>&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); }; }; then
22417 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
22419 echo "$as_me: failed program was:" >&5
22420 sed 's/^/| /' conftest.
$ac_ext >&5
22422 bfd_cv_have_sys_procfs_type_psaddr_t
=no
22425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22428 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
22430 cat >>confdefs.h
<<\_ACEOF
22431 #define HAVE_PSADDR_T 1
22435 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
22436 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
22438 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
22439 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
22440 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
22441 echo $ECHO_N "(cached) $ECHO_C" >&6
22443 cat >conftest.
$ac_ext <<_ACEOF
22446 cat confdefs.h
>>conftest.
$ac_ext
22447 cat >>conftest.
$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22451 #include <sys/procfs.h>
22460 rm -f conftest.
$ac_objext
22461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22462 (eval $ac_compile) 2>conftest.er1
22464 grep -v '^ *+' conftest.er1
>conftest.err
22466 cat conftest.err
>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); } &&
22469 { ac_try
='test -z "$ac_c_werror_flag"
22470 || test ! -s conftest.err'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; } &&
22476 { ac_try
='test -s conftest.$ac_objext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.
$ac_ext >&5
22487 bfd_cv_have_sys_procfs_type_prsysent_t
=no
22490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22493 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
22495 cat >>confdefs.h
<<\_ACEOF
22496 #define HAVE_PRSYSENT_T 1
22500 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
22501 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
22503 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
22504 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
22505 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
22506 echo $ECHO_N "(cached) $ECHO_C" >&6
22508 cat >conftest.
$ac_ext <<_ACEOF
22511 cat confdefs.h
>>conftest.
$ac_ext
22512 cat >>conftest.
$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22516 #include <sys/procfs.h>
22525 rm -f conftest.
$ac_objext
22526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22527 (eval $ac_compile) 2>conftest.er1
22529 grep -v '^ *+' conftest.er1
>conftest.err
22531 cat conftest.err
>&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } &&
22534 { ac_try
='test -z "$ac_c_werror_flag"
22535 || test ! -s conftest.err'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; } &&
22541 { ac_try
='test -s conftest.$ac_objext'
22542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22543 (eval $ac_try) 2>&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); }; }; then
22547 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
22549 echo "$as_me: failed program was:" >&5
22550 sed 's/^/| /' conftest.
$ac_ext >&5
22552 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
22555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22558 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
22560 cat >>confdefs.h
<<\_ACEOF
22561 #define HAVE_PR_SIGSET_T 1
22565 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
22566 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
22568 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
22569 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
22570 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
22571 echo $ECHO_N "(cached) $ECHO_C" >&6
22573 cat >conftest.
$ac_ext <<_ACEOF
22576 cat confdefs.h
>>conftest.
$ac_ext
22577 cat >>conftest.
$ac_ext <<_ACEOF
22578 /* end confdefs.h. */
22581 #include <sys/procfs.h>
22585 pr_sigaction64_t avar
22590 rm -f conftest.
$ac_objext
22591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22592 (eval $ac_compile) 2>conftest.er1
22594 grep -v '^ *+' conftest.er1
>conftest.err
22596 cat conftest.err
>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); } &&
22599 { ac_try
='test -z "$ac_c_werror_flag"
22600 || test ! -s conftest.err'
22601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22602 (eval $ac_try) 2>&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); }; } &&
22606 { ac_try
='test -s conftest.$ac_objext'
22607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608 (eval $ac_try) 2>&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); }; }; then
22612 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
22614 echo "$as_me: failed program was:" >&5
22615 sed 's/^/| /' conftest.
$ac_ext >&5
22617 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
22620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22623 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
22625 cat >>confdefs.h
<<\_ACEOF
22626 #define HAVE_PR_SIGACTION64_T 1
22630 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
22631 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
22633 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
22634 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
22635 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
22636 echo $ECHO_N "(cached) $ECHO_C" >&6
22638 cat >conftest.
$ac_ext <<_ACEOF
22641 cat confdefs.h
>>conftest.
$ac_ext
22642 cat >>conftest.
$ac_ext <<_ACEOF
22643 /* end confdefs.h. */
22646 #include <sys/procfs.h>
22650 pr_siginfo64_t avar
22655 rm -f conftest.
$ac_objext
22656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22657 (eval $ac_compile) 2>conftest.er1
22659 grep -v '^ *+' conftest.er1
>conftest.err
22661 cat conftest.err
>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } &&
22664 { ac_try
='test -z "$ac_c_werror_flag"
22665 || test ! -s conftest.err'
22666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22667 (eval $ac_try) 2>&5
22669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670 (exit $ac_status); }; } &&
22671 { ac_try
='test -s conftest.$ac_objext'
22672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22673 (eval $ac_try) 2>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); }; }; then
22677 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
22679 echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.
$ac_ext >&5
22682 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
22685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22688 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
22690 cat >>confdefs.h
<<\_ACEOF
22691 #define HAVE_PR_SIGINFO64_T 1
22695 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
22696 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
22702 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
22703 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
22704 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
22705 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
22706 echo $ECHO_N "(cached) $ECHO_C" >&6
22708 if test "$cross_compiling" = yes; then
22709 gdb_cv_prfpregset_t_broken
=yes
22711 cat >conftest.
$ac_ext <<_ACEOF
22714 cat confdefs.h
>>conftest.
$ac_ext
22715 cat >>conftest.
$ac_ext <<_ACEOF
22716 /* end confdefs.h. */
22717 #include <sys/procfs.h>
22720 if (sizeof (prfpregset_t) == sizeof (void *))
22725 rm -f conftest
$ac_exeext
22726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22727 (eval $ac_link) 2>&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22732 (eval $ac_try) 2>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 gdb_cv_prfpregset_t_broken
=no
22738 echo "$as_me: program exited with status $ac_status" >&5
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.
$ac_ext >&5
22742 ( exit $ac_status )
22743 gdb_cv_prfpregset_t_broken
=yes
22745 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22749 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
22750 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
22751 if test $gdb_cv_prfpregset_t_broken = yes; then
22753 cat >>confdefs.h
<<\_ACEOF
22754 #define PRFPREGSET_T_BROKEN 1
22761 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
22762 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
22763 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
22764 echo $ECHO_N "(cached) $ECHO_C" >&6
22766 cat >conftest.
$ac_ext <<_ACEOF
22769 cat confdefs.h
>>conftest.
$ac_ext
22770 cat >>conftest.
$ac_ext <<_ACEOF
22771 /* end confdefs.h. */
22772 #include <unistd.h>
22773 #include <sys/types.h>
22774 #include <sys/procfs.h>
22781 dummy = ioctl(0, PIOCSET, &dummy);
22787 rm -f conftest.
$ac_objext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22789 (eval $ac_compile) 2>conftest.er1
22791 grep -v '^ *+' conftest.er1
>conftest.err
22793 cat conftest.err
>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); } &&
22796 { ac_try
='test -z "$ac_c_werror_flag"
22797 || test ! -s conftest.err'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; } &&
22803 { ac_try
='test -s conftest.$ac_objext'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; }; then
22809 gdb_cv_have_procfs_piocset
=yes
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.
$ac_ext >&5
22814 gdb_cv_have_procfs_piocset
=no
22816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22819 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
22820 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
22821 if test $gdb_cv_have_procfs_piocset = yes; then
22823 cat >>confdefs.h
<<\_ACEOF
22824 #define HAVE_PROCFS_PIOCSET 1
22830 if test ${host} = ${target} ; then
22832 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
22833 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
22834 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 cat >conftest.
$ac_ext <<_ACEOF
22840 cat confdefs.h
>>conftest.
$ac_ext
22841 cat >>conftest.
$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22847 struct link_map lm; (void) lm.l_addr;
22852 rm -f conftest.
$ac_objext
22853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22854 (eval $ac_compile) 2>conftest.er1
22856 grep -v '^ *+' conftest.er1
>conftest.err
22858 cat conftest.err
>&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); } &&
22861 { ac_try
='test -z "$ac_c_werror_flag"
22862 || test ! -s conftest.err'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; } &&
22868 { ac_try
='test -s conftest.$ac_objext'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; }; then
22874 gdb_cv_have_struct_link_map_with_l_members
=yes
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.
$ac_ext >&5
22879 gdb_cv_have_struct_link_map_with_l_members
=no
22881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22884 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
22885 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
22886 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
22888 cat >>confdefs.h
<<\_ACEOF
22889 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
22895 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
22896 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
22897 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22900 cat >conftest.
$ac_ext <<_ACEOF
22903 cat confdefs.h
>>conftest.
$ac_ext
22904 cat >>conftest.
$ac_ext <<_ACEOF
22905 /* end confdefs.h. */
22906 #include <sys/types.h>
22911 struct link_map lm; (void) lm.lm_addr;
22916 rm -f conftest.
$ac_objext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22918 (eval $ac_compile) 2>conftest.er1
22920 grep -v '^ *+' conftest.er1
>conftest.err
22922 cat conftest.err
>&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try
='test -z "$ac_c_werror_flag"
22926 || test ! -s conftest.err'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; } &&
22932 { ac_try
='test -s conftest.$ac_objext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 gdb_cv_have_struct_link_map_with_lm_members
=yes
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.
$ac_ext >&5
22943 gdb_cv_have_struct_link_map_with_lm_members
=no
22945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22948 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
22949 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
22950 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
22952 cat >>confdefs.h
<<\_ACEOF
22953 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
22959 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
22960 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
22961 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22964 cat >conftest.
$ac_ext <<_ACEOF
22967 cat confdefs.h
>>conftest.
$ac_ext
22968 cat >>conftest.
$ac_ext <<_ACEOF
22969 /* end confdefs.h. */
22970 #include <sys/types.h>
22971 #ifdef HAVE_NLIST_H
22978 struct so_map lm; (void) lm.som_addr;
22983 rm -f conftest.
$ac_objext
22984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22985 (eval $ac_compile) 2>conftest.er1
22987 grep -v '^ *+' conftest.er1
>conftest.err
22989 cat conftest.err
>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } &&
22992 { ac_try
='test -z "$ac_c_werror_flag"
22993 || test ! -s conftest.err'
22994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995 (eval $ac_try) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); }; } &&
22999 { ac_try
='test -s conftest.$ac_objext'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 gdb_cv_have_struct_so_map_with_som_members
=yes
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.
$ac_ext >&5
23010 gdb_cv_have_struct_so_map_with_som_members
=no
23012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23015 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
23016 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
23017 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
23019 cat >>confdefs.h
<<\_ACEOF
23020 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
23026 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
23027 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
23028 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 cat >conftest.
$ac_ext <<_ACEOF
23034 cat confdefs.h
>>conftest.
$ac_ext
23035 cat >>conftest.
$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23038 #include <sys/link.h>
23042 struct link_map32 l;
23047 rm -f conftest.
$ac_objext
23048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23049 (eval $ac_compile) 2>conftest.er1
23051 grep -v '^ *+' conftest.er1
>conftest.err
23053 cat conftest.err
>&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); } &&
23056 { ac_try
='test -z "$ac_c_werror_flag"
23057 || test ! -s conftest.err'
23058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23059 (eval $ac_try) 2>&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); }; } &&
23063 { ac_try
='test -s conftest.$ac_objext'
23064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23065 (eval $ac_try) 2>&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); }; }; then
23069 gdb_cv_have_struct_link_map32
=yes
23071 echo "$as_me: failed program was:" >&5
23072 sed 's/^/| /' conftest.
$ac_ext >&5
23074 gdb_cv_have_struct_link_map32
=no
23076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23079 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
23080 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
23081 if test $gdb_cv_have_struct_link_map32 = yes; then
23083 cat >>confdefs.h
<<\_ACEOF
23084 #define HAVE_STRUCT_LINK_MAP32 1
23088 cat >>confdefs.h
<<\_ACEOF
23089 #define _SYSCALL32 1
23095 # Check if the compiler supports the `long long' type.
23097 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
23098 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
23099 if test "${gdb_cv_c_long_long+set}" = set; then
23100 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 cat >conftest.
$ac_ext <<_ACEOF
23105 cat confdefs.h
>>conftest.
$ac_ext
23106 cat >>conftest.
$ac_ext <<_ACEOF
23107 /* end confdefs.h. */
23108 extern long long foo;
23112 switch (foo & 2) { case 0: return 1; }
23117 rm -f conftest.
$ac_objext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23119 (eval $ac_compile) 2>conftest.er1
23121 grep -v '^ *+' conftest.er1
>conftest.err
23123 cat conftest.err
>&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } &&
23126 { ac_try
='test -z "$ac_c_werror_flag"
23127 || test ! -s conftest.err'
23128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23129 (eval $ac_try) 2>&5
23131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132 (exit $ac_status); }; } &&
23133 { ac_try
='test -s conftest.$ac_objext'
23134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135 (eval $ac_try) 2>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; }; then
23139 gdb_cv_c_long_long
=yes
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.
$ac_ext >&5
23144 gdb_cv_c_long_long
=no
23146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23148 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
23149 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
23150 if test $gdb_cv_c_long_long = yes; then
23152 cat >>confdefs.h
<<\_ACEOF
23153 #define CC_HAS_LONG_LONG 1
23158 # Check if the compiler and runtime support printing long longs.
23160 echo "$as_me:$LINENO: checking for long long support in printf" >&5
23161 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
23162 if test "${gdb_cv_printf_has_long_long+set}" = set; then
23163 echo $ECHO_N "(cached) $ECHO_C" >&6
23165 if test "$cross_compiling" = yes; then
23166 gdb_cv_printf_has_long_long
=no
23168 cat >conftest.
$ac_ext <<_ACEOF
23171 cat confdefs.h
>>conftest.
$ac_ext
23172 cat >>conftest.
$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23174 $ac_includes_default
23180 l = (l << 16) + 0x0123;
23181 l = (l << 16) + 0x4567;
23182 l = (l << 16) + 0x89ab;
23183 l = (l << 16) + 0xcdef;
23184 sprintf (buf, "0x%016llx", l);
23185 return (strcmp ("0x0123456789abcdef", buf));
23190 rm -f conftest
$ac_exeext
23191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23192 (eval $ac_link) 2>&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23197 (eval $ac_try) 2>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); }; }; then
23201 gdb_cv_printf_has_long_long
=yes
23203 echo "$as_me: program exited with status $ac_status" >&5
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.
$ac_ext >&5
23207 ( exit $ac_status )
23208 gdb_cv_printf_has_long_long
=no
23210 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23213 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
23214 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
23215 if test $gdb_cv_printf_has_long_long = yes; then
23217 cat >>confdefs.h
<<\_ACEOF
23218 #define PRINTF_HAS_LONG_LONG 1
23223 # Check if the compiler and runtime support printing decfloats.
23225 echo "$as_me:$LINENO: checking for decfloat support in printf" >&5
23226 echo $ECHO_N "checking for decfloat support in printf... $ECHO_C" >&6
23227 if test "${gdb_cv_printf_has_decfloat+set}" = set; then
23228 echo $ECHO_N "(cached) $ECHO_C" >&6
23230 if test "$cross_compiling" = yes; then
23231 gdb_cv_printf_has_decfloat
=no
23233 cat >conftest.
$ac_ext <<_ACEOF
23236 cat confdefs.h
>>conftest.
$ac_ext
23237 cat >>conftest.
$ac_ext <<_ACEOF
23238 /* end confdefs.h. */
23239 $ac_includes_default
23244 _Decimal32 d32 = 1.2345df;
23245 _Decimal64 d64 = 1.2345dd;
23246 _Decimal128 d128 = 1.2345dl;
23247 sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
23248 return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
23253 rm -f conftest
$ac_exeext
23254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23255 (eval $ac_link) 2>&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23260 (eval $ac_try) 2>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); }; }; then
23264 gdb_cv_printf_has_decfloat
=yes
23266 echo "$as_me: program exited with status $ac_status" >&5
23267 echo "$as_me: failed program was:" >&5
23268 sed 's/^/| /' conftest.
$ac_ext >&5
23270 ( exit $ac_status )
23271 gdb_cv_printf_has_decfloat
=no
23273 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23276 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_decfloat" >&5
23277 echo "${ECHO_T}$gdb_cv_printf_has_decfloat" >&6
23278 if test $gdb_cv_printf_has_decfloat = yes; then
23280 cat >>confdefs.h
<<\_ACEOF
23281 #define PRINTF_HAS_DECFLOAT 1
23286 # Check if the compiler supports the `long double' type. We can't use
23287 # AC_C_LONG_DOUBLE because that one does additional checks on the
23288 # constants defined in <float.h> that fail on some systems,
23289 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
23291 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
23292 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
23293 if test "${gdb_cv_c_long_double+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23296 cat >conftest.
$ac_ext <<_ACEOF
23299 cat confdefs.h
>>conftest.
$ac_ext
23300 cat >>conftest.
$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23304 rm -f conftest.
$ac_objext
23305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23306 (eval $ac_compile) 2>conftest.er1
23308 grep -v '^ *+' conftest.er1
>conftest.err
23310 cat conftest.err
>&5
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); } &&
23313 { ac_try
='test -z "$ac_c_werror_flag"
23314 || test ! -s conftest.err'
23315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23316 (eval $ac_try) 2>&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); }; } &&
23320 { ac_try
='test -s conftest.$ac_objext'
23321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23322 (eval $ac_try) 2>&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); }; }; then
23326 gdb_cv_c_long_double
=yes
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.
$ac_ext >&5
23331 gdb_cv_c_long_double
=no
23333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23335 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
23336 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
23337 if test $gdb_cv_c_long_double = yes; then
23339 cat >>confdefs.h
<<\_ACEOF
23340 #define HAVE_LONG_DOUBLE 1
23345 # Check if the compiler and runtime support printing long doubles.
23347 echo "$as_me:$LINENO: checking for long double support in printf" >&5
23348 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
23349 if test "${gdb_cv_printf_has_long_double+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23352 if test "$cross_compiling" = yes; then
23353 gdb_cv_printf_has_long_double
=no
23355 cat >conftest.
$ac_ext <<_ACEOF
23358 cat confdefs.h
>>conftest.
$ac_ext
23359 cat >>conftest.
$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23361 $ac_includes_default
23366 long double f = 3.141592653;
23367 sprintf (buf, "%Lg", f);
23368 return (strncmp ("3.14159", buf, 7));
23373 rm -f conftest
$ac_exeext
23374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23375 (eval $ac_link) 2>&5
23377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23378 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380 (eval $ac_try) 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; }; then
23384 gdb_cv_printf_has_long_double
=yes
23386 echo "$as_me: program exited with status $ac_status" >&5
23387 echo "$as_me: failed program was:" >&5
23388 sed 's/^/| /' conftest.
$ac_ext >&5
23390 ( exit $ac_status )
23391 gdb_cv_printf_has_long_double
=no
23393 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23396 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
23397 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
23398 if test $gdb_cv_printf_has_long_double = yes; then
23400 cat >>confdefs.h
<<\_ACEOF
23401 #define PRINTF_HAS_LONG_DOUBLE 1
23406 # Check if the compiler and runtime support scanning long doubles.
23408 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
23409 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
23410 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
23411 echo $ECHO_N "(cached) $ECHO_C" >&6
23413 if test "$cross_compiling" = yes; then
23414 gdb_cv_scanf_has_long_double
=no
23416 cat >conftest.
$ac_ext <<_ACEOF
23419 cat confdefs.h
>>conftest.
$ac_ext
23420 cat >>conftest.
$ac_ext <<_ACEOF
23421 /* end confdefs.h. */
23426 char *buf = "3.141592653";
23428 sscanf (buf, "%Lg", &f);
23429 return !(f > 3.14159 && f < 3.14160);
23434 rm -f conftest
$ac_exeext
23435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23436 (eval $ac_link) 2>&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23445 gdb_cv_scanf_has_long_double
=yes
23447 echo "$as_me: program exited with status $ac_status" >&5
23448 echo "$as_me: failed program was:" >&5
23449 sed 's/^/| /' conftest.
$ac_ext >&5
23451 ( exit $ac_status )
23452 gdb_cv_scanf_has_long_double
=no
23454 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23457 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
23458 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
23459 if test $gdb_cv_scanf_has_long_double = yes; then
23461 cat >>confdefs.h
<<\_ACEOF
23462 #define SCANF_HAS_LONG_DOUBLE 1
23469 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
23470 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
23471 if test "${gdb_cv_bigtoc+set}" = set; then
23472 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 SAVE_LDFLAGS
=$LDFLAGS
23478 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
23479 *) gdb_cv_bigtoc
=-bbigtoc ;;
23482 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
23483 cat >conftest.
$ac_ext <<_ACEOF
23486 cat confdefs.h
>>conftest.
$ac_ext
23487 cat >>conftest.
$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23498 rm -f conftest.
$ac_objext conftest
$ac_exeext
23499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23500 (eval $ac_link) 2>conftest.er1
23502 grep -v '^ *+' conftest.er1
>conftest.err
23504 cat conftest.err
>&5
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); } &&
23507 { ac_try
='test -z "$ac_c_werror_flag"
23508 || test ! -s conftest.err'
23509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23510 (eval $ac_try) 2>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); }; } &&
23514 { ac_try
='test -s conftest$ac_exeext'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; }; then
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.
$ac_ext >&5
23527 rm -f conftest.err conftest.
$ac_objext \
23528 conftest
$ac_exeext conftest.
$ac_ext
23529 LDFLAGS
="${SAVE_LDFLAGS}"
23532 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
23533 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
23534 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
23540 if test ${build} = ${host} -a ${host} = ${target} ; then
23543 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
23544 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
23545 if test -f /usr
/include
/dce
/cma_config.h
; then
23546 if test "$GCC" = "yes" ; then
23547 echo "$as_me:$LINENO: result: yes" >&5
23548 echo "${ECHO_T}yes" >&6
23550 cat >>confdefs.h
<<\_ACEOF
23551 #define HAVE_HPUX_THREAD_SUPPORT 1
23554 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
23555 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
23557 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
23558 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
23561 echo "$as_me:$LINENO: result: no" >&5
23562 echo "${ECHO_T}no" >&6
23566 # See if thread_db library is around for Solaris thread debugging.
23567 # Note that we must explicitly test for version 1 of the library
23568 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
23570 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
23571 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
23572 if test -f /usr
/lib
/libthread_db.so
.1 ; then
23573 echo "$as_me:$LINENO: result: yes" >&5
23574 echo "${ECHO_T}yes" >&6
23576 cat >>confdefs.h
<<\_ACEOF
23577 #define HAVE_THREAD_DB_LIB 1
23580 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
23581 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
23583 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23584 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23585 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23586 echo $ECHO_N "(cached) $ECHO_C" >&6
23588 ac_check_lib_save_LIBS
=$LIBS
23590 cat >conftest.
$ac_ext <<_ACEOF
23593 cat confdefs.h
>>conftest.
$ac_ext
23594 cat >>conftest.
$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23597 /* Override any gcc2 internal prototype to avoid an error. */
23601 /* We use char because int might match the return type of a gcc2
23602 builtin and then its argument prototype would still apply. */
23612 rm -f conftest.
$ac_objext conftest
$ac_exeext
23613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23614 (eval $ac_link) 2>conftest.er1
23616 grep -v '^ *+' conftest.er1
>conftest.err
23618 cat conftest.err
>&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); } &&
23621 { ac_try
='test -z "$ac_c_werror_flag"
23622 || test ! -s conftest.err'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; } &&
23628 { ac_try
='test -s conftest$ac_exeext'
23629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23630 (eval $ac_try) 2>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; }; then
23634 ac_cv_lib_dl_dlopen
=yes
23636 echo "$as_me: failed program was:" >&5
23637 sed 's/^/| /' conftest.
$ac_ext >&5
23639 ac_cv_lib_dl_dlopen
=no
23641 rm -f conftest.err conftest.
$ac_objext \
23642 conftest
$ac_exeext conftest.
$ac_ext
23643 LIBS
=$ac_check_lib_save_LIBS
23645 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23646 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23647 if test $ac_cv_lib_dl_dlopen = yes; then
23648 cat >>confdefs.h
<<_ACEOF
23649 #define HAVE_LIBDL 1
23656 if test "$GCC" = "yes" ; then
23657 # The GNU linker requires the -export-dynamic option to make
23658 # all symbols visible in the dynamic symbol table.
23659 hold_ldflags
=$LDFLAGS
23660 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
23661 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
23662 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
23663 cat >conftest.
$ac_ext <<_ACEOF
23666 cat confdefs.h
>>conftest.
$ac_ext
23667 cat >>conftest.
$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23678 rm -f conftest.
$ac_objext conftest
$ac_exeext
23679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23680 (eval $ac_link) 2>conftest.er1
23682 grep -v '^ *+' conftest.er1
>conftest.err
23684 cat conftest.err
>&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); } &&
23687 { ac_try
='test -z "$ac_c_werror_flag"
23688 || test ! -s conftest.err'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; } &&
23694 { ac_try
='test -s conftest$ac_exeext'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; }; then
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.
$ac_ext >&5
23707 rm -f conftest.err conftest.
$ac_objext \
23708 conftest
$ac_exeext conftest.
$ac_ext
23709 LDFLAGS
=$hold_ldflags
23710 echo "$as_me:$LINENO: result: $found" >&5
23711 echo "${ECHO_T}$found" >&6
23712 if test $found = yes; then
23713 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
23716 # Sun randomly tweaked the prototypes in <proc_service.h>
23718 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
23719 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
23720 if test "${gdb_cv_proc_service_is_old+set}" = set; then
23721 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 cat >conftest.
$ac_ext <<_ACEOF
23727 cat confdefs.h
>>conftest.
$ac_ext
23728 cat >>conftest.
$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23731 #include <proc_service.h>
23732 ps_err_e ps_pdwrite
23733 (struct ps_prochandle*, psaddr_t, const void*, size_t);
23743 rm -f conftest.
$ac_objext
23744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23745 (eval $ac_compile) 2>conftest.er1
23747 grep -v '^ *+' conftest.er1
>conftest.err
23749 cat conftest.err
>&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } &&
23752 { ac_try
='test -z "$ac_c_werror_flag"
23753 || test ! -s conftest.err'
23754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23755 (eval $ac_try) 2>&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); }; } &&
23759 { ac_try
='test -s conftest.$ac_objext'
23760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23761 (eval $ac_try) 2>&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); }; }; then
23765 gdb_cv_proc_service_is_old
=no
23767 echo "$as_me: failed program was:" >&5
23768 sed 's/^/| /' conftest.
$ac_ext >&5
23770 gdb_cv_proc_service_is_old
=yes
23772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23776 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
23777 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
23778 if test $gdb_cv_proc_service_is_old = yes; then
23780 cat >>confdefs.h
<<\_ACEOF
23781 #define PROC_SERVICE_IS_OLD 1
23786 echo "$as_me:$LINENO: result: no" >&5
23787 echo "${ECHO_T}no" >&6
23791 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
23792 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
23793 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
23794 echo $ECHO_N "(cached) $ECHO_C" >&6
23796 cat >conftest.
$ac_ext <<_ACEOF
23799 cat confdefs.h
>>conftest.
$ac_ext
23800 cat >>conftest.
$ac_ext <<_ACEOF
23801 /* end confdefs.h. */
23802 #include <sys/pthdebug.h>
23806 #ifndef PTHDB_VERSION_3
23813 rm -f conftest.
$ac_objext
23814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23815 (eval $ac_compile) 2>conftest.er1
23817 grep -v '^ *+' conftest.er1
>conftest.err
23819 cat conftest.err
>&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } &&
23822 { ac_try
='test -z "$ac_c_werror_flag"
23823 || test ! -s conftest.err'
23824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23825 (eval $ac_try) 2>&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); }; } &&
23829 { ac_try
='test -s conftest.$ac_objext'
23830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23831 (eval $ac_try) 2>&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); }; }; then
23835 gdb_cv_have_aix_thread_debug
=yes
23837 echo "$as_me: failed program was:" >&5
23838 sed 's/^/| /' conftest.
$ac_ext >&5
23840 gdb_cv_have_aix_thread_debug
=no
23842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23845 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
23846 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
23847 if test $gdb_cv_have_aix_thread_debug = yes; then
23848 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
23849 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
23850 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
23857 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
23858 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
23859 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
23860 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
23863 cat >conftest.
$ac_ext <<_ACEOF
23866 cat confdefs.h
>>conftest.
$ac_ext
23867 cat >>conftest.
$ac_ext <<_ACEOF
23868 /* end confdefs.h. */
23869 #include <thread_db.h>
23873 int i = TD_NOTALLOC;
23878 rm -f conftest.
$ac_objext
23879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23880 (eval $ac_compile) 2>conftest.er1
23882 grep -v '^ *+' conftest.er1
>conftest.err
23884 cat conftest.err
>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); } &&
23887 { ac_try
='test -z "$ac_c_werror_flag"
23888 || test ! -s conftest.err'
23889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23890 (eval $ac_try) 2>&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); }; } &&
23894 { ac_try
='test -s conftest.$ac_objext'
23895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23896 (eval $ac_try) 2>&5
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); }; }; then
23900 gdb_cv_thread_db_h_has_td_notalloc
=yes
23902 echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.
$ac_ext >&5
23905 gdb_cv_thread_db_h_has_td_notalloc
=no
23908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23911 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
23912 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
23913 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
23914 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
23915 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
23916 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 cat >conftest.
$ac_ext <<_ACEOF
23921 cat confdefs.h
>>conftest.
$ac_ext
23922 cat >>conftest.
$ac_ext <<_ACEOF
23923 /* end confdefs.h. */
23924 #include <thread_db.h>
23928 int i = TD_VERSION;
23933 rm -f conftest.
$ac_objext
23934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23935 (eval $ac_compile) 2>conftest.er1
23937 grep -v '^ *+' conftest.er1
>conftest.err
23939 cat conftest.err
>&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } &&
23942 { ac_try
='test -z "$ac_c_werror_flag"
23943 || test ! -s conftest.err'
23944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23945 (eval $ac_try) 2>&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); }; } &&
23949 { ac_try
='test -s conftest.$ac_objext'
23950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23951 (eval $ac_try) 2>&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); }; }; then
23955 gdb_cv_thread_db_h_has_td_version
=yes
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.
$ac_ext >&5
23960 gdb_cv_thread_db_h_has_td_version
=no
23963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23966 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
23967 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
23968 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
23969 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
23970 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
23971 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 cat >conftest.
$ac_ext <<_ACEOF
23976 cat confdefs.h
>>conftest.
$ac_ext
23977 cat >>conftest.
$ac_ext <<_ACEOF
23978 /* end confdefs.h. */
23979 #include <thread_db.h>
23988 rm -f conftest.
$ac_objext
23989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23990 (eval $ac_compile) 2>conftest.er1
23992 grep -v '^ *+' conftest.er1
>conftest.err
23994 cat conftest.err
>&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } &&
23997 { ac_try
='test -z "$ac_c_werror_flag"
23998 || test ! -s conftest.err'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; } &&
24004 { ac_try
='test -s conftest.$ac_objext'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; }; then
24010 gdb_cv_thread_db_h_has_td_notls
=yes
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.
$ac_ext >&5
24015 gdb_cv_thread_db_h_has_td_notls
=no
24018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24021 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
24022 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
24024 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
24026 cat >>confdefs.h
<<\_ACEOF
24027 #define THREAD_DB_HAS_TD_NOTALLOC 1
24031 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
24033 cat >>confdefs.h
<<\_ACEOF
24034 #define THREAD_DB_HAS_TD_VERSION 1
24038 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
24040 cat >>confdefs.h
<<\_ACEOF
24041 #define THREAD_DB_HAS_TD_NOTLS 1
24046 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
24047 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
24048 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
24049 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
24050 echo $ECHO_N "(cached) $ECHO_C" >&6
24052 cat >conftest.
$ac_ext <<_ACEOF
24055 cat confdefs.h
>>conftest.
$ac_ext
24056 cat >>conftest.
$ac_ext <<_ACEOF
24057 /* end confdefs.h. */
24058 #include <sys/syscall.h>
24062 int i = __NR_tkill;
24067 rm -f conftest.
$ac_objext
24068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24069 (eval $ac_compile) 2>conftest.er1
24071 grep -v '^ *+' conftest.er1
>conftest.err
24073 cat conftest.err
>&5
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); } &&
24076 { ac_try
='test -z "$ac_c_werror_flag"
24077 || test ! -s conftest.err'
24078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24079 (eval $ac_try) 2>&5
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); }; } &&
24083 { ac_try
='test -s conftest.$ac_objext'
24084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24085 (eval $ac_try) 2>&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); }; }; then
24089 gdb_cv_sys_syscall_h_has_tkill
=yes
24091 echo "$as_me: failed program was:" >&5
24092 sed 's/^/| /' conftest.
$ac_ext >&5
24094 gdb_cv_sys_syscall_h_has_tkill
=no
24097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24100 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
24101 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
24103 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
24105 cat >>confdefs.h
<<\_ACEOF
24106 #define HAVE_TKILL_SYSCALL 1
24111 echo "$as_me:$LINENO: checking whether ADDR_NO_RANDOMIZE is declared" >&5
24112 echo $ECHO_N "checking whether ADDR_NO_RANDOMIZE is declared... $ECHO_C" >&6
24113 if test "${ac_cv_have_decl_ADDR_NO_RANDOMIZE+set}" = set; then
24114 echo $ECHO_N "(cached) $ECHO_C" >&6
24116 cat >conftest.
$ac_ext <<_ACEOF
24119 cat confdefs.h
>>conftest.
$ac_ext
24120 cat >>conftest.
$ac_ext <<_ACEOF
24121 /* end confdefs.h. */
24122 #include <sys/personality.h>
24127 #ifndef ADDR_NO_RANDOMIZE
24128 char *p = (char *) ADDR_NO_RANDOMIZE;
24135 rm -f conftest.
$ac_objext
24136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24137 (eval $ac_compile) 2>conftest.er1
24139 grep -v '^ *+' conftest.er1
>conftest.err
24141 cat conftest.err
>&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); } &&
24144 { ac_try
='test -z "$ac_c_werror_flag"
24145 || test ! -s conftest.err'
24146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24147 (eval $ac_try) 2>&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); }; } &&
24151 { ac_try
='test -s conftest.$ac_objext'
24152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24153 (eval $ac_try) 2>&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); }; }; then
24157 ac_cv_have_decl_ADDR_NO_RANDOMIZE
=yes
24159 echo "$as_me: failed program was:" >&5
24160 sed 's/^/| /' conftest.
$ac_ext >&5
24162 ac_cv_have_decl_ADDR_NO_RANDOMIZE
=no
24164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24166 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_NO_RANDOMIZE" >&5
24167 echo "${ECHO_T}$ac_cv_have_decl_ADDR_NO_RANDOMIZE" >&6
24168 if test $ac_cv_have_decl_ADDR_NO_RANDOMIZE = yes; then
24170 cat >>confdefs.h
<<_ACEOF
24171 #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
24176 cat >>confdefs.h
<<_ACEOF
24177 #define HAVE_DECL_ADDR_NO_RANDOMIZE 0
24185 if test "$cross_compiling" = yes; then
24186 cat >conftest.
$ac_ext <<_ACEOF
24189 cat confdefs.h
>>conftest.
$ac_ext
24190 cat >>conftest.
$ac_ext <<_ACEOF
24191 /* end confdefs.h. */
24192 #include <sys/personality.h>
24197 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
24198 # define ADDR_NO_RANDOMIZE 0x0040000
24200 /* Test the flag could be set and stays set. */
24201 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
24202 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
24208 rm -f conftest.
$ac_objext conftest
$ac_exeext
24209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24210 (eval $ac_link) 2>conftest.er1
24212 grep -v '^ *+' conftest.er1
>conftest.err
24214 cat conftest.err
>&5
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); } &&
24217 { ac_try
='test -z "$ac_c_werror_flag"
24218 || test ! -s conftest.err'
24219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24220 (eval $ac_try) 2>&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); }; } &&
24224 { ac_try
='test -s conftest$ac_exeext'
24225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24226 (eval $ac_try) 2>&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); }; }; then
24230 have_personality
=true
24232 echo "$as_me: failed program was:" >&5
24233 sed 's/^/| /' conftest.
$ac_ext >&5
24235 have_personality
=false
24237 rm -f conftest.err conftest.
$ac_objext \
24238 conftest
$ac_exeext conftest.
$ac_ext
24240 cat >conftest.
$ac_ext <<_ACEOF
24243 cat confdefs.h
>>conftest.
$ac_ext
24244 cat >>conftest.
$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 #include <sys/personality.h>
24251 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
24252 # define ADDR_NO_RANDOMIZE 0x0040000
24254 /* Test the flag could be set and stays set. */
24255 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
24256 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
24262 rm -f conftest
$ac_exeext
24263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24264 (eval $ac_link) 2>&5
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; }; then
24273 have_personality
=true
24275 echo "$as_me: program exited with status $ac_status" >&5
24276 echo "$as_me: failed program was:" >&5
24277 sed 's/^/| /' conftest.
$ac_ext >&5
24279 ( exit $ac_status )
24280 have_personality
=false
24282 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24284 if $have_personality
24287 cat >>confdefs.h
<<\_ACEOF
24288 #define HAVE_PERSONALITY 1
24295 # Check whether --with-sysroot or --without-sysroot was given.
24296 if test "${with_sysroot+set}" = set; then
24297 withval
="$with_sysroot"
24299 case ${with_sysroot} in
24300 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
24301 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
24304 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
24306 if test "x$prefix" = xNONE
; then
24307 test_prefix
=/usr
/local
24309 test_prefix
=$prefix
24311 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
24312 test_exec_prefix
=$test_prefix
24314 test_exec_prefix
=$exec_prefix
24316 case ${TARGET_SYSTEM_ROOT} in
24317 "${test_prefix}"|
"${test_prefix}/"*|\
24318 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
24319 '${prefix}'|
'${prefix}/'*|\
24320 '${exec_prefix}'|
'${exec_prefix}/'*)
24321 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
24322 TARGET_SYSTEM_ROOT_DEFINE
="$t"
24328 TARGET_SYSTEM_ROOT
=
24329 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
24335 # Check whether --enable-werror or --disable-werror was given.
24336 if test "${enable_werror+set}" = set; then
24337 enableval
="$enable_werror"
24338 case "${enableval}" in
24339 yes | y
) ERROR_ON_WARNING
="yes" ;;
24340 no | n
) ERROR_ON_WARNING
="no" ;;
24341 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
24342 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
24343 { (exit 1); exit 1; }; } ;;
24347 # Enable -Werror by default when using gcc
24348 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
24349 ERROR_ON_WARNING
=yes
24353 if test "${ERROR_ON_WARNING}" = yes ; then
24354 WERROR_CFLAGS
="-Werror"
24357 # The entries after -Wno-pointer-sign are disabled warnings which may
24358 # be enabled in the future, which can not currently be used to build
24360 # NOTE: If you change this list, remember to update
24361 # gdb/doc/gdbint.texinfo.
24362 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
24363 -Wformat-nonliteral -Wno-pointer-sign \
24364 -Wno-unused -Wno-switch -Wno-char-subscripts"
24366 # Enable -Wno-format by default when using gcc on mingw since many
24367 # GCC versions complain about %I64.
24369 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
24372 # Check whether --enable-build-warnings or --disable-build-warnings was given.
24373 if test "${enable_build_warnings+set}" = set; then
24374 enableval
="$enable_build_warnings"
24375 case "${enableval}" in
24377 no
) build_warnings
="-w";;
24378 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
24379 build_warnings
="${build_warnings} ${t}";;
24380 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
24381 build_warnings
="${t} ${build_warnings}";;
24382 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
24384 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
24385 echo "Setting compiler warning flags = $build_warnings" 6>&1
24387 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
24388 if test "${enable_gdb_build_warnings+set}" = set; then
24389 enableval
="$enable_gdb_build_warnings"
24390 case "${enableval}" in
24392 no
) build_warnings
="-w";;
24393 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
24394 build_warnings
="${build_warnings} ${t}";;
24395 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
24396 build_warnings
="${t} ${build_warnings}";;
24397 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
24399 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
24400 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
24403 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
24405 echo "$as_me:$LINENO: checking compiler warning flags" >&5
24406 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
24407 # Separate out the -Werror flag as some files just cannot be
24408 # compiled with it enabled.
24409 for w
in ${build_warnings}; do
24411 -Werr*) WERROR_CFLAGS
=-Werror ;;
24412 *) # Check that GCC accepts it
24413 saved_CFLAGS
="$CFLAGS"
24414 CFLAGS
="$CFLAGS $w"
24415 cat >conftest.
$ac_ext <<_ACEOF
24418 cat confdefs.h
>>conftest.
$ac_ext
24419 cat >>conftest.
$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24430 rm -f conftest.
$ac_objext
24431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24432 (eval $ac_compile) 2>conftest.er1
24434 grep -v '^ *+' conftest.er1
>conftest.err
24436 cat conftest.err
>&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } &&
24439 { ac_try
='test -z "$ac_c_werror_flag"
24440 || test ! -s conftest.err'
24441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442 (eval $ac_try) 2>&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; } &&
24446 { ac_try
='test -s conftest.$ac_objext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 WARN_CFLAGS
="${WARN_CFLAGS} $w"
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.
$ac_ext >&5
24458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24459 CFLAGS
="$saved_CFLAGS"
24462 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
24463 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
24468 # In the Cygwin environment, we need some additional flags.
24469 echo "$as_me:$LINENO: checking for cygwin" >&5
24470 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
24471 if test "${gdb_cv_os_cygwin+set}" = set; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24474 cat >conftest.
$ac_ext <<_ACEOF
24477 cat confdefs.h
>>conftest.
$ac_ext
24478 cat >>conftest.
$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24481 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
24485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24486 $EGREP "lose" >/dev
/null
2>&1; then
24487 gdb_cv_os_cygwin
=yes
24489 gdb_cv_os_cygwin
=no
24494 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
24495 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
24498 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
24500 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
24501 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
24502 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
24506 # libreadline needs libuser32.a in a cygwin environment
24508 if test x
$gdb_cv_os_cygwin = xyes
; then
24509 WIN32LIBS
="-luser32"
24510 case "${target}" in
24511 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
24516 # The ser-tcp.c module requires sockets.
24520 cat >>confdefs.h
<<\_ACEOF
24521 #define USE_WIN32API 1
24524 WIN32LIBS
="$WIN32LIBS -lws2_32"
24529 # Add ELF support to GDB, but only if BFD includes ELF support.
24531 OLD_LDFLAGS
=$LDFLAGS
24533 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
24534 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
24535 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
24536 LIBS
="-lbfd -liberty $intl $LIBS"
24537 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
24538 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
24539 if test "${gdb_cv_var_elf+set}" = set; then
24540 echo $ECHO_N "(cached) $ECHO_C" >&6
24542 cat >conftest.
$ac_ext <<_ACEOF
24545 cat confdefs.h
>>conftest.
$ac_ext
24546 cat >>conftest.
$ac_ext <<_ACEOF
24547 /* end confdefs.h. */
24548 #include <stdlib.h>
24550 #include "elf-bfd.h"
24555 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
24560 rm -f conftest.
$ac_objext conftest
$ac_exeext
24561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24562 (eval $ac_link) 2>conftest.er1
24564 grep -v '^ *+' conftest.er1
>conftest.err
24566 cat conftest.err
>&5
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); } &&
24569 { ac_try
='test -z "$ac_c_werror_flag"
24570 || test ! -s conftest.err'
24571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572 (eval $ac_try) 2>&5
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; } &&
24576 { ac_try
='test -s conftest$ac_exeext'
24577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24578 (eval $ac_try) 2>&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); }; }; then
24584 echo "$as_me: failed program was:" >&5
24585 sed 's/^/| /' conftest.
$ac_ext >&5
24589 rm -f conftest.err conftest.
$ac_objext \
24590 conftest
$ac_exeext conftest.
$ac_ext
24592 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
24593 echo "${ECHO_T}$gdb_cv_var_elf" >&6
24594 if test $gdb_cv_var_elf = yes; then
24595 CONFIG_OBS
="$CONFIG_OBS elfread.o"
24597 cat >>confdefs.h
<<\_ACEOF
24603 LDFLAGS
=$OLD_LDFLAGS
24606 # Add any host-specific objects to GDB.
24607 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
24609 LIBGUI
="../libgui/src/libgui.a"
24610 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
24619 *-*-cygwin* |
*-*-mingw* )
24628 if test "${enable_gdbtk}" = "yes"; then
24630 # Gdbtk must have an absolute path to srcdir in order to run
24631 # properly when not installed.
24634 GDBTK_SRC_DIR
=`pwd`
24639 # Ok, lets find the tcl configuration
24640 # First, look for one uninstalled.
24641 # the alternative search directory is invoked by --with-tcl
24644 if test x
"${no_tcl}" = x
; then
24645 # we reset no_tcl in case something fails here
24648 # Check whether --with-tcl or --without-tcl was given.
24649 if test "${with_tcl+set}" = set; then
24650 withval
="$with_tcl"
24651 with_tclconfig
=${withval}
24653 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
24654 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
24655 if test "${ac_cv_c_tclconfig+set}" = set; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24660 # First check to see if --with-tcl was specified.
24662 *-*-cygwin*) platDir
="win" ;;
24663 *) platDir
="unix" ;;
24665 if test x
"${with_tclconfig}" != x
; then
24666 if test -f "${with_tclconfig}/tclConfig.sh" ; then
24667 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
24669 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
24670 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
24671 { (exit 1); exit 1; }; }
24675 # then check for a private Tcl installation
24676 if test x
"${ac_cv_c_tclconfig}" = x
; then
24679 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
24680 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
24681 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
24683 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
24684 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
24685 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
24687 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
24688 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
24689 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
24690 if test -f "$i/$platDir/tclConfig.sh" ; then
24691 ac_cv_c_tclconfig
=`(cd $i/$platDir; pwd)`
24697 # on Darwin, check in Framework installation locations
24698 if test "`uname -s`" = "Darwin" -a x
"${ac_cv_c_tclconfig}" = x
; then
24699 for i
in `ls -d ~/Library/Frameworks 2>/dev/null` \
24700 `ls -d /Library/Frameworks 2>/dev/null` \
24701 `ls -d /Network/Library/Frameworks 2>/dev/null` \
24702 `ls -d /System/Library/Frameworks 2>/dev/null` \
24704 if test -f "$i/Tcl.framework/tclConfig.sh" ; then
24705 ac_cv_c_tclconfig
=`(cd $i/Tcl.framework; pwd)`
24711 # check in a few common install locations
24712 if test x
"${ac_cv_c_tclconfig}" = x
; then
24713 for i
in `ls -d ${libdir} 2>/dev/null` \
24714 `ls -d ${exec_prefix}/lib 2>/dev/null` \
24715 `ls -d ${prefix}/lib 2>/dev/null` \
24716 `ls -d /usr/local/lib 2>/dev/null` \
24717 `ls -d /usr/contrib/lib 2>/dev/null` \
24718 `ls -d /usr/lib 2>/dev/null` \
24720 if test -f "$i/tclConfig.sh" ; then
24721 ac_cv_c_tclconfig
=`(cd $i; pwd)`
24727 # check in a few other private locations
24728 if test x
"${ac_cv_c_tclconfig}" = x
; then
24731 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
24732 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
24733 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
24734 if test -f "$i/$platDir/tclConfig.sh" ; then
24735 ac_cv_c_tclconfig
=`(cd $i/$platDir; pwd)`
24744 if test x
"${ac_cv_c_tclconfig}" = x
; then
24745 TCL_BIN_DIR
="# no Tcl configs found"
24746 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
24747 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
24751 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
24752 echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
24753 echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
24757 if test -z "${no_tcl}"; then
24759 echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
24760 echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6
24762 if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
24763 echo "$as_me:$LINENO: result: loading" >&5
24764 echo "${ECHO_T}loading" >&6
24765 .
${TCL_BIN_DIR}/tclConfig.sh
24767 echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
24768 echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
24771 # eval is required to do the TCL_DBGX substitution
24772 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
24773 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
24775 # If the TCL_BIN_DIR is the build directory (not the install directory),
24776 # then set the common variable name to the value of the build variables.
24777 # For example, the variable TCL_LIB_SPEC will be set to the value
24778 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
24779 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
24780 # installed and uninstalled version of Tcl.
24781 if test -f ${TCL_BIN_DIR}/Makefile
; then
24782 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
24783 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
24784 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
24785 elif test "`uname -s`" = "Darwin"; then
24786 # If Tcl was built as a framework, attempt to use the libraries
24787 # from the framework at the given location so that linking works
24788 # against Tcl.framework installed in an arbitary location.
24789 case ${TCL_DEFS} in
24791 if test -f ${TCL_BIN_DIR}/${TCL_LIB_FILE}; then
24792 for i
in "`cd ${TCL_BIN_DIR}; pwd`" \
24793 "`cd ${TCL_BIN_DIR}/../..; pwd`"; do
24794 if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework"; then
24795 TCL_LIB_SPEC
="-F`dirname "$i"` -framework ${TCL_LIB_FILE}"
24800 if test -f ${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}; then
24801 TCL_STUB_LIB_SPEC
="-L${TCL_BIN_DIR} ${TCL_STUB_LIB_FLAG}"
24802 TCL_STUB_LIB_PATH
="${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"
24808 # eval is required to do the TCL_DBGX substitution
24809 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
24810 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
24811 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
24812 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
24828 # Check for in-tree tcl
24835 if test "${TCL_SRC_DIR}" = "${topdir}/tcl"; then
24839 # Find Tcl private headers
24840 if test x
"${intree}" = xno
; then
24842 echo "$as_me:$LINENO: checking for Tcl private headers" >&5
24843 echo $ECHO_N "checking for Tcl private headers... $ECHO_C" >&6
24845 dir
=`echo ${TCL_INCLUDE_SPEC}/tcl-private/generic | sed -e s/-I//`
24846 if test -f ${dir}/tclInt.h
; then
24850 if test x
"${private_dir}" = x
; then
24851 { { echo "$as_me:$LINENO: error: could not find private Tcl headers" >&5
24852 echo "$as_me: error: could not find private Tcl headers" >&2;}
24853 { (exit 1); exit 1; }; }
24855 TCL_PRIVATE_INCLUDE
="-I${private_dir}"
24856 echo "$as_me:$LINENO: result: ${private_dir}" >&5
24857 echo "${ECHO_T}${private_dir}" >&6
24860 TCL_INCLUDE
="${TCL_INCLUDE_SPEC} ${TCL_PRIVATE_INCLUDE}"
24861 TCL_LIBRARY
="${TCL_LIB_SPEC}"
24864 # If building tcl in the same src tree, private headers
24865 # are not needed, but we need to be sure to use the right
24867 TCL_INCLUDE
="-I${TCL_SRC_DIR}/generic"
24868 TCL_LIBRARY
="${TCL_BUILD_LIB_SPEC}"
24869 TCL_DEPS
="../tcl/${configdir}${TCL_LIB_FILE}"
24875 # If $no_tk is nonempty, then we can't do Tk, and there is no
24876 # point to doing Tcl.
24877 if test -z "${no_tk}"; then
24880 # Ok, lets find the tk configuration
24881 # First, look for one uninstalled.
24882 # the alternative search directory is invoked by --with-tk
24885 if test x
"${no_tk}" = x
; then
24886 # we reset no_tk in case something fails here
24889 # Check whether --with-tk or --without-tk was given.
24890 if test "${with_tk+set}" = set; then
24892 with_tkconfig
=${withval}
24894 echo "$as_me:$LINENO: checking for Tk configuration" >&5
24895 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
24896 if test "${ac_cv_c_tkconfig+set}" = set; then
24897 echo $ECHO_N "(cached) $ECHO_C" >&6
24901 # First check to see if --with-tkconfig was specified.
24902 if test x
"${with_tkconfig}" != x
; then
24903 if test -f "${with_tkconfig}/tkConfig.sh" ; then
24904 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
24906 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
24907 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
24908 { (exit 1); exit 1; }; }
24912 # then check for a private Tk library
24914 *-*-cygwin*) platDir
="win" ;;
24915 *) platDir
="unix" ;;
24917 if test x
"${ac_cv_c_tkconfig}" = x
; then
24920 `ls -dr ../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
24921 `ls -dr ../tk[8-9].[0-9] 2>/dev/null` \
24922 `ls -dr ../tk[8-9].[0-9]* 2>/dev/null` \
24924 `ls -dr ../../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
24925 `ls -dr ../../tk[8-9].[0-9] 2>/dev/null` \
24926 `ls -dr ../../tk[8-9].[0-9]* 2>/dev/null` \
24928 `ls -dr ../../../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
24929 `ls -dr ../../../tk[8-9].[0-9] 2>/dev/null` \
24930 `ls -dr ../../../tk[8-9].[0-9]* 2>/dev/null` ; do
24931 if test -f "$i/$platDir/tkConfig.sh" ; then
24932 ac_cv_c_tkconfig
=`(cd $i/$platDir; pwd)`
24938 # on Darwin, check in Framework installation locations
24939 if test "`uname -s`" = "Darwin" -a x
"${ac_cv_c_tkconfig}" = x
; then
24940 for i
in `ls -d ~/Library/Frameworks 2>/dev/null` \
24941 `ls -d /Library/Frameworks 2>/dev/null` \
24942 `ls -d /Network/Library/Frameworks 2>/dev/null` \
24943 `ls -d /System/Library/Frameworks 2>/dev/null` \
24945 if test -f "$i/Tk.framework/tkConfig.sh" ; then
24946 ac_cv_c_tkconfig
=`(cd $i/Tk.framework; pwd)`
24952 # check in a few common install locations
24953 if test x
"${ac_cv_c_tkconfig}" = x
; then
24954 for i
in `ls -d ${libdir} 2>/dev/null` \
24955 `ls -d ${exec_prefix}/lib 2>/dev/null` \
24956 `ls -d ${prefix}/lib 2>/dev/null` \
24957 `ls -d /usr/local/lib 2>/dev/null` \
24958 `ls -d /usr/contrib/lib 2>/dev/null` \
24959 `ls -d /usr/lib 2>/dev/null` \
24961 if test -f "$i/tkConfig.sh" ; then
24962 ac_cv_c_tkconfig
=`(cd $i; pwd)`
24967 # check in a few other private locations
24968 if test x
"${ac_cv_c_tkconfig}" = x
; then
24971 `ls -dr ${srcdir}/../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
24972 `ls -dr ${srcdir}/../tk[8-9].[0-9] 2>/dev/null` \
24973 `ls -dr ${srcdir}/../tk[8-9].[0-9]* 2>/dev/null` ; do
24974 if test -f "$i/$platDir/tkConfig.sh" ; then
24975 ac_cv_c_tkconfig
=`(cd $i/$platDir; pwd)`
24984 if test x
"${ac_cv_c_tkconfig}" = x
; then
24985 TK_BIN_DIR
="# no Tk configs found"
24986 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
24987 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
24991 TK_BIN_DIR
=${ac_cv_c_tkconfig}
24992 echo "$as_me:$LINENO: result: found ${TK_BIN_DIR}/tkConfig.sh" >&5
24993 echo "${ECHO_T}found ${TK_BIN_DIR}/tkConfig.sh" >&6
24998 echo "$as_me:$LINENO: checking for existence of ${TK_BIN_DIR}/tkConfig.sh" >&5
24999 echo $ECHO_N "checking for existence of ${TK_BIN_DIR}/tkConfig.sh... $ECHO_C" >&6
25001 if test -f "${TK_BIN_DIR}/tkConfig.sh" ; then
25002 echo "$as_me:$LINENO: result: loading" >&5
25003 echo "${ECHO_T}loading" >&6
25004 .
${TK_BIN_DIR}/tkConfig.sh
25006 echo "$as_me:$LINENO: result: could not find ${TK_BIN_DIR}/tkConfig.sh" >&5
25007 echo "${ECHO_T}could not find ${TK_BIN_DIR}/tkConfig.sh" >&6
25010 # eval is required to do the TK_DBGX substitution
25011 eval "TK_LIB_FILE=\"${TK_LIB_FILE}\""
25012 eval "TK_STUB_LIB_FILE=\"${TK_STUB_LIB_FILE}\""
25014 # If the TK_BIN_DIR is the build directory (not the install directory),
25015 # then set the common variable name to the value of the build variables.
25016 # For example, the variable TK_LIB_SPEC will be set to the value
25017 # of TK_BUILD_LIB_SPEC. An extension should make use of TK_LIB_SPEC
25018 # instead of TK_BUILD_LIB_SPEC since it will work with both an
25019 # installed and uninstalled version of Tcl.
25020 if test -f ${TK_BIN_DIR}/Makefile
; then
25021 TK_LIB_SPEC
=${TK_BUILD_LIB_SPEC}
25022 TK_STUB_LIB_SPEC
=${TK_BUILD_STUB_LIB_SPEC}
25023 TK_STUB_LIB_PATH
=${TK_BUILD_STUB_LIB_PATH}
25024 elif test "`uname -s`" = "Darwin"; then
25025 # If Tk was built as a framework, attempt to use the libraries
25026 # from the framework at the given location so that linking works
25027 # against Tk.framework installed in an arbitary location.
25030 if test -f ${TK_BIN_DIR}/${TK_LIB_FILE}; then
25031 for i
in "`cd ${TK_BIN_DIR}; pwd`" \
25032 "`cd ${TK_BIN_DIR}/../..; pwd`"; do
25033 if test "`basename "$i"`" = "${TK_LIB_FILE}.framework"; then
25034 TK_LIB_SPEC
="-F`dirname "$i"` -framework ${TK_LIB_FILE}"
25039 if test -f ${TK_BIN_DIR}/${TK_STUB_LIB_FILE}; then
25040 TK_STUB_LIB_SPEC
="-L${TK_BIN_DIR} ${TK_STUB_LIB_FLAG}"
25041 TK_STUB_LIB_PATH
="${TK_BIN_DIR}/${TK_STUB_LIB_FILE}"
25047 # eval is required to do the TK_DBGX substitution
25048 eval "TK_LIB_FLAG=\"${TK_LIB_FLAG}\""
25049 eval "TK_LIB_SPEC=\"${TK_LIB_SPEC}\""
25050 eval "TK_STUB_LIB_FLAG=\"${TK_STUB_LIB_FLAG}\""
25051 eval "TK_STUB_LIB_SPEC=\"${TK_STUB_LIB_SPEC}\""
25066 # Check for in-tree Tk
25068 if test "${TK_SRC_DIR}" = "${topdir}/tk"; then
25072 # Find Tk private headers
25073 if test x
"${intree}" = xno
; then
25075 echo "$as_me:$LINENO: checking for Tk private headers" >&5
25076 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
25078 dir
=`echo ${TK_INCLUDE_SPEC}/tk-private/generic | sed -e s/-I//`
25079 if test -f ${dir}/tkInt.h
; then
25083 if test x
"${private_dir}" = x
; then
25084 { { echo "$as_me:$LINENO: error: could not find Tk private headers" >&5
25085 echo "$as_me: error: could not find Tk private headers" >&2;}
25086 { (exit 1); exit 1; }; }
25088 TK_PRIVATE_INCLUDE
="-I${private_dir}"
25089 echo "$as_me:$LINENO: result: ${private_dir}" >&5
25090 echo "${ECHO_T}${private_dir}" >&6
25093 TK_INCLUDE
="${TK_INCLUDE_SPEC} ${TK_PRIVATE_INCLUDE}"
25094 TK_LIBRARY
=${TK_LIB_SPEC}
25097 TK_INCLUDE
="-I${TK_SRC_DIR}/generic"
25098 TK_LIBRARY
="${TK_BUILD_LIB_SPEC}"
25099 TK_DEPS
="../tk/${configdir}/${TK_LIB_FILE}"
25106 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
25108 # Include some libraries that Tcl and Tk want.
25109 TCL_LIBS
='$(LIBGUI) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
25110 # Yes, the ordering seems wrong here. But it isn't.
25111 # TK_LIBS is the list of libraries that need to be linked
25112 # after Tcl/Tk. Note that this isn't put into LIBS. If it
25113 # were in LIBS then any link tests after this point would
25114 # try to include things like `$(LIBGUI)', which wouldn't work.
25115 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
25117 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
25118 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
25119 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
25120 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
25121 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
25122 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
25123 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
25125 if test x
$gdb_cv_os_cygwin = xyes
; then
25126 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
25127 WIN32LDAPP
="-Wl,--subsystem,console"
25128 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
25135 subdirs
="$subdirs gdbtk"
25146 echo "$as_me:$LINENO: checking for X" >&5
25147 echo $ECHO_N "checking for X... $ECHO_C" >&6
25150 # Check whether --with-x or --without-x was given.
25151 if test "${with_x+set}" = set; then
25155 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25156 if test "x$with_x" = xno
; then
25157 # The user explicitly disabled X.
25160 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25161 # Both variables are already set.
25164 if test "${ac_cv_have_x+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 # One or both of the vars are not set, and there is no cached value.
25168 ac_x_includes
=no ac_x_libraries
=no
25169 rm -fr conftest.dir
25170 if mkdir conftest.dir
; then
25172 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25173 cat >Imakefile
<<'_ACEOF'
25175 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25177 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25178 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25179 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25180 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25181 for ac_extension
in a so sl
; do
25182 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25183 test -f $ac_im_libdir/libX11.
$ac_extension; then
25184 ac_im_usrlibdir
=$ac_im_libdir; break
25187 # Screen out bogus values from the imake configuration. They are
25188 # bogus both because they are the default anyway, and because
25189 # using them would break gcc on systems where it needs fixed includes.
25190 case $ac_im_incroot in
25192 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25194 case $ac_im_usrlibdir in
25195 /usr
/lib |
/lib
) ;;
25196 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25200 rm -fr conftest.dir
25203 # Standard set of common directories for X headers.
25204 # Check X11 before X11Rn because it is often a symlink to the current release.
25216 /usr/local/X11/include
25217 /usr/local/X11R6/include
25218 /usr/local/X11R5/include
25219 /usr/local/X11R4/include
25221 /usr/local/include/X11
25222 /usr/local/include/X11R6
25223 /usr/local/include/X11R5
25224 /usr/local/include/X11R4
25228 /usr/XFree86/include/X11
25232 /usr/unsupported/include
25233 /usr/athena/include
25234 /usr/local/x11r5/include
25235 /usr/lpp/Xamples/include
25237 /usr/openwin/include
25238 /usr/openwin/share/include'
25240 if test "$ac_x_includes" = no
; then
25241 # Guess where to find include files, by looking for Intrinsic.h.
25242 # First, try using that file with no special directory specified.
25243 cat >conftest.
$ac_ext <<_ACEOF
25246 cat confdefs.h
>>conftest.
$ac_ext
25247 cat >>conftest.
$ac_ext <<_ACEOF
25248 /* end confdefs.h. */
25249 #include <X11/Intrinsic.h>
25251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25254 grep -v '^ *+' conftest.er1
>conftest.err
25256 cat conftest.err
>&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } >/dev
/null
; then
25259 if test -s conftest.err
; then
25260 ac_cpp_err
=$ac_c_preproc_warn_flag
25261 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25268 if test -z "$ac_cpp_err"; then
25269 # We can compile using X headers with no special include directory.
25272 echo "$as_me: failed program was:" >&5
25273 sed 's/^/| /' conftest.
$ac_ext >&5
25275 for ac_dir
in $ac_x_header_dirs; do
25276 if test -r "$ac_dir/X11/Intrinsic.h"; then
25277 ac_x_includes
=$ac_dir
25282 rm -f conftest.err conftest.
$ac_ext
25283 fi # $ac_x_includes = no
25285 if test "$ac_x_libraries" = no
; then
25286 # Check for the libraries.
25287 # See if we find them without any special options.
25288 # Don't add to $LIBS permanently.
25291 cat >conftest.
$ac_ext <<_ACEOF
25294 cat confdefs.h
>>conftest.
$ac_ext
25295 cat >>conftest.
$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25297 #include <X11/Intrinsic.h>
25306 rm -f conftest.
$ac_objext conftest
$ac_exeext
25307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25308 (eval $ac_link) 2>conftest.er1
25310 grep -v '^ *+' conftest.er1
>conftest.err
25312 cat conftest.err
>&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); } &&
25315 { ac_try
='test -z "$ac_c_werror_flag"
25316 || test ! -s conftest.err'
25317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25318 (eval $ac_try) 2>&5
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); }; } &&
25322 { ac_try
='test -s conftest$ac_exeext'
25323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324 (eval $ac_try) 2>&5
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); }; }; then
25329 # We can link X programs with no special library path.
25332 echo "$as_me: failed program was:" >&5
25333 sed 's/^/| /' conftest.
$ac_ext >&5
25336 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25338 # Don't even attempt the hair of trying to link an X program!
25339 for ac_extension
in a so sl
; do
25340 if test -r $ac_dir/libXt.
$ac_extension; then
25341 ac_x_libraries
=$ac_dir
25347 rm -f conftest.err conftest.
$ac_objext \
25348 conftest
$ac_exeext conftest.
$ac_ext
25349 fi # $ac_x_libraries = no
25351 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
25352 # Didn't find X anywhere. Cache the known absence of X.
25353 ac_cv_have_x
="have_x=no"
25355 # Record where we found X for the cache.
25356 ac_cv_have_x
="have_x=yes \
25357 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25362 eval "$ac_cv_have_x"
25365 if test "$have_x" != yes; then
25366 echo "$as_me:$LINENO: result: $have_x" >&5
25367 echo "${ECHO_T}$have_x" >&6
25370 # If each of the values was on the command line, it overrides each guess.
25371 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25372 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25373 # Update the cache value to reflect the command line values.
25374 ac_cv_have_x
="have_x=yes \
25375 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25376 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
25377 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25381 # Check whether we should enable the TUI, but only do so if we really
25383 if test x
"$enable_tui" != xno
; then
25384 if test -d $srcdir/tui
; then
25385 if test "$ac_cv_search_waddstr" != no
; then
25386 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
25387 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
25388 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
25389 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
25390 CONFIG_ALL
="${CONFIG_ALL} all-tui"
25391 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
25392 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
25393 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
25395 if test x
"$enable_tui" = xyes
; then
25396 { { echo "$as_me:$LINENO: error: no enhanced curses library found; disable TUI" >&5
25397 echo "$as_me: error: no enhanced curses library found; disable TUI" >&2;}
25398 { (exit 1); exit 1; }; }
25400 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
25401 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
25407 # Unlike the sim directory, whether a simulator is linked is controlled by
25408 # presence of a gdb_sim definition in the target configure.tgt entry.
25409 # This code just checks for a few cases where we'd like to ignore those
25410 # definitions, even when they're present in the '.mt' file. These cases
25411 # are when --disable-sim is specified, or if the simulator directory is
25412 # not part of the source tree.
25414 # Check whether --enable-sim or --disable-sim was given.
25415 if test "${enable_sim+set}" = set; then
25416 enableval
="$enable_sim"
25417 echo "enable_sim = $enable_sim";
25418 echo "enableval = ${enableval}";
25419 case "${enableval}" in
25420 yes) ignore_sim
=false
;;
25421 no
) ignore_sim
=true
;;
25422 *) ignore_sim
=false
;;
25428 if test ! -d "${srcdir}/../sim"; then
25434 if test "${ignore_sim}" = "false"; then
25435 if test x
"${gdb_sim}" != x
; then
25437 SIM_OBS
="remote-sim.o"
25439 cat >>confdefs.h
<<\_ACEOF
25459 # List of host floatformats.
25461 cat >>confdefs.h
<<_ACEOF
25462 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
25466 cat >>confdefs.h
<<_ACEOF
25467 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
25471 cat >>confdefs.h
<<_ACEOF
25472 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
25476 # target_subdir is used by the testsuite to find the target libraries.
25478 if test "${host}" != "${target}"; then
25479 target_subdir
="${target_alias}/"
25484 if test "${gdb_native}" = "yes"; then
25485 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
25486 if test ! -f ${host_makefile_frag}; then
25487 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
25488 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
25489 { (exit 1); exit 1; }; }
25491 frags
="$frags $host_makefile_frag"
25493 host_makefile_frag
=/dev
/null
25499 if test "${gdb_native}" = "yes"; then
25500 # We pick this up from the host configuration file (.mh) because we
25501 # do not have a native configuration Makefile fragment.
25502 nativefile
=`sed -n '
25503 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
25504 ' ${host_makefile_frag}`
25508 if test x
"${gdb_osabi}" != x
; then
25510 cat >>confdefs.h
<<_ACEOF
25511 #define GDB_OSABI_DEFAULT $gdb_osabi
25516 # Enable multi-ice-gdb-server.
25517 # Check whether --enable-multi-ice or --disable-multi-ice was given.
25518 if test "${enable_multi_ice+set}" = set; then
25519 enableval
="$enable_multi_ice"
25523 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
25524 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
25525 { (exit 1); exit 1; }; } ;;
25528 if test "x$enable_multi_ice" = xyes
; then
25531 subdirs
="$subdirs multi-ice"
25535 # We only build gdbserver automatically in a native configuration.
25536 if test "$gdb_native" = "yes"; then
25537 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
25538 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
25539 if test "x$build_gdbserver" = xyes
; then
25540 echo "$as_me:$LINENO: result: yes" >&5
25541 echo "${ECHO_T}yes" >&6
25544 subdirs
="$subdirs gdbserver"
25547 echo "$as_me:$LINENO: result: no" >&5
25548 echo "${ECHO_T}no" >&6
25552 # If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
25553 # to an empty version.
25560 if test "${nativefile}" != ""; then
25562 case "${nativefile}" in
25563 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
25564 * ) GDB_NM_FILE
="${nativefile}"
25566 files
="${files} ${GDB_NM_FILE}"
25567 links
="${links} nm.h"
25569 cat >>confdefs.h
<<_ACEOF
25570 #define GDB_NM_FILE "${GDB_NM_FILE}"
25576 ac_sources
="$files"
25578 while test -n "$ac_sources"; do
25579 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
25580 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
25581 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
25583 ac_config_links
="$ac_config_links $ac_config_links_1"
25590 cat >>confdefs.h
<<\_ACEOF
25591 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
25598 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
25599 if test "${with_libiconv_prefix+set}" = set; then
25600 withval
="$with_libiconv_prefix"
25602 for dir
in `echo "$withval" | tr : ' '`; do
25603 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
25604 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
25609 echo "$as_me:$LINENO: checking for iconv" >&5
25610 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
25611 if test "${am_cv_func_iconv+set}" = set; then
25612 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 am_cv_func_iconv
="no, consider installing GNU libiconv"
25617 cat >conftest.
$ac_ext <<_ACEOF
25620 cat confdefs.h
>>conftest.
$ac_ext
25621 cat >>conftest.
$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25623 #include <stdlib.h>
25628 iconv_t cd = iconv_open("","");
25629 iconv(cd,NULL,NULL,NULL,NULL);
25635 rm -f conftest.
$ac_objext conftest
$ac_exeext
25636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25637 (eval $ac_link) 2>conftest.er1
25639 grep -v '^ *+' conftest.er1
>conftest.err
25641 cat conftest.err
>&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } &&
25644 { ac_try
='test -z "$ac_c_werror_flag"
25645 || test ! -s conftest.err'
25646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25647 (eval $ac_try) 2>&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); }; } &&
25651 { ac_try
='test -s conftest$ac_exeext'
25652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25653 (eval $ac_try) 2>&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); }; }; then
25657 am_cv_func_iconv
=yes
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.
$ac_ext >&5
25663 rm -f conftest.err conftest.
$ac_objext \
25664 conftest
$ac_exeext conftest.
$ac_ext
25665 if test "$am_cv_func_iconv" != yes; then
25666 am_save_LIBS
="$LIBS"
25667 LIBS
="$LIBS -liconv"
25668 cat >conftest.
$ac_ext <<_ACEOF
25671 cat confdefs.h
>>conftest.
$ac_ext
25672 cat >>conftest.
$ac_ext <<_ACEOF
25673 /* end confdefs.h. */
25674 #include <stdlib.h>
25679 iconv_t cd = iconv_open("","");
25680 iconv(cd,NULL,NULL,NULL,NULL);
25686 rm -f conftest.
$ac_objext conftest
$ac_exeext
25687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25688 (eval $ac_link) 2>conftest.er1
25690 grep -v '^ *+' conftest.er1
>conftest.err
25692 cat conftest.err
>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } &&
25695 { ac_try
='test -z "$ac_c_werror_flag"
25696 || test ! -s conftest.err'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; } &&
25702 { ac_try
='test -s conftest$ac_exeext'
25703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25704 (eval $ac_try) 2>&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); }; }; then
25708 am_cv_lib_iconv
=yes
25709 am_cv_func_iconv
=yes
25711 echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.
$ac_ext >&5
25715 rm -f conftest.err conftest.
$ac_objext \
25716 conftest
$ac_exeext conftest.
$ac_ext
25717 LIBS
="$am_save_LIBS"
25721 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
25722 echo "${ECHO_T}$am_cv_func_iconv" >&6
25723 if test "$am_cv_func_iconv" = yes; then
25725 cat >>confdefs.h
<<\_ACEOF
25726 #define HAVE_ICONV 1
25729 echo "$as_me:$LINENO: checking for iconv declaration" >&5
25730 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
25731 if test "${am_cv_proto_iconv+set}" = set; then
25732 echo $ECHO_N "(cached) $ECHO_C" >&6
25735 cat >conftest.
$ac_ext <<_ACEOF
25738 cat confdefs.h
>>conftest.
$ac_ext
25739 cat >>conftest.
$ac_ext <<_ACEOF
25740 /* end confdefs.h. */
25742 #include <stdlib.h>
25748 #if defined(__STDC__) || defined(__cplusplus)
25749 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
25762 rm -f conftest.
$ac_objext
25763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25764 (eval $ac_compile) 2>conftest.er1
25766 grep -v '^ *+' conftest.er1
>conftest.err
25768 cat conftest.err
>&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } &&
25771 { ac_try
='test -z "$ac_c_werror_flag"
25772 || test ! -s conftest.err'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; } &&
25778 { ac_try
='test -s conftest.$ac_objext'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; }; then
25784 am_cv_proto_iconv_arg1
=""
25786 echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.
$ac_ext >&5
25789 am_cv_proto_iconv_arg1
="const"
25791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25792 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);"
25795 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
25796 echo "$as_me:$LINENO: result: ${ac_t:-
25797 }$am_cv_proto_iconv" >&5
25798 echo "${ECHO_T}${ac_t:-
25799 }$am_cv_proto_iconv" >&6
25801 cat >>confdefs.h
<<_ACEOF
25802 #define ICONV_CONST $am_cv_proto_iconv_arg1
25807 if test "$am_cv_lib_iconv" = yes; then
25813 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in gnulib/Makefile"
25814 ac_config_commands
="$ac_config_commands default"
25815 cat >confcache
<<\_ACEOF
25816 # This file is a shell script that caches the results of configure
25817 # tests run on this system so they can be shared between configure
25818 # scripts and configure runs, see configure's option --config-cache.
25819 # It is not useful on other systems. If it contains results you don't
25820 # want to keep, you may remove or edit it.
25822 # config.status only pays attention to the cache file if you give it
25823 # the --recheck option to rerun configure.
25825 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25826 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25827 # following values.
25831 # The following way of writing the cache mishandles newlines in values,
25832 # but we know of no workaround that is simple, portable, and efficient.
25833 # So, don't put newlines in cache variables' values.
25834 # Ultrix sh set writes to stderr and can't be redirected directly,
25835 # and sets the high bit in the cache file unless we assign to the vars.
25838 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25840 # `set' does not quote correctly, so add quotes (double-quote
25841 # substitution turns \\\\ into \\, and sed turns \\ into \).
25844 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25847 # `set' quotes correctly as required by POSIX, so do not add quotes.
25849 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25856 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25858 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25860 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
25861 if test -w $cache_file; then
25862 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25863 cat confcache
>$cache_file
25865 echo "not updating unwritable cache $cache_file"
25870 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25871 # Let make expand exec_prefix.
25872 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25874 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25875 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25876 # trailing colons and then remove the whole line if VPATH becomes empty
25877 # (actually we leave an empty line to preserve line numbers).
25878 if test "x$srcdir" = x.
; then
25879 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25880 s/:*\$(srcdir):*/:/;
25881 s/:*\${srcdir}:*/:/;
25883 s/^\([^=]*=[ ]*\):*/\1/;
25889 DEFS
=-DHAVE_CONFIG_H
25893 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25894 # 1. Remove the extension, and $U if already installed.
25895 ac_i
=`echo "$ac_i" |
25896 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
25898 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
25899 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
25901 LIBOBJS
=$ac_libobjs
25903 LTLIBOBJS
=$ac_ltlibobjs
25906 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25907 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
25908 Usually this means the macro was only invoked conditionally." >&5
25909 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
25910 Usually this means the macro was only invoked conditionally." >&2;}
25911 { (exit 1); exit 1; }; }
25913 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
25914 { { echo "$as_me:$LINENO: error: conditional \"GL_COND_LIBTOOL\" was never defined.
25915 Usually this means the macro was only invoked conditionally." >&5
25916 echo "$as_me: error: conditional \"GL_COND_LIBTOOL\" was never defined.
25917 Usually this means the macro was only invoked conditionally." >&2;}
25918 { (exit 1); exit 1; }; }
25923 if test -n "$gl_LIBOBJS"; then
25924 # Remove the extension.
25925 sed_drop_objext
='s/\.o$//;s/\.obj$//'
25926 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
25927 gl_libobjs
="$gl_libobjs $i.$ac_objext"
25928 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
25931 gl_LIBOBJS
=$gl_libobjs
25933 gl_LTLIBOBJS
=$gl_ltlibobjs
25939 if test -n "$gltests_LIBOBJS"; then
25940 # Remove the extension.
25941 sed_drop_objext
='s/\.o$//;s/\.obj$//'
25942 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
25943 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
25944 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
25947 gltests_LIBOBJS
=$gltests_libobjs
25949 gltests_LTLIBOBJS
=$gltests_ltlibobjs
25952 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25953 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25954 Usually this means the macro was only invoked conditionally." >&5
25955 echo "$as_me: error: conditional \"AMDEP\" was never defined.
25956 Usually this means the macro was only invoked conditionally." >&2;}
25957 { (exit 1); exit 1; }; }
25959 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25960 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25961 Usually this means the macro was only invoked conditionally." >&5
25962 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25963 Usually this means the macro was only invoked conditionally." >&2;}
25964 { (exit 1); exit 1; }; }
25967 : ${CONFIG_STATUS=./config.status}
25968 ac_clean_files_save
=$ac_clean_files
25969 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25970 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25971 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25972 cat >$CONFIG_STATUS <<_ACEOF
25974 # Generated by $as_me.
25975 # Run this file to recreate the current configuration.
25976 # Compiler output produced by configure, useful for debugging
25977 # configure, is in config.log if it exists.
25980 ac_cs_recheck=false
25982 SHELL=\${CONFIG_SHELL-$SHELL}
25985 cat >>$CONFIG_STATUS <<\_ACEOF
25986 ## --------------------- ##
25987 ## M4sh Initialization. ##
25988 ## --------------------- ##
25990 # Be Bourne compatible
25991 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25994 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25995 # is contrary to our usage. Disable this feature.
25996 alias -g '${1+"$@"}'='"$@"'
25997 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
26000 DUALCASE
=1; export DUALCASE
# for MKS sh
26002 # Support unset when possible.
26003 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
26010 # Work around bugs in pre-3.0 UWIN ksh.
26011 $as_unset ENV MAIL MAILPATH
26018 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26019 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26020 LC_TELEPHONE LC_TIME
26022 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26023 eval $as_var=C
; export $as_var
26029 # Required to use basename.
26030 if expr a
: '\(a\)' >/dev
/null
2>&1; then
26036 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
26037 as_basename
=basename
26043 # Name of the executable.
26044 as_me
=`$as_basename "$0" ||
26045 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26046 X"$0" : 'X\(//\)$' \| \
26047 X"$0" : 'X\(/\)$' \| \
26048 . : '\(.\)' 2>/dev/null ||
26050 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
26051 /^X\/\(\/\/\)$/{ s//\1/; q; }
26052 /^X\/\(\/\).*/{ s//\1/; q; }
26056 # PATH needs CR, and LINENO needs CR and PATH.
26057 # Avoid depending upon Character Ranges.
26058 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26059 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26060 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26061 as_cr_digits
='0123456789'
26062 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26064 # The user is always right.
26065 if test "${PATH_SEPARATOR+set}" != set; then
26066 echo "#! /bin/sh" >conf$$.sh
26067 echo "exit 0" >>conf$$.sh
26069 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
26078 as_lineno_1
=$LINENO
26079 as_lineno_2
=$LINENO
26080 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
26081 test "x$as_lineno_1" != "x$as_lineno_2" &&
26082 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
26083 # Find who we are. Look in the path if we contain no path at all
26086 *[\\/]* ) as_myself
=$0 ;;
26087 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26088 for as_dir
in $PATH
26091 test -z "$as_dir" && as_dir
=.
26092 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
26097 # We did not find ourselves, most probably we were run as `sh COMMAND'
26098 # in which case we are not to be found in the path.
26099 if test "x$as_myself" = x
; then
26102 if test ! -f "$as_myself"; then
26103 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
26104 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
26105 { (exit 1); exit 1; }; }
26107 case $CONFIG_SHELL in
26109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26110 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
26113 test -z "$as_dir" && as_dir
=.
26114 for as_base
in sh bash ksh sh5
; do
26117 if ("$as_dir/$as_base" -c '
26118 as_lineno_1=$LINENO
26119 as_lineno_2=$LINENO
26120 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26121 test "x$as_lineno_1" != "x$as_lineno_2" &&
26122 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
26123 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
26124 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
26125 CONFIG_SHELL
=$as_dir/$as_base
26126 export CONFIG_SHELL
26127 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
26135 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26136 # uniformly replaced by the line number. The first 'sed' inserts a
26137 # line-number line before each line; the second 'sed' does the real
26138 # work. The second script uses 'N' to pair each line-number line
26139 # with the numbered line, and appends trailing '-' during
26140 # substitution so that $LINENO is not a special case at line end.
26141 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26142 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
26143 sed '=' <$as_myself |
26148 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
26151 s,^['$as_cr_digits']*\n,,
26152 ' >$as_me.lineno
&&
26153 chmod +x
$as_me.lineno ||
26154 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
26155 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
26156 { (exit 1); exit 1; }; }
26158 # Don't try to exec as it changes $[0], causing all sort of problems
26159 # (the dirname of $[0] is not the place where we might find the
26160 # original and so on. Autoconf is especially sensible to this).
26162 # Exit status is that of the last command.
26167 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
26168 *c
*,-n*) ECHO_N
= ECHO_C
='
26170 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
26171 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
26174 if expr a
: '\(a\)' >/dev
/null
2>&1; then
26180 rm -f conf$$ conf$$.exe conf$$.
file
26182 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26183 # We could just check for DJGPP; but this test a) works b) is more generic
26184 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26185 if test -f conf$$.exe
; then
26186 # Don't use ln at all; we don't have any links
26191 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26196 rm -f conf$$ conf$$.exe conf$$.
file
26198 if mkdir
-p .
2>/dev
/null
; then
26201 test -d .
/-p && rmdir .
/-p
26205 as_executable_p
="test -f"
26207 # Sed expression to map a string onto a valid CPP name.
26208 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26210 # Sed expression to map a string onto a valid variable name.
26211 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26215 # We need space, tab and new line, in precisely that order.
26225 # Open the log real soon, to keep \$[0] and so on meaningful, and to
26226 # report actual input values of CONFIG_FILES etc. instead of their
26227 # values after options handling. Logging --version etc. is OK.
26231 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26232 ## Running $as_me. ##
26237 This file was extended by $as_me, which was
26238 generated by GNU Autoconf 2.59. Invocation command line was
26240 CONFIG_FILES = $CONFIG_FILES
26241 CONFIG_HEADERS = $CONFIG_HEADERS
26242 CONFIG_LINKS = $CONFIG_LINKS
26243 CONFIG_COMMANDS = $CONFIG_COMMANDS
26247 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
26251 # Files that config.status was made for.
26252 if test -n "$ac_config_files"; then
26253 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26256 if test -n "$ac_config_headers"; then
26257 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26260 if test -n "$ac_config_links"; then
26261 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26264 if test -n "$ac_config_commands"; then
26265 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26268 cat >>$CONFIG_STATUS <<\_ACEOF
26271 \`$as_me' instantiates files from templates according to the
26272 current configuration.
26274 Usage: $0 [OPTIONS] [FILE]...
26276 -h, --help print this help, then exit
26277 -V, --version print version number, then exit
26278 -q, --quiet do not print progress messages
26279 -d, --debug don't remove temporary files
26280 --recheck update $as_me by reconfiguring in the same conditions
26281 --file=FILE[:TEMPLATE]
26282 instantiate the configuration file FILE
26283 --header=FILE[:TEMPLATE]
26284 instantiate the configuration header FILE
26286 Configuration files:
26289 Configuration headers:
26292 Configuration links:
26295 Configuration commands:
26298 Report bugs to <bug-autoconf@gnu.org>."
26301 cat >>$CONFIG_STATUS <<_ACEOF
26304 configured by $0, generated by GNU Autoconf 2.59,
26305 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26307 Copyright (C) 2003 Free Software Foundation, Inc.
26308 This config.status script is free software; the Free Software Foundation
26309 gives unlimited permission to copy, distribute and modify it."
26314 cat >>$CONFIG_STATUS <<\_ACEOF
26315 # If no file are specified by the user, then we need to provide default
26316 # value. By we need to know if files were specified by the user.
26322 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
26323 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
26331 *) # This is not an option, so the user has probably given explicit
26334 ac_need_defaults
=false
;;
26338 # Handling of the options.
26340 cat >>$CONFIG_STATUS <<\_ACEOF
26341 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26343 --version |
--vers* |
-V )
26344 echo "$ac_cs_version"; exit 0 ;;
26346 # Conflict between --help and --header
26347 { { echo "$as_me:$LINENO: error: ambiguous option: $1
26348 Try \`$0 --help' for more information." >&5
26349 echo "$as_me: error: ambiguous option: $1
26350 Try \`$0 --help' for more information." >&2;}
26351 { (exit 1); exit 1; }; };;
26352 --help |
--hel |
-h )
26353 echo "$ac_cs_usage"; exit 0 ;;
26354 --debug |
--d* |
-d )
26356 --file |
--fil |
--fi |
--f )
26358 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
26359 ac_need_defaults
=false
;;
26360 --header |
--heade |
--head |
--hea )
26362 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
26363 ac_need_defaults
=false
;;
26364 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26365 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26368 # This is an error.
26369 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
26370 Try \`$0 --help' for more information." >&5
26371 echo "$as_me: error: unrecognized option: $1
26372 Try \`$0 --help' for more information." >&2;}
26373 { (exit 1); exit 1; }; } ;;
26375 *) ac_config_targets
="$ac_config_targets $1" ;;
26381 ac_configure_extra_args
=
26383 if $ac_cs_silent; then
26385 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26389 cat >>$CONFIG_STATUS <<_ACEOF
26390 if \$ac_cs_recheck; then
26391 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26392 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26397 cat >>$CONFIG_STATUS <<_ACEOF
26399 # INIT-COMMANDS section.
26402 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26404 gdb_host_cpu=$gdb_host_cpu
26405 nativefile=$nativefile
26412 cat >>$CONFIG_STATUS <<\_ACEOF
26413 for ac_config_target
in $ac_config_targets
26415 case "$ac_config_target" in
26416 # Handling of arguments.
26417 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26418 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
26419 "gnulib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gnulib/Makefile" ;;
26420 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
26421 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26422 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
26423 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
26424 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26425 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26426 { (exit 1); exit 1; }; };;
26430 # If the user did not use the arguments to specify the items to instantiate,
26431 # then the envvar interface is used. Set only those that are not.
26432 # We use the long form for the default assignment because of an extremely
26433 # bizarre bug on SunOS 4.1.3.
26434 if $ac_need_defaults; then
26435 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26436 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26437 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26438 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26441 # Have a temporary directory for convenience. Make it in the build tree
26442 # simply because there is no reason to put it here, and in addition,
26443 # creating and moving files from /tmp can sometimes cause problems.
26444 # Create a temporary directory, and hook for its removal unless debugging.
26447 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26448 trap '{ (exit 1); exit 1; }' 1 2 13 15
26451 # Create a (secure) tmp directory for tmp files.
26454 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
26455 test -n "$tmp" && test -d "$tmp"
26458 tmp
=.
/confstat$$
-$RANDOM
26459 (umask 077 && mkdir
$tmp)
26462 echo "$me: cannot create a temporary directory in ." >&2
26463 { (exit 1); exit 1; }
26468 cat >>$CONFIG_STATUS <<_ACEOF
26471 # CONFIG_FILES section.
26474 # No need to generate the scripts if there are no CONFIG_FILES.
26475 # This happens for instance when ./config.status config.h
26476 if test -n "\$CONFIG_FILES"; then
26477 # Protect against being on the right side of a sed subst in config.status.
26478 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26479 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26480 s,@SHELL@,$SHELL,;t t
26481 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26482 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26483 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26484 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26485 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26486 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26487 s,@exec_prefix@,$exec_prefix,;t t
26488 s,@prefix@,$prefix,;t t
26489 s,@program_transform_name@,$program_transform_name,;t t
26490 s,@bindir@,$bindir,;t t
26491 s,@sbindir@,$sbindir,;t t
26492 s,@libexecdir@,$libexecdir,;t t
26493 s,@datadir@,$datadir,;t t
26494 s,@sysconfdir@,$sysconfdir,;t t
26495 s,@sharedstatedir@,$sharedstatedir,;t t
26496 s,@localstatedir@,$localstatedir,;t t
26497 s,@libdir@,$libdir,;t t
26498 s,@includedir@,$includedir,;t t
26499 s,@oldincludedir@,$oldincludedir,;t t
26500 s,@infodir@,$infodir,;t t
26501 s,@mandir@,$mandir,;t t
26502 s,@build_alias@,$build_alias,;t t
26503 s,@host_alias@,$host_alias,;t t
26504 s,@target_alias@,$target_alias,;t t
26505 s,@DEFS@,$DEFS,;t t
26506 s,@ECHO_C@,$ECHO_C,;t t
26507 s,@ECHO_N@,$ECHO_N,;t t
26508 s,@ECHO_T@,$ECHO_T,;t t
26509 s,@LIBS@,$LIBS,;t t
26510 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
26511 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
26512 s,@MAINT@,$MAINT,;t t
26514 s,@CFLAGS@,$CFLAGS,;t t
26515 s,@LDFLAGS@,$LDFLAGS,;t t
26516 s,@CPPFLAGS@,$CPPFLAGS,;t t
26517 s,@ac_ct_CC@,$ac_ct_CC,;t t
26518 s,@EXEEXT@,$EXEEXT,;t t
26519 s,@OBJEXT@,$OBJEXT,;t t
26521 s,@EGREP@,$EGREP,;t t
26522 s,@RANLIB@,$RANLIB,;t t
26523 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26524 s,@build@,$build,;t t
26525 s,@build_cpu@,$build_cpu,;t t
26526 s,@build_vendor@,$build_vendor,;t t
26527 s,@build_os@,$build_os,;t t
26528 s,@host@,$host,;t t
26529 s,@host_cpu@,$host_cpu,;t t
26530 s,@host_vendor@,$host_vendor,;t t
26531 s,@host_os@,$host_os,;t t
26532 s,@target@,$target,;t t
26533 s,@target_cpu@,$target_cpu,;t t
26534 s,@target_vendor@,$target_vendor,;t t
26535 s,@target_os@,$target_os,;t t
26536 s,@USE_NLS@,$USE_NLS,;t t
26537 s,@LIBINTL@,$LIBINTL,;t t
26538 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
26539 s,@INCINTL@,$INCINTL,;t t
26540 s,@XGETTEXT@,$XGETTEXT,;t t
26541 s,@GMSGFMT@,$GMSGFMT,;t t
26542 s,@POSUB@,$POSUB,;t t
26543 s,@CATALOGS@,$CATALOGS,;t t
26544 s,@DATADIRNAME@,$DATADIRNAME,;t t
26545 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
26546 s,@GENCAT@,$GENCAT,;t t
26547 s,@CATOBJEXT@,$CATOBJEXT,;t t
26548 s,@localedir@,$localedir,;t t
26549 s,@GL_COND_LIBTOOL_TRUE@,$GL_COND_LIBTOOL_TRUE,;t t
26550 s,@GL_COND_LIBTOOL_FALSE@,$GL_COND_LIBTOOL_FALSE,;t t
26551 s,@GNULIB_MEMMEM@,$GNULIB_MEMMEM,;t t
26552 s,@GNULIB_MEMPCPY@,$GNULIB_MEMPCPY,;t t
26553 s,@GNULIB_MEMRCHR@,$GNULIB_MEMRCHR,;t t
26554 s,@GNULIB_STPCPY@,$GNULIB_STPCPY,;t t
26555 s,@GNULIB_STPNCPY@,$GNULIB_STPNCPY,;t t
26556 s,@GNULIB_STRCHRNUL@,$GNULIB_STRCHRNUL,;t t
26557 s,@GNULIB_STRDUP@,$GNULIB_STRDUP,;t t
26558 s,@GNULIB_STRNDUP@,$GNULIB_STRNDUP,;t t
26559 s,@GNULIB_STRNLEN@,$GNULIB_STRNLEN,;t t
26560 s,@GNULIB_STRPBRK@,$GNULIB_STRPBRK,;t t
26561 s,@GNULIB_STRSEP@,$GNULIB_STRSEP,;t t
26562 s,@GNULIB_STRSTR@,$GNULIB_STRSTR,;t t
26563 s,@GNULIB_STRCASESTR@,$GNULIB_STRCASESTR,;t t
26564 s,@GNULIB_STRTOK_R@,$GNULIB_STRTOK_R,;t t
26565 s,@GNULIB_MBSLEN@,$GNULIB_MBSLEN,;t t
26566 s,@GNULIB_MBSNLEN@,$GNULIB_MBSNLEN,;t t
26567 s,@GNULIB_MBSCHR@,$GNULIB_MBSCHR,;t t
26568 s,@GNULIB_MBSRCHR@,$GNULIB_MBSRCHR,;t t
26569 s,@GNULIB_MBSSTR@,$GNULIB_MBSSTR,;t t
26570 s,@GNULIB_MBSCASECMP@,$GNULIB_MBSCASECMP,;t t
26571 s,@GNULIB_MBSNCASECMP@,$GNULIB_MBSNCASECMP,;t t
26572 s,@GNULIB_MBSPCASECMP@,$GNULIB_MBSPCASECMP,;t t
26573 s,@GNULIB_MBSCASESTR@,$GNULIB_MBSCASESTR,;t t
26574 s,@GNULIB_MBSCSPN@,$GNULIB_MBSCSPN,;t t
26575 s,@GNULIB_MBSPBRK@,$GNULIB_MBSPBRK,;t t
26576 s,@GNULIB_MBSSPN@,$GNULIB_MBSSPN,;t t
26577 s,@GNULIB_MBSSEP@,$GNULIB_MBSSEP,;t t
26578 s,@GNULIB_MBSTOK_R@,$GNULIB_MBSTOK_R,;t t
26579 s,@GNULIB_STRERROR@,$GNULIB_STRERROR,;t t
26580 s,@GNULIB_STRSIGNAL@,$GNULIB_STRSIGNAL,;t t
26581 s,@HAVE_DECL_MEMMEM@,$HAVE_DECL_MEMMEM,;t t
26582 s,@HAVE_MEMPCPY@,$HAVE_MEMPCPY,;t t
26583 s,@HAVE_DECL_MEMRCHR@,$HAVE_DECL_MEMRCHR,;t t
26584 s,@HAVE_STPCPY@,$HAVE_STPCPY,;t t
26585 s,@HAVE_STPNCPY@,$HAVE_STPNCPY,;t t
26586 s,@HAVE_STRCHRNUL@,$HAVE_STRCHRNUL,;t t
26587 s,@HAVE_DECL_STRDUP@,$HAVE_DECL_STRDUP,;t t
26588 s,@HAVE_STRNDUP@,$HAVE_STRNDUP,;t t
26589 s,@HAVE_DECL_STRNDUP@,$HAVE_DECL_STRNDUP,;t t
26590 s,@HAVE_DECL_STRNLEN@,$HAVE_DECL_STRNLEN,;t t
26591 s,@HAVE_STRPBRK@,$HAVE_STRPBRK,;t t
26592 s,@HAVE_STRSEP@,$HAVE_STRSEP,;t t
26593 s,@HAVE_STRCASESTR@,$HAVE_STRCASESTR,;t t
26594 s,@HAVE_DECL_STRTOK_R@,$HAVE_DECL_STRTOK_R,;t t
26595 s,@HAVE_DECL_STRERROR@,$HAVE_DECL_STRERROR,;t t
26596 s,@HAVE_DECL_STRSIGNAL@,$HAVE_DECL_STRSIGNAL,;t t
26597 s,@REPLACE_STRERROR@,$REPLACE_STRERROR,;t t
26598 s,@REPLACE_STRSIGNAL@,$REPLACE_STRSIGNAL,;t t
26599 s,@REPLACE_MEMMEM@,$REPLACE_MEMMEM,;t t
26600 s,@REPLACE_STRCASESTR@,$REPLACE_STRCASESTR,;t t
26601 s,@REPLACE_STRSTR@,$REPLACE_STRSTR,;t t
26602 s,@HAVE_LONG_LONG_INT@,$HAVE_LONG_LONG_INT,;t t
26603 s,@HAVE_UNSIGNED_LONG_LONG_INT@,$HAVE_UNSIGNED_LONG_LONG_INT,;t t
26604 s,@HAVE_INTTYPES_H@,$HAVE_INTTYPES_H,;t t
26605 s,@HAVE_SYS_TYPES_H@,$HAVE_SYS_TYPES_H,;t t
26606 s,@INCLUDE_NEXT@,$INCLUDE_NEXT,;t t
26607 s,@NEXT_STDINT_H@,$NEXT_STDINT_H,;t t
26608 s,@HAVE_STDINT_H@,$HAVE_STDINT_H,;t t
26609 s,@HAVE_SYS_INTTYPES_H@,$HAVE_SYS_INTTYPES_H,;t t
26610 s,@HAVE_SYS_BITYPES_H@,$HAVE_SYS_BITYPES_H,;t t
26611 s,@BITSIZEOF_PTRDIFF_T@,$BITSIZEOF_PTRDIFF_T,;t t
26612 s,@BITSIZEOF_SIG_ATOMIC_T@,$BITSIZEOF_SIG_ATOMIC_T,;t t
26613 s,@BITSIZEOF_SIZE_T@,$BITSIZEOF_SIZE_T,;t t
26614 s,@BITSIZEOF_WCHAR_T@,$BITSIZEOF_WCHAR_T,;t t
26615 s,@BITSIZEOF_WINT_T@,$BITSIZEOF_WINT_T,;t t
26616 s,@HAVE_SIGNED_SIG_ATOMIC_T@,$HAVE_SIGNED_SIG_ATOMIC_T,;t t
26617 s,@HAVE_SIGNED_WCHAR_T@,$HAVE_SIGNED_WCHAR_T,;t t
26618 s,@HAVE_SIGNED_WINT_T@,$HAVE_SIGNED_WINT_T,;t t
26619 s,@PTRDIFF_T_SUFFIX@,$PTRDIFF_T_SUFFIX,;t t
26620 s,@SIG_ATOMIC_T_SUFFIX@,$SIG_ATOMIC_T_SUFFIX,;t t
26621 s,@SIZE_T_SUFFIX@,$SIZE_T_SUFFIX,;t t
26622 s,@WCHAR_T_SUFFIX@,$WCHAR_T_SUFFIX,;t t
26623 s,@WINT_T_SUFFIX@,$WINT_T_SUFFIX,;t t
26624 s,@STDINT_H@,$STDINT_H,;t t
26625 s,@NEXT_STRING_H@,$NEXT_STRING_H,;t t
26626 s,@GNULIB_WCWIDTH@,$GNULIB_WCWIDTH,;t t
26627 s,@HAVE_DECL_WCWIDTH@,$HAVE_DECL_WCWIDTH,;t t
26628 s,@REPLACE_WCWIDTH@,$REPLACE_WCWIDTH,;t t
26629 s,@WCHAR_H@,$WCHAR_H,;t t
26630 s,@HAVE_WCHAR_H@,$HAVE_WCHAR_H,;t t
26631 s,@NEXT_WCHAR_H@,$NEXT_WCHAR_H,;t t
26632 s,@LIBGNU_LIBDEPS@,$LIBGNU_LIBDEPS,;t t
26633 s,@LIBGNU_LTLIBDEPS@,$LIBGNU_LTLIBDEPS,;t t
26634 s,@GNULIB_STDINT_H@,$GNULIB_STDINT_H,;t t
26635 s,@PACKAGE@,$PACKAGE,;t t
26636 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26637 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26638 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26639 s,@CYGPATH_W@,$CYGPATH_W,;t t
26640 s,@PYTHON2_4@,$PYTHON2_4,;t t
26641 s,@ACLOCAL@,$ACLOCAL,;t t
26642 s,@AUTOCONF@,$AUTOCONF,;t t
26643 s,@AUTOMAKE@,$AUTOMAKE,;t t
26644 s,@AUTOHEADER@,$AUTOHEADER,;t t
26645 s,@MAKEINFO@,$MAKEINFO,;t t
26646 s,@install_sh@,$install_sh,;t t
26647 s,@STRIP@,$STRIP,;t t
26648 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26649 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
26650 s,@mkdir_p@,$mkdir_p,;t t
26652 s,@SET_MAKE@,$SET_MAKE,;t t
26653 s,@am__leading_dot@,$am__leading_dot,;t t
26654 s,@AMTAR@,$AMTAR,;t t
26655 s,@am__tar@,$am__tar,;t t
26656 s,@am__untar@,$am__untar,;t t
26657 s,@DEPDIR@,$DEPDIR,;t t
26658 s,@am__include@,$am__include,;t t
26659 s,@am__quote@,$am__quote,;t t
26660 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
26661 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
26662 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
26663 s,@CCDEPMODE@,$CCDEPMODE,;t t
26664 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
26665 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
26666 s,@subdirs@,$subdirs,;t t
26667 s,@TARGET_OBS@,$TARGET_OBS,;t t
26668 s,@PKGVERSION@,$PKGVERSION,;t t
26669 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
26670 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
26671 s,@LN_S@,$LN_S,;t t
26672 s,@YACC@,$YACC,;t t
26674 s,@ac_ct_AR@,$ac_ct_AR,;t t
26675 s,@DLLTOOL@,$DLLTOOL,;t t
26676 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
26677 s,@WINDRES@,$WINDRES,;t t
26678 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
26680 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
26681 s,@READLINE@,$READLINE,;t t
26682 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
26683 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
26684 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
26685 s,@LIBEXPAT@,$LIBEXPAT,;t t
26686 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
26687 s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t
26688 s,@ALLOCA@,$ALLOCA,;t t
26689 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
26690 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
26691 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
26692 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
26693 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
26694 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
26695 s,@WIN32LIBS@,$WIN32LIBS,;t t
26696 s,@LIBGUI@,$LIBGUI,;t t
26697 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
26698 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
26699 s,@TCL_VERSION@,$TCL_VERSION,;t t
26700 s,@TCL_PATCH_LEVEL@,$TCL_PATCH_LEVEL,;t t
26701 s,@TCL_BIN_DIR@,$TCL_BIN_DIR,;t t
26702 s,@TCL_SRC_DIR@,$TCL_SRC_DIR,;t t
26703 s,@TCL_LIB_FILE@,$TCL_LIB_FILE,;t t
26704 s,@TCL_LIB_FLAG@,$TCL_LIB_FLAG,;t t
26705 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
26706 s,@TCL_STUB_LIB_FILE@,$TCL_STUB_LIB_FILE,;t t
26707 s,@TCL_STUB_LIB_FLAG@,$TCL_STUB_LIB_FLAG,;t t
26708 s,@TCL_STUB_LIB_SPEC@,$TCL_STUB_LIB_SPEC,;t t
26709 s,@TCL_INCLUDE@,$TCL_INCLUDE,;t t
26710 s,@TCL_LIBRARY@,$TCL_LIBRARY,;t t
26711 s,@TCL_DEPS@,$TCL_DEPS,;t t
26712 s,@TK_VERSION@,$TK_VERSION,;t t
26713 s,@TK_BIN_DIR@,$TK_BIN_DIR,;t t
26714 s,@TK_SRC_DIR@,$TK_SRC_DIR,;t t
26715 s,@TK_LIB_FILE@,$TK_LIB_FILE,;t t
26716 s,@TK_LIB_FLAG@,$TK_LIB_FLAG,;t t
26717 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
26718 s,@TK_STUB_LIB_FILE@,$TK_STUB_LIB_FILE,;t t
26719 s,@TK_STUB_LIB_FLAG@,$TK_STUB_LIB_FLAG,;t t
26720 s,@TK_STUB_LIB_SPEC@,$TK_STUB_LIB_SPEC,;t t
26721 s,@TK_INCLUDE@,$TK_INCLUDE,;t t
26722 s,@TK_LIBRARY@,$TK_LIBRARY,;t t
26723 s,@TK_DEPS@,$TK_DEPS,;t t
26724 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
26725 s,@X_CFLAGS@,$X_CFLAGS,;t t
26726 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
26727 s,@X_LIBS@,$X_LIBS,;t t
26728 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
26729 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
26730 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
26732 s,@SIM_OBS@,$SIM_OBS,;t t
26733 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
26734 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
26735 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
26736 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
26737 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
26738 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
26739 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
26740 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
26741 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
26742 s,@target_subdir@,$target_subdir,;t t
26743 s,@frags@,$frags,;t t
26744 s,@nm_h@,$nm_h,;t t
26745 s,@LIBICONV@,$LIBICONV,;t t
26746 s,@LIBOBJS@,$LIBOBJS,;t t
26747 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26748 s,@gl_LIBOBJS@,$gl_LIBOBJS,;t t
26749 s,@gl_LTLIBOBJS@,$gl_LTLIBOBJS,;t t
26750 s,@gltests_LIBOBJS@,$gltests_LIBOBJS,;t t
26751 s,@gltests_LTLIBOBJS@,$gltests_LTLIBOBJS,;t t
26752 /@host_makefile_frag@/r $host_makefile_frag
26753 s,@host_makefile_frag@,,;t t
26758 cat >>$CONFIG_STATUS <<\_ACEOF
26759 # Split the substitutions into bite-sized pieces for seds with
26760 # small command number limits, like on Digital OSF/1 and HP-UX.
26761 ac_max_sed_lines
=48
26762 ac_sed_frag
=1 # Number of current file.
26763 ac_beg
=1 # First line for current file.
26764 ac_end
=$ac_max_sed_lines # Line after last line for current file.
26767 while $ac_more_lines; do
26768 if test $ac_beg -gt 1; then
26769 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26771 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26773 if test ! -s $tmp/subs.frag
; then
26774 ac_more_lines
=false
26776 # The purpose of the label and of the branching condition is to
26777 # speed up the sed processing (if there are no `@' at all, there
26778 # is no need to browse any of the substitutions).
26779 # These are the two extra sed commands mentioned above.
26781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
26782 if test -z "$ac_sed_cmds"; then
26783 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
26785 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26787 ac_sed_frag
=`expr $ac_sed_frag + 1`
26789 ac_end
=`expr $ac_end + $ac_max_sed_lines`
26792 if test -z "$ac_sed_cmds"; then
26795 fi # test -n "$CONFIG_FILES"
26798 cat >>$CONFIG_STATUS <<\_ACEOF
26799 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
26800 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26802 - |
*:- |
*:-:* ) # input from stdin
26804 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26805 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26806 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26807 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26808 * ) ac_file_in
=$ac_file.
in ;;
26811 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26812 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26813 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26814 X"$ac_file" : 'X\(//\)[^/]' \| \
26815 X"$ac_file" : 'X\(//\)$' \| \
26816 X"$ac_file" : 'X\(/\)' \| \
26817 . : '\(.\)' 2>/dev/null ||
26819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26820 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26821 /^X\(\/\/\)$/{ s//\1/; q; }
26822 /^X\(\/\).*/{ s//\1/; q; }
26824 { if $as_mkdir_p; then
26829 while test ! -d "$as_dir"; do
26830 as_dirs
="$as_dir $as_dirs"
26831 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26832 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26833 X"$as_dir" : 'X\(//\)[^/]' \| \
26834 X"$as_dir" : 'X\(//\)$' \| \
26835 X"$as_dir" : 'X\(/\)' \| \
26836 . : '\(.\)' 2>/dev/null ||
26838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26840 /^X\(\/\/\)$/{ s//\1/; q; }
26841 /^X\(\/\).*/{ s//\1/; q; }
26844 test ! -n "$as_dirs" || mkdir
$as_dirs
26845 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26846 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26847 { (exit 1); exit 1; }; }; }
26851 if test "$ac_dir" != .
; then
26852 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26853 # A "../" for each directory in $ac_dir_suffix.
26854 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26856 ac_dir_suffix
= ac_top_builddir
=
26860 .
) # No --srcdir option. We are building in place.
26862 if test -z "$ac_top_builddir"; then
26865 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26867 [\\/]* | ?
:[\\/]* ) # Absolute path.
26868 ac_srcdir
=$srcdir$ac_dir_suffix;
26869 ac_top_srcdir
=$srcdir ;;
26870 *) # Relative path.
26871 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26872 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26875 # Do not use `cd foo && pwd` to compute absolute paths, because
26876 # the directories may not exist.
26878 .
) ac_abs_builddir
="$ac_dir";;
26881 .
) ac_abs_builddir
=`pwd`;;
26882 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26883 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
26886 case $ac_abs_builddir in
26887 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26889 case ${ac_top_builddir}.
in
26890 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26891 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26892 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26895 case $ac_abs_builddir in
26896 .
) ac_abs_srcdir
=$ac_srcdir;;
26899 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26900 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26901 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26904 case $ac_abs_builddir in
26905 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26907 case $ac_top_srcdir in
26908 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26909 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26910 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26916 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26917 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
26920 if test x
"$ac_file" != x-
; then
26921 { echo "$as_me:$LINENO: creating $ac_file" >&5
26922 echo "$as_me: creating $ac_file" >&6;}
26925 # Let's still pretend it is `configure' which instantiates (i.e., don't
26926 # use $as_me), people would be surprised to read:
26927 # /* config.h. Generated by config.status. */
26928 if test x
"$ac_file" = x-
; then
26931 configure_input
="$ac_file. "
26933 configure_input
=$configure_input"Generated from `echo $ac_file_in |
26934 sed 's,.*/,,'` by configure."
26936 # First look for the input files in the build tree, otherwise in the
26938 ac_file_inputs
=`IFS=:
26939 for f in $ac_file_in; do
26941 -) echo $tmp/stdin ;;
26943 # Absolute (can't be DOS-style, as IFS=:)
26944 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26945 echo "$as_me: error: cannot find input file: $f" >&2;}
26946 { (exit 1); exit 1; }; }
26949 if test -f "$f"; then
26952 elif test -f "$srcdir/$f"; then
26957 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26958 echo "$as_me: error: cannot find input file: $f" >&2;}
26959 { (exit 1); exit 1; }; }
26962 done` ||
{ (exit 1); exit 1; }
26964 cat >>$CONFIG_STATUS <<_ACEOF
26968 cat >>$CONFIG_STATUS <<\_ACEOF
26970 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26971 s
,@configure_input@
,$configure_input,;t t
26972 s
,@srcdir@
,$ac_srcdir,;t t
26973 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
26974 s
,@top_srcdir@
,$ac_top_srcdir,;t t
26975 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
26976 s
,@builddir@
,$ac_builddir,;t t
26977 s
,@abs_builddir@
,$ac_abs_builddir,;t t
26978 s
,@top_builddir@
,$ac_top_builddir,;t t
26979 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
26980 s
,@INSTALL@
,$ac_INSTALL,;t t
26981 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26983 if test x"$ac_file" != x-; then
26984 mv $tmp/out $ac_file
26992 cat >>$CONFIG_STATUS <<\_ACEOF
26995 # CONFIG_HEADER section.
26998 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
26999 # NAME is the cpp macro being defined and VALUE is the value it is being given.
27001 # ac_d sets the value in "#define NAME VALUE" lines.
27002 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
27003 ac_dB
='[ ].*$,\1#\2'
27006 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
27007 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
27008 ac_uB
='$,\1#\2define\3'
27012 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
27013 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27015 - |
*:- |
*:-:* ) # input from stdin
27017 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
27018 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
27019 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
27020 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
27021 * ) ac_file_in
=$ac_file.
in ;;
27024 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
27025 echo "$as_me: creating $ac_file" >&6;}
27027 # First look for the input files in the build tree, otherwise in the
27029 ac_file_inputs
=`IFS=:
27030 for f in $ac_file_in; do
27032 -) echo $tmp/stdin ;;
27034 # Absolute (can't be DOS-style, as IFS=:)
27035 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27036 echo "$as_me: error: cannot find input file: $f" >&2;}
27037 { (exit 1); exit 1; }; }
27038 # Do quote $f, to prevent DOS paths from being IFS'd.
27041 if test -f "$f"; then
27044 elif test -f "$srcdir/$f"; then
27049 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27050 echo "$as_me: error: cannot find input file: $f" >&2;}
27051 { (exit 1); exit 1; }; }
27054 done` ||
{ (exit 1); exit 1; }
27055 # Remove the trailing spaces.
27056 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
27060 # Transform confdefs.h into two sed scripts, `conftest.defines' and
27061 # `conftest.undefs', that substitutes the proper values into
27062 # config.h.in to produce config.h. The first handles `#define'
27063 # templates, and the second `#undef' templates.
27064 # And first: Protect against being on the right side of a sed subst in
27065 # config.status. Protect against being in an unquoted here document
27066 # in config.status.
27067 rm -f conftest.defines conftest.undefs
27068 # Using a here document instead of a string reduces the quoting nightmare.
27069 # Putting comments in sed scripts is not portable.
27071 # `end' is used to avoid that the second main sed command (meant for
27072 # 0-ary CPP macros) applies to n-ary macro definitions.
27073 # See the Autoconf documentation for `clear'.
27074 cat >confdef2sed.
sed <<\_ACEOF
27079 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
27081 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
27084 # If some macros were called several times there might be several times
27085 # the same #defines, which is useless. Nevertheless, we may not want to
27086 # sort them, since we want the *last* AC-DEFINE to be honored.
27087 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
27088 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
27089 rm -f confdef2sed.sed
27091 # This sed command replaces #undef with comments. This is necessary, for
27092 # example, in the case of _POSIX_SOURCE, which is predefined and required
27093 # on some systems where configure will not decide to define it.
27094 cat >>conftest.undefs <<\_ACEOF
27095 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
27098 # Break up conftest.defines because some shells have a limit on the size
27099 # of here documents, and old seds have small limits too (100 cmds).
27100 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
27101 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
27102 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
27103 echo ' :' >>$CONFIG_STATUS
27104 rm -f conftest.tail
27105 while grep . conftest.defines >/dev/null
27107 # Write a limited-size here document to $tmp/defines.sed.
27108 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
27109 # Speed up: don't consider the non `#define' lines.
27110 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
27111 # Work around the forget-to-reset-the-flag bug.
27112 echo 't clr' >>$CONFIG_STATUS
27113 echo ': clr' >>$CONFIG_STATUS
27114 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
27116 sed -f $tmp/defines.sed $tmp/in >$tmp/out
27118 mv $tmp/out $tmp/in
27120 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
27121 rm -f conftest.defines
27122 mv conftest.
tail conftest.defines
27124 rm -f conftest.defines
27125 echo ' fi # grep' >>$CONFIG_STATUS
27126 echo >>$CONFIG_STATUS
27128 # Break up conftest.undefs because some shells have a limit on the size
27129 # of here documents, and old seds have small limits too (100 cmds).
27130 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
27131 rm -f conftest.
tail
27132 while grep . conftest.undefs
>/dev
/null
27134 # Write a limited-size here document to $tmp/undefs.sed.
27135 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
27136 # Speed up: don't consider the non
`#undef'
27137 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
27138 # Work around the forget-to-reset-the-flag bug.
27139 echo 't clr' >>$CONFIG_STATUS
27140 echo ': clr' >>$CONFIG_STATUS
27141 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
27143 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
27145 mv $tmp/out $tmp/in
27147 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
27148 rm -f conftest.undefs
27149 mv conftest.tail conftest.undefs
27151 rm -f conftest.undefs
27153 cat >>$CONFIG_STATUS <<\_ACEOF
27154 # Let's still pretend it is `configure
' which instantiates (i.e., don't
27155 # use $as_me), people would be surprised to read:
27156 # /* config.h. Generated by config.status. */
27157 if test x
"$ac_file" = x-
; then
27158 echo "/* Generated by configure. */" >$tmp/config.h
27160 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
27162 cat $tmp/in >>$tmp/config.h
27164 if test x
"$ac_file" != x-
; then
27165 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
27166 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27167 echo "$as_me: $ac_file is unchanged" >&6;}
27169 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
27170 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27171 X"$ac_file" : 'X\(//\)[^/]' \| \
27172 X"$ac_file" : 'X\(//\)$' \| \
27173 X"$ac_file" : 'X\(/\)' \| \
27174 . : '\(.\)' 2>/dev/null ||
27176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27178 /^X\(\/\/\)$/{ s//\1/; q; }
27179 /^X\(\/\).*/{ s//\1/; q; }
27181 { if $as_mkdir_p; then
27186 while test ! -d "$as_dir"; do
27187 as_dirs
="$as_dir $as_dirs"
27188 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27189 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27190 X"$as_dir" : 'X\(//\)[^/]' \| \
27191 X"$as_dir" : 'X\(//\)$' \| \
27192 X"$as_dir" : 'X\(/\)' \| \
27193 . : '\(.\)' 2>/dev/null ||
27195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27196 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27197 /^X\(\/\/\)$/{ s//\1/; q; }
27198 /^X\(\/\).*/{ s//\1/; q; }
27201 test ! -n "$as_dirs" || mkdir
$as_dirs
27202 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27203 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27204 { (exit 1); exit 1; }; }; }
27207 mv $tmp/config.h
$ac_file
27211 rm -f $tmp/config.h
27213 # Compute $ac_file's index in $config_headers.
27215 for _am_header
in $config_headers :; do
27216 case $_am_header in
27217 $ac_file |
$ac_file:* )
27220 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27223 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
27224 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27225 X$ac_file : 'X\(//\)[^/]' \| \
27226 X$ac_file : 'X\(//\)$' \| \
27227 X$ac_file : 'X\(/\)' \| \
27228 . : '\(.\)' 2>/dev/null ||
27230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27232 /^X\(\/\/\)$/{ s//\1/; q; }
27233 /^X\(\/\).*/{ s//\1/; q; }
27234 s/.*/./; q'`/stamp-h
$_am_stamp_count
27237 cat >>$CONFIG_STATUS <<\_ACEOF
27240 # CONFIG_LINKS section.
27243 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
27244 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
27245 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
27247 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
27248 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
27250 if test ! -r $srcdir/$ac_source; then
27251 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
27252 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
27253 { (exit 1); exit 1; }; }
27257 # Make relative symlinks.
27258 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
27259 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27260 X"$ac_dest" : 'X\(//\)[^/]' \| \
27261 X"$ac_dest" : 'X\(//\)$' \| \
27262 X"$ac_dest" : 'X\(/\)' \| \
27263 . : '\(.\)' 2>/dev/null ||
27265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27266 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27267 /^X\(\/\/\)$/{ s//\1/; q; }
27268 /^X\(\/\).*/{ s//\1/; q; }
27270 { if $as_mkdir_p; then
27271 mkdir
-p "$ac_dest_dir"
27273 as_dir
="$ac_dest_dir"
27275 while test ! -d "$as_dir"; do
27276 as_dirs
="$as_dir $as_dirs"
27277 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27279 X"$as_dir" : 'X\(//\)[^/]' \| \
27280 X"$as_dir" : 'X\(//\)$' \| \
27281 X"$as_dir" : 'X\(/\)' \| \
27282 . : '\(.\)' 2>/dev/null ||
27284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27286 /^X\(\/\/\)$/{ s//\1/; q; }
27287 /^X\(\/\).*/{ s//\1/; q; }
27290 test ! -n "$as_dirs" || mkdir
$as_dirs
27291 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
27292 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
27293 { (exit 1); exit 1; }; }; }
27297 if test "$ac_dest_dir" != .
; then
27298 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
27299 # A "../" for each directory in $ac_dir_suffix.
27300 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27302 ac_dir_suffix
= ac_top_builddir
=
27306 .
) # No --srcdir option. We are building in place.
27308 if test -z "$ac_top_builddir"; then
27311 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27313 [\\/]* | ?
:[\\/]* ) # Absolute path.
27314 ac_srcdir
=$srcdir$ac_dir_suffix;
27315 ac_top_srcdir
=$srcdir ;;
27316 *) # Relative path.
27317 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27318 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27321 # Do not use `cd foo && pwd` to compute absolute paths, because
27322 # the directories may not exist.
27324 .
) ac_abs_builddir
="$ac_dest_dir";;
27326 case "$ac_dest_dir" in
27327 .
) ac_abs_builddir
=`pwd`;;
27328 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
27329 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
27332 case $ac_abs_builddir in
27333 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27335 case ${ac_top_builddir}.
in
27336 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27337 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27338 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27341 case $ac_abs_builddir in
27342 .
) ac_abs_srcdir
=$ac_srcdir;;
27345 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27346 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27347 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27350 case $ac_abs_builddir in
27351 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27353 case $ac_top_srcdir in
27354 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27355 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27356 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27362 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
27363 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
27366 # Try a symlink, then a hard link, then a copy.
27367 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
27368 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
27369 cp -p $srcdir/$ac_source $ac_dest ||
27370 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
27371 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
27372 { (exit 1); exit 1; }; }
27375 cat >>$CONFIG_STATUS <<\_ACEOF
27378 # CONFIG_COMMANDS section.
27380 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
27381 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
27382 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
27383 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
27384 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27385 X"$ac_dest" : 'X\(//\)[^/]' \| \
27386 X"$ac_dest" : 'X\(//\)$' \| \
27387 X"$ac_dest" : 'X\(/\)' \| \
27388 . : '\(.\)' 2>/dev/null ||
27390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27391 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27392 /^X\(\/\/\)$/{ s//\1/; q; }
27393 /^X\(\/\).*/{ s//\1/; q; }
27395 { if $as_mkdir_p; then
27400 while test ! -d "$as_dir"; do
27401 as_dirs
="$as_dir $as_dirs"
27402 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27403 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27404 X"$as_dir" : 'X\(//\)[^/]' \| \
27405 X"$as_dir" : 'X\(//\)$' \| \
27406 X"$as_dir" : 'X\(/\)' \| \
27407 . : '\(.\)' 2>/dev/null ||
27409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27410 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27411 /^X\(\/\/\)$/{ s//\1/; q; }
27412 /^X\(\/\).*/{ s//\1/; q; }
27415 test ! -n "$as_dirs" || mkdir
$as_dirs
27416 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27417 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27418 { (exit 1); exit 1; }; }; }
27422 if test "$ac_dir" != .
; then
27423 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27424 # A "../" for each directory in $ac_dir_suffix.
27425 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27427 ac_dir_suffix
= ac_top_builddir
=
27431 .
) # No --srcdir option. We are building in place.
27433 if test -z "$ac_top_builddir"; then
27436 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27438 [\\/]* | ?
:[\\/]* ) # Absolute path.
27439 ac_srcdir
=$srcdir$ac_dir_suffix;
27440 ac_top_srcdir
=$srcdir ;;
27441 *) # Relative path.
27442 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27443 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27446 # Do not use `cd foo && pwd` to compute absolute paths, because
27447 # the directories may not exist.
27449 .
) ac_abs_builddir
="$ac_dir";;
27452 .
) ac_abs_builddir
=`pwd`;;
27453 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
27454 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
27457 case $ac_abs_builddir in
27458 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27460 case ${ac_top_builddir}.
in
27461 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27462 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27463 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27466 case $ac_abs_builddir in
27467 .
) ac_abs_srcdir
=$ac_srcdir;;
27470 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27471 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27472 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27475 case $ac_abs_builddir in
27476 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27478 case $ac_top_srcdir in
27479 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27480 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27481 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27486 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
27487 echo "$as_me: executing $ac_dest commands" >&6;}
27489 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
27490 # Strip MF so we end up with the name of the file.
27491 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27492 # Check whether this is an Automake generated Makefile or not.
27493 # We used to match only the files named `Makefile.in', but
27494 # some people rename them; so instead we look at the file content.
27495 # Grep'ing the first line is not enough: some people post-process
27496 # each Makefile.in and add a new line on top of each file to say so.
27497 # So let's grep whole file.
27498 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
27499 dirpart
=`(dirname "$mf") 2>/dev/null ||
27500 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27501 X"$mf" : 'X\(//\)[^/]' \| \
27502 X"$mf" : 'X\(//\)$' \| \
27503 X"$mf" : 'X\(/\)' \| \
27504 . : '\(.\)' 2>/dev/null ||
27506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27508 /^X\(\/\/\)$/{ s//\1/; q; }
27509 /^X\(\/\).*/{ s//\1/; q; }
27514 # Extract the definition of DEPDIR, am__include, and am__quote
27515 # from the Makefile without running `make'.
27516 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27517 test -z "$DEPDIR" && continue
27518 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27519 test -z "am__include" && continue
27520 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27521 # When using ansi2knr, U may be empty or an underscore; expand it
27522 U
=`sed -n 's/^U = //p' < "$mf"`
27523 # Find all dependency output files, they are included files with
27524 # $(DEPDIR) in their names. We invoke sed twice because it is the
27525 # simplest approach to changing $(DEPDIR) to its actual value in the
27527 for file in `sed -n "
27528 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27529 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27530 # Make sure the directory exists.
27531 test -f "$dirpart/$file" && continue
27532 fdir
=`(dirname "$file") 2>/dev/null ||
27533 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27534 X"$file" : 'X\(//\)[^/]' \| \
27535 X"$file" : 'X\(//\)$' \| \
27536 X"$file" : 'X\(/\)' \| \
27537 . : '\(.\)' 2>/dev/null ||
27539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27541 /^X\(\/\/\)$/{ s//\1/; q; }
27542 /^X\(\/\).*/{ s//\1/; q; }
27544 { if $as_mkdir_p; then
27545 mkdir
-p $dirpart/$fdir
27547 as_dir
=$dirpart/$fdir
27549 while test ! -d "$as_dir"; do
27550 as_dirs
="$as_dir $as_dirs"
27551 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27553 X"$as_dir" : 'X\(//\)[^/]' \| \
27554 X"$as_dir" : 'X\(//\)$' \| \
27555 X"$as_dir" : 'X\(/\)' \| \
27556 . : '\(.\)' 2>/dev/null ||
27558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27560 /^X\(\/\/\)$/{ s//\1/; q; }
27561 /^X\(\/\).*/{ s//\1/; q; }
27564 test ! -n "$as_dirs" || mkdir
$as_dirs
27565 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
27566 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
27567 { (exit 1); exit 1; }; }; }
27569 # echo "creating $dirpart/$file"
27570 echo '# dummy' > "$dirpart/$file"
27576 sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
27577 mv -f Makefile.tmp Makefile
27580 case x
$CONFIG_HEADERS in
27581 xconfig.h
:config.
in)
27589 cat >>$CONFIG_STATUS <<\_ACEOF
27591 { (exit 0); exit 0; }
27593 chmod +x
$CONFIG_STATUS
27594 ac_clean_files
=$ac_clean_files_save
27597 # configure is writing to config.log, and then calls config.status.
27598 # config.status does its own redirection, appending to config.log.
27599 # Unfortunately, on DOS this fails, as config.log is still kept open
27600 # by configure, so config.status won't be able to write to it; its
27601 # output is simply discarded. So we exec the FD to /dev/null,
27602 # effectively closing config.log, so it can be properly (re)opened and
27603 # appended to by config.status. When coming back to configure, we
27604 # need to make the FD available again.
27605 if test "$no_create" != yes; then
27607 ac_config_status_args
=
27608 test "$silent" = yes &&
27609 ac_config_status_args
="$ac_config_status_args --quiet"
27611 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27613 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27614 # would make configure fail if this is the last instruction.
27615 $ac_cs_success ||
{ (exit 1); exit 1; }
27619 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
27621 if test "$no_recursion" != yes; then
27623 # Remove --cache-file and --srcdir arguments so they do not pile up.
27624 ac_sub_configure_args
=
27626 eval "set x $ac_configure_args"
27630 if test -n "$ac_prev"; then
27635 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27636 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27637 ac_prev
=cache_file
;;
27638 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27639 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27642 --config-cache |
-C)
27644 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27646 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27648 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27650 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27654 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27656 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
27660 # Always prepend --prefix to ensure using the same prefix
27661 # in subdir configurations.
27662 ac_arg
="--prefix=$prefix"
27664 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27666 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
27669 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27671 # Do not complain, so a configure script can configure whichever
27672 # parts of a large source tree are present.
27673 test -d "$srcdir/$ac_dir" ||
continue
27675 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
27676 echo "$as_me: configuring in $ac_dir" >&6;}
27677 { if $as_mkdir_p; then
27682 while test ! -d "$as_dir"; do
27683 as_dirs
="$as_dir $as_dirs"
27684 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27686 X"$as_dir" : 'X\(//\)[^/]' \| \
27687 X"$as_dir" : 'X\(//\)$' \| \
27688 X"$as_dir" : 'X\(/\)' \| \
27689 . : '\(.\)' 2>/dev/null ||
27691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27692 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27693 /^X\(\/\/\)$/{ s//\1/; q; }
27694 /^X\(\/\).*/{ s//\1/; q; }
27697 test ! -n "$as_dirs" || mkdir
$as_dirs
27698 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27699 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27700 { (exit 1); exit 1; }; }; }
27704 if test "$ac_dir" != .
; then
27705 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27706 # A "../" for each directory in $ac_dir_suffix.
27707 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27709 ac_dir_suffix
= ac_top_builddir
=
27713 .
) # No --srcdir option. We are building in place.
27715 if test -z "$ac_top_builddir"; then
27718 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27720 [\\/]* | ?
:[\\/]* ) # Absolute path.
27721 ac_srcdir
=$srcdir$ac_dir_suffix;
27722 ac_top_srcdir
=$srcdir ;;
27723 *) # Relative path.
27724 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27725 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27728 # Do not use `cd foo && pwd` to compute absolute paths, because
27729 # the directories may not exist.
27731 .
) ac_abs_builddir
="$ac_dir";;
27734 .
) ac_abs_builddir
=`pwd`;;
27735 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
27736 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
27739 case $ac_abs_builddir in
27740 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27742 case ${ac_top_builddir}.
in
27743 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27744 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27745 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27748 case $ac_abs_builddir in
27749 .
) ac_abs_srcdir
=$ac_srcdir;;
27752 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27753 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27754 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27757 case $ac_abs_builddir in
27758 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27760 case $ac_top_srcdir in
27761 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27762 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27763 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27770 # Check for guested configure; otherwise get Cygnus style configure.
27771 if test -f "$ac_srcdir/configure.gnu"; then
27772 ac_sub_configure
=$ac_srcdir/configure.gnu
27773 elif test -f "$ac_srcdir/configure"; then
27774 ac_sub_configure
=$ac_srcdir/configure
27775 elif test -f "$ac_srcdir/configure.in"; then
27776 # This should be Cygnus configure.
27777 ac_sub_configure
=$ac_aux_dir/configure
27779 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
27780 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27784 # The recursion is here.
27785 if test -n "$ac_sub_configure"; then
27786 # Make the cache file name correct relative to the subdirectory.
27787 case $cache_file in
27788 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27789 *) # Relative path.
27790 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
27793 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
27794 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27795 # The eval makes quoting arguments work.
27796 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27797 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27798 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
27799 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
27800 { (exit 1); exit 1; }; }