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>
312 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
313 ac_subdirs_all
="$ac_subdirs_all gdbtk"
314 ac_subdirs_all
="$ac_subdirs_all multi-ice"
315 ac_subdirs_all
="$ac_subdirs_all gdbserver"
316 ac_subdirs_all
="$ac_subdirs_all nlm"
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SET_MAKE RANLIB ac_ct_RANLIB ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l localedir PACKAGE subdirs AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR IGNORE_SIM IGNORE_SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags xm_h tm_h nm_h LIBICONV LIBOBJS LTLIBOBJS'
318 ac_subst_files
='host_makefile_frag target_makefile_frag'
320 # Initialize some variables set by options.
322 ac_init_version
=false
323 # The variables have the same names as the options, with
324 # dashes changed to underlines.
332 program_transform_name
=s
,x
,x
,
340 # Installation directory options.
341 # These are left unexpanded so users can "make install exec_prefix=/foo"
342 # and all the variables that are supposed to be based on exec_prefix
343 # by default will actually change.
344 # Use braces instead of parens because sh, perl, etc. also accept them.
345 bindir
='${exec_prefix}/bin'
346 sbindir
='${exec_prefix}/sbin'
347 libexecdir
='${exec_prefix}/libexec'
348 datadir
='${prefix}/share'
349 sysconfdir
='${prefix}/etc'
350 sharedstatedir
='${prefix}/com'
351 localstatedir
='${prefix}/var'
352 libdir
='${exec_prefix}/lib'
353 includedir
='${prefix}/include'
354 oldincludedir
='/usr/include'
355 infodir
='${prefix}/info'
356 mandir
='${prefix}/man'
361 # If the previous option needs an argument, assign it.
362 if test -n "$ac_prev"; then
363 eval "$ac_prev=\$ac_option"
368 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
370 # Accept the important Cygnus configure options, so we can diagnose typos.
374 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
376 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
379 -build |
--build |
--buil |
--bui |
--bu)
380 ac_prev
=build_alias
;;
381 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
382 build_alias
=$ac_optarg ;;
384 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
385 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
386 ac_prev
=cache_file
;;
387 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
388 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
389 cache_file
=$ac_optarg ;;
392 cache_file
=config.cache
;;
394 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
396 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
398 datadir
=$ac_optarg ;;
400 -disable-* |
--disable-*)
401 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
407 eval "enable_$ac_feature=no" ;;
409 -enable-* |
--enable-*)
410 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
411 # Reject names that are not valid shell variable names.
412 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
413 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
414 { (exit 1); exit 1; }; }
415 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
417 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
420 eval "enable_$ac_feature='$ac_optarg'" ;;
422 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
423 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
424 |
--exec |
--exe |
--ex)
425 ac_prev
=exec_prefix
;;
426 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
427 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
428 |
--exec=* |
--exe=* |
--ex=*)
429 exec_prefix
=$ac_optarg ;;
431 -gas |
--gas |
--ga |
--g)
432 # Obsolete; use --with-gas.
435 -help |
--help |
--hel |
--he |
-h)
437 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
438 ac_init_help
=recursive
;;
439 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
440 ac_init_help
=short
;;
442 -host |
--host |
--hos |
--ho)
443 ac_prev
=host_alias
;;
444 -host=* |
--host=* |
--hos=* |
--ho=*)
445 host_alias
=$ac_optarg ;;
447 -includedir |
--includedir |
--includedi |
--included |
--include \
448 |
--includ |
--inclu |
--incl |
--inc)
449 ac_prev
=includedir
;;
450 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
451 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
452 includedir
=$ac_optarg ;;
454 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
456 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
457 infodir
=$ac_optarg ;;
459 -libdir |
--libdir |
--libdi |
--libd)
461 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
464 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
465 |
--libexe |
--libex |
--libe)
466 ac_prev
=libexecdir
;;
467 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
468 |
--libexe=* |
--libex=* |
--libe=*)
469 libexecdir
=$ac_optarg ;;
471 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
472 |
--localstate |
--localstat |
--localsta |
--localst \
473 |
--locals |
--local |
--loca |
--loc |
--lo)
474 ac_prev
=localstatedir
;;
475 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
476 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
477 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
478 localstatedir
=$ac_optarg ;;
480 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
482 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
486 # Obsolete; use --without-fp.
489 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
490 |
--no-cr |
--no-c |
-n)
493 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
494 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
497 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
498 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
499 |
--oldin |
--oldi |
--old |
--ol |
--o)
500 ac_prev
=oldincludedir
;;
501 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
502 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
503 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
504 oldincludedir
=$ac_optarg ;;
506 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
508 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
511 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
512 |
--program-pre |
--program-pr |
--program-p)
513 ac_prev
=program_prefix
;;
514 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
515 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
516 program_prefix
=$ac_optarg ;;
518 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
519 |
--program-suf |
--program-su |
--program-s)
520 ac_prev
=program_suffix
;;
521 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
522 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
523 program_suffix
=$ac_optarg ;;
525 -program-transform-name |
--program-transform-name \
526 |
--program-transform-nam |
--program-transform-na \
527 |
--program-transform-n |
--program-transform- \
528 |
--program-transform |
--program-transfor \
529 |
--program-transfo |
--program-transf \
530 |
--program-trans |
--program-tran \
531 |
--progr-tra |
--program-tr |
--program-t)
532 ac_prev
=program_transform_name
;;
533 -program-transform-name=* |
--program-transform-name=* \
534 |
--program-transform-nam=* |
--program-transform-na=* \
535 |
--program-transform-n=* |
--program-transform-=* \
536 |
--program-transform=* |
--program-transfor=* \
537 |
--program-transfo=* |
--program-transf=* \
538 |
--program-trans=* |
--program-tran=* \
539 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
540 program_transform_name
=$ac_optarg ;;
542 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
543 |
-silent |
--silent |
--silen |
--sile |
--sil)
546 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
548 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
550 sbindir
=$ac_optarg ;;
552 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
553 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
554 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
556 ac_prev
=sharedstatedir
;;
557 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
558 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
559 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
561 sharedstatedir
=$ac_optarg ;;
563 -site |
--site |
--sit)
565 -site=* |
--site=* |
--sit=*)
568 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
570 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
573 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
574 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
575 ac_prev
=sysconfdir
;;
576 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
577 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
578 sysconfdir
=$ac_optarg ;;
580 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
581 ac_prev
=target_alias
;;
582 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
583 target_alias
=$ac_optarg ;;
585 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
588 -version |
--version |
--versio |
--versi |
--vers |
-V)
592 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
593 # Reject names that are not valid shell variable names.
594 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
595 { echo "$as_me: error: invalid package name: $ac_package" >&2
596 { (exit 1); exit 1; }; }
597 ac_package
=`echo $ac_package| sed 's/-/_/g'`
599 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
602 eval "with_$ac_package='$ac_optarg'" ;;
604 -without-* |
--without-*)
605 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
606 # Reject names that are not valid shell variable names.
607 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
608 { echo "$as_me: error: invalid package name: $ac_package" >&2
609 { (exit 1); exit 1; }; }
610 ac_package
=`echo $ac_package | sed 's/-/_/g'`
611 eval "with_$ac_package=no" ;;
614 # Obsolete; use --with-x.
617 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
618 |
--x-incl |
--x-inc |
--x-in |
--x-i)
619 ac_prev
=x_includes
;;
620 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
621 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
622 x_includes
=$ac_optarg ;;
624 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
625 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
626 ac_prev
=x_libraries
;;
627 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
628 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
629 x_libraries
=$ac_optarg ;;
631 -*) { echo "$as_me: error: unrecognized option: $ac_option
632 Try \`$0 --help' for more information." >&2
633 { (exit 1); exit 1; }; }
637 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
638 # Reject names that are not valid shell variable names.
639 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
640 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
641 { (exit 1); exit 1; }; }
642 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
643 eval "$ac_envvar='$ac_optarg'"
647 # FIXME: should be removed in autoconf 3.0.
648 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
649 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
650 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
651 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
657 if test -n "$ac_prev"; then
658 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
659 { echo "$as_me: error: missing argument to $ac_option" >&2
660 { (exit 1); exit 1; }; }
663 # Be sure to have absolute paths.
664 for ac_var
in exec_prefix prefix
666 eval ac_val
=$
`echo $ac_var`
668 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
669 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
670 { (exit 1); exit 1; }; };;
674 # Be sure to have absolute paths.
675 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
676 localstatedir libdir includedir oldincludedir infodir mandir
678 eval ac_val
=$
`echo $ac_var`
680 [\\/$
]* | ?
:[\\/]* ) ;;
681 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
682 { (exit 1); exit 1; }; };;
686 # There might be people who depend on the old broken behavior: `$host'
687 # used to hold the argument of --host etc.
688 # FIXME: To remove some day.
693 # FIXME: To remove some day.
694 if test "x$host_alias" != x
; then
695 if test "x$build_alias" = x
; then
696 cross_compiling
=maybe
697 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
698 If a cross compiler is detected then cross compile mode will be used." >&2
699 elif test "x$build_alias" != "x$host_alias"; then
705 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
707 test "$silent" = yes && exec 6>/dev
/null
710 # Find the source files, if location was not specified.
711 if test -z "$srcdir"; then
712 ac_srcdir_defaulted
=yes
713 # Try the directory containing this script, then its parent.
714 ac_confdir
=`(dirname "$0") 2>/dev/null ||
715 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
716 X"$0" : 'X\(//\)[^/]' \| \
717 X"$0" : 'X\(//\)$' \| \
718 X"$0" : 'X\(/\)' \| \
719 . : '\(.\)' 2>/dev/null ||
721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
723 /^X\(\/\/\)$/{ s//\1/; q; }
724 /^X\(\/\).*/{ s//\1/; q; }
727 if test ! -r $srcdir/$ac_unique_file; then
731 ac_srcdir_defaulted
=no
733 if test ! -r $srcdir/$ac_unique_file; then
734 if test "$ac_srcdir_defaulted" = yes; then
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
736 { (exit 1); exit 1; }; }
738 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
739 { (exit 1); exit 1; }; }
742 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
743 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
744 { (exit 1); exit 1; }; }
745 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
746 ac_env_build_alias_set
=${build_alias+set}
747 ac_env_build_alias_value
=$build_alias
748 ac_cv_env_build_alias_set
=${build_alias+set}
749 ac_cv_env_build_alias_value
=$build_alias
750 ac_env_host_alias_set
=${host_alias+set}
751 ac_env_host_alias_value
=$host_alias
752 ac_cv_env_host_alias_set
=${host_alias+set}
753 ac_cv_env_host_alias_value
=$host_alias
754 ac_env_target_alias_set
=${target_alias+set}
755 ac_env_target_alias_value
=$target_alias
756 ac_cv_env_target_alias_set
=${target_alias+set}
757 ac_cv_env_target_alias_value
=$target_alias
758 ac_env_CC_set
=${CC+set}
760 ac_cv_env_CC_set
=${CC+set}
761 ac_cv_env_CC_value
=$CC
762 ac_env_CFLAGS_set
=${CFLAGS+set}
763 ac_env_CFLAGS_value
=$CFLAGS
764 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
765 ac_cv_env_CFLAGS_value
=$CFLAGS
766 ac_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_env_LDFLAGS_value
=$LDFLAGS
768 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
769 ac_cv_env_LDFLAGS_value
=$LDFLAGS
770 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
773 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 ac_env_CPP_set
=${CPP+set}
775 ac_env_CPP_value
=$CPP
776 ac_cv_env_CPP_set
=${CPP+set}
777 ac_cv_env_CPP_value
=$CPP
780 # Report the --help message.
782 if test "$ac_init_help" = "long"; then
783 # Omit some internal or obsolete options to make the list less imposing.
784 # This message is too long to be a string in the A/UX 3.1 sh.
786 \`configure' configures this package to adapt to many kinds of systems.
788 Usage: $0 [OPTION]... [VAR=VALUE]...
790 To assign environment variables (e.g., CC, CFLAGS...), specify them as
791 VAR=VALUE. See below for descriptions of some of the useful variables.
793 Defaults for the options are specified in brackets.
796 -h, --help display this help and exit
797 --help=short display options specific to this package
798 --help=recursive display the short help of all the included packages
799 -V, --version display version information and exit
800 -q, --quiet, --silent do not print \`checking...' messages
801 --cache-file=FILE cache test results in FILE [disabled]
802 -C, --config-cache alias for \`--cache-file=config.cache'
803 -n, --no-create do not create output files
804 --srcdir=DIR find the sources in DIR [configure dir or \`..']
809 Installation directories:
810 --prefix=PREFIX install architecture-independent files in PREFIX
812 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
815 By default, \`make install' will install all the files in
816 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
817 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
818 for instance \`--prefix=\$HOME'.
820 For better control, use the options below.
822 Fine tuning of the installation directories:
823 --bindir=DIR user executables [EPREFIX/bin]
824 --sbindir=DIR system admin executables [EPREFIX/sbin]
825 --libexecdir=DIR program executables [EPREFIX/libexec]
826 --datadir=DIR read-only architecture-independent data [PREFIX/share]
827 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
828 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
829 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
830 --libdir=DIR object code libraries [EPREFIX/lib]
831 --includedir=DIR C header files [PREFIX/include]
832 --oldincludedir=DIR C header files for non-gcc [/usr/include]
833 --infodir=DIR info documentation [PREFIX/info]
834 --mandir=DIR man documentation [PREFIX/man]
840 --program-prefix=PREFIX prepend PREFIX to installed program names
841 --program-suffix=SUFFIX append SUFFIX to installed program names
842 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
845 --x-includes=DIR X include files are
in DIR
846 --x-libraries=DIR X library files are
in DIR
849 --build=BUILD configure
for building on BUILD
[guessed
]
850 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
851 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
855 if test -n "$ac_init_help"; then
860 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
861 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
862 --enable-maintainer-mode enable make rules and dependencies not useful
863 (and sometimes confusing
) to the casual installer
864 --disable-nls do not use Native Language Support
865 --disable-gdbcli disable command-line interface
(CLI
)
866 --disable-gdbmi disable machine-interface
(MI
)
867 --enable-tui enable full-screen terminal user interface
(TUI
)
868 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
869 --enable-profiling enable profiling of GDB
870 --enable-werror treat compile warnings as errors
871 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
872 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
873 --enable-sim Link gdb with simulator
874 --enable-multi-ice build the multi-ice-gdb-server
877 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
878 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
879 --with-included-gettext use the GNU
gettext library included here
880 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
881 --with-libunwind Use libunwind frame unwinding support
882 --without-included-regex don
't use included regex; this is the default
883 on systems with version 2 of the GNU C library
884 (use with caution on other system)
885 --with-sysroot=DIR Search for usr/lib et al within DIR.
886 --with-tclconfig=DIR Directory containing tcl configuration (tclConfig.sh)
887 --with-tkconfig=DIR Directory containing tk configuration (tkConfig.sh)
888 --with-tclinclude=DIR Directory where tcl private headers are
889 --with-tkinclude=DIR Directory where tk private headers are
890 --with-itclconfig Directory containing itcl configuration (itclConfig.sh)
891 --with-itkconfig Directory containing itk configuration (itkConfig.sh)
892 --with-x use the X Window System
893 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
895 Some influential environment variables:
896 CC C compiler command
897 CFLAGS C compiler flags
898 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
899 nonstandard directory <lib dir>
900 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
901 headers in a nonstandard directory <include dir>
904 Use these variables to override the choices made by `configure' or to
help
905 it to
find libraries and programs with nonstandard names
/locations.
910 if test "$ac_init_help" = "recursive"; then
911 # If there are subdirs, report their specific --help.
913 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
914 test -d $ac_dir ||
continue
917 if test "$ac_dir" != .
; then
918 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
919 # A "../" for each directory in $ac_dir_suffix.
920 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
922 ac_dir_suffix
= ac_top_builddir
=
926 .
) # No --srcdir option. We are building in place.
928 if test -z "$ac_top_builddir"; then
931 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
933 [\\/]* | ?
:[\\/]* ) # Absolute path.
934 ac_srcdir
=$srcdir$ac_dir_suffix;
935 ac_top_srcdir
=$srcdir ;;
937 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
938 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
941 # Do not use `cd foo && pwd` to compute absolute paths, because
942 # the directories may not exist.
944 .
) ac_abs_builddir
="$ac_dir";;
947 .
) ac_abs_builddir
=`pwd`;;
948 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
949 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
952 case $ac_abs_builddir in
953 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
955 case ${ac_top_builddir}.
in
956 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
957 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
958 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
961 case $ac_abs_builddir in
962 .
) ac_abs_srcdir
=$ac_srcdir;;
965 .
) ac_abs_srcdir
=$ac_abs_builddir;;
966 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
967 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
970 case $ac_abs_builddir in
971 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
973 case $ac_top_srcdir in
974 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
975 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
976 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
981 # Check for guested configure; otherwise get Cygnus style configure.
982 if test -f $ac_srcdir/configure.gnu
; then
984 $SHELL $ac_srcdir/configure.gnu
--help=recursive
985 elif test -f $ac_srcdir/configure
; then
987 $SHELL $ac_srcdir/configure
--help=recursive
988 elif test -f $ac_srcdir/configure.ac ||
989 test -f $ac_srcdir/configure.
in; then
993 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
999 test -n "$ac_init_help" && exit 0
1000 if $ac_init_version; then
1003 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1004 This configure
script is free software
; the Free Software Foundation
1005 gives unlimited permission to copy
, distribute and modify it.
1011 This file contains any messages produced by compilers while
1012 running configure, to aid debugging if configure makes a mistake.
1014 It was created by $as_me, which was
1015 generated by GNU Autoconf 2.59. Invocation command line was
1026 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1027 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1028 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1029 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1030 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1032 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1033 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1035 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1036 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1037 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1038 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1039 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1040 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1041 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1049 test -z "$as_dir" && as_dir
=.
1050 echo "PATH: $as_dir"
1065 # Keep a trace of the command line.
1066 # Strip out --no-create and --no-recursion so they do not pile up.
1067 # Strip out --silent because we don't want to record it for future runs.
1068 # Also quote any args containing shell meta-characters.
1069 # Make two passes to allow for proper duplicate-argument suppression.
1074 ac_must_keep_next
=false
1080 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1082 |
-silent |
--silent |
--silen |
--sile |
--sil)
1084 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1085 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1088 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1090 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1091 if test $ac_must_keep_next = true
; then
1092 ac_must_keep_next
=false
# Got value, back to normal.
1095 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1096 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1097 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1098 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1099 case "$ac_configure_args0 " in
1100 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1103 -* ) ac_must_keep_next
=true
;;
1106 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1107 # Get rid of the leading space.
1113 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1114 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1116 # When interrupted or exit'd, cleanup temporary files, and complete
1117 # config.log. We remove comments because anyway the quotes in there
1118 # would cause problems or look ugly.
1119 # WARNING: Be sure not to use single quotes in there, as some shells,
1120 # such as our DU 5.0 friend, will then `close' the trap.
1121 trap 'exit_status=$?
1122 # Save into config.log some information that might help in debugging.
1127 ## ---------------- ##
1128 ## Cache variables. ##
1129 ## ---------------- ##
1132 # The following way of writing the cache mishandles newlines in values,
1135 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1138 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1150 ## ----------------- ##
1151 ## Output variables. ##
1152 ## ----------------- ##
1155 for ac_var in $ac_subst_vars
1157 eval ac_val=$`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -n "$ac_subst_files"; then
1169 for ac_var in $ac_subst_files
1171 eval ac_val=$`echo $ac_var`
1172 echo "$ac_var='"'"'$ac_val'"'"'"
1177 if test -s confdefs.h; then
1184 sed "/^$/d" confdefs.h | sort
1187 test "$ac_signal" != 0 &&
1188 echo "$as_me: caught signal $ac_signal"
1189 echo "$as_me: exit $exit_status"
1191 rm -f core *.core &&
1192 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1195 for ac_signal
in 1 2 13 15; do
1196 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1201 rm -rf conftest
* confdefs.h
1202 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1205 # Predefined preprocessor variables.
1207 cat >>confdefs.h
<<_ACEOF
1208 #define PACKAGE_NAME "$PACKAGE_NAME"
1212 cat >>confdefs.h
<<_ACEOF
1213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217 cat >>confdefs.h
<<_ACEOF
1218 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1222 cat >>confdefs.h
<<_ACEOF
1223 #define PACKAGE_STRING "$PACKAGE_STRING"
1227 cat >>confdefs.h
<<_ACEOF
1228 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232 # Let the site file select an alternate cache file if it wants to.
1233 # Prefer explicitly selected file to automatically selected ones.
1234 if test -z "$CONFIG_SITE"; then
1235 if test "x$prefix" != xNONE
; then
1236 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1238 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1241 for ac_site_file
in $CONFIG_SITE; do
1242 if test -r "$ac_site_file"; then
1243 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1244 echo "$as_me: loading site script $ac_site_file" >&6;}
1245 sed 's/^/| /' "$ac_site_file" >&5
1250 if test -r "$cache_file"; then
1251 # Some versions of bash will fail to source /dev/null (special
1252 # files actually), so we avoid doing that.
1253 if test -f "$cache_file"; then
1254 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1255 echo "$as_me: loading cache $cache_file" >&6;}
1257 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1258 *) . .
/$cache_file;;
1262 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1263 echo "$as_me: creating cache $cache_file" >&6;}
1267 # Check that the precious variables saved in the cache have kept the same
1269 ac_cache_corrupted
=false
1270 for ac_var
in `(set) 2>&1 |
1271 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1272 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1273 eval ac_new_set
=\
$ac_env_${ac_var}_set
1274 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1275 eval ac_new_val
="\$ac_env_${ac_var}_value"
1276 case $ac_old_set,$ac_new_set in
1278 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1279 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1280 ac_cache_corrupted
=: ;;
1282 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1283 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1284 ac_cache_corrupted
=: ;;
1287 if test "x$ac_old_val" != "x$ac_new_val"; then
1288 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1289 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1290 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1291 echo "$as_me: former value: $ac_old_val" >&2;}
1292 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1293 echo "$as_me: current value: $ac_new_val" >&2;}
1294 ac_cache_corrupted
=:
1297 # Pass precious variables to config.status.
1298 if test "$ac_new_set" = set; then
1300 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1301 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1302 *) ac_arg
=$ac_var=$ac_new_val ;;
1304 case " $ac_configure_args " in
1305 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1306 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1310 if $ac_cache_corrupted; then
1311 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1312 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1313 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1314 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1315 { (exit 1); exit 1; }; }
1319 ac_cpp
='$CPP $CPPFLAGS'
1320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1342 ac_config_headers
="$ac_config_headers config.h:config.in"
1344 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1345 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1346 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1347 if test "${enable_maintainer_mode+set}" = set; then
1348 enableval
="$enable_maintainer_mode"
1349 USE_MAINTAINER_MODE
=$enableval
1351 USE_MAINTAINER_MODE
=no
1353 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1354 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1357 if test $USE_MAINTAINER_MODE = yes; then
1358 MAINTAINER_MODE_TRUE
=
1359 MAINTAINER_MODE_FALSE
='#'
1361 MAINTAINER_MODE_TRUE
='#'
1362 MAINTAINER_MODE_FALSE
=
1365 MAINT
=$MAINTAINER_MODE_TRUE
1370 ac_cpp
='$CPP $CPPFLAGS'
1371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1374 if test -n "$ac_tool_prefix"; then
1375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1376 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1377 echo "$as_me:$LINENO: checking for $ac_word" >&5
1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1379 if test "${ac_cv_prog_CC+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 if test -n "$CC"; then
1383 ac_cv_prog_CC
="$CC" # Let the user override the test.
1385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir
=.
1390 for ac_exec_ext
in '' $ac_executable_extensions; do
1391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1392 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1402 if test -n "$CC"; then
1403 echo "$as_me:$LINENO: result: $CC" >&5
1404 echo "${ECHO_T}$CC" >&6
1406 echo "$as_me:$LINENO: result: no" >&5
1407 echo "${ECHO_T}no" >&6
1411 if test -z "$ac_cv_prog_CC"; then
1413 # Extract the first word of "gcc", so it can be a program name with args.
1414 set dummy gcc
; ac_word
=$2
1415 echo "$as_me:$LINENO: checking for $ac_word" >&5
1416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1418 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 if test -n "$ac_ct_CC"; then
1421 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1427 test -z "$as_dir" && as_dir
=.
1428 for ac_exec_ext
in '' $ac_executable_extensions; do
1429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1430 ac_cv_prog_ac_ct_CC
="gcc"
1431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1439 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1440 if test -n "$ac_ct_CC"; then
1441 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1442 echo "${ECHO_T}$ac_ct_CC" >&6
1444 echo "$as_me:$LINENO: result: no" >&5
1445 echo "${ECHO_T}no" >&6
1453 if test -z "$CC"; then
1454 if test -n "$ac_tool_prefix"; then
1455 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1456 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1457 echo "$as_me:$LINENO: checking for $ac_word" >&5
1458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1459 if test "${ac_cv_prog_CC+set}" = set; then
1460 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 if test -n "$CC"; then
1463 ac_cv_prog_CC
="$CC" # Let the user override the test.
1465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir
=.
1470 for ac_exec_ext
in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1472 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1482 if test -n "$CC"; then
1483 echo "$as_me:$LINENO: result: $CC" >&5
1484 echo "${ECHO_T}$CC" >&6
1486 echo "$as_me:$LINENO: result: no" >&5
1487 echo "${ECHO_T}no" >&6
1491 if test -z "$ac_cv_prog_CC"; then
1493 # Extract the first word of "cc", so it can be a program name with args.
1494 set dummy cc
; ac_word
=$2
1495 echo "$as_me:$LINENO: checking for $ac_word" >&5
1496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1497 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 if test -n "$ac_ct_CC"; then
1501 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1507 test -z "$as_dir" && as_dir
=.
1508 for ac_exec_ext
in '' $ac_executable_extensions; do
1509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1510 ac_cv_prog_ac_ct_CC
="cc"
1511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1519 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1520 if test -n "$ac_ct_CC"; then
1521 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1522 echo "${ECHO_T}$ac_ct_CC" >&6
1524 echo "$as_me:$LINENO: result: no" >&5
1525 echo "${ECHO_T}no" >&6
1534 if test -z "$CC"; then
1535 # Extract the first word of "cc", so it can be a program name with args.
1536 set dummy cc
; ac_word
=$2
1537 echo "$as_me:$LINENO: checking for $ac_word" >&5
1538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539 if test "${ac_cv_prog_CC+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 if test -n "$CC"; then
1543 ac_cv_prog_CC
="$CC" # Let the user override the test.
1546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1550 test -z "$as_dir" && as_dir
=.
1551 for ac_exec_ext
in '' $ac_executable_extensions; do
1552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1553 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1554 ac_prog_rejected
=yes
1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1564 if test $ac_prog_rejected = yes; then
1565 # We found a bogon in the path, so make sure we never use it.
1566 set dummy
$ac_cv_prog_CC
1568 if test $# != 0; then
1569 # We chose a different compiler from the bogus one.
1570 # However, it has the same basename, so the bogon will be chosen
1571 # first if we set CC to just the basename; use the full file name.
1573 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1579 if test -n "$CC"; then
1580 echo "$as_me:$LINENO: result: $CC" >&5
1581 echo "${ECHO_T}$CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1588 if test -z "$CC"; then
1589 if test -n "$ac_tool_prefix"; then
1592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1593 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1594 echo "$as_me:$LINENO: checking for $ac_word" >&5
1595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1596 if test "${ac_cv_prog_CC+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 if test -n "$CC"; then
1600 ac_cv_prog_CC
="$CC" # Let the user override the test.
1602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir
=.
1607 for ac_exec_ext
in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1619 if test -n "$CC"; then
1620 echo "$as_me:$LINENO: result: $CC" >&5
1621 echo "${ECHO_T}$CC" >&6
1623 echo "$as_me:$LINENO: result: no" >&5
1624 echo "${ECHO_T}no" >&6
1627 test -n "$CC" && break
1630 if test -z "$CC"; then
1634 # Extract the first word of "$ac_prog", so it can be a program name with args.
1635 set dummy
$ac_prog; ac_word
=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir
=.
1649 for ac_exec_ext
in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC
="$ac_prog"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1669 test -n "$ac_ct_CC" && break
1678 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1679 See \`config.log' for more details." >&5
1680 echo "$as_me: error: no acceptable C compiler found in \$PATH
1681 See \`config.log' for more details." >&2;}
1682 { (exit 1); exit 1; }; }
1684 # Provide some information about the compiler.
1685 echo "$as_me:$LINENO:" \
1686 "checking for C compiler version" >&5
1687 ac_compiler
=`set X $ac_compile; echo $2`
1688 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1689 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1692 (exit $ac_status); }
1693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1694 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1697 (exit $ac_status); }
1698 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1699 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1702 (exit $ac_status); }
1704 cat >conftest.
$ac_ext <<_ACEOF
1707 cat confdefs.h
>>conftest.
$ac_ext
1708 cat >>conftest.
$ac_ext <<_ACEOF
1709 /* end confdefs.h. */
1719 ac_clean_files_save
=$ac_clean_files
1720 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1721 # Try to create an executable without -o first, disregard a.out.
1722 # It will help us diagnose broken compilers, and finding out an intuition
1724 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1725 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1726 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1727 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1728 (eval $ac_link_default) 2>&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }; then
1732 # Find the output, starting from the most likely. This scheme is
1733 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1736 # Be careful to initialize this variable, since it used to be cached.
1737 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1739 # b.out is created by i960 compilers.
1740 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1742 test -f "$ac_file" ||
continue
1744 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1747 # This is the source file.
1750 # We found the default executable, but exeext='' is most
1754 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1755 # FIXME: I believe we export ac_cv_exeext for Libtool,
1756 # but it would be cool to find out if it's true. Does anybody
1757 # maintain Libtool? --akim.
1765 echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.
$ac_ext >&5
1768 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1769 See \`config.log' for more details." >&5
1770 echo "$as_me: error: C compiler cannot create executables
1771 See \`config.log' for more details." >&2;}
1772 { (exit 77); exit 77; }; }
1775 ac_exeext
=$ac_cv_exeext
1776 echo "$as_me:$LINENO: result: $ac_file" >&5
1777 echo "${ECHO_T}$ac_file" >&6
1779 # Check the compiler produces executables we can run. If not, either
1780 # the compiler is broken, or we cross compile.
1781 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1782 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1783 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1784 # If not cross compiling, check that we can run a simple program.
1785 if test "$cross_compiling" != yes; then
1786 if { ac_try
='./$ac_file'
1787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; }; then
1794 if test "$cross_compiling" = maybe
; then
1797 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1798 If you meant to cross compile, use \`--host'.
1799 See \`config.log' for more details." >&5
1800 echo "$as_me: error: cannot run C compiled programs.
1801 If you meant to cross compile, use \`--host'.
1802 See \`config.log' for more details." >&2;}
1803 { (exit 1); exit 1; }; }
1807 echo "$as_me:$LINENO: result: yes" >&5
1808 echo "${ECHO_T}yes" >&6
1810 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1811 ac_clean_files
=$ac_clean_files_save
1812 # Check the compiler produces executables we can run. If not, either
1813 # the compiler is broken, or we cross compile.
1814 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1815 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1816 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1817 echo "${ECHO_T}$cross_compiling" >&6
1819 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1820 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1822 (eval $ac_link) 2>&5
1824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1825 (exit $ac_status); }; then
1826 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1827 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1828 # work properly (i.e., refer to `conftest.exe'), while it won't with
1830 for ac_file
in conftest.exe conftest conftest.
*; do
1831 test -f "$ac_file" ||
continue
1833 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1834 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1841 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1842 See \`config.log' for more details." >&5
1843 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1844 See \`config.log' for more details." >&2;}
1845 { (exit 1); exit 1; }; }
1848 rm -f conftest
$ac_cv_exeext
1849 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1850 echo "${ECHO_T}$ac_cv_exeext" >&6
1852 rm -f conftest.
$ac_ext
1853 EXEEXT
=$ac_cv_exeext
1855 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1856 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1857 if test "${ac_cv_objext+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 cat >conftest.
$ac_ext <<_ACEOF
1863 cat confdefs.h
>>conftest.
$ac_ext
1864 cat >>conftest.
$ac_ext <<_ACEOF
1865 /* end confdefs.h. */
1875 rm -f conftest.o conftest.obj
1876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1877 (eval $ac_compile) 2>&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; then
1881 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1883 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1884 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1889 echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.
$ac_ext >&5
1892 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1893 See \`config.log' for more details." >&5
1894 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1895 See \`config.log' for more details." >&2;}
1896 { (exit 1); exit 1; }; }
1899 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1901 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1902 echo "${ECHO_T}$ac_cv_objext" >&6
1903 OBJEXT
=$ac_cv_objext
1905 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1906 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 cat >conftest.
$ac_ext <<_ACEOF
1913 cat confdefs.h
>>conftest.
$ac_ext
1914 cat >>conftest.
$ac_ext <<_ACEOF
1915 /* end confdefs.h. */
1928 rm -f conftest.
$ac_objext
1929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1930 (eval $ac_compile) 2>conftest.er1
1932 grep -v '^ *+' conftest.er1
>conftest.err
1934 cat conftest.err
>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); } &&
1937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; } &&
1943 { ac_try
='test -s conftest.$ac_objext'
1944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }; }; then
1951 echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.
$ac_ext >&5
1956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1957 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1960 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1961 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1962 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1963 ac_test_CFLAGS
=${CFLAGS+set}
1964 ac_save_CFLAGS
=$CFLAGS
1966 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1967 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1968 if test "${ac_cv_prog_cc_g+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.
$ac_ext <<_ACEOF
1974 cat confdefs.h
>>conftest.
$ac_ext
1975 cat >>conftest.
$ac_ext <<_ACEOF
1976 /* end confdefs.h. */
1986 rm -f conftest.
$ac_objext
1987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1988 (eval $ac_compile) 2>conftest.er1
1990 grep -v '^ *+' conftest.er1
>conftest.err
1992 cat conftest.err
>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); } &&
1995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); }; } &&
2001 { ac_try
='test -s conftest.$ac_objext'
2002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; }; then
2009 echo "$as_me: failed program was:" >&5
2010 sed 's/^/| /' conftest.
$ac_ext >&5
2014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2016 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2017 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2018 if test "$ac_test_CFLAGS" = set; then
2019 CFLAGS
=$ac_save_CFLAGS
2020 elif test $ac_cv_prog_cc_g = yes; then
2021 if test "$GCC" = yes; then
2027 if test "$GCC" = yes; then
2033 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2034 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2035 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 ac_cv_prog_cc_stdc
=no
2040 cat >conftest.
$ac_ext <<_ACEOF
2043 cat confdefs.h
>>conftest.
$ac_ext
2044 cat >>conftest.
$ac_ext <<_ACEOF
2045 /* end confdefs.h. */
2048 #include <sys/types.h>
2049 #include <sys/stat.h>
2050 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2051 struct buf { int x; };
2052 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2053 static char *e (p, i)
2059 static char *f (char * (*g) (char **, int), char **p, ...)
2064 s = g (p, va_arg (v,int));
2069 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2070 function prototypes and stuff, but not '\xHH' hex character constants.
2071 These don't provoke an error unfortunately, instead are silently treated
2072 as 'x'. The following induces an error, until -std1 is added to get
2073 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2074 array size at least. It's necessary to write '\x00'==0 to get something
2075 that's true only with -std1. */
2076 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2078 int test (int i, double x);
2079 struct s1 {int (*f) (int a);};
2080 struct s2 {int (*f) (double a);};
2081 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2087 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2092 # Don't try gcc -ansi; that turns off useful extensions and
2093 # breaks some systems' header files.
2094 # AIX -qlanglvl=ansi
2095 # Ultrix and OSF/1 -std1
2096 # HP-UX 10.20 and later -Ae
2097 # HP-UX older versions -Aa -D_HPUX_SOURCE
2098 # SVR4 -Xc -D__EXTENSIONS__
2099 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2101 CC
="$ac_save_CC $ac_arg"
2102 rm -f conftest.
$ac_objext
2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2104 (eval $ac_compile) 2>conftest.er1
2106 grep -v '^ *+' conftest.er1
>conftest.err
2108 cat conftest.err
>&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); } &&
2111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; } &&
2117 { ac_try
='test -s conftest.$ac_objext'
2118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; }; then
2123 ac_cv_prog_cc_stdc
=$ac_arg
2126 echo "$as_me: failed program was:" >&5
2127 sed 's/^/| /' conftest.
$ac_ext >&5
2130 rm -f conftest.err conftest.
$ac_objext
2132 rm -f conftest.
$ac_ext conftest.
$ac_objext
2137 case "x$ac_cv_prog_cc_stdc" in
2139 echo "$as_me:$LINENO: result: none needed" >&5
2140 echo "${ECHO_T}none needed" >&6 ;;
2142 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2143 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2144 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2147 # Some people use a C++ compiler to compile C. Since we use `exit',
2148 # in C++ we need to declare it. In case someone uses the same compiler
2149 # for both compiling C and C++ we need to have the C++ compiler decide
2150 # the declaration of exit, since it's the most demanding environment.
2151 cat >conftest.
$ac_ext <<_ACEOF
2156 rm -f conftest.
$ac_objext
2157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2158 (eval $ac_compile) 2>conftest.er1
2160 grep -v '^ *+' conftest.er1
>conftest.err
2162 cat conftest.err
>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); } &&
2165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }; } &&
2171 { ac_try
='test -s conftest.$ac_objext'
2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); }; }; then
2177 for ac_declaration
in \
2179 'extern "C" void std::exit (int) throw (); using std::exit;' \
2180 'extern "C" void std::exit (int); using std::exit;' \
2181 'extern "C" void exit (int) throw ();' \
2182 'extern "C" void exit (int);' \
2185 cat >conftest.
$ac_ext <<_ACEOF
2188 cat confdefs.h
>>conftest.
$ac_ext
2189 cat >>conftest.
$ac_ext <<_ACEOF
2190 /* end confdefs.h. */
2201 rm -f conftest.
$ac_objext
2202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2203 (eval $ac_compile) 2>conftest.er1
2205 grep -v '^ *+' conftest.er1
>conftest.err
2207 cat conftest.err
>&5
2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209 (exit $ac_status); } &&
2210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }; } &&
2216 { ac_try
='test -s conftest.$ac_objext'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; }; then
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.
$ac_ext >&5
2229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2230 cat >conftest.
$ac_ext <<_ACEOF
2233 cat confdefs.h
>>conftest.
$ac_ext
2234 cat >>conftest.
$ac_ext <<_ACEOF
2235 /* end confdefs.h. */
2245 rm -f conftest.
$ac_objext
2246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2247 (eval $ac_compile) 2>conftest.er1
2249 grep -v '^ *+' conftest.er1
>conftest.err
2251 cat conftest.err
>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); } &&
2254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; } &&
2260 { ac_try
='test -s conftest.$ac_objext'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; }; then
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.
$ac_ext >&5
2272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2275 if test -n "$ac_declaration"; then
2276 echo '#ifdef __cplusplus' >>confdefs.h
2277 echo $ac_declaration >>confdefs.h
2278 echo '#endif' >>confdefs.h
2282 echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.
$ac_ext >&5
2286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2288 ac_cpp
='$CPP $CPPFLAGS'
2289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2294 cat >>confdefs.h
<<\_ACEOF
2295 #define _GNU_SOURCE 1
2301 ac_cpp
='$CPP $CPPFLAGS'
2302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2305 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2306 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2307 # On Suns, sometimes $CPP names a directory.
2308 if test -n "$CPP" && test -d "$CPP"; then
2311 if test -z "$CPP"; then
2312 if test "${ac_cv_prog_CPP+set}" = set; then
2313 echo $ECHO_N "(cached) $ECHO_C" >&6
2315 # Double quotes because CPP needs to be expanded
2316 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2319 for ac_c_preproc_warn_flag
in '' yes
2321 # Use a header file that comes with gcc, so configuring glibc
2322 # with a fresh cross-compiler works.
2323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2324 # <limits.h> exists even on freestanding compilers.
2325 # On the NeXT, cc -E runs the code through the compiler's parser,
2326 # not just through cpp. "Syntax error" is here to catch this case.
2327 cat >conftest.
$ac_ext <<_ACEOF
2330 cat confdefs.h
>>conftest.
$ac_ext
2331 cat >>conftest.
$ac_ext <<_ACEOF
2332 /* end confdefs.h. */
2334 # include <limits.h>
2336 # include <assert.h>
2340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } >/dev
/null
; then
2348 if test -s conftest.err
; then
2349 ac_cpp_err
=$ac_c_preproc_warn_flag
2350 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2357 if test -z "$ac_cpp_err"; then
2360 echo "$as_me: failed program was:" >&5
2361 sed 's/^/| /' conftest.
$ac_ext >&5
2363 # Broken: fails on valid input.
2366 rm -f conftest.err conftest.
$ac_ext
2368 # OK, works on sane cases. Now check whether non-existent headers
2369 # can be detected and how.
2370 cat >conftest.
$ac_ext <<_ACEOF
2373 cat confdefs.h
>>conftest.
$ac_ext
2374 cat >>conftest.
$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2376 #include <ac_nonexistent.h>
2378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2381 grep -v '^ *+' conftest.er1
>conftest.err
2383 cat conftest.err
>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); } >/dev
/null
; then
2386 if test -s conftest.err
; then
2387 ac_cpp_err
=$ac_c_preproc_warn_flag
2388 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2395 if test -z "$ac_cpp_err"; then
2396 # Broken: success on invalid input.
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.
$ac_ext >&5
2402 # Passes both tests.
2406 rm -f conftest.err conftest.
$ac_ext
2409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2410 rm -f conftest.err conftest.
$ac_ext
2411 if $ac_preproc_ok; then
2423 echo "$as_me:$LINENO: result: $CPP" >&5
2424 echo "${ECHO_T}$CPP" >&6
2426 for ac_c_preproc_warn_flag
in '' yes
2428 # Use a header file that comes with gcc, so configuring glibc
2429 # with a fresh cross-compiler works.
2430 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2431 # <limits.h> exists even on freestanding compilers.
2432 # On the NeXT, cc -E runs the code through the compiler's parser,
2433 # not just through cpp. "Syntax error" is here to catch this case.
2434 cat >conftest.
$ac_ext <<_ACEOF
2437 cat confdefs.h
>>conftest.
$ac_ext
2438 cat >>conftest.
$ac_ext <<_ACEOF
2439 /* end confdefs.h. */
2441 # include <limits.h>
2443 # include <assert.h>
2447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2448 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2450 grep -v '^ *+' conftest.er1
>conftest.err
2452 cat conftest.err
>&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); } >/dev
/null
; then
2455 if test -s conftest.err
; then
2456 ac_cpp_err
=$ac_c_preproc_warn_flag
2457 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2464 if test -z "$ac_cpp_err"; then
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.
$ac_ext >&5
2470 # Broken: fails on valid input.
2473 rm -f conftest.err conftest.
$ac_ext
2475 # OK, works on sane cases. Now check whether non-existent headers
2476 # can be detected and how.
2477 cat >conftest.
$ac_ext <<_ACEOF
2480 cat confdefs.h
>>conftest.
$ac_ext
2481 cat >>conftest.
$ac_ext <<_ACEOF
2482 /* end confdefs.h. */
2483 #include <ac_nonexistent.h>
2485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2488 grep -v '^ *+' conftest.er1
>conftest.err
2490 cat conftest.err
>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); } >/dev
/null
; then
2493 if test -s conftest.err
; then
2494 ac_cpp_err
=$ac_c_preproc_warn_flag
2495 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2502 if test -z "$ac_cpp_err"; then
2503 # Broken: success on invalid input.
2506 echo "$as_me: failed program was:" >&5
2507 sed 's/^/| /' conftest.
$ac_ext >&5
2509 # Passes both tests.
2513 rm -f conftest.err conftest.
$ac_ext
2516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2517 rm -f conftest.err conftest.
$ac_ext
2518 if $ac_preproc_ok; then
2521 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2522 See \`config.log' for more details." >&5
2523 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2524 See \`config.log' for more details." >&2;}
2525 { (exit 1); exit 1; }; }
2529 ac_cpp
='$CPP $CPPFLAGS'
2530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2535 echo "$as_me:$LINENO: checking for egrep" >&5
2536 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2537 if test "${ac_cv_prog_egrep+set}" = set; then
2538 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2541 then ac_cv_prog_egrep
='grep -E'
2542 else ac_cv_prog_egrep
='egrep'
2545 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2546 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2547 EGREP
=$ac_cv_prog_egrep
2551 echo "$as_me:$LINENO: checking for AIX" >&5
2552 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2553 cat >conftest.
$ac_ext <<_ACEOF
2556 cat confdefs.h
>>conftest.
$ac_ext
2557 cat >>conftest.
$ac_ext <<_ACEOF
2558 /* end confdefs.h. */
2564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2565 $EGREP "yes" >/dev
/null
2>&1; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567 echo "${ECHO_T}yes" >&6
2568 cat >>confdefs.h
<<\_ACEOF
2569 #define _ALL_SOURCE 1
2573 echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2579 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2580 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2581 if test "${ac_cv_search_strerror+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 ac_func_search_save_LIBS
=$LIBS
2585 ac_cv_search_strerror
=no
2586 cat >conftest.
$ac_ext <<_ACEOF
2589 cat confdefs.h
>>conftest.
$ac_ext
2590 cat >>conftest.
$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2593 /* Override any gcc2 internal prototype to avoid an error. */
2597 /* We use char because int might match the return type of a gcc2
2598 builtin and then its argument prototype would still apply. */
2608 rm -f conftest.
$ac_objext conftest
$ac_exeext
2609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2610 (eval $ac_link) 2>conftest.er1
2612 grep -v '^ *+' conftest.er1
>conftest.err
2614 cat conftest.err
>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); } &&
2617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; } &&
2623 { ac_try
='test -s conftest$ac_exeext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2629 ac_cv_search_strerror
="none required"
2631 echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.
$ac_ext >&5
2635 rm -f conftest.err conftest.
$ac_objext \
2636 conftest
$ac_exeext conftest.
$ac_ext
2637 if test "$ac_cv_search_strerror" = no
; then
2638 for ac_lib
in cposix
; do
2639 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2640 cat >conftest.
$ac_ext <<_ACEOF
2643 cat confdefs.h
>>conftest.
$ac_ext
2644 cat >>conftest.
$ac_ext <<_ACEOF
2645 /* end confdefs.h. */
2647 /* Override any gcc2 internal prototype to avoid an error. */
2651 /* We use char because int might match the return type of a gcc2
2652 builtin and then its argument prototype would still apply. */
2662 rm -f conftest.
$ac_objext conftest
$ac_exeext
2663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2664 (eval $ac_link) 2>conftest.er1
2666 grep -v '^ *+' conftest.er1
>conftest.err
2668 cat conftest.err
>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); } &&
2671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; } &&
2677 { ac_try
='test -s conftest$ac_exeext'
2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; }; then
2683 ac_cv_search_strerror
="-l$ac_lib"
2686 echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.
$ac_ext >&5
2690 rm -f conftest.err conftest.
$ac_objext \
2691 conftest
$ac_exeext conftest.
$ac_ext
2694 LIBS
=$ac_func_search_save_LIBS
2696 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2697 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2698 if test "$ac_cv_search_strerror" != no
; then
2699 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2706 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2707 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2708 if test "${am_cv_prog_cc_stdc+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 am_cv_prog_cc_stdc
=no
2713 # Don't try gcc -ansi; that turns off useful extensions and
2714 # breaks some systems' header files.
2715 # AIX -qlanglvl=ansi
2716 # Ultrix and OSF/1 -std1
2717 # HP-UX 10.20 and later -Ae
2718 # HP-UX older versions -Aa -D_HPUX_SOURCE
2719 # SVR4 -Xc -D__EXTENSIONS__
2720 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2722 CC
="$ac_save_CC $ac_arg"
2723 cat >conftest.
$ac_ext <<_ACEOF
2726 cat confdefs.h
>>conftest.
$ac_ext
2727 cat >>conftest.
$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2731 #include <sys/types.h>
2732 #include <sys/stat.h>
2733 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2734 struct buf { int x; };
2735 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2736 static char *e (p, i)
2742 static char *f (char * (*g) (char **, int), char **p, ...)
2747 s = g (p, va_arg (v,int));
2751 int test (int i, double x);
2752 struct s1 {int (*f) (int a);};
2753 struct s2 {int (*f) (double a);};
2754 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2762 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2768 rm -f conftest.
$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>conftest.er1
2772 grep -v '^ *+' conftest.er1
>conftest.err
2774 cat conftest.err
>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } &&
2777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); }; } &&
2783 { ac_try
='test -s conftest.$ac_objext'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; }; then
2789 am_cv_prog_cc_stdc
="$ac_arg"; break
2791 echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.
$ac_ext >&5
2795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2801 if test -z "$am_cv_prog_cc_stdc"; then
2802 echo "$as_me:$LINENO: result: none needed" >&5
2803 echo "${ECHO_T}none needed" >&6
2805 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2806 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2808 case "x$am_cv_prog_cc_stdc" in
2810 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2815 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2816 if test -f $ac_dir/install-sh
; then
2818 ac_install_sh
="$ac_aux_dir/install-sh -c"
2820 elif test -f $ac_dir/install.sh
; then
2822 ac_install_sh
="$ac_aux_dir/install.sh -c"
2824 elif test -f $ac_dir/shtool
; then
2826 ac_install_sh
="$ac_aux_dir/shtool install -c"
2830 if test -z "$ac_aux_dir"; then
2831 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2832 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2833 { (exit 1); exit 1; }; }
2835 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2836 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2837 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2839 # Make sure we can run config.sub.
2840 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2841 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2842 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2843 { (exit 1); exit 1; }; }
2845 echo "$as_me:$LINENO: checking build system type" >&5
2846 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2847 if test "${ac_cv_build+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 ac_cv_build_alias
=$build_alias
2851 test -z "$ac_cv_build_alias" &&
2852 ac_cv_build_alias
=`$ac_config_guess`
2853 test -z "$ac_cv_build_alias" &&
2854 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2855 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2856 { (exit 1); exit 1; }; }
2857 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2858 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2859 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2860 { (exit 1); exit 1; }; }
2863 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2864 echo "${ECHO_T}$ac_cv_build" >&6
2866 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2867 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2868 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2871 echo "$as_me:$LINENO: checking host system type" >&5
2872 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2873 if test "${ac_cv_host+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 ac_cv_host_alias
=$host_alias
2877 test -z "$ac_cv_host_alias" &&
2878 ac_cv_host_alias
=$ac_cv_build_alias
2879 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2880 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2881 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2882 { (exit 1); exit 1; }; }
2885 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2886 echo "${ECHO_T}$ac_cv_host" >&6
2888 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2889 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2890 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2893 echo "$as_me:$LINENO: checking target system type" >&5
2894 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2895 if test "${ac_cv_target+set}" = set; then
2896 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 ac_cv_target_alias
=$target_alias
2899 test "x$ac_cv_target_alias" = "x" &&
2900 ac_cv_target_alias
=$ac_cv_host_alias
2901 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2902 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2903 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2904 { (exit 1); exit 1; }; }
2907 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2908 echo "${ECHO_T}$ac_cv_target" >&6
2909 target
=$ac_cv_target
2910 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2911 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2912 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2915 # The aliases save the names the user supplied, while $host etc.
2916 # will get canonicalized.
2917 test -n "$target_alias" &&
2918 test "$program_prefix$program_suffix$program_transform_name" = \
2920 program_prefix
=${target_alias}-
2934 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2935 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2936 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2937 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 cat >conftest.
make <<\_ACEOF
2942 @
echo 'ac_maketemp="$(MAKE)"'
2944 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2945 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2946 if test -n "$ac_maketemp"; then
2947 eval ac_cv_prog_make_
${ac_make}_set
=yes
2949 eval ac_cv_prog_make_
${ac_make}_set
=no
2953 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2954 echo "$as_me:$LINENO: result: yes" >&5
2955 echo "${ECHO_T}yes" >&6
2958 echo "$as_me:$LINENO: result: no" >&5
2959 echo "${ECHO_T}no" >&6
2960 SET_MAKE
="MAKE=${MAKE-make}"
2963 if test -n "$ac_tool_prefix"; then
2964 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2965 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2966 echo "$as_me:$LINENO: checking for $ac_word" >&5
2967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2968 if test "${ac_cv_prog_RANLIB+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 if test -n "$RANLIB"; then
2972 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir
=.
2979 for ac_exec_ext
in '' $ac_executable_extensions; do
2980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2981 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 RANLIB
=$ac_cv_prog_RANLIB
2991 if test -n "$RANLIB"; then
2992 echo "$as_me:$LINENO: result: $RANLIB" >&5
2993 echo "${ECHO_T}$RANLIB" >&6
2995 echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6
3000 if test -z "$ac_cv_prog_RANLIB"; then
3001 ac_ct_RANLIB
=$RANLIB
3002 # Extract the first word of "ranlib", so it can be a program name with args.
3003 set dummy ranlib
; ac_word
=$2
3004 echo "$as_me:$LINENO: checking for $ac_word" >&5
3005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3006 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 if test -n "$ac_ct_RANLIB"; then
3010 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir
=.
3017 for ac_exec_ext
in '' $ac_executable_extensions; do
3018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3019 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3029 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3030 if test -n "$ac_ct_RANLIB"; then
3031 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3032 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3034 echo "$as_me:$LINENO: result: no" >&5
3035 echo "${ECHO_T}no" >&6
3038 RANLIB
=$ac_ct_RANLIB
3040 RANLIB
="$ac_cv_prog_RANLIB"
3043 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3044 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3045 if test "${ac_cv_header_stdc+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 cat >conftest.
$ac_ext <<_ACEOF
3051 cat confdefs.h
>>conftest.
$ac_ext
3052 cat >>conftest.
$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3067 rm -f conftest.
$ac_objext
3068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3069 (eval $ac_compile) 2>conftest.er1
3071 grep -v '^ *+' conftest.er1
>conftest.err
3073 cat conftest.err
>&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); } &&
3076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; } &&
3082 { ac_try
='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 ac_cv_header_stdc
=yes
3090 echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3093 ac_cv_header_stdc
=no
3095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3097 if test $ac_cv_header_stdc = yes; then
3098 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3099 cat >conftest.
$ac_ext <<_ACEOF
3102 cat confdefs.h
>>conftest.
$ac_ext
3103 cat >>conftest.
$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3109 $EGREP "memchr" >/dev
/null
2>&1; then
3112 ac_cv_header_stdc
=no
3118 if test $ac_cv_header_stdc = yes; then
3119 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3120 cat >conftest.
$ac_ext <<_ACEOF
3123 cat confdefs.h
>>conftest.
$ac_ext
3124 cat >>conftest.
$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3130 $EGREP "free" >/dev
/null
2>&1; then
3133 ac_cv_header_stdc
=no
3139 if test $ac_cv_header_stdc = yes; then
3140 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3141 if test "$cross_compiling" = yes; then
3144 cat >conftest.
$ac_ext <<_ACEOF
3147 cat confdefs.h
>>conftest.
$ac_ext
3148 cat >>conftest.
$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3151 #if ((' ' & 0x0FF) == 0x020)
3152 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3153 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3155 # define ISLOWER(c) \
3156 (('a' <= (c) && (c) <= 'i') \
3157 || ('j' <= (c) && (c) <= 'r') \
3158 || ('s' <= (c) && (c) <= 'z'))
3159 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3162 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3167 for (i = 0; i < 256; i++)
3168 if (XOR (islower (i), ISLOWER (i))
3169 || toupper (i) != TOUPPER (i))
3174 rm -f conftest
$ac_exeext
3175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3176 (eval $ac_link) 2>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; }; then
3187 echo "$as_me: program exited with status $ac_status" >&5
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.
$ac_ext >&5
3192 ac_cv_header_stdc
=no
3194 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3198 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3199 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3200 if test $ac_cv_header_stdc = yes; then
3202 cat >>confdefs.h
<<\_ACEOF
3203 #define STDC_HEADERS 1
3208 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3209 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3210 if test "${ac_cv_c_const+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 cat >conftest.
$ac_ext <<_ACEOF
3216 cat confdefs.h
>>conftest.
$ac_ext
3217 cat >>conftest.
$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3223 /* FIXME: Include the comments suggested by Paul. */
3225 /* Ultrix mips cc rejects this. */
3226 typedef int charset[2];
3228 /* SunOS 4.1.1 cc rejects this. */
3229 char const *const *ccp;
3231 /* NEC SVR4.0.2 mips cc rejects this. */
3232 struct point {int x, y;};
3233 static struct point const zero = {0,0};
3234 /* AIX XL C 1.02.0.0 rejects this.
3235 It does not let you subtract one const X* pointer from another in
3236 an arm of an if-expression whose if-part is not a constant
3238 const char *g = "string";
3239 ccp = &g + (g ? g-g : 0);
3240 /* HPUX 7.0 cc rejects these. */
3243 ccp = (char const *const *) p;
3244 { /* SCO 3.2v4 cc rejects this. */
3246 char const *s = 0 ? (char *) 0 : (char const *) 0;
3250 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3252 const int *foo = &x[0];
3255 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3256 typedef const int *iptr;
3260 { /* AIX XL C 1.02.0.0 rejects this saying
3261 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3262 struct s { int j; const int *ap[3]; };
3263 struct s *b; b->j = 5;
3265 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3274 rm -f conftest.
$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276 (eval $ac_compile) 2>conftest.er1
3278 grep -v '^ *+' conftest.er1
>conftest.err
3280 cat conftest.err
>&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; } &&
3289 { ac_try
='test -s conftest.$ac_objext'
3290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }; }; then
3297 echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3304 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3305 echo "${ECHO_T}$ac_cv_c_const" >&6
3306 if test $ac_cv_c_const = no
; then
3308 cat >>confdefs.h
<<\_ACEOF
3314 echo "$as_me:$LINENO: checking for inline" >&5
3315 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3316 if test "${ac_cv_c_inline+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 for ac_kw
in inline __inline__ __inline
; do
3321 cat >conftest.
$ac_ext <<_ACEOF
3324 cat confdefs.h
>>conftest.
$ac_ext
3325 cat >>conftest.
$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3329 static $ac_kw foo_t static_foo () {return 0; }
3330 $ac_kw foo_t foo () {return 0; }
3334 rm -f conftest.
$ac_objext
3335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3336 (eval $ac_compile) 2>conftest.er1
3338 grep -v '^ *+' conftest.er1
>conftest.err
3340 cat conftest.err
>&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }; } &&
3349 { ac_try
='test -s conftest.$ac_objext'
3350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; }; then
3355 ac_cv_c_inline
=$ac_kw; break
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.
$ac_ext >&5
3361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3365 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3366 echo "${ECHO_T}$ac_cv_c_inline" >&6
3369 case $ac_cv_c_inline in
3372 case $ac_cv_c_inline in
3374 *) ac_val
=$ac_cv_c_inline;;
3376 cat >>confdefs.h
<<_ACEOF
3378 #define inline $ac_val
3384 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3394 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3395 inttypes.h stdint.h unistd.h
3397 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3398 echo "$as_me:$LINENO: checking for $ac_header" >&5
3399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 cat >conftest.
$ac_ext <<_ACEOF
3406 cat confdefs.h
>>conftest.
$ac_ext
3407 cat >>conftest.
$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3409 $ac_includes_default
3411 #include <$ac_header>
3413 rm -f conftest.
$ac_objext
3414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415 (eval $ac_compile) 2>conftest.er1
3417 grep -v '^ *+' conftest.er1
>conftest.err
3419 cat conftest.err
>&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); } &&
3422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; } &&
3428 { ac_try
='test -s conftest.$ac_objext'
3429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); }; }; then
3434 eval "$as_ac_Header=yes"
3436 echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.
$ac_ext >&5
3439 eval "$as_ac_Header=no"
3441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3446 cat >>confdefs.h
<<_ACEOF
3447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3455 echo "$as_me:$LINENO: checking for off_t" >&5
3456 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3457 if test "${ac_cv_type_off_t+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 cat >conftest.
$ac_ext <<_ACEOF
3463 cat confdefs.h
>>conftest.
$ac_ext
3464 cat >>conftest.
$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3466 $ac_includes_default
3478 rm -f conftest.
$ac_objext
3479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3480 (eval $ac_compile) 2>conftest.er1
3482 grep -v '^ *+' conftest.er1
>conftest.err
3484 cat conftest.err
>&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } &&
3487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); }; } &&
3493 { ac_try
='test -s conftest.$ac_objext'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; }; then
3499 ac_cv_type_off_t
=yes
3501 echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.
$ac_ext >&5
3506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3508 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3509 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3510 if test $ac_cv_type_off_t = yes; then
3514 cat >>confdefs.h
<<_ACEOF
3520 echo "$as_me:$LINENO: checking for size_t" >&5
3521 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3522 if test "${ac_cv_type_size_t+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 cat >conftest.
$ac_ext <<_ACEOF
3528 cat confdefs.h
>>conftest.
$ac_ext
3529 cat >>conftest.
$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3531 $ac_includes_default
3537 if (sizeof (size_t))
3543 rm -f conftest.
$ac_objext
3544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3545 (eval $ac_compile) 2>conftest.er1
3547 grep -v '^ *+' conftest.er1
>conftest.err
3549 cat conftest.err
>&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); } &&
3552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; } &&
3558 { ac_try
='test -s conftest.$ac_objext'
3559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); }; }; then
3564 ac_cv_type_size_t
=yes
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.
$ac_ext >&5
3569 ac_cv_type_size_t
=no
3571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3573 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3574 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3575 if test $ac_cv_type_size_t = yes; then
3579 cat >>confdefs.h
<<_ACEOF
3580 #define size_t unsigned
3585 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3586 # for constant arguments. Useless!
3587 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3588 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3589 if test "${ac_cv_working_alloca_h+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 cat >conftest.
$ac_ext <<_ACEOF
3595 cat confdefs.h
>>conftest.
$ac_ext
3596 cat >>conftest.
$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3602 char *p = (char *) alloca (2 * sizeof (int));
3607 rm -f conftest.
$ac_objext conftest
$ac_exeext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3609 (eval $ac_link) 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } &&
3616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; } &&
3622 { ac_try
='test -s conftest$ac_exeext'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; }; then
3628 ac_cv_working_alloca_h
=yes
3630 echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.
$ac_ext >&5
3633 ac_cv_working_alloca_h
=no
3635 rm -f conftest.err conftest.
$ac_objext \
3636 conftest
$ac_exeext conftest.
$ac_ext
3638 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3639 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3640 if test $ac_cv_working_alloca_h = yes; then
3642 cat >>confdefs.h
<<\_ACEOF
3643 #define HAVE_ALLOCA_H 1
3648 echo "$as_me:$LINENO: checking for alloca" >&5
3649 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3650 if test "${ac_cv_func_alloca_works+set}" = set; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 cat >conftest.
$ac_ext <<_ACEOF
3656 cat confdefs.h
>>conftest.
$ac_ext
3657 cat >>conftest.
$ac_ext <<_ACEOF
3658 /* end confdefs.h. */
3660 # define alloca __builtin_alloca
3663 # include <malloc.h>
3664 # define alloca _alloca
3667 # include <alloca.h>
3672 # ifndef alloca /* predefined by HP cc +Olibcalls */
3683 char *p = (char *) alloca (1);
3688 rm -f conftest.
$ac_objext conftest
$ac_exeext
3689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3690 (eval $ac_link) 2>conftest.er1
3692 grep -v '^ *+' conftest.er1
>conftest.err
3694 cat conftest.err
>&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } &&
3697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; } &&
3703 { ac_try
='test -s conftest$ac_exeext'
3704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; }; then
3709 ac_cv_func_alloca_works
=yes
3711 echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.
$ac_ext >&5
3714 ac_cv_func_alloca_works
=no
3716 rm -f conftest.err conftest.
$ac_objext \
3717 conftest
$ac_exeext conftest.
$ac_ext
3719 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3720 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3722 if test $ac_cv_func_alloca_works = yes; then
3724 cat >>confdefs.h
<<\_ACEOF
3725 #define HAVE_ALLOCA 1
3729 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3730 # that cause trouble. Some versions do not even contain alloca or
3731 # contain a buggy version. If you still want to use their alloca,
3732 # use ar to extract alloca.o from them instead of compiling alloca.c.
3734 ALLOCA
=alloca.
$ac_objext
3736 cat >>confdefs.h
<<\_ACEOF
3741 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3742 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3743 if test "${ac_cv_os_cray+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 cat >conftest.
$ac_ext <<_ACEOF
3749 cat confdefs.h
>>conftest.
$ac_ext
3750 cat >>conftest.
$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3752 #if defined(CRAY) && ! defined(CRAY2)
3759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3760 $EGREP "webecray" >/dev
/null
2>&1; then
3768 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3769 echo "${ECHO_T}$ac_cv_os_cray" >&6
3770 if test $ac_cv_os_cray = yes; then
3771 for ac_func
in _getb67 GETB67 getb67
; do
3772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3773 echo "$as_me:$LINENO: checking for $ac_func" >&5
3774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3775 if eval "test \"\${$as_ac_var+set}\" = set"; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 cat >conftest.
$ac_ext <<_ACEOF
3781 cat confdefs.h
>>conftest.
$ac_ext
3782 cat >>conftest.
$ac_ext <<_ACEOF
3783 /* end confdefs.h. */
3784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3786 #define $ac_func innocuous_$ac_func
3788 /* System header to define __stub macros and hopefully few prototypes,
3789 which can conflict with char $ac_func (); below.
3790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3791 <limits.h> exists even on freestanding compilers. */
3794 # include <limits.h>
3796 # include <assert.h>
3801 /* Override any gcc2 internal prototype to avoid an error. */
3806 /* We use char because int might match the return type of a gcc2
3807 builtin and then its argument prototype would still apply. */
3809 /* The GNU C library defines this for functions which it implements
3810 to always fail with ENOSYS. Some functions are actually named
3811 something starting with __ and the normal name is an alias. */
3812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3815 char (*f) () = $ac_func;
3824 return f != $ac_func;
3829 rm -f conftest.
$ac_objext conftest
$ac_exeext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3831 (eval $ac_link) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1
>conftest.err
3835 cat conftest.err
>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } &&
3838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }; } &&
3844 { ac_try
='test -s conftest$ac_exeext'
3845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; }; then
3850 eval "$as_ac_var=yes"
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.
$ac_ext >&5
3855 eval "$as_ac_var=no"
3857 rm -f conftest.err conftest.
$ac_objext \
3858 conftest
$ac_exeext conftest.
$ac_ext
3860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3862 if test `eval echo '${'$as_ac_var'}'` = yes; then
3864 cat >>confdefs.h
<<_ACEOF
3865 #define CRAY_STACKSEG_END $ac_func
3874 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3875 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3876 if test "${ac_cv_c_stack_direction+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3879 if test "$cross_compiling" = yes; then
3880 ac_cv_c_stack_direction
=0
3882 cat >conftest.
$ac_ext <<_ACEOF
3885 cat confdefs.h
>>conftest.
$ac_ext
3886 cat >>conftest.
$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3889 find_stack_direction ()
3891 static char *addr = 0;
3896 return find_stack_direction ();
3899 return (&dummy > addr) ? 1 : -1;
3905 exit (find_stack_direction () < 0);
3908 rm -f conftest
$ac_exeext
3909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3910 (eval $ac_link) 2>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; }; then
3919 ac_cv_c_stack_direction
=1
3921 echo "$as_me: program exited with status $ac_status" >&5
3922 echo "$as_me: failed program was:" >&5
3923 sed 's/^/| /' conftest.
$ac_ext >&5
3926 ac_cv_c_stack_direction
=-1
3928 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3931 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3932 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3934 cat >>confdefs.h
<<_ACEOF
3935 #define STACK_DIRECTION $ac_cv_c_stack_direction
3943 for ac_header
in stdlib.h unistd.h
3945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3947 echo "$as_me:$LINENO: checking for $ac_header" >&5
3948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3955 # Is the header compilable?
3956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3958 cat >conftest.
$ac_ext <<_ACEOF
3961 cat confdefs.h
>>conftest.
$ac_ext
3962 cat >>conftest.
$ac_ext <<_ACEOF
3963 /* end confdefs.h. */
3964 $ac_includes_default
3965 #include <$ac_header>
3967 rm -f conftest.
$ac_objext
3968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3969 (eval $ac_compile) 2>conftest.er1
3971 grep -v '^ *+' conftest.er1
>conftest.err
3973 cat conftest.err
>&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } &&
3976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; } &&
3982 { ac_try
='test -s conftest.$ac_objext'
3983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); }; }; then
3988 ac_header_compiler
=yes
3990 echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.
$ac_ext >&5
3993 ac_header_compiler
=no
3995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3997 echo "${ECHO_T}$ac_header_compiler" >&6
3999 # Is the header present?
4000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4002 cat >conftest.
$ac_ext <<_ACEOF
4005 cat confdefs.h
>>conftest.
$ac_ext
4006 cat >>conftest.
$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 #include <$ac_header>
4010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4011 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4013 grep -v '^ *+' conftest.er1
>conftest.err
4015 cat conftest.err
>&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } >/dev
/null
; then
4018 if test -s conftest.err
; then
4019 ac_cpp_err
=$ac_c_preproc_warn_flag
4020 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4027 if test -z "$ac_cpp_err"; then
4028 ac_header_preproc
=yes
4030 echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.
$ac_ext >&5
4033 ac_header_preproc
=no
4035 rm -f conftest.err conftest.
$ac_ext
4036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4037 echo "${ECHO_T}$ac_header_preproc" >&6
4039 # So? What about this header?
4040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4046 ac_header_preproc
=yes
4049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4063 ## ------------------------------------------ ##
4064 ## Report this to the AC_PACKAGE_NAME lists. ##
4065 ## ------------------------------------------ ##
4068 sed "s/^/$as_me: WARNING: /" >&2
4071 echo "$as_me:$LINENO: checking for $ac_header" >&5
4072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 eval "$as_ac_Header=\$ac_header_preproc"
4078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4083 cat >>confdefs.h
<<_ACEOF
4084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4092 for ac_func
in getpagesize
4094 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4095 echo "$as_me:$LINENO: checking for $ac_func" >&5
4096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4097 if eval "test \"\${$as_ac_var+set}\" = set"; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 cat >conftest.
$ac_ext <<_ACEOF
4103 cat confdefs.h
>>conftest.
$ac_ext
4104 cat >>conftest.
$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4108 #define $ac_func innocuous_$ac_func
4110 /* System header to define __stub macros and hopefully few prototypes,
4111 which can conflict with char $ac_func (); below.
4112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4113 <limits.h> exists even on freestanding compilers. */
4116 # include <limits.h>
4118 # include <assert.h>
4123 /* Override any gcc2 internal prototype to avoid an error. */
4128 /* We use char because int might match the return type of a gcc2
4129 builtin and then its argument prototype would still apply. */
4131 /* The GNU C library defines this for functions which it implements
4132 to always fail with ENOSYS. Some functions are actually named
4133 something starting with __ and the normal name is an alias. */
4134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4137 char (*f) () = $ac_func;
4146 return f != $ac_func;
4151 rm -f conftest.
$ac_objext conftest
$ac_exeext
4152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4153 (eval $ac_link) 2>conftest.er1
4155 grep -v '^ *+' conftest.er1
>conftest.err
4157 cat conftest.err
>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } &&
4160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); }; } &&
4166 { ac_try
='test -s conftest$ac_exeext'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; }; then
4172 eval "$as_ac_var=yes"
4174 echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.
$ac_ext >&5
4177 eval "$as_ac_var=no"
4179 rm -f conftest.err conftest.
$ac_objext \
4180 conftest
$ac_exeext conftest.
$ac_ext
4182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4184 if test `eval echo '${'$as_ac_var'}'` = yes; then
4185 cat >>confdefs.h
<<_ACEOF
4186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4192 echo "$as_me:$LINENO: checking for working mmap" >&5
4193 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4194 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 if test "$cross_compiling" = yes; then
4198 ac_cv_func_mmap_fixed_mapped
=no
4200 cat >conftest.
$ac_ext <<_ACEOF
4203 cat confdefs.h
>>conftest.
$ac_ext
4204 cat >>conftest.
$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4206 $ac_includes_default
4207 /* malloc might have been renamed as rpl_malloc. */
4210 /* Thanks to Mike Haertel and Jim Avera for this test.
4211 Here is a matrix of mmap possibilities:
4212 mmap private not fixed
4213 mmap private fixed at somewhere currently unmapped
4214 mmap private fixed at somewhere already mapped
4215 mmap shared not fixed
4216 mmap shared fixed at somewhere currently unmapped
4217 mmap shared fixed at somewhere already mapped
4218 For private mappings, we should verify that changes cannot be read()
4219 back from the file, nor mmap's back from the file at a different
4220 address. (There have been systems where private was not correctly
4221 implemented like the infamous i386 svr4.0, and systems where the
4222 VM page cache was not coherent with the file system buffer cache
4223 like early versions of FreeBSD and possibly contemporary NetBSD.)
4224 For shared mappings, we should conversely verify that changes get
4225 propagated back to all the places they're supposed to be.
4227 Grep wants private fixed already mapped.
4228 The main things grep needs to know about mmap are:
4229 * does it exist and is it safe to write into the mmap'd area
4230 * how to use it (BSD variants) */
4233 #include <sys/mman.h>
4235 #if !STDC_HEADERS && !HAVE_STDLIB_H
4239 /* This mess was copied from the GNU getpagesize.h. */
4240 #if !HAVE_GETPAGESIZE
4241 /* Assume that all systems that can run configure have sys/param.h. */
4242 # if !HAVE_SYS_PARAM_H
4243 # define HAVE_SYS_PARAM_H 1
4246 # ifdef _SC_PAGESIZE
4247 # define getpagesize() sysconf(_SC_PAGESIZE)
4248 # else /* no _SC_PAGESIZE */
4249 # if HAVE_SYS_PARAM_H
4250 # include <sys/param.h>
4251 # ifdef EXEC_PAGESIZE
4252 # define getpagesize() EXEC_PAGESIZE
4253 # else /* no EXEC_PAGESIZE */
4255 # define getpagesize() NBPG * CLSIZE
4258 # endif /* no CLSIZE */
4259 # else /* no NBPG */
4261 # define getpagesize() NBPC
4262 # else /* no NBPC */
4264 # define getpagesize() PAGESIZE
4265 # endif /* PAGESIZE */
4266 # endif /* no NBPC */
4267 # endif /* no NBPG */
4268 # endif /* no EXEC_PAGESIZE */
4269 # else /* no HAVE_SYS_PARAM_H */
4270 # define getpagesize() 8192 /* punt totally */
4271 # endif /* no HAVE_SYS_PARAM_H */
4272 # endif /* no _SC_PAGESIZE */
4274 #endif /* no HAVE_GETPAGESIZE */
4279 char *data, *data2, *data3;
4283 pagesize = getpagesize ();
4285 /* First, make a file with some known garbage in it. */
4286 data = (char *) malloc (pagesize);
4289 for (i = 0; i < pagesize; ++i)
4290 *(data + i) = rand ();
4292 fd = creat ("conftest.mmap", 0600);
4295 if (write (fd, data, pagesize) != pagesize)
4299 /* Next, try to mmap the file at a fixed address which already has
4300 something else allocated at it. If we can, also make sure that
4301 we see the same garbage. */
4302 fd = open ("conftest.mmap", O_RDWR);
4305 data2 = (char *) malloc (2 * pagesize);
4308 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4309 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4310 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4312 for (i = 0; i < pagesize; ++i)
4313 if (*(data + i) != *(data2 + i))
4316 /* Finally, make sure that changes to the mapped area do not
4317 percolate back to the file as seen by read(). (This is a bug on
4318 some variants of i386 svr4.0.) */
4319 for (i = 0; i < pagesize; ++i)
4320 *(data2 + i) = *(data2 + i) + 1;
4321 data3 = (char *) malloc (pagesize);
4324 if (read (fd, data3, pagesize) != pagesize)
4326 for (i = 0; i < pagesize; ++i)
4327 if (*(data + i) != *(data3 + i))
4333 rm -f conftest
$ac_exeext
4334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4335 (eval $ac_link) 2>&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; }; then
4344 ac_cv_func_mmap_fixed_mapped
=yes
4346 echo "$as_me: program exited with status $ac_status" >&5
4347 echo "$as_me: failed program was:" >&5
4348 sed 's/^/| /' conftest.
$ac_ext >&5
4351 ac_cv_func_mmap_fixed_mapped
=no
4353 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4356 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4357 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4358 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4360 cat >>confdefs.h
<<\_ACEOF
4377 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4378 unistd.h values.h sys
/param.h
4380 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4382 echo "$as_me:$LINENO: checking for $ac_header" >&5
4383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4385 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4390 # Is the header compilable?
4391 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4392 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4393 cat >conftest.
$ac_ext <<_ACEOF
4396 cat confdefs.h
>>conftest.
$ac_ext
4397 cat >>conftest.
$ac_ext <<_ACEOF
4398 /* end confdefs.h. */
4399 $ac_includes_default
4400 #include <$ac_header>
4402 rm -f conftest.
$ac_objext
4403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4404 (eval $ac_compile) 2>conftest.er1
4406 grep -v '^ *+' conftest.er1
>conftest.err
4408 cat conftest.err
>&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } &&
4411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; } &&
4417 { ac_try
='test -s conftest.$ac_objext'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; }; then
4423 ac_header_compiler
=yes
4425 echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.
$ac_ext >&5
4428 ac_header_compiler
=no
4430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4432 echo "${ECHO_T}$ac_header_compiler" >&6
4434 # Is the header present?
4435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4437 cat >conftest.
$ac_ext <<_ACEOF
4440 cat confdefs.h
>>conftest.
$ac_ext
4441 cat >>conftest.
$ac_ext <<_ACEOF
4442 /* end confdefs.h. */
4443 #include <$ac_header>
4445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4448 grep -v '^ *+' conftest.er1
>conftest.err
4450 cat conftest.err
>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } >/dev
/null
; then
4453 if test -s conftest.err
; then
4454 ac_cpp_err
=$ac_c_preproc_warn_flag
4455 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4462 if test -z "$ac_cpp_err"; then
4463 ac_header_preproc
=yes
4465 echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.
$ac_ext >&5
4468 ac_header_preproc
=no
4470 rm -f conftest.err conftest.
$ac_ext
4471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4472 echo "${ECHO_T}$ac_header_preproc" >&6
4474 # So? What about this header?
4475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4481 ac_header_preproc
=yes
4484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4498 ## ------------------------------------------ ##
4499 ## Report this to the AC_PACKAGE_NAME lists. ##
4500 ## ------------------------------------------ ##
4503 sed "s/^/$as_me: WARNING: /" >&2
4506 echo "$as_me:$LINENO: checking for $ac_header" >&5
4507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 eval "$as_ac_Header=\$ac_header_preproc"
4513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4518 cat >>confdefs.h
<<_ACEOF
4519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4536 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4537 __argz_count __argz_stringify __argz_next
4539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4540 echo "$as_me:$LINENO: checking for $ac_func" >&5
4541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4542 if eval "test \"\${$as_ac_var+set}\" = set"; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 cat >conftest.
$ac_ext <<_ACEOF
4548 cat confdefs.h
>>conftest.
$ac_ext
4549 cat >>conftest.
$ac_ext <<_ACEOF
4550 /* end confdefs.h. */
4551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4553 #define $ac_func innocuous_$ac_func
4555 /* System header to define __stub macros and hopefully few prototypes,
4556 which can conflict with char $ac_func (); below.
4557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4558 <limits.h> exists even on freestanding compilers. */
4561 # include <limits.h>
4563 # include <assert.h>
4568 /* Override any gcc2 internal prototype to avoid an error. */
4573 /* We use char because int might match the return type of a gcc2
4574 builtin and then its argument prototype would still apply. */
4576 /* The GNU C library defines this for functions which it implements
4577 to always fail with ENOSYS. Some functions are actually named
4578 something starting with __ and the normal name is an alias. */
4579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4582 char (*f) () = $ac_func;
4591 return f != $ac_func;
4596 rm -f conftest.
$ac_objext conftest
$ac_exeext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4598 (eval $ac_link) 2>conftest.er1
4600 grep -v '^ *+' conftest.er1
>conftest.err
4602 cat conftest.err
>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try
='test -s conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 eval "$as_ac_var=yes"
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.
$ac_ext >&5
4622 eval "$as_ac_var=no"
4624 rm -f conftest.err conftest.
$ac_objext \
4625 conftest
$ac_exeext conftest.
$ac_ext
4627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4629 if test `eval echo '${'$as_ac_var'}'` = yes; then
4630 cat >>confdefs.h
<<_ACEOF
4631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4638 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4640 for ac_func
in stpcpy
4642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4643 echo "$as_me:$LINENO: checking for $ac_func" >&5
4644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4645 if eval "test \"\${$as_ac_var+set}\" = set"; then
4646 echo $ECHO_N "(cached) $ECHO_C" >&6
4648 cat >conftest.
$ac_ext <<_ACEOF
4651 cat confdefs.h
>>conftest.
$ac_ext
4652 cat >>conftest.
$ac_ext <<_ACEOF
4653 /* end confdefs.h. */
4654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4656 #define $ac_func innocuous_$ac_func
4658 /* System header to define __stub macros and hopefully few prototypes,
4659 which can conflict with char $ac_func (); below.
4660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4661 <limits.h> exists even on freestanding compilers. */
4664 # include <limits.h>
4666 # include <assert.h>
4671 /* Override any gcc2 internal prototype to avoid an error. */
4676 /* We use char because int might match the return type of a gcc2
4677 builtin and then its argument prototype would still apply. */
4679 /* The GNU C library defines this for functions which it implements
4680 to always fail with ENOSYS. Some functions are actually named
4681 something starting with __ and the normal name is an alias. */
4682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4685 char (*f) () = $ac_func;
4694 return f != $ac_func;
4699 rm -f conftest.
$ac_objext conftest
$ac_exeext
4700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4701 (eval $ac_link) 2>conftest.er1
4703 grep -v '^ *+' conftest.er1
>conftest.err
4705 cat conftest.err
>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } &&
4708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }; } &&
4714 { ac_try
='test -s conftest$ac_exeext'
4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); }; }; then
4720 eval "$as_ac_var=yes"
4722 echo "$as_me: failed program was:" >&5
4723 sed 's/^/| /' conftest.
$ac_ext >&5
4725 eval "$as_ac_var=no"
4727 rm -f conftest.err conftest.
$ac_objext \
4728 conftest
$ac_exeext conftest.
$ac_ext
4730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4732 if test `eval echo '${'$as_ac_var'}'` = yes; then
4733 cat >>confdefs.h
<<_ACEOF
4734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4741 if test "${ac_cv_func_stpcpy}" = "yes"; then
4743 cat >>confdefs.h
<<\_ACEOF
4744 #define HAVE_STPCPY 1
4749 if test $ac_cv_header_locale_h = yes; then
4750 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4751 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4752 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4753 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 cat >conftest.
$ac_ext <<_ACEOF
4758 cat confdefs.h
>>conftest.
$ac_ext
4759 cat >>conftest.
$ac_ext <<_ACEOF
4760 /* end confdefs.h. */
4770 rm -f conftest.
$ac_objext conftest
$ac_exeext
4771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4772 (eval $ac_link) 2>conftest.er1
4774 grep -v '^ *+' conftest.er1
>conftest.err
4776 cat conftest.err
>&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); } &&
4779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; } &&
4785 { ac_try
='test -s conftest$ac_exeext'
4786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); }; }; then
4791 am_cv_val_LC_MESSAGES
=yes
4793 echo "$as_me: failed program was:" >&5
4794 sed 's/^/| /' conftest.
$ac_ext >&5
4796 am_cv_val_LC_MESSAGES
=no
4798 rm -f conftest.err conftest.
$ac_objext \
4799 conftest
$ac_exeext conftest.
$ac_ext
4801 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4802 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4803 if test $am_cv_val_LC_MESSAGES = yes; then
4805 cat >>confdefs.h
<<\_ACEOF
4806 #define HAVE_LC_MESSAGES 1
4811 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4812 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4813 # Check whether --enable-nls or --disable-nls was given.
4814 if test "${enable_nls+set}" = set; then
4815 enableval
="$enable_nls"
4820 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4821 echo "${ECHO_T}$USE_NLS" >&6
4824 USE_INCLUDED_LIBINTL
=no
4826 if test "$USE_NLS" = "yes"; then
4827 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4828 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4830 # Check whether --with-included-gettext or --without-included-gettext was given.
4831 if test "${with_included_gettext+set}" = set; then
4832 withval
="$with_included_gettext"
4833 nls_cv_force_use_gnu_gettext
=$withval
4835 nls_cv_force_use_gnu_gettext
=no
4837 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4838 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4840 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4841 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4843 nls_cv_header_libgt
=
4846 if test "${ac_cv_header_libintl_h+set}" = set; then
4847 echo "$as_me:$LINENO: checking for libintl.h" >&5
4848 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4849 if test "${ac_cv_header_libintl_h+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4853 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4855 # Is the header compilable?
4856 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4857 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4858 cat >conftest.
$ac_ext <<_ACEOF
4861 cat confdefs.h
>>conftest.
$ac_ext
4862 cat >>conftest.
$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4864 $ac_includes_default
4865 #include <libintl.h>
4867 rm -f conftest.
$ac_objext
4868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4869 (eval $ac_compile) 2>conftest.er1
4871 grep -v '^ *+' conftest.er1
>conftest.err
4873 cat conftest.err
>&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } &&
4876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; } &&
4882 { ac_try
='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then
4888 ac_header_compiler
=yes
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.
$ac_ext >&5
4893 ac_header_compiler
=no
4895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4897 echo "${ECHO_T}$ac_header_compiler" >&6
4899 # Is the header present?
4900 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4901 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4902 cat >conftest.
$ac_ext <<_ACEOF
4905 cat confdefs.h
>>conftest.
$ac_ext
4906 cat >>conftest.
$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4908 #include <libintl.h>
4910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4911 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4913 grep -v '^ *+' conftest.er1
>conftest.err
4915 cat conftest.err
>&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } >/dev
/null
; then
4918 if test -s conftest.err
; then
4919 ac_cpp_err
=$ac_c_preproc_warn_flag
4920 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4927 if test -z "$ac_cpp_err"; then
4928 ac_header_preproc
=yes
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.
$ac_ext >&5
4933 ac_header_preproc
=no
4935 rm -f conftest.err conftest.
$ac_ext
4936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4937 echo "${ECHO_T}$ac_header_preproc" >&6
4939 # So? What about this header?
4940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4942 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4943 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4944 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4945 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4946 ac_header_preproc
=yes
4949 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4950 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4951 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4952 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4953 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4954 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4955 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4956 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4957 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4958 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4959 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4960 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4963 ## ------------------------------------------ ##
4964 ## Report this to the AC_PACKAGE_NAME lists. ##
4965 ## ------------------------------------------ ##
4968 sed "s/^/$as_me: WARNING: /" >&2
4971 echo "$as_me:$LINENO: checking for libintl.h" >&5
4972 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4973 if test "${ac_cv_header_libintl_h+set}" = set; then
4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 ac_cv_header_libintl_h
=$ac_header_preproc
4978 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4979 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4982 if test $ac_cv_header_libintl_h = yes; then
4983 echo "$as_me:$LINENO: checking for gettext in libc" >&5
4984 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
4985 if test "${gt_cv_func_gettext_libc+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4988 cat >conftest.
$ac_ext <<_ACEOF
4991 cat confdefs.h
>>conftest.
$ac_ext
4992 cat >>conftest.
$ac_ext <<_ACEOF
4993 /* end confdefs.h. */
4994 #include <libintl.h>
4998 return (int) gettext ("")
5003 rm -f conftest.
$ac_objext conftest
$ac_exeext
5004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5005 (eval $ac_link) 2>conftest.er1
5007 grep -v '^ *+' conftest.er1
>conftest.err
5009 cat conftest.err
>&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } &&
5012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; } &&
5018 { ac_try
='test -s conftest$ac_exeext'
5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); }; }; then
5024 gt_cv_func_gettext_libc
=yes
5026 echo "$as_me: failed program was:" >&5
5027 sed 's/^/| /' conftest.
$ac_ext >&5
5029 gt_cv_func_gettext_libc
=no
5031 rm -f conftest.err conftest.
$ac_objext \
5032 conftest
$ac_exeext conftest.
$ac_ext
5034 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
5035 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5037 if test "$gt_cv_func_gettext_libc" != "yes"; then
5038 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5039 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5040 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 ac_check_lib_save_LIBS
=$LIBS
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5052 /* Override any gcc2 internal prototype to avoid an error. */
5056 /* We use char because int might match the return type of a gcc2
5057 builtin and then its argument prototype would still apply. */
5058 char bindtextdomain ();
5067 rm -f conftest.
$ac_objext conftest
$ac_exeext
5068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5069 (eval $ac_link) 2>conftest.er1
5071 grep -v '^ *+' conftest.er1
>conftest.err
5073 cat conftest.err
>&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } &&
5076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); }; } &&
5082 { ac_try
='test -s conftest$ac_exeext'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; }; then
5088 ac_cv_lib_intl_bindtextdomain
=yes
5090 echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.
$ac_ext >&5
5093 ac_cv_lib_intl_bindtextdomain
=no
5095 rm -f conftest.err conftest.
$ac_objext \
5096 conftest
$ac_exeext conftest.
$ac_ext
5097 LIBS
=$ac_check_lib_save_LIBS
5099 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5100 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5101 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5102 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5103 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5104 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 cat >conftest.
$ac_ext <<_ACEOF
5110 cat confdefs.h
>>conftest.
$ac_ext
5111 cat >>conftest.
$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5117 return (int) gettext ("")
5122 rm -f conftest.
$ac_objext conftest
$ac_exeext
5123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5124 (eval $ac_link) 2>conftest.er1
5126 grep -v '^ *+' conftest.er1
>conftest.err
5128 cat conftest.err
>&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } &&
5131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); }; } &&
5137 { ac_try
='test -s conftest$ac_exeext'
5138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); }; }; then
5143 gt_cv_func_gettext_libintl
=yes
5145 echo "$as_me: failed program was:" >&5
5146 sed 's/^/| /' conftest.
$ac_ext >&5
5148 gt_cv_func_gettext_libintl
=no
5150 rm -f conftest.err conftest.
$ac_objext \
5151 conftest
$ac_exeext conftest.
$ac_ext
5153 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5154 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5159 if test "$gt_cv_func_gettext_libc" = "yes" \
5160 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5162 cat >>confdefs.h
<<\_ACEOF
5163 #define HAVE_GETTEXT 1
5166 # Extract the first word of "msgfmt", so it can be a program name with args.
5167 set dummy msgfmt
; ac_word
=$2
5168 echo "$as_me:$LINENO: checking for $ac_word" >&5
5169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5170 if test "${ac_cv_path_MSGFMT+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5179 for ac_dir
in $PATH; do
5180 test -z "$ac_dir" && ac_dir
=.
5181 if test -f $ac_dir/$ac_word; then
5182 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5183 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5189 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5193 MSGFMT
="$ac_cv_path_MSGFMT"
5194 if test -n "$MSGFMT"; then
5195 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5196 echo "${ECHO_T}$MSGFMT" >&6
5198 echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5201 if test "$MSGFMT" != "no"; then
5203 for ac_func
in dcgettext
5205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5206 echo "$as_me:$LINENO: checking for $ac_func" >&5
5207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5208 if eval "test \"\${$as_ac_var+set}\" = set"; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 cat >conftest.
$ac_ext <<_ACEOF
5214 cat confdefs.h
>>conftest.
$ac_ext
5215 cat >>conftest.
$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5219 #define $ac_func innocuous_$ac_func
5221 /* System header to define __stub macros and hopefully few prototypes,
5222 which can conflict with char $ac_func (); below.
5223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5224 <limits.h> exists even on freestanding compilers. */
5227 # include <limits.h>
5229 # include <assert.h>
5234 /* Override any gcc2 internal prototype to avoid an error. */
5239 /* We use char because int might match the return type of a gcc2
5240 builtin and then its argument prototype would still apply. */
5242 /* The GNU C library defines this for functions which it implements
5243 to always fail with ENOSYS. Some functions are actually named
5244 something starting with __ and the normal name is an alias. */
5245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5248 char (*f) () = $ac_func;
5257 return f != $ac_func;
5262 rm -f conftest.
$ac_objext conftest
$ac_exeext
5263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5264 (eval $ac_link) 2>conftest.er1
5266 grep -v '^ *+' conftest.er1
>conftest.err
5268 cat conftest.err
>&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); } &&
5271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }; } &&
5277 { ac_try
='test -s conftest$ac_exeext'
5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }; }; then
5283 eval "$as_ac_var=yes"
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.
$ac_ext >&5
5288 eval "$as_ac_var=no"
5290 rm -f conftest.err conftest.
$ac_objext \
5291 conftest
$ac_exeext conftest.
$ac_ext
5293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5295 if test `eval echo '${'$as_ac_var'}'` = yes; then
5296 cat >>confdefs.h
<<_ACEOF
5297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5303 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5304 set dummy gmsgfmt
; ac_word
=$2
5305 echo "$as_me:$LINENO: checking for $ac_word" >&5
5306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5307 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5312 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5322 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5333 GMSGFMT
=$ac_cv_path_GMSGFMT
5335 if test -n "$GMSGFMT"; then
5336 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5337 echo "${ECHO_T}$GMSGFMT" >&6
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5343 # Extract the first word of "xgettext", so it can be a program name with args.
5344 set dummy xgettext
; ac_word
=$2
5345 echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5347 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5355 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5356 for ac_dir
in $PATH; do
5357 test -z "$ac_dir" && ac_dir
=.
5358 if test -f $ac_dir/$ac_word; then
5359 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5360 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5366 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5370 XGETTEXT
="$ac_cv_path_XGETTEXT"
5371 if test -n "$XGETTEXT"; then
5372 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5373 echo "${ECHO_T}$XGETTEXT" >&6
5375 echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6
5379 cat >conftest.
$ac_ext <<_ACEOF
5382 cat confdefs.h
>>conftest.
$ac_ext
5383 cat >>conftest.
$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5389 extern int _nl_msg_cat_cntr;
5390 return _nl_msg_cat_cntr
5395 rm -f conftest.
$ac_objext conftest
$ac_exeext
5396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5397 (eval $ac_link) 2>conftest.er1
5399 grep -v '^ *+' conftest.er1
>conftest.err
5401 cat conftest.err
>&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); } &&
5404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }; } &&
5410 { ac_try
='test -s conftest$ac_exeext'
5411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); }; }; then
5419 echo "$as_me: failed program was:" >&5
5420 sed 's/^/| /' conftest.
$ac_ext >&5
5425 rm -f conftest.err conftest.
$ac_objext \
5426 conftest
$ac_exeext conftest.
$ac_ext
5436 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
5437 # Neither gettext nor catgets in included in the C library.
5438 # Fall back on GNU gettext library (assuming it is present).
5439 nls_cv_use_gnu_gettext
=yes
5443 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5444 INTLOBJS
="\$(GETTOBJS)"
5445 # Extract the first word of "msgfmt", so it can be a program name with args.
5446 set dummy msgfmt
; ac_word
=$2
5447 echo "$as_me:$LINENO: checking for $ac_word" >&5
5448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5449 if test "${ac_cv_path_MSGFMT+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5457 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5458 for ac_dir
in $PATH; do
5459 test -z "$ac_dir" && ac_dir
=.
5460 if test -f $ac_dir/$ac_word; then
5461 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5462 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5468 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5472 MSGFMT
="$ac_cv_path_MSGFMT"
5473 if test -n "$MSGFMT"; then
5474 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5475 echo "${ECHO_T}$MSGFMT" >&6
5477 echo "$as_me:$LINENO: result: no" >&5
5478 echo "${ECHO_T}no" >&6
5481 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5482 set dummy gmsgfmt
; ac_word
=$2
5483 echo "$as_me:$LINENO: checking for $ac_word" >&5
5484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5485 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir
=.
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5511 GMSGFMT
=$ac_cv_path_GMSGFMT
5513 if test -n "$GMSGFMT"; then
5514 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5515 echo "${ECHO_T}$GMSGFMT" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5521 # Extract the first word of "xgettext", so it can be a program name with args.
5522 set dummy xgettext
; ac_word
=$2
5523 echo "$as_me:$LINENO: checking for $ac_word" >&5
5524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5525 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5530 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5533 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5534 for ac_dir
in $PATH; do
5535 test -z "$ac_dir" && ac_dir
=.
5536 if test -f $ac_dir/$ac_word; then
5537 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5538 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5544 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5548 XGETTEXT
="$ac_cv_path_XGETTEXT"
5549 if test -n "$XGETTEXT"; then
5550 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5551 echo "${ECHO_T}$XGETTEXT" >&6
5553 echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6
5558 USE_INCLUDED_LIBINTL
=yes
5562 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5564 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5565 nls_cv_header_intl
=libintl.h
5566 nls_cv_header_libgt
=libgettext.h
5569 if test "$XGETTEXT" != ":"; then
5570 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5573 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5574 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5579 # We need to process the po/ directory.
5583 nls_cv_header_intl
=libintl.h
5584 nls_cv_header_libgt
=libgettext.h
5587 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5588 # because some of the sources are only built for this goal.
5589 if test "$PACKAGE" = gettext; then
5591 USE_INCLUDED_LIBINTL
=yes
5594 for lang
in $ALL_LINGUAS; do
5595 GMOFILES
="$GMOFILES $lang.gmo"
5596 POFILES
="$POFILES $lang.po"
5610 if test "x$CATOBJEXT" != "x"; then
5612 cat >>confdefs.h
<<\_ACEOF
5613 #define ENABLE_NLS 1
5619 if test "x$CATOBJEXT" != "x"; then
5620 if test "x$ALL_LINGUAS" = "x"; then
5623 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5624 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5626 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5627 case "$ALL_LINGUAS" in
5628 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5631 LINGUAS
=$NEW_LINGUAS
5632 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5633 echo "${ECHO_T}$LINGUAS" >&6
5636 if test -n "$LINGUAS"; then
5637 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5641 if test $ac_cv_header_locale_h = yes; then
5642 INCLUDE_LOCALE_H
="#include <locale.h>"
5645 /* The system does not provide the header <locale.h>. Take care yourself. */"
5649 if test -f $srcdir/po2tbl.
sed.
in; then
5650 if test "$CATOBJEXT" = ".cat"; then
5651 if test "${ac_cv_header_linux_version_h+set}" = set; then
5652 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5653 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5654 if test "${ac_cv_header_linux_version_h+set}" = set; then
5655 echo $ECHO_N "(cached) $ECHO_C" >&6
5657 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5658 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5660 # Is the header compilable?
5661 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5662 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5663 cat >conftest.
$ac_ext <<_ACEOF
5666 cat confdefs.h
>>conftest.
$ac_ext
5667 cat >>conftest.
$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 $ac_includes_default
5670 #include <linux/version.h>
5672 rm -f conftest.
$ac_objext
5673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5674 (eval $ac_compile) 2>conftest.er1
5676 grep -v '^ *+' conftest.er1
>conftest.err
5678 cat conftest.err
>&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } &&
5681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; } &&
5687 { ac_try
='test -s conftest.$ac_objext'
5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); }; }; then
5693 ac_header_compiler
=yes
5695 echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.
$ac_ext >&5
5698 ac_header_compiler
=no
5700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5702 echo "${ECHO_T}$ac_header_compiler" >&6
5704 # Is the header present?
5705 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5706 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5707 cat >conftest.
$ac_ext <<_ACEOF
5710 cat confdefs.h
>>conftest.
$ac_ext
5711 cat >>conftest.
$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5713 #include <linux/version.h>
5715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5718 grep -v '^ *+' conftest.er1
>conftest.err
5720 cat conftest.err
>&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); } >/dev
/null
; then
5723 if test -s conftest.err
; then
5724 ac_cpp_err
=$ac_c_preproc_warn_flag
5725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5732 if test -z "$ac_cpp_err"; then
5733 ac_header_preproc
=yes
5735 echo "$as_me: failed program was:" >&5
5736 sed 's/^/| /' conftest.
$ac_ext >&5
5738 ac_header_preproc
=no
5740 rm -f conftest.err conftest.
$ac_ext
5741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5742 echo "${ECHO_T}$ac_header_preproc" >&6
5744 # So? What about this header?
5745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5747 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5748 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5749 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5750 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5751 ac_header_preproc
=yes
5754 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5755 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5756 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5757 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5758 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5759 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5760 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5761 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5762 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5763 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5764 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5765 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5768 ## ------------------------------------------ ##
5769 ## Report this to the AC_PACKAGE_NAME lists. ##
5770 ## ------------------------------------------ ##
5773 sed "s/^/$as_me: WARNING: /" >&2
5776 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5777 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5778 if test "${ac_cv_header_linux_version_h+set}" = set; then
5779 echo $ECHO_N "(cached) $ECHO_C" >&6
5781 ac_cv_header_linux_version_h
=$ac_header_preproc
5783 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5784 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5787 if test $ac_cv_header_linux_version_h = yes; then
5795 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5797 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5798 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5801 if test "$PACKAGE" = "gettext"; then
5811 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5817 if test -f $srcdir/po
/POTFILES.
in; then
5818 test -d po || mkdir po
5819 if test "x$srcdir" != "x."; then
5820 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5821 posrcprefix
="$srcdir/"
5823 posrcprefix
="../$srcdir/"
5829 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5830 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5834 localedir
='${datadir}/locale'
5837 if test "x$POSUB" != x
; then
5839 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5840 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5841 # Look for .po and .gmo files in the source directory.
5844 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5845 # If there aren't any .gmo files the shell will give us the
5846 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5848 case "$cat" in *\
**)
5851 # The quadruple backslash is collapsed to a double backslash
5852 # by the backticks, then collapsed again by the double quotes,
5853 # leaving us with one backslash in the sed expression (right
5854 # before the dot that mustn't act as a wildcard).
5855 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
5856 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
5857 # The user is allowed to set LINGUAS to a list of languages to
5858 # install catalogs for. If it's empty that means "all of them."
5859 if test "x$LINGUAS" = x
; then
5860 CATALOGS
="$CATALOGS $cat"
5861 XLINGUAS
="$XLINGUAS $lang"
5863 case "$LINGUAS" in *$lang*)
5864 CATALOGS
="$CATALOGS $cat"
5865 XLINGUAS
="$XLINGUAS $lang"
5871 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5872 echo "${ECHO_T}$LINGUAS" >&6
5874 CONFIG_ALL
="$CONFIG_ALL all-po"
5875 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
5876 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
5877 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
5882 cat >>confdefs.h
<<_ACEOF
5883 #define PACKAGE "$PACKAGE"
5888 debugdir
=${libdir}/debug
5891 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
5892 if test "${with_separate_debug_dir+set}" = set; then
5893 withval
="$with_separate_debug_dir"
5894 debugdir
="${withval}"
5898 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
5899 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5900 ac_define_dir
=`eval echo $debugdir`
5901 ac_define_dir
=`eval echo $ac_define_dir`
5903 cat >>confdefs.h
<<_ACEOF
5904 #define DEBUGDIR "$ac_define_dir"
5908 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
5912 subdirs
="$subdirs doc testsuite"
5915 # Provide defaults for some variables set by the per-host and per-target
5917 gdb_host_obs
=posix-hdep.o
5919 .
$srcdir/configure.
host
5921 .
$srcdir/configure.tgt
5923 # Fetch the default architecture and default target vector from BFD.
5924 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
5926 # We only want the first architecture, so strip off the others if
5927 # there is more than one.
5928 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
5930 if test "x$targ_archs" != x
; then
5932 cat >>confdefs.h
<<_ACEOF
5933 #define DEFAULT_BFD_ARCH $targ_archs
5937 if test "x$targ_defvec" != x
; then
5939 cat >>confdefs.h
<<_ACEOF
5940 #define DEFAULT_BFD_VEC $targ_defvec
5945 test "$program_prefix" != NONE
&&
5946 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
5947 # Use a double $ so make ignores it.
5948 test "$program_suffix" != NONE
&&
5949 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
5950 # Double any \ or $. echo might interpret backslashes.
5951 # By default was `s,x,x', remove it if useless.
5952 cat <<\_ACEOF
>conftest.
sed
5953 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
5955 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
5959 # The CLI cannot be disabled yet, but may be in the future.
5962 # Check whether --enable-gdbcli or --disable-gdbcli was given.
5963 if test "${enable_gdbcli+set}" = set; then
5964 enableval
="$enable_gdbcli"
5969 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
5970 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
5971 { (exit 1); exit 1; }; } ;;
5973 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
5974 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
5975 { (exit 1); exit 1; }; } ;;
5980 if test x
"$enable_gdbcli" = xyes
; then
5981 if test -d $srcdir/cli
; then
5982 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
5983 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
5984 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
5985 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
5990 # Check whether --enable-gdbmi or --disable-gdbmi was given.
5991 if test "${enable_gdbmi+set}" = set; then
5992 enableval
="$enable_gdbmi"
5997 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
5998 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
5999 { (exit 1); exit 1; }; } ;;
6004 if test x
"$enable_gdbmi" = xyes
; then
6005 if test -d $srcdir/mi
; then
6006 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
6007 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
6008 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
6009 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
6014 # Check whether --enable-tui or --disable-tui was given.
6015 if test "${enable_tui+set}" = set; then
6016 enableval
="$enable_tui"
6021 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
6022 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
6023 { (exit 1); exit 1; }; } ;;
6030 # Check whether --enable-gdbtk or --disable-gdbtk was given.
6031 if test "${enable_gdbtk+set}" = set; then
6032 enableval
="$enable_gdbtk"
6037 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
6038 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
6039 { (exit 1); exit 1; }; } ;;
6042 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
6048 # We unconditionally disable gdbtk tests on selected platforms.
6051 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
6052 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
6056 # Libunwind support.
6058 # Check whether --with-libunwind or --without-libunwind was given.
6059 if test "${with_libunwind+set}" = set; then
6060 withval
="$with_libunwind"
6061 case "${withval}" in
6062 yes) enable_libunwind
=yes ;;
6063 no
) enable_libunwind
=no
;;
6064 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
6065 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
6066 { (exit 1); exit 1; }; } ;;
6071 for ac_header
in libunwind.h
6073 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6075 echo "$as_me:$LINENO: checking for $ac_header" >&5
6076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6083 # Is the header compilable?
6084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6086 cat >conftest.
$ac_ext <<_ACEOF
6089 cat confdefs.h
>>conftest.
$ac_ext
6090 cat >>conftest.
$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6092 $ac_includes_default
6093 #include <$ac_header>
6095 rm -f conftest.
$ac_objext
6096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6097 (eval $ac_compile) 2>conftest.er1
6099 grep -v '^ *+' conftest.er1
>conftest.err
6101 cat conftest.err
>&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } &&
6104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; } &&
6110 { ac_try
='test -s conftest.$ac_objext'
6111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }; }; then
6116 ac_header_compiler
=yes
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.
$ac_ext >&5
6121 ac_header_compiler
=no
6123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6125 echo "${ECHO_T}$ac_header_compiler" >&6
6127 # Is the header present?
6128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6130 cat >conftest.
$ac_ext <<_ACEOF
6133 cat confdefs.h
>>conftest.
$ac_ext
6134 cat >>conftest.
$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6136 #include <$ac_header>
6138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6139 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
6146 if test -s conftest.err
; then
6147 ac_cpp_err
=$ac_c_preproc_warn_flag
6148 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6155 if test -z "$ac_cpp_err"; then
6156 ac_header_preproc
=yes
6158 echo "$as_me: failed program was:" >&5
6159 sed 's/^/| /' conftest.
$ac_ext >&5
6161 ac_header_preproc
=no
6163 rm -f conftest.err conftest.
$ac_ext
6164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6165 echo "${ECHO_T}$ac_header_preproc" >&6
6167 # So? What about this header?
6168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6174 ac_header_preproc
=yes
6177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6191 ## ------------------------------------------ ##
6192 ## Report this to the AC_PACKAGE_NAME lists. ##
6193 ## ------------------------------------------ ##
6196 sed "s/^/$as_me: WARNING: /" >&2
6199 echo "$as_me:$LINENO: checking for $ac_header" >&5
6200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 eval "$as_ac_Header=\$ac_header_preproc"
6206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6211 cat >>confdefs.h
<<_ACEOF
6212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6220 for ac_header
in libunwind-ia64.h
6222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6224 echo "$as_me:$LINENO: checking for $ac_header" >&5
6225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6232 # Is the header compilable?
6233 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6235 cat >conftest.
$ac_ext <<_ACEOF
6238 cat confdefs.h
>>conftest.
$ac_ext
6239 cat >>conftest.
$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6241 $ac_includes_default
6242 #include <$ac_header>
6244 rm -f conftest.
$ac_objext
6245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6246 (eval $ac_compile) 2>conftest.er1
6248 grep -v '^ *+' conftest.er1
>conftest.err
6250 cat conftest.err
>&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); } &&
6253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); }; } &&
6259 { ac_try
='test -s conftest.$ac_objext'
6260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); }; }; then
6265 ac_header_compiler
=yes
6267 echo "$as_me: failed program was:" >&5
6268 sed 's/^/| /' conftest.
$ac_ext >&5
6270 ac_header_compiler
=no
6272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6274 echo "${ECHO_T}$ac_header_compiler" >&6
6276 # Is the header present?
6277 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6278 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6279 cat >conftest.
$ac_ext <<_ACEOF
6282 cat confdefs.h
>>conftest.
$ac_ext
6283 cat >>conftest.
$ac_ext <<_ACEOF
6284 /* end confdefs.h. */
6285 #include <$ac_header>
6287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6290 grep -v '^ *+' conftest.er1
>conftest.err
6292 cat conftest.err
>&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } >/dev
/null
; then
6295 if test -s conftest.err
; then
6296 ac_cpp_err
=$ac_c_preproc_warn_flag
6297 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6304 if test -z "$ac_cpp_err"; then
6305 ac_header_preproc
=yes
6307 echo "$as_me: failed program was:" >&5
6308 sed 's/^/| /' conftest.
$ac_ext >&5
6310 ac_header_preproc
=no
6312 rm -f conftest.err conftest.
$ac_ext
6313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6314 echo "${ECHO_T}$ac_header_preproc" >&6
6316 # So? What about this header?
6317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6319 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6320 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6322 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6323 ac_header_preproc
=yes
6326 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6327 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6328 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6329 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6330 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6331 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6332 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6333 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6334 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6335 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6336 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6337 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6340 ## ------------------------------------------ ##
6341 ## Report this to the AC_PACKAGE_NAME lists. ##
6342 ## ------------------------------------------ ##
6345 sed "s/^/$as_me: WARNING: /" >&2
6348 echo "$as_me:$LINENO: checking for $ac_header" >&5
6349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6353 eval "$as_ac_Header=\$ac_header_preproc"
6355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6360 cat >>confdefs.h
<<_ACEOF
6361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6368 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
6369 enable_libunwind
=yes;
6374 if test x
"$enable_libunwind" = xyes
; then
6376 for ac_header
in libunwind.h
6378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6380 echo "$as_me:$LINENO: checking for $ac_header" >&5
6381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6383 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6388 # Is the header compilable?
6389 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6391 cat >conftest.
$ac_ext <<_ACEOF
6394 cat confdefs.h
>>conftest.
$ac_ext
6395 cat >>conftest.
$ac_ext <<_ACEOF
6396 /* end confdefs.h. */
6397 $ac_includes_default
6398 #include <$ac_header>
6400 rm -f conftest.
$ac_objext
6401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6402 (eval $ac_compile) 2>conftest.er1
6404 grep -v '^ *+' conftest.er1
>conftest.err
6406 cat conftest.err
>&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); } &&
6409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); }; } &&
6415 { ac_try
='test -s conftest.$ac_objext'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; }; then
6421 ac_header_compiler
=yes
6423 echo "$as_me: failed program was:" >&5
6424 sed 's/^/| /' conftest.
$ac_ext >&5
6426 ac_header_compiler
=no
6428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6430 echo "${ECHO_T}$ac_header_compiler" >&6
6432 # Is the header present?
6433 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6435 cat >conftest.
$ac_ext <<_ACEOF
6438 cat confdefs.h
>>conftest.
$ac_ext
6439 cat >>conftest.
$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6441 #include <$ac_header>
6443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6446 grep -v '^ *+' conftest.er1
>conftest.err
6448 cat conftest.err
>&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); } >/dev
/null
; then
6451 if test -s conftest.err
; then
6452 ac_cpp_err
=$ac_c_preproc_warn_flag
6453 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6460 if test -z "$ac_cpp_err"; then
6461 ac_header_preproc
=yes
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.
$ac_ext >&5
6466 ac_header_preproc
=no
6468 rm -f conftest.err conftest.
$ac_ext
6469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6470 echo "${ECHO_T}$ac_header_preproc" >&6
6472 # So? What about this header?
6473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6479 ac_header_preproc
=yes
6482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6496 ## ------------------------------------------ ##
6497 ## Report this to the AC_PACKAGE_NAME lists. ##
6498 ## ------------------------------------------ ##
6501 sed "s/^/$as_me: WARNING: /" >&2
6504 echo "$as_me:$LINENO: checking for $ac_header" >&5
6505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 eval "$as_ac_Header=\$ac_header_preproc"
6511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6516 cat >>confdefs.h
<<_ACEOF
6517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6525 for ac_header
in libunwind-ia64.h
6527 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6529 echo "$as_me:$LINENO: checking for $ac_header" >&5
6530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6537 # Is the header compilable?
6538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6540 cat >conftest.
$ac_ext <<_ACEOF
6543 cat confdefs.h
>>conftest.
$ac_ext
6544 cat >>conftest.
$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6546 $ac_includes_default
6547 #include <$ac_header>
6549 rm -f conftest.
$ac_objext
6550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6551 (eval $ac_compile) 2>conftest.er1
6553 grep -v '^ *+' conftest.er1
>conftest.err
6555 cat conftest.err
>&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); } &&
6558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); }; } &&
6564 { ac_try
='test -s conftest.$ac_objext'
6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; }; then
6570 ac_header_compiler
=yes
6572 echo "$as_me: failed program was:" >&5
6573 sed 's/^/| /' conftest.
$ac_ext >&5
6575 ac_header_compiler
=no
6577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6579 echo "${ECHO_T}$ac_header_compiler" >&6
6581 # Is the header present?
6582 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6584 cat >conftest.
$ac_ext <<_ACEOF
6587 cat confdefs.h
>>conftest.
$ac_ext
6588 cat >>conftest.
$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6590 #include <$ac_header>
6592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6595 grep -v '^ *+' conftest.er1
>conftest.err
6597 cat conftest.err
>&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); } >/dev
/null
; then
6600 if test -s conftest.err
; then
6601 ac_cpp_err
=$ac_c_preproc_warn_flag
6602 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6609 if test -z "$ac_cpp_err"; then
6610 ac_header_preproc
=yes
6612 echo "$as_me: failed program was:" >&5
6613 sed 's/^/| /' conftest.
$ac_ext >&5
6615 ac_header_preproc
=no
6617 rm -f conftest.err conftest.
$ac_ext
6618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6619 echo "${ECHO_T}$ac_header_preproc" >&6
6621 # So? What about this header?
6622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6628 ac_header_preproc
=yes
6631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6645 ## ------------------------------------------ ##
6646 ## Report this to the AC_PACKAGE_NAME lists. ##
6647 ## ------------------------------------------ ##
6650 sed "s/^/$as_me: WARNING: /" >&2
6653 echo "$as_me:$LINENO: checking for $ac_header" >&5
6654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6656 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 eval "$as_ac_Header=\$ac_header_preproc"
6660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6665 cat >>confdefs.h
<<_ACEOF
6666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6674 cat >>confdefs.h
<<\_ACEOF
6675 #define HAVE_LIBUNWIND 1
6678 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
6679 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
6680 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
6683 # Profiling support.
6684 # Check whether --enable-profiling or --disable-profiling was given.
6685 if test "${enable_profiling+set}" = set; then
6686 enableval
="$enable_profiling"
6691 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
6692 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
6693 { (exit 1); exit 1; }; } ;;
6701 for ac_func
in monstartup _mcleanup
6703 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6704 echo "$as_me:$LINENO: checking for $ac_func" >&5
6705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6706 if eval "test \"\${$as_ac_var+set}\" = set"; then
6707 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 cat >conftest.
$ac_ext <<_ACEOF
6712 cat confdefs.h
>>conftest.
$ac_ext
6713 cat >>conftest.
$ac_ext <<_ACEOF
6714 /* end confdefs.h. */
6715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6717 #define $ac_func innocuous_$ac_func
6719 /* System header to define __stub macros and hopefully few prototypes,
6720 which can conflict with char $ac_func (); below.
6721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6722 <limits.h> exists even on freestanding compilers. */
6725 # include <limits.h>
6727 # include <assert.h>
6732 /* Override any gcc2 internal prototype to avoid an error. */
6737 /* We use char because int might match the return type of a gcc2
6738 builtin and then its argument prototype would still apply. */
6740 /* The GNU C library defines this for functions which it implements
6741 to always fail with ENOSYS. Some functions are actually named
6742 something starting with __ and the normal name is an alias. */
6743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6746 char (*f) () = $ac_func;
6755 return f != $ac_func;
6760 rm -f conftest.
$ac_objext conftest
$ac_exeext
6761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6762 (eval $ac_link) 2>conftest.er1
6764 grep -v '^ *+' conftest.er1
>conftest.err
6766 cat conftest.err
>&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } &&
6769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); }; } &&
6775 { ac_try
='test -s conftest$ac_exeext'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; }; then
6781 eval "$as_ac_var=yes"
6783 echo "$as_me: failed program was:" >&5
6784 sed 's/^/| /' conftest.
$ac_ext >&5
6786 eval "$as_ac_var=no"
6788 rm -f conftest.err conftest.
$ac_objext \
6789 conftest
$ac_exeext conftest.
$ac_ext
6791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6793 if test `eval echo '${'$as_ac_var'}'` = yes; then
6794 cat >>confdefs.h
<<_ACEOF
6795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6801 echo "$as_me:$LINENO: checking for _etext" >&5
6802 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
6803 if test "${ac_cv_var__etext+set}" = set; then
6804 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 cat >conftest.
$ac_ext <<_ACEOF
6809 cat confdefs.h
>>conftest.
$ac_ext
6810 cat >>conftest.
$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6823 rm -f conftest.
$ac_objext conftest
$ac_exeext
6824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6825 (eval $ac_link) 2>conftest.er1
6827 grep -v '^ *+' conftest.er1
>conftest.err
6829 cat conftest.err
>&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); } &&
6832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; } &&
6838 { ac_try
='test -s conftest$ac_exeext'
6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); }; }; then
6844 ac_cv_var__etext
=yes
6846 echo "$as_me: failed program was:" >&5
6847 sed 's/^/| /' conftest.
$ac_ext >&5
6851 rm -f conftest.err conftest.
$ac_objext \
6852 conftest
$ac_exeext conftest.
$ac_ext
6854 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
6855 echo "${ECHO_T}$ac_cv_var__etext" >&6
6856 if test $ac_cv_var__etext = yes; then
6858 cat >>confdefs.h
<<\_ACEOF
6859 #define HAVE__ETEXT 1
6863 if test "$enable_profiling" = yes ; then
6864 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
6865 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
6866 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
6867 { (exit 1); exit 1; }; }
6870 OLD_CFLAGS
="$CFLAGS"
6871 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
6873 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
6874 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
6875 if test "${ac_cv_cc_supports_pg+set}" = set; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 cat >conftest.
$ac_ext <<_ACEOF
6881 cat confdefs.h
>>conftest.
$ac_ext
6882 cat >>conftest.
$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6893 rm -f conftest.
$ac_objext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6895 (eval $ac_compile) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1
>conftest.err
6899 cat conftest.err
>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; } &&
6908 { ac_try
='test -s conftest.$ac_objext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_cc_supports_pg
=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.
$ac_ext >&5
6919 ac_cv_cc_supports_pg
=no
6921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6923 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
6924 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
6926 if test $ac_cv_cc_supports_pg = no
; then
6927 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
6928 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
6929 { (exit 1); exit 1; }; }
6932 CFLAGS
="$OLD_CFLAGS"
6935 # --------------------- #
6936 # Checks for programs. #
6937 # --------------------- #
6939 for ac_prog
in gawk mawk nawk
awk
6941 # Extract the first word of "$ac_prog", so it can be a program name with args.
6942 set dummy
$ac_prog; ac_word
=$2
6943 echo "$as_me:$LINENO: checking for $ac_word" >&5
6944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6945 if test "${ac_cv_prog_AWK+set}" = set; then
6946 echo $ECHO_N "(cached) $ECHO_C" >&6
6948 if test -n "$AWK"; then
6949 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir
=.
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_prog_AWK
="$ac_prog"
6959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 if test -n "$AWK"; then
6969 echo "$as_me:$LINENO: result: $AWK" >&5
6970 echo "${ECHO_T}$AWK" >&6
6972 echo "$as_me:$LINENO: result: no" >&5
6973 echo "${ECHO_T}no" >&6
6976 test -n "$AWK" && break
6979 # Find a good install program. We prefer a C program (faster),
6980 # so one script is as good as another. But avoid the broken or
6981 # incompatible versions:
6982 # SysV /etc/install, /usr/sbin/install
6983 # SunOS /usr/etc/install
6984 # IRIX /sbin/install
6986 # AmigaOS /C/install, which installs bootblocks on floppy discs
6987 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6988 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6989 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6990 # OS/2's system install, which has a completely different semantic
6991 # ./install, which can be erroneously created by make from ./install.sh.
6992 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6993 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6994 if test -z "$INSTALL"; then
6995 if test "${ac_cv_path_install+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir
=.
7003 # Account for people who put trailing slashes in PATH elements.
7005 .
/ | .
// |
/cC
/* | \
7006 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7007 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7010 # OSF1 and SCO ODT 3.0 have their own names for install.
7011 # Don't use installbsd from OSF since it installs stuff as root
7013 for ac_prog
in ginstall scoinst
install; do
7014 for ac_exec_ext
in '' $ac_executable_extensions; do
7015 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7016 if test $ac_prog = install &&
7017 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7018 # AIX install. It has an incompatible calling convention.
7020 elif test $ac_prog = install &&
7021 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7022 # program-specific install script used by HP pwplus--don't use.
7025 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7037 if test "${ac_cv_path_install+set}" = set; then
7038 INSTALL
=$ac_cv_path_install
7040 # As a last resort, use the slow shell script. We don't cache a
7041 # path for INSTALL within a source directory, because that will
7042 # break other packages using the cache if that directory is
7043 # removed, or if the path is relative.
7044 INSTALL
=$ac_install_sh
7047 echo "$as_me:$LINENO: result: $INSTALL" >&5
7048 echo "${ECHO_T}$INSTALL" >&6
7050 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7051 # It thinks the first close brace ends the variable substitution.
7052 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7054 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7056 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7058 echo "$as_me:$LINENO: checking whether ln -s works" >&5
7059 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7061 if test "$LN_S" = "ln -s"; then
7062 echo "$as_me:$LINENO: result: yes" >&5
7063 echo "${ECHO_T}yes" >&6
7065 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7066 echo "${ECHO_T}no, using $LN_S" >&6
7069 if test -n "$ac_tool_prefix"; then
7070 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7071 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7072 echo "$as_me:$LINENO: checking for $ac_word" >&5
7073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7074 if test "${ac_cv_prog_RANLIB+set}" = set; then
7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7077 if test -n "$RANLIB"; then
7078 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7084 test -z "$as_dir" && as_dir
=.
7085 for ac_exec_ext
in '' $ac_executable_extensions; do
7086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7087 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7096 RANLIB
=$ac_cv_prog_RANLIB
7097 if test -n "$RANLIB"; then
7098 echo "$as_me:$LINENO: result: $RANLIB" >&5
7099 echo "${ECHO_T}$RANLIB" >&6
7101 echo "$as_me:$LINENO: result: no" >&5
7102 echo "${ECHO_T}no" >&6
7106 if test -z "$ac_cv_prog_RANLIB"; then
7107 ac_ct_RANLIB
=$RANLIB
7108 # Extract the first word of "ranlib", so it can be a program name with args.
7109 set dummy ranlib
; ac_word
=$2
7110 echo "$as_me:$LINENO: checking for $ac_word" >&5
7111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7112 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7113 echo $ECHO_N "(cached) $ECHO_C" >&6
7115 if test -n "$ac_ct_RANLIB"; then
7116 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7122 test -z "$as_dir" && as_dir
=.
7123 for ac_exec_ext
in '' $ac_executable_extensions; do
7124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7125 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7132 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
7135 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7136 if test -n "$ac_ct_RANLIB"; then
7137 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7138 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7144 RANLIB
=$ac_ct_RANLIB
7146 RANLIB
="$ac_cv_prog_RANLIB"
7149 for ac_prog
in 'bison -y' byacc
7151 # Extract the first word of "$ac_prog", so it can be a program name with args.
7152 set dummy
$ac_prog; ac_word
=$2
7153 echo "$as_me:$LINENO: checking for $ac_word" >&5
7154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7155 if test "${ac_cv_prog_YACC+set}" = set; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 if test -n "$YACC"; then
7159 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
7161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7165 test -z "$as_dir" && as_dir
=.
7166 for ac_exec_ext
in '' $ac_executable_extensions; do
7167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7168 ac_cv_prog_YACC
="$ac_prog"
7169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 YACC
=$ac_cv_prog_YACC
7178 if test -n "$YACC"; then
7179 echo "$as_me:$LINENO: result: $YACC" >&5
7180 echo "${ECHO_T}$YACC" >&6
7182 echo "$as_me:$LINENO: result: no" >&5
7183 echo "${ECHO_T}no" >&6
7186 test -n "$YACC" && break
7188 test -n "$YACC" || YACC
="yacc"
7191 if test -n "$ac_tool_prefix"; then
7192 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7193 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7194 echo "$as_me:$LINENO: checking for $ac_word" >&5
7195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7196 if test "${ac_cv_prog_AR+set}" = set; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7199 if test -n "$AR"; then
7200 ac_cv_prog_AR
="$AR" # Let the user override the test.
7202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7206 test -z "$as_dir" && as_dir
=.
7207 for ac_exec_ext
in '' $ac_executable_extensions; do
7208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7219 if test -n "$AR"; then
7220 echo "$as_me:$LINENO: result: $AR" >&5
7221 echo "${ECHO_T}$AR" >&6
7223 echo "$as_me:$LINENO: result: no" >&5
7224 echo "${ECHO_T}no" >&6
7228 if test -z "$ac_cv_prog_AR"; then
7230 # Extract the first word of "ar", so it can be a program name with args.
7231 set dummy
ar; ac_word
=$2
7232 echo "$as_me:$LINENO: checking for $ac_word" >&5
7233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7234 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7237 if test -n "$ac_ct_AR"; then
7238 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7244 test -z "$as_dir" && as_dir
=.
7245 for ac_exec_ext
in '' $ac_executable_extensions; do
7246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247 ac_cv_prog_ac_ct_AR
="ar"
7248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7257 if test -n "$ac_ct_AR"; then
7258 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7259 echo "${ECHO_T}$ac_ct_AR" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7270 if test -n "$ac_tool_prefix"; then
7271 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7272 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7273 echo "$as_me:$LINENO: checking for $ac_word" >&5
7274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7275 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 if test -n "$DLLTOOL"; then
7279 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7285 test -z "$as_dir" && as_dir
=.
7286 for ac_exec_ext
in '' $ac_executable_extensions; do
7287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7297 DLLTOOL
=$ac_cv_prog_DLLTOOL
7298 if test -n "$DLLTOOL"; then
7299 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7300 echo "${ECHO_T}$DLLTOOL" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7307 if test -z "$ac_cv_prog_DLLTOOL"; then
7308 ac_ct_DLLTOOL
=$DLLTOOL
7309 # Extract the first word of "dlltool", so it can be a program name with args.
7310 set dummy dlltool
; ac_word
=$2
7311 echo "$as_me:$LINENO: checking for $ac_word" >&5
7312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7313 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7314 echo $ECHO_N "(cached) $ECHO_C" >&6
7316 if test -n "$ac_ct_DLLTOOL"; then
7317 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir
=.
7324 for ac_exec_ext
in '' $ac_executable_extensions; do
7325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7335 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7336 if test -n "$ac_ct_DLLTOOL"; then
7337 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7338 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
7340 echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6
7344 DLLTOOL
=$ac_ct_DLLTOOL
7346 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7349 if test -n "$ac_tool_prefix"; then
7350 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7351 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7352 echo "$as_me:$LINENO: checking for $ac_word" >&5
7353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7354 if test "${ac_cv_prog_WINDRES+set}" = set; then
7355 echo $ECHO_N "(cached) $ECHO_C" >&6
7357 if test -n "$WINDRES"; then
7358 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
7360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7364 test -z "$as_dir" && as_dir
=.
7365 for ac_exec_ext
in '' $ac_executable_extensions; do
7366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7367 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
7368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 WINDRES
=$ac_cv_prog_WINDRES
7377 if test -n "$WINDRES"; then
7378 echo "$as_me:$LINENO: result: $WINDRES" >&5
7379 echo "${ECHO_T}$WINDRES" >&6
7381 echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6
7386 if test -z "$ac_cv_prog_WINDRES"; then
7387 ac_ct_WINDRES
=$WINDRES
7388 # Extract the first word of "windres", so it can be a program name with args.
7389 set dummy windres
; ac_word
=$2
7390 echo "$as_me:$LINENO: checking for $ac_word" >&5
7391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7392 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
7393 echo $ECHO_N "(cached) $ECHO_C" >&6
7395 if test -n "$ac_ct_WINDRES"; then
7396 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
7398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7402 test -z "$as_dir" && as_dir
=.
7403 for ac_exec_ext
in '' $ac_executable_extensions; do
7404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_ac_ct_WINDRES
="windres"
7406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
7415 if test -n "$ac_ct_WINDRES"; then
7416 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
7417 echo "${ECHO_T}$ac_ct_WINDRES" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7423 WINDRES
=$ac_ct_WINDRES
7425 WINDRES
="$ac_cv_prog_WINDRES"
7429 # Needed for GNU/Hurd.
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
7432 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
7433 echo "$as_me:$LINENO: checking for $ac_word" >&5
7434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7435 if test "${ac_cv_prog_MIG+set}" = set; then
7436 echo $ECHO_N "(cached) $ECHO_C" >&6
7438 if test -n "$MIG"; then
7439 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
7441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir
=.
7446 for ac_exec_ext
in '' $ac_executable_extensions; do
7447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7448 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
7449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 if test -n "$MIG"; then
7459 echo "$as_me:$LINENO: result: $MIG" >&5
7460 echo "${ECHO_T}$MIG" >&6
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7467 if test -z "$ac_cv_prog_MIG"; then
7469 # Extract the first word of "mig", so it can be a program name with args.
7470 set dummy mig
; ac_word
=$2
7471 echo "$as_me:$LINENO: checking for $ac_word" >&5
7472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7473 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7476 if test -n "$ac_ct_MIG"; then
7477 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
7479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7483 test -z "$as_dir" && as_dir
=.
7484 for ac_exec_ext
in '' $ac_executable_extensions; do
7485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7486 ac_cv_prog_ac_ct_MIG
="mig"
7487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7495 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
7496 if test -n "$ac_ct_MIG"; then
7497 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
7498 echo "${ECHO_T}$ac_ct_MIG" >&6
7500 echo "$as_me:$LINENO: result: no" >&5
7501 echo "${ECHO_T}no" >&6
7506 MIG
="$ac_cv_prog_MIG"
7510 # ---------------------- #
7511 # Checks for libraries. #
7512 # ---------------------- #
7514 # We might need to link with -lm; most simulators need it.
7516 echo "$as_me:$LINENO: checking for main in -lm" >&5
7517 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
7518 if test "${ac_cv_lib_m_main+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 ac_check_lib_save_LIBS
=$LIBS
7523 cat >conftest.
$ac_ext <<_ACEOF
7526 cat confdefs.h
>>conftest.
$ac_ext
7527 cat >>conftest.
$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7539 rm -f conftest.
$ac_objext conftest
$ac_exeext
7540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7541 (eval $ac_link) 2>conftest.er1
7543 grep -v '^ *+' conftest.er1
>conftest.err
7545 cat conftest.err
>&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } &&
7548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); }; } &&
7554 { ac_try
='test -s conftest$ac_exeext'
7555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); }; }; then
7560 ac_cv_lib_m_main
=yes
7562 echo "$as_me: failed program was:" >&5
7563 sed 's/^/| /' conftest.
$ac_ext >&5
7567 rm -f conftest.err conftest.
$ac_objext \
7568 conftest
$ac_exeext conftest.
$ac_ext
7569 LIBS
=$ac_check_lib_save_LIBS
7571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
7572 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
7573 if test $ac_cv_lib_m_main = yes; then
7574 cat >>confdefs.h
<<_ACEOF
7583 # We need to link with -lw to get `wctype' on Solaris before Solaris
7584 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
7585 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
7586 # is known to have this problem). Therefore we avoid libw if we can.
7587 echo "$as_me:$LINENO: checking for wctype" >&5
7588 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
7589 if test "${ac_cv_func_wctype+set}" = set; then
7590 echo $ECHO_N "(cached) $ECHO_C" >&6
7592 cat >conftest.
$ac_ext <<_ACEOF
7595 cat confdefs.h
>>conftest.
$ac_ext
7596 cat >>conftest.
$ac_ext <<_ACEOF
7597 /* end confdefs.h. */
7598 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
7599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7600 #define wctype innocuous_wctype
7602 /* System header to define __stub macros and hopefully few prototypes,
7603 which can conflict with char wctype (); below.
7604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7605 <limits.h> exists even on freestanding compilers. */
7608 # include <limits.h>
7610 # include <assert.h>
7615 /* Override any gcc2 internal prototype to avoid an error. */
7620 /* We use char because int might match the return type of a gcc2
7621 builtin and then its argument prototype would still apply. */
7623 /* The GNU C library defines this for functions which it implements
7624 to always fail with ENOSYS. Some functions are actually named
7625 something starting with __ and the normal name is an alias. */
7626 #if defined (__stub_wctype) || defined (__stub___wctype)
7629 char (*f) () = wctype;
7643 rm -f conftest.
$ac_objext conftest
$ac_exeext
7644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7645 (eval $ac_link) 2>conftest.er1
7647 grep -v '^ *+' conftest.er1
>conftest.err
7649 cat conftest.err
>&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } &&
7652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); }; } &&
7658 { ac_try
='test -s conftest$ac_exeext'
7659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); }; }; then
7664 ac_cv_func_wctype
=yes
7666 echo "$as_me: failed program was:" >&5
7667 sed 's/^/| /' conftest.
$ac_ext >&5
7669 ac_cv_func_wctype
=no
7671 rm -f conftest.err conftest.
$ac_objext \
7672 conftest
$ac_exeext conftest.
$ac_ext
7674 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
7675 echo "${ECHO_T}$ac_cv_func_wctype" >&6
7676 if test $ac_cv_func_wctype = yes; then
7680 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
7681 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
7682 if test "${ac_cv_lib_w_wctype+set}" = set; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 ac_check_lib_save_LIBS
=$LIBS
7687 cat >conftest.
$ac_ext <<_ACEOF
7690 cat confdefs.h
>>conftest.
$ac_ext
7691 cat >>conftest.
$ac_ext <<_ACEOF
7692 /* end confdefs.h. */
7694 /* Override any gcc2 internal prototype to avoid an error. */
7698 /* We use char because int might match the return type of a gcc2
7699 builtin and then its argument prototype would still apply. */
7709 rm -f conftest.
$ac_objext conftest
$ac_exeext
7710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7711 (eval $ac_link) 2>conftest.er1
7713 grep -v '^ *+' conftest.er1
>conftest.err
7715 cat conftest.err
>&5
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); } &&
7718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); }; } &&
7724 { ac_try
='test -s conftest$ac_exeext'
7725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); }; }; then
7730 ac_cv_lib_w_wctype
=yes
7732 echo "$as_me: failed program was:" >&5
7733 sed 's/^/| /' conftest.
$ac_ext >&5
7735 ac_cv_lib_w_wctype
=no
7737 rm -f conftest.err conftest.
$ac_objext \
7738 conftest
$ac_exeext conftest.
$ac_ext
7739 LIBS
=$ac_check_lib_save_LIBS
7741 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
7742 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
7743 if test $ac_cv_lib_w_wctype = yes; then
7744 cat >>confdefs.h
<<_ACEOF
7755 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
7756 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
7757 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
7758 if test "${ac_cv_search_gethostbyname+set}" = set; then
7759 echo $ECHO_N "(cached) $ECHO_C" >&6
7761 ac_func_search_save_LIBS
=$LIBS
7762 ac_cv_search_gethostbyname
=no
7763 cat >conftest.
$ac_ext <<_ACEOF
7766 cat confdefs.h
>>conftest.
$ac_ext
7767 cat >>conftest.
$ac_ext <<_ACEOF
7768 /* end confdefs.h. */
7770 /* Override any gcc2 internal prototype to avoid an error. */
7774 /* We use char because int might match the return type of a gcc2
7775 builtin and then its argument prototype would still apply. */
7776 char gethostbyname ();
7785 rm -f conftest.
$ac_objext conftest
$ac_exeext
7786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7787 (eval $ac_link) 2>conftest.er1
7789 grep -v '^ *+' conftest.er1
>conftest.err
7791 cat conftest.err
>&5
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); } &&
7794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); }; } &&
7800 { ac_try
='test -s conftest$ac_exeext'
7801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); }; }; then
7806 ac_cv_search_gethostbyname
="none required"
7808 echo "$as_me: failed program was:" >&5
7809 sed 's/^/| /' conftest.
$ac_ext >&5
7812 rm -f conftest.err conftest.
$ac_objext \
7813 conftest
$ac_exeext conftest.
$ac_ext
7814 if test "$ac_cv_search_gethostbyname" = no
; then
7815 for ac_lib
in nsl
; do
7816 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7817 cat >conftest.
$ac_ext <<_ACEOF
7820 cat confdefs.h
>>conftest.
$ac_ext
7821 cat >>conftest.
$ac_ext <<_ACEOF
7822 /* end confdefs.h. */
7824 /* Override any gcc2 internal prototype to avoid an error. */
7828 /* We use char because int might match the return type of a gcc2
7829 builtin and then its argument prototype would still apply. */
7830 char gethostbyname ();
7839 rm -f conftest.
$ac_objext conftest
$ac_exeext
7840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7841 (eval $ac_link) 2>conftest.er1
7843 grep -v '^ *+' conftest.er1
>conftest.err
7845 cat conftest.err
>&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); } &&
7848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); }; } &&
7854 { ac_try
='test -s conftest$ac_exeext'
7855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; }; then
7860 ac_cv_search_gethostbyname
="-l$ac_lib"
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.
$ac_ext >&5
7867 rm -f conftest.err conftest.
$ac_objext \
7868 conftest
$ac_exeext conftest.
$ac_ext
7871 LIBS
=$ac_func_search_save_LIBS
7873 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
7874 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
7875 if test "$ac_cv_search_gethostbyname" != no
; then
7876 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
7881 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
7882 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
7883 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
7884 if test "${ac_cv_search_socketpair+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7887 ac_func_search_save_LIBS
=$LIBS
7888 ac_cv_search_socketpair
=no
7889 cat >conftest.
$ac_ext <<_ACEOF
7892 cat confdefs.h
>>conftest.
$ac_ext
7893 cat >>conftest.
$ac_ext <<_ACEOF
7894 /* end confdefs.h. */
7896 /* Override any gcc2 internal prototype to avoid an error. */
7900 /* We use char because int might match the return type of a gcc2
7901 builtin and then its argument prototype would still apply. */
7911 rm -f conftest.
$ac_objext conftest
$ac_exeext
7912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7913 (eval $ac_link) 2>conftest.er1
7915 grep -v '^ *+' conftest.er1
>conftest.err
7917 cat conftest.err
>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } &&
7920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; } &&
7926 { ac_try
='test -s conftest$ac_exeext'
7927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); }; }; then
7932 ac_cv_search_socketpair
="none required"
7934 echo "$as_me: failed program was:" >&5
7935 sed 's/^/| /' conftest.
$ac_ext >&5
7938 rm -f conftest.err conftest.
$ac_objext \
7939 conftest
$ac_exeext conftest.
$ac_ext
7940 if test "$ac_cv_search_socketpair" = no
; then
7941 for ac_lib
in socket
; do
7942 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7943 cat >conftest.
$ac_ext <<_ACEOF
7946 cat confdefs.h
>>conftest.
$ac_ext
7947 cat >>conftest.
$ac_ext <<_ACEOF
7948 /* end confdefs.h. */
7950 /* Override any gcc2 internal prototype to avoid an error. */
7954 /* We use char because int might match the return type of a gcc2
7955 builtin and then its argument prototype would still apply. */
7965 rm -f conftest.
$ac_objext conftest
$ac_exeext
7966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7967 (eval $ac_link) 2>conftest.er1
7969 grep -v '^ *+' conftest.er1
>conftest.err
7971 cat conftest.err
>&5
7972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 (exit $ac_status); } &&
7974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979 (exit $ac_status); }; } &&
7980 { ac_try
='test -s conftest$ac_exeext'
7981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); }; }; then
7986 ac_cv_search_socketpair
="-l$ac_lib"
7989 echo "$as_me: failed program was:" >&5
7990 sed 's/^/| /' conftest.
$ac_ext >&5
7993 rm -f conftest.err conftest.
$ac_objext \
7994 conftest
$ac_exeext conftest.
$ac_ext
7997 LIBS
=$ac_func_search_save_LIBS
7999 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
8000 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
8001 if test "$ac_cv_search_socketpair" != no
; then
8002 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
8007 # For the TUI, we need enhanced curses functionality.
8009 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
8010 # curses library because the latter might not provide all the
8011 # functionality we need. However, this leads to problems on systems
8012 # where the linker searches /usr/local/lib, but the compiler doesn't
8013 # search /usr/local/include, if ncurses is installed in /usr/local. A
8014 # default installation of ncurses on alpha*-dec-osf* will lead to such
8016 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
8017 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
8018 if test "${ac_cv_search_waddstr+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8021 ac_func_search_save_LIBS
=$LIBS
8022 ac_cv_search_waddstr
=no
8023 cat >conftest.
$ac_ext <<_ACEOF
8026 cat confdefs.h
>>conftest.
$ac_ext
8027 cat >>conftest.
$ac_ext <<_ACEOF
8028 /* end confdefs.h. */
8030 /* Override any gcc2 internal prototype to avoid an error. */
8034 /* We use char because int might match the return type of a gcc2
8035 builtin and then its argument prototype would still apply. */
8045 rm -f conftest.
$ac_objext conftest
$ac_exeext
8046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8047 (eval $ac_link) 2>conftest.er1
8049 grep -v '^ *+' conftest.er1
>conftest.err
8051 cat conftest.err
>&5
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 (exit $ac_status); } &&
8054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; } &&
8060 { ac_try
='test -s conftest$ac_exeext'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; }; then
8066 ac_cv_search_waddstr
="none required"
8068 echo "$as_me: failed program was:" >&5
8069 sed 's/^/| /' conftest.
$ac_ext >&5
8072 rm -f conftest.err conftest.
$ac_objext \
8073 conftest
$ac_exeext conftest.
$ac_ext
8074 if test "$ac_cv_search_waddstr" = no
; then
8075 for ac_lib
in ncurses cursesX curses
; do
8076 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8077 cat >conftest.
$ac_ext <<_ACEOF
8080 cat confdefs.h
>>conftest.
$ac_ext
8081 cat >>conftest.
$ac_ext <<_ACEOF
8082 /* end confdefs.h. */
8084 /* Override any gcc2 internal prototype to avoid an error. */
8088 /* We use char because int might match the return type of a gcc2
8089 builtin and then its argument prototype would still apply. */
8099 rm -f conftest.
$ac_objext conftest
$ac_exeext
8100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8101 (eval $ac_link) 2>conftest.er1
8103 grep -v '^ *+' conftest.er1
>conftest.err
8105 cat conftest.err
>&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); } &&
8108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); }; } &&
8114 { ac_try
='test -s conftest$ac_exeext'
8115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); }; }; then
8120 ac_cv_search_waddstr
="-l$ac_lib"
8123 echo "$as_me: failed program was:" >&5
8124 sed 's/^/| /' conftest.
$ac_ext >&5
8127 rm -f conftest.err conftest.
$ac_objext \
8128 conftest
$ac_exeext conftest.
$ac_ext
8131 LIBS
=$ac_func_search_save_LIBS
8133 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
8134 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
8135 if test "$ac_cv_search_waddstr" != no
; then
8136 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
8141 # Since GDB uses Readline, we need termcap functionality. In many
8142 # cases this will be provided by the curses library, but some systems
8143 # have a seperate termcap library, or no curses library at all.
8147 if test -d $srcdir/libtermcap
; then
8148 LIBS
="../libtermcap/libtermcap.a $LIBS"
8149 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
8152 ac_cv_search_tgetent
="none required"
8155 ac_cv_search_tgetent
="none required"
8156 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
8160 # These are the libraries checked by Readline.
8161 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
8162 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
8163 if test "${ac_cv_search_tgetent+set}" = set; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 ac_func_search_save_LIBS
=$LIBS
8167 ac_cv_search_tgetent
=no
8168 cat >conftest.
$ac_ext <<_ACEOF
8171 cat confdefs.h
>>conftest.
$ac_ext
8172 cat >>conftest.
$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8175 /* Override any gcc2 internal prototype to avoid an error. */
8179 /* We use char because int might match the return type of a gcc2
8180 builtin and then its argument prototype would still apply. */
8190 rm -f conftest.
$ac_objext conftest
$ac_exeext
8191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8192 (eval $ac_link) 2>conftest.er1
8194 grep -v '^ *+' conftest.er1
>conftest.err
8196 cat conftest.err
>&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); } &&
8199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; } &&
8205 { ac_try
='test -s conftest$ac_exeext'
8206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); }; }; then
8211 ac_cv_search_tgetent
="none required"
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.
$ac_ext >&5
8217 rm -f conftest.err conftest.
$ac_objext \
8218 conftest
$ac_exeext conftest.
$ac_ext
8219 if test "$ac_cv_search_tgetent" = no
; then
8220 for ac_lib
in termcap tinfo curses ncurses
; do
8221 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8222 cat >conftest.
$ac_ext <<_ACEOF
8225 cat confdefs.h
>>conftest.
$ac_ext
8226 cat >>conftest.
$ac_ext <<_ACEOF
8227 /* end confdefs.h. */
8229 /* Override any gcc2 internal prototype to avoid an error. */
8233 /* We use char because int might match the return type of a gcc2
8234 builtin and then its argument prototype would still apply. */
8244 rm -f conftest.
$ac_objext conftest
$ac_exeext
8245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8246 (eval $ac_link) 2>conftest.er1
8248 grep -v '^ *+' conftest.er1
>conftest.err
8250 cat conftest.err
>&5
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); } &&
8253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); }; } &&
8259 { ac_try
='test -s conftest$ac_exeext'
8260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); }; }; then
8265 ac_cv_search_tgetent
="-l$ac_lib"
8268 echo "$as_me: failed program was:" >&5
8269 sed 's/^/| /' conftest.
$ac_ext >&5
8272 rm -f conftest.err conftest.
$ac_objext \
8273 conftest
$ac_exeext conftest.
$ac_ext
8276 LIBS
=$ac_func_search_save_LIBS
8278 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
8279 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
8280 if test "$ac_cv_search_tgetent" != no
; then
8281 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
8286 if test "$ac_cv_search_tgetent" = no
; then
8287 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
8288 echo "$as_me: error: no termcap library found" >&2;}
8289 { (exit 1); exit 1; }; }
8292 # ------------------------- #
8293 # Checks for header files. #
8294 # ------------------------- #
8302 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8303 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8304 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8305 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8307 echo $ECHO_N "(cached) $ECHO_C" >&6
8309 cat >conftest.
$ac_ext <<_ACEOF
8312 cat confdefs.h
>>conftest.
$ac_ext
8313 cat >>conftest.
$ac_ext <<_ACEOF
8314 /* end confdefs.h. */
8315 #include <sys/types.h>
8327 rm -f conftest.
$ac_objext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8329 (eval $ac_compile) 2>conftest.er1
8331 grep -v '^ *+' conftest.er1
>conftest.err
8333 cat conftest.err
>&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); }; } &&
8342 { ac_try
='test -s conftest.$ac_objext'
8343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); }; }; then
8348 eval "$as_ac_Header=yes"
8350 echo "$as_me: failed program was:" >&5
8351 sed 's/^/| /' conftest.
$ac_ext >&5
8353 eval "$as_ac_Header=no"
8355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8360 cat >>confdefs.h
<<_ACEOF
8361 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8364 ac_header_dirent
=$ac_hdr; break
8368 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8369 if test $ac_header_dirent = dirent.h
; then
8370 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8371 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8372 if test "${ac_cv_search_opendir+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 ac_func_search_save_LIBS
=$LIBS
8376 ac_cv_search_opendir
=no
8377 cat >conftest.
$ac_ext <<_ACEOF
8380 cat confdefs.h
>>conftest.
$ac_ext
8381 cat >>conftest.
$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8384 /* Override any gcc2 internal prototype to avoid an error. */
8388 /* We use char because int might match the return type of a gcc2
8389 builtin and then its argument prototype would still apply. */
8399 rm -f conftest.
$ac_objext conftest
$ac_exeext
8400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8401 (eval $ac_link) 2>conftest.er1
8403 grep -v '^ *+' conftest.er1
>conftest.err
8405 cat conftest.err
>&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } &&
8408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; } &&
8414 { ac_try
='test -s conftest$ac_exeext'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; }; then
8420 ac_cv_search_opendir
="none required"
8422 echo "$as_me: failed program was:" >&5
8423 sed 's/^/| /' conftest.
$ac_ext >&5
8426 rm -f conftest.err conftest.
$ac_objext \
8427 conftest
$ac_exeext conftest.
$ac_ext
8428 if test "$ac_cv_search_opendir" = no
; then
8429 for ac_lib
in dir
; do
8430 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8431 cat >conftest.
$ac_ext <<_ACEOF
8434 cat confdefs.h
>>conftest.
$ac_ext
8435 cat >>conftest.
$ac_ext <<_ACEOF
8436 /* end confdefs.h. */
8438 /* Override any gcc2 internal prototype to avoid an error. */
8442 /* We use char because int might match the return type of a gcc2
8443 builtin and then its argument prototype would still apply. */
8453 rm -f conftest.
$ac_objext conftest
$ac_exeext
8454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8455 (eval $ac_link) 2>conftest.er1
8457 grep -v '^ *+' conftest.er1
>conftest.err
8459 cat conftest.err
>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } &&
8462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; } &&
8468 { ac_try
='test -s conftest$ac_exeext'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; }; then
8474 ac_cv_search_opendir
="-l$ac_lib"
8477 echo "$as_me: failed program was:" >&5
8478 sed 's/^/| /' conftest.
$ac_ext >&5
8481 rm -f conftest.err conftest.
$ac_objext \
8482 conftest
$ac_exeext conftest.
$ac_ext
8485 LIBS
=$ac_func_search_save_LIBS
8487 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8488 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8489 if test "$ac_cv_search_opendir" != no
; then
8490 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8495 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8496 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8497 if test "${ac_cv_search_opendir+set}" = set; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8500 ac_func_search_save_LIBS
=$LIBS
8501 ac_cv_search_opendir
=no
8502 cat >conftest.
$ac_ext <<_ACEOF
8505 cat confdefs.h
>>conftest.
$ac_ext
8506 cat >>conftest.
$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8509 /* Override any gcc2 internal prototype to avoid an error. */
8513 /* We use char because int might match the return type of a gcc2
8514 builtin and then its argument prototype would still apply. */
8524 rm -f conftest.
$ac_objext conftest
$ac_exeext
8525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8526 (eval $ac_link) 2>conftest.er1
8528 grep -v '^ *+' conftest.er1
>conftest.err
8530 cat conftest.err
>&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } &&
8533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; } &&
8539 { ac_try
='test -s conftest$ac_exeext'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; }; then
8545 ac_cv_search_opendir
="none required"
8547 echo "$as_me: failed program was:" >&5
8548 sed 's/^/| /' conftest.
$ac_ext >&5
8551 rm -f conftest.err conftest.
$ac_objext \
8552 conftest
$ac_exeext conftest.
$ac_ext
8553 if test "$ac_cv_search_opendir" = no
; then
8555 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8556 cat >conftest.
$ac_ext <<_ACEOF
8559 cat confdefs.h
>>conftest.
$ac_ext
8560 cat >>conftest.
$ac_ext <<_ACEOF
8561 /* end confdefs.h. */
8563 /* Override any gcc2 internal prototype to avoid an error. */
8567 /* We use char because int might match the return type of a gcc2
8568 builtin and then its argument prototype would still apply. */
8578 rm -f conftest.
$ac_objext conftest
$ac_exeext
8579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8580 (eval $ac_link) 2>conftest.er1
8582 grep -v '^ *+' conftest.er1
>conftest.err
8584 cat conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } &&
8587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; } &&
8593 { ac_try
='test -s conftest$ac_exeext'
8594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); }; }; then
8599 ac_cv_search_opendir
="-l$ac_lib"
8602 echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.
$ac_ext >&5
8606 rm -f conftest.err conftest.
$ac_objext \
8607 conftest
$ac_exeext conftest.
$ac_ext
8610 LIBS
=$ac_func_search_save_LIBS
8612 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8613 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8614 if test "$ac_cv_search_opendir" != no
; then
8615 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8621 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8622 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
8623 if test "${ac_cv_header_stat_broken+set}" = set; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6
8626 cat >conftest.
$ac_ext <<_ACEOF
8629 cat confdefs.h
>>conftest.
$ac_ext
8630 cat >>conftest.
$ac_ext <<_ACEOF
8631 /* end confdefs.h. */
8632 #include <sys/types.h>
8633 #include <sys/stat.h>
8635 #if defined(S_ISBLK) && defined(S_IFDIR)
8636 # if S_ISBLK (S_IFDIR)
8641 #if defined(S_ISBLK) && defined(S_IFCHR)
8642 # if S_ISBLK (S_IFCHR)
8647 #if defined(S_ISLNK) && defined(S_IFREG)
8648 # if S_ISLNK (S_IFREG)
8653 #if defined(S_ISSOCK) && defined(S_IFREG)
8654 # if S_ISSOCK (S_IFREG)
8660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8661 $EGREP "You lose" >/dev
/null
2>&1; then
8662 ac_cv_header_stat_broken
=yes
8664 ac_cv_header_stat_broken
=no
8669 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8670 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
8671 if test $ac_cv_header_stat_broken = yes; then
8673 cat >>confdefs.h
<<\_ACEOF
8674 #define STAT_MACROS_BROKEN 1
8679 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8680 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8681 if test "${ac_cv_header_stdc+set}" = set; then
8682 echo $ECHO_N "(cached) $ECHO_C" >&6
8684 cat >conftest.
$ac_ext <<_ACEOF
8687 cat confdefs.h
>>conftest.
$ac_ext
8688 cat >>conftest.
$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8703 rm -f conftest.
$ac_objext
8704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8705 (eval $ac_compile) 2>conftest.er1
8707 grep -v '^ *+' conftest.er1
>conftest.err
8709 cat conftest.err
>&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); } &&
8712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; } &&
8718 { ac_try
='test -s conftest.$ac_objext'
8719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; }; then
8724 ac_cv_header_stdc
=yes
8726 echo "$as_me: failed program was:" >&5
8727 sed 's/^/| /' conftest.
$ac_ext >&5
8729 ac_cv_header_stdc
=no
8731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8733 if test $ac_cv_header_stdc = yes; then
8734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8735 cat >conftest.
$ac_ext <<_ACEOF
8738 cat confdefs.h
>>conftest.
$ac_ext
8739 cat >>conftest.
$ac_ext <<_ACEOF
8740 /* end confdefs.h. */
8744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8745 $EGREP "memchr" >/dev
/null
2>&1; then
8748 ac_cv_header_stdc
=no
8754 if test $ac_cv_header_stdc = yes; then
8755 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8756 cat >conftest.
$ac_ext <<_ACEOF
8759 cat confdefs.h
>>conftest.
$ac_ext
8760 cat >>conftest.
$ac_ext <<_ACEOF
8761 /* end confdefs.h. */
8765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8766 $EGREP "free" >/dev
/null
2>&1; then
8769 ac_cv_header_stdc
=no
8775 if test $ac_cv_header_stdc = yes; then
8776 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8777 if test "$cross_compiling" = yes; then
8780 cat >conftest.
$ac_ext <<_ACEOF
8783 cat confdefs.h
>>conftest.
$ac_ext
8784 cat >>conftest.
$ac_ext <<_ACEOF
8785 /* end confdefs.h. */
8787 #if ((' ' & 0x0FF) == 0x020)
8788 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8789 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8791 # define ISLOWER(c) \
8792 (('a' <= (c) && (c) <= 'i') \
8793 || ('j' <= (c) && (c) <= 'r') \
8794 || ('s' <= (c) && (c) <= 'z'))
8795 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8798 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8803 for (i = 0; i < 256; i++)
8804 if (XOR (islower (i), ISLOWER (i))
8805 || toupper (i) != TOUPPER (i))
8810 rm -f conftest
$ac_exeext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8812 (eval $ac_link) 2>&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; }; then
8823 echo "$as_me: program exited with status $ac_status" >&5
8824 echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.
$ac_ext >&5
8828 ac_cv_header_stdc
=no
8830 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8834 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8835 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8836 if test $ac_cv_header_stdc = yes; then
8838 cat >>confdefs.h
<<\_ACEOF
8839 #define STDC_HEADERS 1
8845 for ac_header
in nlist.h
8847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8849 echo "$as_me:$LINENO: checking for $ac_header" >&5
8850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8857 # Is the header compilable?
8858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8860 cat >conftest.
$ac_ext <<_ACEOF
8863 cat confdefs.h
>>conftest.
$ac_ext
8864 cat >>conftest.
$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8866 $ac_includes_default
8867 #include <$ac_header>
8869 rm -f conftest.
$ac_objext
8870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8871 (eval $ac_compile) 2>conftest.er1
8873 grep -v '^ *+' conftest.er1
>conftest.err
8875 cat conftest.err
>&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); } &&
8878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }; } &&
8884 { ac_try
='test -s conftest.$ac_objext'
8885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); }; }; then
8890 ac_header_compiler
=yes
8892 echo "$as_me: failed program was:" >&5
8893 sed 's/^/| /' conftest.
$ac_ext >&5
8895 ac_header_compiler
=no
8897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8899 echo "${ECHO_T}$ac_header_compiler" >&6
8901 # Is the header present?
8902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8904 cat >conftest.
$ac_ext <<_ACEOF
8907 cat confdefs.h
>>conftest.
$ac_ext
8908 cat >>conftest.
$ac_ext <<_ACEOF
8909 /* end confdefs.h. */
8910 #include <$ac_header>
8912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8915 grep -v '^ *+' conftest.er1
>conftest.err
8917 cat conftest.err
>&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); } >/dev
/null
; then
8920 if test -s conftest.err
; then
8921 ac_cpp_err
=$ac_c_preproc_warn_flag
8922 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8929 if test -z "$ac_cpp_err"; then
8930 ac_header_preproc
=yes
8932 echo "$as_me: failed program was:" >&5
8933 sed 's/^/| /' conftest.
$ac_ext >&5
8935 ac_header_preproc
=no
8937 rm -f conftest.err conftest.
$ac_ext
8938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8939 echo "${ECHO_T}$ac_header_preproc" >&6
8941 # So? What about this header?
8942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8948 ac_header_preproc
=yes
8951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8965 ## ------------------------------------------ ##
8966 ## Report this to the AC_PACKAGE_NAME lists. ##
8967 ## ------------------------------------------ ##
8970 sed "s/^/$as_me: WARNING: /" >&2
8973 echo "$as_me:$LINENO: checking for $ac_header" >&5
8974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 eval "$as_ac_Header=\$ac_header_preproc"
8980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8985 cat >>confdefs.h
<<_ACEOF
8986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8994 for ac_header
in link.h
8996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8997 echo "$as_me:$LINENO: checking for $ac_header" >&5
8998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 cat >conftest.
$ac_ext <<_ACEOF
9005 cat confdefs.h
>>conftest.
$ac_ext
9006 cat >>conftest.
$ac_ext <<_ACEOF
9007 /* end confdefs.h. */
9008 #if HAVE_SYS_TYPES_H
9009 # include <sys/types.h>
9016 #include <$ac_header>
9018 rm -f conftest.
$ac_objext
9019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9020 (eval $ac_compile) 2>conftest.er1
9022 grep -v '^ *+' conftest.er1
>conftest.err
9024 cat conftest.err
>&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } &&
9027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; } &&
9033 { ac_try
='test -s conftest.$ac_objext'
9034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }; }; then
9039 eval "$as_ac_Header=yes"
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.
$ac_ext >&5
9044 eval "$as_ac_Header=no"
9046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9051 cat >>confdefs.h
<<_ACEOF
9052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9060 for ac_header
in machine
/reg.h
9062 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9064 echo "$as_me:$LINENO: checking for $ac_header" >&5
9065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9072 # Is the header compilable?
9073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9075 cat >conftest.
$ac_ext <<_ACEOF
9078 cat confdefs.h
>>conftest.
$ac_ext
9079 cat >>conftest.
$ac_ext <<_ACEOF
9080 /* end confdefs.h. */
9081 $ac_includes_default
9082 #include <$ac_header>
9084 rm -f conftest.
$ac_objext
9085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9086 (eval $ac_compile) 2>conftest.er1
9088 grep -v '^ *+' conftest.er1
>conftest.err
9090 cat conftest.err
>&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); } &&
9093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try
='test -s conftest.$ac_objext'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); }; }; then
9105 ac_header_compiler
=yes
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.
$ac_ext >&5
9110 ac_header_compiler
=no
9112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9114 echo "${ECHO_T}$ac_header_compiler" >&6
9116 # Is the header present?
9117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9119 cat >conftest.
$ac_ext <<_ACEOF
9122 cat confdefs.h
>>conftest.
$ac_ext
9123 cat >>conftest.
$ac_ext <<_ACEOF
9124 /* end confdefs.h. */
9125 #include <$ac_header>
9127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9130 grep -v '^ *+' conftest.er1
>conftest.err
9132 cat conftest.err
>&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } >/dev
/null
; then
9135 if test -s conftest.err
; then
9136 ac_cpp_err
=$ac_c_preproc_warn_flag
9137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9144 if test -z "$ac_cpp_err"; then
9145 ac_header_preproc
=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.
$ac_ext >&5
9150 ac_header_preproc
=no
9152 rm -f conftest.err conftest.
$ac_ext
9153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9154 echo "${ECHO_T}$ac_header_preproc" >&6
9156 # So? What about this header?
9157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9163 ac_header_preproc
=yes
9166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9180 ## ------------------------------------------ ##
9181 ## Report this to the AC_PACKAGE_NAME lists. ##
9182 ## ------------------------------------------ ##
9185 sed "s/^/$as_me: WARNING: /" >&2
9188 echo "$as_me:$LINENO: checking for $ac_header" >&5
9189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9191 echo $ECHO_N "(cached) $ECHO_C" >&6
9193 eval "$as_ac_Header=\$ac_header_preproc"
9195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9200 cat >>confdefs.h
<<_ACEOF
9201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9210 for ac_header
in poll.h sys
/poll.h
9212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9214 echo "$as_me:$LINENO: checking for $ac_header" >&5
9215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9222 # Is the header compilable?
9223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9225 cat >conftest.
$ac_ext <<_ACEOF
9228 cat confdefs.h
>>conftest.
$ac_ext
9229 cat >>conftest.
$ac_ext <<_ACEOF
9230 /* end confdefs.h. */
9231 $ac_includes_default
9232 #include <$ac_header>
9234 rm -f conftest.
$ac_objext
9235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9236 (eval $ac_compile) 2>conftest.er1
9238 grep -v '^ *+' conftest.er1
>conftest.err
9240 cat conftest.err
>&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } &&
9243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; } &&
9249 { ac_try
='test -s conftest.$ac_objext'
9250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }; }; then
9255 ac_header_compiler
=yes
9257 echo "$as_me: failed program was:" >&5
9258 sed 's/^/| /' conftest.
$ac_ext >&5
9260 ac_header_compiler
=no
9262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9264 echo "${ECHO_T}$ac_header_compiler" >&6
9266 # Is the header present?
9267 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9269 cat >conftest.
$ac_ext <<_ACEOF
9272 cat confdefs.h
>>conftest.
$ac_ext
9273 cat >>conftest.
$ac_ext <<_ACEOF
9274 /* end confdefs.h. */
9275 #include <$ac_header>
9277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9280 grep -v '^ *+' conftest.er1
>conftest.err
9282 cat conftest.err
>&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); } >/dev
/null
; then
9285 if test -s conftest.err
; then
9286 ac_cpp_err
=$ac_c_preproc_warn_flag
9287 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9294 if test -z "$ac_cpp_err"; then
9295 ac_header_preproc
=yes
9297 echo "$as_me: failed program was:" >&5
9298 sed 's/^/| /' conftest.
$ac_ext >&5
9300 ac_header_preproc
=no
9302 rm -f conftest.err conftest.
$ac_ext
9303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9304 echo "${ECHO_T}$ac_header_preproc" >&6
9306 # So? What about this header?
9307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9313 ac_header_preproc
=yes
9316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9330 ## ------------------------------------------ ##
9331 ## Report this to the AC_PACKAGE_NAME lists. ##
9332 ## ------------------------------------------ ##
9335 sed "s/^/$as_me: WARNING: /" >&2
9338 echo "$as_me:$LINENO: checking for $ac_header" >&5
9339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9341 echo $ECHO_N "(cached) $ECHO_C" >&6
9343 eval "$as_ac_Header=\$ac_header_preproc"
9345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9350 cat >>confdefs.h
<<_ACEOF
9351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9361 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
9363 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9365 echo "$as_me:$LINENO: checking for $ac_header" >&5
9366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9373 # Is the header compilable?
9374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9376 cat >conftest.
$ac_ext <<_ACEOF
9379 cat confdefs.h
>>conftest.
$ac_ext
9380 cat >>conftest.
$ac_ext <<_ACEOF
9381 /* end confdefs.h. */
9382 $ac_includes_default
9383 #include <$ac_header>
9385 rm -f conftest.
$ac_objext
9386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9387 (eval $ac_compile) 2>conftest.er1
9389 grep -v '^ *+' conftest.er1
>conftest.err
9391 cat conftest.err
>&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); } &&
9394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); }; } &&
9400 { ac_try
='test -s conftest.$ac_objext'
9401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); }; }; then
9406 ac_header_compiler
=yes
9408 echo "$as_me: failed program was:" >&5
9409 sed 's/^/| /' conftest.
$ac_ext >&5
9411 ac_header_compiler
=no
9413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9415 echo "${ECHO_T}$ac_header_compiler" >&6
9417 # Is the header present?
9418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9420 cat >conftest.
$ac_ext <<_ACEOF
9423 cat confdefs.h
>>conftest.
$ac_ext
9424 cat >>conftest.
$ac_ext <<_ACEOF
9425 /* end confdefs.h. */
9426 #include <$ac_header>
9428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9429 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9431 grep -v '^ *+' conftest.er1
>conftest.err
9433 cat conftest.err
>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } >/dev
/null
; then
9436 if test -s conftest.err
; then
9437 ac_cpp_err
=$ac_c_preproc_warn_flag
9438 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9445 if test -z "$ac_cpp_err"; then
9446 ac_header_preproc
=yes
9448 echo "$as_me: failed program was:" >&5
9449 sed 's/^/| /' conftest.
$ac_ext >&5
9451 ac_header_preproc
=no
9453 rm -f conftest.err conftest.
$ac_ext
9454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9455 echo "${ECHO_T}$ac_header_preproc" >&6
9457 # So? What about this header?
9458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9463 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9464 ac_header_preproc
=yes
9467 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9468 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9469 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9470 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9471 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9472 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9473 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9474 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9477 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9478 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9481 ## ------------------------------------------ ##
9482 ## Report this to the AC_PACKAGE_NAME lists. ##
9483 ## ------------------------------------------ ##
9486 sed "s/^/$as_me: WARNING: /" >&2
9489 echo "$as_me:$LINENO: checking for $ac_header" >&5
9490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9492 echo $ECHO_N "(cached) $ECHO_C" >&6
9494 eval "$as_ac_Header=\$ac_header_preproc"
9496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9501 cat >>confdefs.h
<<_ACEOF
9502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9510 for ac_header
in stddef.h
9512 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9514 echo "$as_me:$LINENO: checking for $ac_header" >&5
9515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9522 # Is the header compilable?
9523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9525 cat >conftest.
$ac_ext <<_ACEOF
9528 cat confdefs.h
>>conftest.
$ac_ext
9529 cat >>conftest.
$ac_ext <<_ACEOF
9530 /* end confdefs.h. */
9531 $ac_includes_default
9532 #include <$ac_header>
9534 rm -f conftest.
$ac_objext
9535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9536 (eval $ac_compile) 2>conftest.er1
9538 grep -v '^ *+' conftest.er1
>conftest.err
9540 cat conftest.err
>&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); } &&
9543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); }; } &&
9549 { ac_try
='test -s conftest.$ac_objext'
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); }; }; then
9555 ac_header_compiler
=yes
9557 echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.
$ac_ext >&5
9560 ac_header_compiler
=no
9562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9564 echo "${ECHO_T}$ac_header_compiler" >&6
9566 # Is the header present?
9567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9569 cat >conftest.
$ac_ext <<_ACEOF
9572 cat confdefs.h
>>conftest.
$ac_ext
9573 cat >>conftest.
$ac_ext <<_ACEOF
9574 /* end confdefs.h. */
9575 #include <$ac_header>
9577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9578 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9580 grep -v '^ *+' conftest.er1
>conftest.err
9582 cat conftest.err
>&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); } >/dev
/null
; then
9585 if test -s conftest.err
; then
9586 ac_cpp_err
=$ac_c_preproc_warn_flag
9587 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9594 if test -z "$ac_cpp_err"; then
9595 ac_header_preproc
=yes
9597 echo "$as_me: failed program was:" >&5
9598 sed 's/^/| /' conftest.
$ac_ext >&5
9600 ac_header_preproc
=no
9602 rm -f conftest.err conftest.
$ac_ext
9603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9604 echo "${ECHO_T}$ac_header_preproc" >&6
9606 # So? What about this header?
9607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9613 ac_header_preproc
=yes
9616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9630 ## ------------------------------------------ ##
9631 ## Report this to the AC_PACKAGE_NAME lists. ##
9632 ## ------------------------------------------ ##
9635 sed "s/^/$as_me: WARNING: /" >&2
9638 echo "$as_me:$LINENO: checking for $ac_header" >&5
9639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9641 echo $ECHO_N "(cached) $ECHO_C" >&6
9643 eval "$as_ac_Header=\$ac_header_preproc"
9645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9650 cat >>confdefs.h
<<_ACEOF
9651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9659 for ac_header
in stdlib.h
9661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9663 echo "$as_me:$LINENO: checking for $ac_header" >&5
9664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9671 # Is the header compilable?
9672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9674 cat >conftest.
$ac_ext <<_ACEOF
9677 cat confdefs.h
>>conftest.
$ac_ext
9678 cat >>conftest.
$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9680 $ac_includes_default
9681 #include <$ac_header>
9683 rm -f conftest.
$ac_objext
9684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9685 (eval $ac_compile) 2>conftest.er1
9687 grep -v '^ *+' conftest.er1
>conftest.err
9689 cat conftest.err
>&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } &&
9692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; } &&
9698 { ac_try
='test -s conftest.$ac_objext'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; }; then
9704 ac_header_compiler
=yes
9706 echo "$as_me: failed program was:" >&5
9707 sed 's/^/| /' conftest.
$ac_ext >&5
9709 ac_header_compiler
=no
9711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9713 echo "${ECHO_T}$ac_header_compiler" >&6
9715 # Is the header present?
9716 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9717 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9718 cat >conftest.
$ac_ext <<_ACEOF
9721 cat confdefs.h
>>conftest.
$ac_ext
9722 cat >>conftest.
$ac_ext <<_ACEOF
9723 /* end confdefs.h. */
9724 #include <$ac_header>
9726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9727 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9729 grep -v '^ *+' conftest.er1
>conftest.err
9731 cat conftest.err
>&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); } >/dev
/null
; then
9734 if test -s conftest.err
; then
9735 ac_cpp_err
=$ac_c_preproc_warn_flag
9736 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9743 if test -z "$ac_cpp_err"; then
9744 ac_header_preproc
=yes
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.
$ac_ext >&5
9749 ac_header_preproc
=no
9751 rm -f conftest.err conftest.
$ac_ext
9752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9753 echo "${ECHO_T}$ac_header_preproc" >&6
9755 # So? What about this header?
9756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9759 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9761 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9762 ac_header_preproc
=yes
9765 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9766 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9767 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9768 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9769 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9770 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9771 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9772 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9775 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9776 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9779 ## ------------------------------------------ ##
9780 ## Report this to the AC_PACKAGE_NAME lists. ##
9781 ## ------------------------------------------ ##
9784 sed "s/^/$as_me: WARNING: /" >&2
9787 echo "$as_me:$LINENO: checking for $ac_header" >&5
9788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9790 echo $ECHO_N "(cached) $ECHO_C" >&6
9792 eval "$as_ac_Header=\$ac_header_preproc"
9794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9799 cat >>confdefs.h
<<_ACEOF
9800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9808 for ac_header
in stdint.h
9810 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9812 echo "$as_me:$LINENO: checking for $ac_header" >&5
9813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9820 # Is the header compilable?
9821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9823 cat >conftest.
$ac_ext <<_ACEOF
9826 cat confdefs.h
>>conftest.
$ac_ext
9827 cat >>conftest.
$ac_ext <<_ACEOF
9828 /* end confdefs.h. */
9829 $ac_includes_default
9830 #include <$ac_header>
9832 rm -f conftest.
$ac_objext
9833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9834 (eval $ac_compile) 2>conftest.er1
9836 grep -v '^ *+' conftest.er1
>conftest.err
9838 cat conftest.err
>&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } &&
9841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; } &&
9847 { ac_try
='test -s conftest.$ac_objext'
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; }; then
9853 ac_header_compiler
=yes
9855 echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.
$ac_ext >&5
9858 ac_header_compiler
=no
9860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9862 echo "${ECHO_T}$ac_header_compiler" >&6
9864 # Is the header present?
9865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9867 cat >conftest.
$ac_ext <<_ACEOF
9870 cat confdefs.h
>>conftest.
$ac_ext
9871 cat >>conftest.
$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9873 #include <$ac_header>
9875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9878 grep -v '^ *+' conftest.er1
>conftest.err
9880 cat conftest.err
>&5
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882 (exit $ac_status); } >/dev
/null
; then
9883 if test -s conftest.err
; then
9884 ac_cpp_err
=$ac_c_preproc_warn_flag
9885 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9892 if test -z "$ac_cpp_err"; then
9893 ac_header_preproc
=yes
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.
$ac_ext >&5
9898 ac_header_preproc
=no
9900 rm -f conftest.err conftest.
$ac_ext
9901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9902 echo "${ECHO_T}$ac_header_preproc" >&6
9904 # So? What about this header?
9905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9911 ac_header_preproc
=yes
9914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9928 ## ------------------------------------------ ##
9929 ## Report this to the AC_PACKAGE_NAME lists. ##
9930 ## ------------------------------------------ ##
9933 sed "s/^/$as_me: WARNING: /" >&2
9936 echo "$as_me:$LINENO: checking for $ac_header" >&5
9937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 eval "$as_ac_Header=\$ac_header_preproc"
9943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9948 cat >>confdefs.h
<<_ACEOF
9949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9959 for ac_header
in string.h memory.h
strings.h
9961 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9963 echo "$as_me:$LINENO: checking for $ac_header" >&5
9964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9971 # Is the header compilable?
9972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9974 cat >conftest.
$ac_ext <<_ACEOF
9977 cat confdefs.h
>>conftest.
$ac_ext
9978 cat >>conftest.
$ac_ext <<_ACEOF
9979 /* end confdefs.h. */
9980 $ac_includes_default
9981 #include <$ac_header>
9983 rm -f conftest.
$ac_objext
9984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9985 (eval $ac_compile) 2>conftest.er1
9987 grep -v '^ *+' conftest.er1
>conftest.err
9989 cat conftest.err
>&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); } &&
9992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); }; } &&
9998 { ac_try
='test -s conftest.$ac_objext'
9999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10000 (eval $ac_try) 2>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); }; }; then
10004 ac_header_compiler
=yes
10006 echo "$as_me: failed program was:" >&5
10007 sed 's/^/| /' conftest.
$ac_ext >&5
10009 ac_header_compiler
=no
10011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10013 echo "${ECHO_T}$ac_header_compiler" >&6
10015 # Is the header present?
10016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10018 cat >conftest.
$ac_ext <<_ACEOF
10021 cat confdefs.h
>>conftest.
$ac_ext
10022 cat >>conftest.
$ac_ext <<_ACEOF
10023 /* end confdefs.h. */
10024 #include <$ac_header>
10026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10027 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10029 grep -v '^ *+' conftest.er1
>conftest.err
10031 cat conftest.err
>&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); } >/dev
/null
; then
10034 if test -s conftest.err
; then
10035 ac_cpp_err
=$ac_c_preproc_warn_flag
10036 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10043 if test -z "$ac_cpp_err"; then
10044 ac_header_preproc
=yes
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.
$ac_ext >&5
10049 ac_header_preproc
=no
10051 rm -f conftest.err conftest.
$ac_ext
10052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10053 echo "${ECHO_T}$ac_header_preproc" >&6
10055 # So? What about this header?
10056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10061 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10062 ac_header_preproc
=yes
10065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10069 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10070 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10071 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10072 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10075 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10076 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10079 ## ------------------------------------------ ##
10080 ## Report this to the AC_PACKAGE_NAME lists. ##
10081 ## ------------------------------------------ ##
10084 sed "s/^/$as_me: WARNING: /" >&2
10087 echo "$as_me:$LINENO: checking for $ac_header" >&5
10088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10090 echo $ECHO_N "(cached) $ECHO_C" >&6
10092 eval "$as_ac_Header=\$ac_header_preproc"
10094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10099 cat >>confdefs.h
<<_ACEOF
10100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10108 for ac_header
in sys
/fault.h
10110 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10112 echo "$as_me:$LINENO: checking for $ac_header" >&5
10113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10115 echo $ECHO_N "(cached) $ECHO_C" >&6
10117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10120 # Is the header compilable?
10121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10123 cat >conftest.
$ac_ext <<_ACEOF
10126 cat confdefs.h
>>conftest.
$ac_ext
10127 cat >>conftest.
$ac_ext <<_ACEOF
10128 /* end confdefs.h. */
10129 $ac_includes_default
10130 #include <$ac_header>
10132 rm -f conftest.
$ac_objext
10133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10134 (eval $ac_compile) 2>conftest.er1
10136 grep -v '^ *+' conftest.er1
>conftest.err
10138 cat conftest.err
>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } &&
10141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; } &&
10147 { ac_try
='test -s conftest.$ac_objext'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; }; then
10153 ac_header_compiler
=yes
10155 echo "$as_me: failed program was:" >&5
10156 sed 's/^/| /' conftest.
$ac_ext >&5
10158 ac_header_compiler
=no
10160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10162 echo "${ECHO_T}$ac_header_compiler" >&6
10164 # Is the header present?
10165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10167 cat >conftest.
$ac_ext <<_ACEOF
10170 cat confdefs.h
>>conftest.
$ac_ext
10171 cat >>conftest.
$ac_ext <<_ACEOF
10172 /* end confdefs.h. */
10173 #include <$ac_header>
10175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10178 grep -v '^ *+' conftest.er1
>conftest.err
10180 cat conftest.err
>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } >/dev
/null
; then
10183 if test -s conftest.err
; then
10184 ac_cpp_err
=$ac_c_preproc_warn_flag
10185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10192 if test -z "$ac_cpp_err"; then
10193 ac_header_preproc
=yes
10195 echo "$as_me: failed program was:" >&5
10196 sed 's/^/| /' conftest.
$ac_ext >&5
10198 ac_header_preproc
=no
10200 rm -f conftest.err conftest.
$ac_ext
10201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10202 echo "${ECHO_T}$ac_header_preproc" >&6
10204 # So? What about this header?
10205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10211 ac_header_preproc
=yes
10214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10228 ## ------------------------------------------ ##
10229 ## Report this to the AC_PACKAGE_NAME lists. ##
10230 ## ------------------------------------------ ##
10233 sed "s/^/$as_me: WARNING: /" >&2
10236 echo "$as_me:$LINENO: checking for $ac_header" >&5
10237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10239 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 eval "$as_ac_Header=\$ac_header_preproc"
10243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10248 cat >>confdefs.h
<<_ACEOF
10249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10257 for ac_header
in sys
/file.h
10259 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10261 echo "$as_me:$LINENO: checking for $ac_header" >&5
10262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10264 echo $ECHO_N "(cached) $ECHO_C" >&6
10266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10269 # Is the header compilable?
10270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10272 cat >conftest.
$ac_ext <<_ACEOF
10275 cat confdefs.h
>>conftest.
$ac_ext
10276 cat >>conftest.
$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10278 $ac_includes_default
10279 #include <$ac_header>
10281 rm -f conftest.
$ac_objext
10282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10283 (eval $ac_compile) 2>conftest.er1
10285 grep -v '^ *+' conftest.er1
>conftest.err
10287 cat conftest.err
>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } &&
10290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; } &&
10296 { ac_try
='test -s conftest.$ac_objext'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; }; then
10302 ac_header_compiler
=yes
10304 echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.
$ac_ext >&5
10307 ac_header_compiler
=no
10309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10311 echo "${ECHO_T}$ac_header_compiler" >&6
10313 # Is the header present?
10314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10316 cat >conftest.
$ac_ext <<_ACEOF
10319 cat confdefs.h
>>conftest.
$ac_ext
10320 cat >>conftest.
$ac_ext <<_ACEOF
10321 /* end confdefs.h. */
10322 #include <$ac_header>
10324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10325 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10327 grep -v '^ *+' conftest.er1
>conftest.err
10329 cat conftest.err
>&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); } >/dev
/null
; then
10332 if test -s conftest.err
; then
10333 ac_cpp_err
=$ac_c_preproc_warn_flag
10334 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10341 if test -z "$ac_cpp_err"; then
10342 ac_header_preproc
=yes
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.
$ac_ext >&5
10347 ac_header_preproc
=no
10349 rm -f conftest.err conftest.
$ac_ext
10350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10351 echo "${ECHO_T}$ac_header_preproc" >&6
10353 # So? What about this header?
10354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10360 ac_header_preproc
=yes
10363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10377 ## ------------------------------------------ ##
10378 ## Report this to the AC_PACKAGE_NAME lists. ##
10379 ## ------------------------------------------ ##
10382 sed "s/^/$as_me: WARNING: /" >&2
10385 echo "$as_me:$LINENO: checking for $ac_header" >&5
10386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 eval "$as_ac_Header=\$ac_header_preproc"
10392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10397 cat >>confdefs.h
<<_ACEOF
10398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10406 for ac_header
in sys
/filio.h
10408 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10410 echo "$as_me:$LINENO: checking for $ac_header" >&5
10411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10418 # Is the header compilable?
10419 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10420 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10421 cat >conftest.
$ac_ext <<_ACEOF
10424 cat confdefs.h
>>conftest.
$ac_ext
10425 cat >>conftest.
$ac_ext <<_ACEOF
10426 /* end confdefs.h. */
10427 $ac_includes_default
10428 #include <$ac_header>
10430 rm -f conftest.
$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>conftest.er1
10434 grep -v '^ *+' conftest.er1
>conftest.err
10436 cat conftest.err
>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); } &&
10439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10441 (eval $ac_try) 2>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; } &&
10445 { ac_try
='test -s conftest.$ac_objext'
10446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10447 (eval $ac_try) 2>&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); }; }; then
10451 ac_header_compiler
=yes
10453 echo "$as_me: failed program was:" >&5
10454 sed 's/^/| /' conftest.
$ac_ext >&5
10456 ac_header_compiler
=no
10458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10460 echo "${ECHO_T}$ac_header_compiler" >&6
10462 # Is the header present?
10463 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10465 cat >conftest.
$ac_ext <<_ACEOF
10468 cat confdefs.h
>>conftest.
$ac_ext
10469 cat >>conftest.
$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10471 #include <$ac_header>
10473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10476 grep -v '^ *+' conftest.er1
>conftest.err
10478 cat conftest.err
>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } >/dev
/null
; then
10481 if test -s conftest.err
; then
10482 ac_cpp_err
=$ac_c_preproc_warn_flag
10483 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10490 if test -z "$ac_cpp_err"; then
10491 ac_header_preproc
=yes
10493 echo "$as_me: failed program was:" >&5
10494 sed 's/^/| /' conftest.
$ac_ext >&5
10496 ac_header_preproc
=no
10498 rm -f conftest.err conftest.
$ac_ext
10499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10500 echo "${ECHO_T}$ac_header_preproc" >&6
10502 # So? What about this header?
10503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10505 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10506 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10508 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10509 ac_header_preproc
=yes
10512 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10513 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10514 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10515 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10516 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10517 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10518 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10519 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10522 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10523 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10526 ## ------------------------------------------ ##
10527 ## Report this to the AC_PACKAGE_NAME lists. ##
10528 ## ------------------------------------------ ##
10531 sed "s/^/$as_me: WARNING: /" >&2
10534 echo "$as_me:$LINENO: checking for $ac_header" >&5
10535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10537 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 eval "$as_ac_Header=\$ac_header_preproc"
10541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10546 cat >>confdefs.h
<<_ACEOF
10547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10555 for ac_header
in sys
/ioctl.h
10557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10559 echo "$as_me:$LINENO: checking for $ac_header" >&5
10560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10562 echo $ECHO_N "(cached) $ECHO_C" >&6
10564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10567 # Is the header compilable?
10568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10570 cat >conftest.
$ac_ext <<_ACEOF
10573 cat confdefs.h
>>conftest.
$ac_ext
10574 cat >>conftest.
$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10576 $ac_includes_default
10577 #include <$ac_header>
10579 rm -f conftest.
$ac_objext
10580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10581 (eval $ac_compile) 2>conftest.er1
10583 grep -v '^ *+' conftest.er1
>conftest.err
10585 cat conftest.err
>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); } &&
10588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; } &&
10594 { ac_try
='test -s conftest.$ac_objext'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; }; then
10600 ac_header_compiler
=yes
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.
$ac_ext >&5
10605 ac_header_compiler
=no
10607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10609 echo "${ECHO_T}$ac_header_compiler" >&6
10611 # Is the header present?
10612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10614 cat >conftest.
$ac_ext <<_ACEOF
10617 cat confdefs.h
>>conftest.
$ac_ext
10618 cat >>conftest.
$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10620 #include <$ac_header>
10622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10625 grep -v '^ *+' conftest.er1
>conftest.err
10627 cat conftest.err
>&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } >/dev
/null
; then
10630 if test -s conftest.err
; then
10631 ac_cpp_err
=$ac_c_preproc_warn_flag
10632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10639 if test -z "$ac_cpp_err"; then
10640 ac_header_preproc
=yes
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.
$ac_ext >&5
10645 ac_header_preproc
=no
10647 rm -f conftest.err conftest.
$ac_ext
10648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10649 echo "${ECHO_T}$ac_header_preproc" >&6
10651 # So? What about this header?
10652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10658 ac_header_preproc
=yes
10661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10675 ## ------------------------------------------ ##
10676 ## Report this to the AC_PACKAGE_NAME lists. ##
10677 ## ------------------------------------------ ##
10680 sed "s/^/$as_me: WARNING: /" >&2
10683 echo "$as_me:$LINENO: checking for $ac_header" >&5
10684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 eval "$as_ac_Header=\$ac_header_preproc"
10690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10695 cat >>confdefs.h
<<_ACEOF
10696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10704 for ac_header
in sys
/param.h
10706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10708 echo "$as_me:$LINENO: checking for $ac_header" >&5
10709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10716 # Is the header compilable?
10717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10719 cat >conftest.
$ac_ext <<_ACEOF
10722 cat confdefs.h
>>conftest.
$ac_ext
10723 cat >>conftest.
$ac_ext <<_ACEOF
10724 /* end confdefs.h. */
10725 $ac_includes_default
10726 #include <$ac_header>
10728 rm -f conftest.
$ac_objext
10729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10730 (eval $ac_compile) 2>conftest.er1
10732 grep -v '^ *+' conftest.er1
>conftest.err
10734 cat conftest.err
>&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); } &&
10737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10739 (eval $ac_try) 2>&5
10741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 (exit $ac_status); }; } &&
10743 { ac_try
='test -s conftest.$ac_objext'
10744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10745 (eval $ac_try) 2>&5
10747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 (exit $ac_status); }; }; then
10749 ac_header_compiler
=yes
10751 echo "$as_me: failed program was:" >&5
10752 sed 's/^/| /' conftest.
$ac_ext >&5
10754 ac_header_compiler
=no
10756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10758 echo "${ECHO_T}$ac_header_compiler" >&6
10760 # Is the header present?
10761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10763 cat >conftest.
$ac_ext <<_ACEOF
10766 cat confdefs.h
>>conftest.
$ac_ext
10767 cat >>conftest.
$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10769 #include <$ac_header>
10771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10774 grep -v '^ *+' conftest.er1
>conftest.err
10776 cat conftest.err
>&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); } >/dev
/null
; then
10779 if test -s conftest.err
; then
10780 ac_cpp_err
=$ac_c_preproc_warn_flag
10781 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10788 if test -z "$ac_cpp_err"; then
10789 ac_header_preproc
=yes
10791 echo "$as_me: failed program was:" >&5
10792 sed 's/^/| /' conftest.
$ac_ext >&5
10794 ac_header_preproc
=no
10796 rm -f conftest.err conftest.
$ac_ext
10797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10798 echo "${ECHO_T}$ac_header_preproc" >&6
10800 # So? What about this header?
10801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10807 ac_header_preproc
=yes
10810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10824 ## ------------------------------------------ ##
10825 ## Report this to the AC_PACKAGE_NAME lists. ##
10826 ## ------------------------------------------ ##
10829 sed "s/^/$as_me: WARNING: /" >&2
10832 echo "$as_me:$LINENO: checking for $ac_header" >&5
10833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10835 echo $ECHO_N "(cached) $ECHO_C" >&6
10837 eval "$as_ac_Header=\$ac_header_preproc"
10839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10844 cat >>confdefs.h
<<_ACEOF
10845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10853 for ac_header
in sys
/proc.h
10855 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10856 echo "$as_me:$LINENO: checking for $ac_header" >&5
10857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10859 echo $ECHO_N "(cached) $ECHO_C" >&6
10861 cat >conftest.
$ac_ext <<_ACEOF
10864 cat confdefs.h
>>conftest.
$ac_ext
10865 cat >>conftest.
$ac_ext <<_ACEOF
10866 /* end confdefs.h. */
10867 #if HAVE_SYS_PARAM_H
10868 # include <sys/param.h>
10872 #include <$ac_header>
10874 rm -f conftest.
$ac_objext
10875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10876 (eval $ac_compile) 2>conftest.er1
10878 grep -v '^ *+' conftest.er1
>conftest.err
10880 cat conftest.err
>&5
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); } &&
10883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10885 (eval $ac_try) 2>&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); }; } &&
10889 { ac_try
='test -s conftest.$ac_objext'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; }; then
10895 eval "$as_ac_Header=yes"
10897 echo "$as_me: failed program was:" >&5
10898 sed 's/^/| /' conftest.
$ac_ext >&5
10900 eval "$as_ac_Header=no"
10902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10907 cat >>confdefs.h
<<_ACEOF
10908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10916 for ac_header
in sys
/procfs.h
10918 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10920 echo "$as_me:$LINENO: checking for $ac_header" >&5
10921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10928 # Is the header compilable?
10929 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10931 cat >conftest.
$ac_ext <<_ACEOF
10934 cat confdefs.h
>>conftest.
$ac_ext
10935 cat >>conftest.
$ac_ext <<_ACEOF
10936 /* end confdefs.h. */
10937 $ac_includes_default
10938 #include <$ac_header>
10940 rm -f conftest.
$ac_objext
10941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10942 (eval $ac_compile) 2>conftest.er1
10944 grep -v '^ *+' conftest.er1
>conftest.err
10946 cat conftest.err
>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } &&
10949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10951 (eval $ac_try) 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; } &&
10955 { ac_try
='test -s conftest.$ac_objext'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; }; then
10961 ac_header_compiler
=yes
10963 echo "$as_me: failed program was:" >&5
10964 sed 's/^/| /' conftest.
$ac_ext >&5
10966 ac_header_compiler
=no
10968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10970 echo "${ECHO_T}$ac_header_compiler" >&6
10972 # Is the header present?
10973 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10974 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10975 cat >conftest.
$ac_ext <<_ACEOF
10978 cat confdefs.h
>>conftest.
$ac_ext
10979 cat >>conftest.
$ac_ext <<_ACEOF
10980 /* end confdefs.h. */
10981 #include <$ac_header>
10983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10986 grep -v '^ *+' conftest.er1
>conftest.err
10988 cat conftest.err
>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); } >/dev
/null
; then
10991 if test -s conftest.err
; then
10992 ac_cpp_err
=$ac_c_preproc_warn_flag
10993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11000 if test -z "$ac_cpp_err"; then
11001 ac_header_preproc
=yes
11003 echo "$as_me: failed program was:" >&5
11004 sed 's/^/| /' conftest.
$ac_ext >&5
11006 ac_header_preproc
=no
11008 rm -f conftest.err conftest.
$ac_ext
11009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11010 echo "${ECHO_T}$ac_header_preproc" >&6
11012 # So? What about this header?
11013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11015 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11019 ac_header_preproc
=yes
11022 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11024 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11025 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11026 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11028 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11029 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11032 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11036 ## ------------------------------------------ ##
11037 ## Report this to the AC_PACKAGE_NAME lists. ##
11038 ## ------------------------------------------ ##
11041 sed "s/^/$as_me: WARNING: /" >&2
11044 echo "$as_me:$LINENO: checking for $ac_header" >&5
11045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 eval "$as_ac_Header=\$ac_header_preproc"
11051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11056 cat >>confdefs.h
<<_ACEOF
11057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11066 for ac_header
in sys
/ptrace.h ptrace.h
11068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11070 echo "$as_me:$LINENO: checking for $ac_header" >&5
11071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11078 # Is the header compilable?
11079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11081 cat >conftest.
$ac_ext <<_ACEOF
11084 cat confdefs.h
>>conftest.
$ac_ext
11085 cat >>conftest.
$ac_ext <<_ACEOF
11086 /* end confdefs.h. */
11087 $ac_includes_default
11088 #include <$ac_header>
11090 rm -f conftest.
$ac_objext
11091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11092 (eval $ac_compile) 2>conftest.er1
11094 grep -v '^ *+' conftest.er1
>conftest.err
11096 cat conftest.err
>&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); } &&
11099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101 (eval $ac_try) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }; } &&
11105 { ac_try
='test -s conftest.$ac_objext'
11106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107 (eval $ac_try) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); }; }; then
11111 ac_header_compiler
=yes
11113 echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.
$ac_ext >&5
11116 ac_header_compiler
=no
11118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11120 echo "${ECHO_T}$ac_header_compiler" >&6
11122 # Is the header present?
11123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11125 cat >conftest.
$ac_ext <<_ACEOF
11128 cat confdefs.h
>>conftest.
$ac_ext
11129 cat >>conftest.
$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11131 #include <$ac_header>
11133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11136 grep -v '^ *+' conftest.er1
>conftest.err
11138 cat conftest.err
>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } >/dev
/null
; then
11141 if test -s conftest.err
; then
11142 ac_cpp_err
=$ac_c_preproc_warn_flag
11143 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11150 if test -z "$ac_cpp_err"; then
11151 ac_header_preproc
=yes
11153 echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.
$ac_ext >&5
11156 ac_header_preproc
=no
11158 rm -f conftest.err conftest.
$ac_ext
11159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11160 echo "${ECHO_T}$ac_header_preproc" >&6
11162 # So? What about this header?
11163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11169 ac_header_preproc
=yes
11172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11186 ## ------------------------------------------ ##
11187 ## Report this to the AC_PACKAGE_NAME lists. ##
11188 ## ------------------------------------------ ##
11191 sed "s/^/$as_me: WARNING: /" >&2
11194 echo "$as_me:$LINENO: checking for $ac_header" >&5
11195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11197 echo $ECHO_N "(cached) $ECHO_C" >&6
11199 eval "$as_ac_Header=\$ac_header_preproc"
11201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11206 cat >>confdefs.h
<<_ACEOF
11207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11216 for ac_header
in sys
/reg.h sys
/debugreg.h
11218 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11220 echo "$as_me:$LINENO: checking for $ac_header" >&5
11221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11228 # Is the header compilable?
11229 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11231 cat >conftest.
$ac_ext <<_ACEOF
11234 cat confdefs.h
>>conftest.
$ac_ext
11235 cat >>conftest.
$ac_ext <<_ACEOF
11236 /* end confdefs.h. */
11237 $ac_includes_default
11238 #include <$ac_header>
11240 rm -f conftest.
$ac_objext
11241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11242 (eval $ac_compile) 2>conftest.er1
11244 grep -v '^ *+' conftest.er1
>conftest.err
11246 cat conftest.err
>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); } &&
11249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; } &&
11255 { ac_try
='test -s conftest.$ac_objext'
11256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11257 (eval $ac_try) 2>&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); }; }; then
11261 ac_header_compiler
=yes
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.
$ac_ext >&5
11266 ac_header_compiler
=no
11268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11270 echo "${ECHO_T}$ac_header_compiler" >&6
11272 # Is the header present?
11273 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11274 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11275 cat >conftest.
$ac_ext <<_ACEOF
11278 cat confdefs.h
>>conftest.
$ac_ext
11279 cat >>conftest.
$ac_ext <<_ACEOF
11280 /* end confdefs.h. */
11281 #include <$ac_header>
11283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11284 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11286 grep -v '^ *+' conftest.er1
>conftest.err
11288 cat conftest.err
>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } >/dev
/null
; then
11291 if test -s conftest.err
; then
11292 ac_cpp_err
=$ac_c_preproc_warn_flag
11293 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11300 if test -z "$ac_cpp_err"; then
11301 ac_header_preproc
=yes
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.
$ac_ext >&5
11306 ac_header_preproc
=no
11308 rm -f conftest.err conftest.
$ac_ext
11309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11310 echo "${ECHO_T}$ac_header_preproc" >&6
11312 # So? What about this header?
11313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11315 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11316 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11318 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11319 ac_header_preproc
=yes
11322 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11323 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11324 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11325 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11326 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11327 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11328 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11329 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11332 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11333 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11336 ## ------------------------------------------ ##
11337 ## Report this to the AC_PACKAGE_NAME lists. ##
11338 ## ------------------------------------------ ##
11341 sed "s/^/$as_me: WARNING: /" >&2
11344 echo "$as_me:$LINENO: checking for $ac_header" >&5
11345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 eval "$as_ac_Header=\$ac_header_preproc"
11351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11356 cat >>confdefs.h
<<_ACEOF
11357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11365 for ac_header
in sys
/select.h
11367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11369 echo "$as_me:$LINENO: checking for $ac_header" >&5
11370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11377 # Is the header compilable?
11378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11380 cat >conftest.
$ac_ext <<_ACEOF
11383 cat confdefs.h
>>conftest.
$ac_ext
11384 cat >>conftest.
$ac_ext <<_ACEOF
11385 /* end confdefs.h. */
11386 $ac_includes_default
11387 #include <$ac_header>
11389 rm -f conftest.
$ac_objext
11390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11391 (eval $ac_compile) 2>conftest.er1
11393 grep -v '^ *+' conftest.er1
>conftest.err
11395 cat conftest.err
>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); } &&
11398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; } &&
11404 { ac_try
='test -s conftest.$ac_objext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_header_compiler
=yes
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.
$ac_ext >&5
11415 ac_header_compiler
=no
11417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11419 echo "${ECHO_T}$ac_header_compiler" >&6
11421 # Is the header present?
11422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11424 cat >conftest.
$ac_ext <<_ACEOF
11427 cat confdefs.h
>>conftest.
$ac_ext
11428 cat >>conftest.
$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 #include <$ac_header>
11432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11433 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11435 grep -v '^ *+' conftest.er1
>conftest.err
11437 cat conftest.err
>&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } >/dev
/null
; then
11440 if test -s conftest.err
; then
11441 ac_cpp_err
=$ac_c_preproc_warn_flag
11442 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11449 if test -z "$ac_cpp_err"; then
11450 ac_header_preproc
=yes
11452 echo "$as_me: failed program was:" >&5
11453 sed 's/^/| /' conftest.
$ac_ext >&5
11455 ac_header_preproc
=no
11457 rm -f conftest.err conftest.
$ac_ext
11458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11459 echo "${ECHO_T}$ac_header_preproc" >&6
11461 # So? What about this header?
11462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11468 ac_header_preproc
=yes
11471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11485 ## ------------------------------------------ ##
11486 ## Report this to the AC_PACKAGE_NAME lists. ##
11487 ## ------------------------------------------ ##
11490 sed "s/^/$as_me: WARNING: /" >&2
11493 echo "$as_me:$LINENO: checking for $ac_header" >&5
11494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 eval "$as_ac_Header=\$ac_header_preproc"
11500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11505 cat >>confdefs.h
<<_ACEOF
11506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11514 for ac_header
in sys
/syscall.h
11516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11518 echo "$as_me:$LINENO: checking for $ac_header" >&5
11519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11526 # Is the header compilable?
11527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11529 cat >conftest.
$ac_ext <<_ACEOF
11532 cat confdefs.h
>>conftest.
$ac_ext
11533 cat >>conftest.
$ac_ext <<_ACEOF
11534 /* end confdefs.h. */
11535 $ac_includes_default
11536 #include <$ac_header>
11538 rm -f conftest.
$ac_objext
11539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11540 (eval $ac_compile) 2>conftest.er1
11542 grep -v '^ *+' conftest.er1
>conftest.err
11544 cat conftest.err
>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } &&
11547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; } &&
11553 { ac_try
='test -s conftest.$ac_objext'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11559 ac_header_compiler
=yes
11561 echo "$as_me: failed program was:" >&5
11562 sed 's/^/| /' conftest.
$ac_ext >&5
11564 ac_header_compiler
=no
11566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11568 echo "${ECHO_T}$ac_header_compiler" >&6
11570 # Is the header present?
11571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11573 cat >conftest.
$ac_ext <<_ACEOF
11576 cat confdefs.h
>>conftest.
$ac_ext
11577 cat >>conftest.
$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11579 #include <$ac_header>
11581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11582 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11584 grep -v '^ *+' conftest.er1
>conftest.err
11586 cat conftest.err
>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); } >/dev
/null
; then
11589 if test -s conftest.err
; then
11590 ac_cpp_err
=$ac_c_preproc_warn_flag
11591 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11598 if test -z "$ac_cpp_err"; then
11599 ac_header_preproc
=yes
11601 echo "$as_me: failed program was:" >&5
11602 sed 's/^/| /' conftest.
$ac_ext >&5
11604 ac_header_preproc
=no
11606 rm -f conftest.err conftest.
$ac_ext
11607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11608 echo "${ECHO_T}$ac_header_preproc" >&6
11610 # So? What about this header?
11611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11617 ac_header_preproc
=yes
11620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11634 ## ------------------------------------------ ##
11635 ## Report this to the AC_PACKAGE_NAME lists. ##
11636 ## ------------------------------------------ ##
11639 sed "s/^/$as_me: WARNING: /" >&2
11642 echo "$as_me:$LINENO: checking for $ac_header" >&5
11643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11645 echo $ECHO_N "(cached) $ECHO_C" >&6
11647 eval "$as_ac_Header=\$ac_header_preproc"
11649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11654 cat >>confdefs.h
<<_ACEOF
11655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11663 for ac_header
in sys
/types.h
11665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11667 echo "$as_me:$LINENO: checking for $ac_header" >&5
11668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11675 # Is the header compilable?
11676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11678 cat >conftest.
$ac_ext <<_ACEOF
11681 cat confdefs.h
>>conftest.
$ac_ext
11682 cat >>conftest.
$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684 $ac_includes_default
11685 #include <$ac_header>
11687 rm -f conftest.
$ac_objext
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>conftest.er1
11691 grep -v '^ *+' conftest.er1
>conftest.err
11693 cat conftest.err
>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11698 (eval $ac_try) 2>&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); }; } &&
11702 { ac_try
='test -s conftest.$ac_objext'
11703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11704 (eval $ac_try) 2>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); }; }; then
11708 ac_header_compiler
=yes
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.
$ac_ext >&5
11713 ac_header_compiler
=no
11715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11717 echo "${ECHO_T}$ac_header_compiler" >&6
11719 # Is the header present?
11720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11722 cat >conftest.
$ac_ext <<_ACEOF
11725 cat confdefs.h
>>conftest.
$ac_ext
11726 cat >>conftest.
$ac_ext <<_ACEOF
11727 /* end confdefs.h. */
11728 #include <$ac_header>
11730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11733 grep -v '^ *+' conftest.er1
>conftest.err
11735 cat conftest.err
>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); } >/dev
/null
; then
11738 if test -s conftest.err
; then
11739 ac_cpp_err
=$ac_c_preproc_warn_flag
11740 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11747 if test -z "$ac_cpp_err"; then
11748 ac_header_preproc
=yes
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.
$ac_ext >&5
11753 ac_header_preproc
=no
11755 rm -f conftest.err conftest.
$ac_ext
11756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11757 echo "${ECHO_T}$ac_header_preproc" >&6
11759 # So? What about this header?
11760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11766 ac_header_preproc
=yes
11769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11783 ## ------------------------------------------ ##
11784 ## Report this to the AC_PACKAGE_NAME lists. ##
11785 ## ------------------------------------------ ##
11788 sed "s/^/$as_me: WARNING: /" >&2
11791 echo "$as_me:$LINENO: checking for $ac_header" >&5
11792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 eval "$as_ac_Header=\$ac_header_preproc"
11798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11803 cat >>confdefs.h
<<_ACEOF
11804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11812 for ac_header
in sys
/user.h
11814 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11815 echo "$as_me:$LINENO: checking for $ac_header" >&5
11816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 cat >conftest.
$ac_ext <<_ACEOF
11823 cat confdefs.h
>>conftest.
$ac_ext
11824 cat >>conftest.
$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11826 #if HAVE_SYS_PARAM_H
11827 # include <sys/param.h>
11831 #include <$ac_header>
11833 rm -f conftest.
$ac_objext
11834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11835 (eval $ac_compile) 2>conftest.er1
11837 grep -v '^ *+' conftest.er1
>conftest.err
11839 cat conftest.err
>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); } &&
11842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; } &&
11848 { ac_try
='test -s conftest.$ac_objext'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; }; then
11854 eval "$as_ac_Header=yes"
11856 echo "$as_me: failed program was:" >&5
11857 sed 's/^/| /' conftest.
$ac_ext >&5
11859 eval "$as_ac_Header=no"
11861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11866 cat >>confdefs.h
<<_ACEOF
11867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11876 for ac_header
in sys
/wait.h
wait.h
11878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11880 echo "$as_me:$LINENO: checking for $ac_header" >&5
11881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11888 # Is the header compilable?
11889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11891 cat >conftest.
$ac_ext <<_ACEOF
11894 cat confdefs.h
>>conftest.
$ac_ext
11895 cat >>conftest.
$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897 $ac_includes_default
11898 #include <$ac_header>
11900 rm -f conftest.
$ac_objext
11901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11902 (eval $ac_compile) 2>conftest.er1
11904 grep -v '^ *+' conftest.er1
>conftest.err
11906 cat conftest.err
>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } &&
11909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11911 (eval $ac_try) 2>&5
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 (exit $ac_status); }; } &&
11915 { ac_try
='test -s conftest.$ac_objext'
11916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11917 (eval $ac_try) 2>&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); }; }; then
11921 ac_header_compiler
=yes
11923 echo "$as_me: failed program was:" >&5
11924 sed 's/^/| /' conftest.
$ac_ext >&5
11926 ac_header_compiler
=no
11928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11930 echo "${ECHO_T}$ac_header_compiler" >&6
11932 # Is the header present?
11933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11934 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11935 cat >conftest.
$ac_ext <<_ACEOF
11938 cat confdefs.h
>>conftest.
$ac_ext
11939 cat >>conftest.
$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11941 #include <$ac_header>
11943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11944 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11946 grep -v '^ *+' conftest.er1
>conftest.err
11948 cat conftest.err
>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } >/dev
/null
; then
11951 if test -s conftest.err
; then
11952 ac_cpp_err
=$ac_c_preproc_warn_flag
11953 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11960 if test -z "$ac_cpp_err"; then
11961 ac_header_preproc
=yes
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.
$ac_ext >&5
11966 ac_header_preproc
=no
11968 rm -f conftest.err conftest.
$ac_ext
11969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11970 echo "${ECHO_T}$ac_header_preproc" >&6
11972 # So? What about this header?
11973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11979 ac_header_preproc
=yes
11982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11996 ## ------------------------------------------ ##
11997 ## Report this to the AC_PACKAGE_NAME lists. ##
11998 ## ------------------------------------------ ##
12001 sed "s/^/$as_me: WARNING: /" >&2
12004 echo "$as_me:$LINENO: checking for $ac_header" >&5
12005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 eval "$as_ac_Header=\$ac_header_preproc"
12011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12016 cat >>confdefs.h
<<_ACEOF
12017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12027 for ac_header
in termios.h termio.h sgtty.h
12029 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12031 echo "$as_me:$LINENO: checking for $ac_header" >&5
12032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12039 # Is the header compilable?
12040 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12041 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12042 cat >conftest.
$ac_ext <<_ACEOF
12045 cat confdefs.h
>>conftest.
$ac_ext
12046 cat >>conftest.
$ac_ext <<_ACEOF
12047 /* end confdefs.h. */
12048 $ac_includes_default
12049 #include <$ac_header>
12051 rm -f conftest.
$ac_objext
12052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12053 (eval $ac_compile) 2>conftest.er1
12055 grep -v '^ *+' conftest.er1
>conftest.err
12057 cat conftest.err
>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } &&
12060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12062 (eval $ac_try) 2>&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); }; } &&
12066 { ac_try
='test -s conftest.$ac_objext'
12067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12068 (eval $ac_try) 2>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); }; }; then
12072 ac_header_compiler
=yes
12074 echo "$as_me: failed program was:" >&5
12075 sed 's/^/| /' conftest.
$ac_ext >&5
12077 ac_header_compiler
=no
12079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12081 echo "${ECHO_T}$ac_header_compiler" >&6
12083 # Is the header present?
12084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12086 cat >conftest.
$ac_ext <<_ACEOF
12089 cat confdefs.h
>>conftest.
$ac_ext
12090 cat >>conftest.
$ac_ext <<_ACEOF
12091 /* end confdefs.h. */
12092 #include <$ac_header>
12094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12097 grep -v '^ *+' conftest.er1
>conftest.err
12099 cat conftest.err
>&5
12100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101 (exit $ac_status); } >/dev
/null
; then
12102 if test -s conftest.err
; then
12103 ac_cpp_err
=$ac_c_preproc_warn_flag
12104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12111 if test -z "$ac_cpp_err"; then
12112 ac_header_preproc
=yes
12114 echo "$as_me: failed program was:" >&5
12115 sed 's/^/| /' conftest.
$ac_ext >&5
12117 ac_header_preproc
=no
12119 rm -f conftest.err conftest.
$ac_ext
12120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12121 echo "${ECHO_T}$ac_header_preproc" >&6
12123 # So? What about this header?
12124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12130 ac_header_preproc
=yes
12133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12147 ## ------------------------------------------ ##
12148 ## Report this to the AC_PACKAGE_NAME lists. ##
12149 ## ------------------------------------------ ##
12152 sed "s/^/$as_me: WARNING: /" >&2
12155 echo "$as_me:$LINENO: checking for $ac_header" >&5
12156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12160 eval "$as_ac_Header=\$ac_header_preproc"
12162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12167 cat >>confdefs.h
<<_ACEOF
12168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12176 for ac_header
in unistd.h
12178 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12180 echo "$as_me:$LINENO: checking for $ac_header" >&5
12181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12183 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12188 # Is the header compilable?
12189 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12191 cat >conftest.
$ac_ext <<_ACEOF
12194 cat confdefs.h
>>conftest.
$ac_ext
12195 cat >>conftest.
$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12197 $ac_includes_default
12198 #include <$ac_header>
12200 rm -f conftest.
$ac_objext
12201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12202 (eval $ac_compile) 2>conftest.er1
12204 grep -v '^ *+' conftest.er1
>conftest.err
12206 cat conftest.err
>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); } &&
12209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12211 (eval $ac_try) 2>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); }; } &&
12215 { ac_try
='test -s conftest.$ac_objext'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; }; then
12221 ac_header_compiler
=yes
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.
$ac_ext >&5
12226 ac_header_compiler
=no
12228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12230 echo "${ECHO_T}$ac_header_compiler" >&6
12232 # Is the header present?
12233 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12235 cat >conftest.
$ac_ext <<_ACEOF
12238 cat confdefs.h
>>conftest.
$ac_ext
12239 cat >>conftest.
$ac_ext <<_ACEOF
12240 /* end confdefs.h. */
12241 #include <$ac_header>
12243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12246 grep -v '^ *+' conftest.er1
>conftest.err
12248 cat conftest.err
>&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } >/dev
/null
; then
12251 if test -s conftest.err
; then
12252 ac_cpp_err
=$ac_c_preproc_warn_flag
12253 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12260 if test -z "$ac_cpp_err"; then
12261 ac_header_preproc
=yes
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.
$ac_ext >&5
12266 ac_header_preproc
=no
12268 rm -f conftest.err conftest.
$ac_ext
12269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12270 echo "${ECHO_T}$ac_header_preproc" >&6
12272 # So? What about this header?
12273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12279 ac_header_preproc
=yes
12282 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12284 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12285 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12286 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12288 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12289 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12296 ## ------------------------------------------ ##
12297 ## Report this to the AC_PACKAGE_NAME lists. ##
12298 ## ------------------------------------------ ##
12301 sed "s/^/$as_me: WARNING: /" >&2
12304 echo "$as_me:$LINENO: checking for $ac_header" >&5
12305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 eval "$as_ac_Header=\$ac_header_preproc"
12311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12316 cat >>confdefs.h
<<_ACEOF
12317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12325 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
12326 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
12327 # think that we don't have <curses.h> if we're using GCC.
12330 if test "$GCC" = yes; then
12332 cat >>confdefs.h
<<\_ACEOF
12333 #define _MSE_INT_H 1
12342 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
12344 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12346 echo "$as_me:$LINENO: checking for $ac_header" >&5
12347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12354 # Is the header compilable?
12355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12357 cat >conftest.
$ac_ext <<_ACEOF
12360 cat confdefs.h
>>conftest.
$ac_ext
12361 cat >>conftest.
$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12363 $ac_includes_default
12364 #include <$ac_header>
12366 rm -f conftest.
$ac_objext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12368 (eval $ac_compile) 2>conftest.er1
12370 grep -v '^ *+' conftest.er1
>conftest.err
12372 cat conftest.err
>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } &&
12375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try
='test -s conftest.$ac_objext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_header_compiler
=yes
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.
$ac_ext >&5
12392 ac_header_compiler
=no
12394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12396 echo "${ECHO_T}$ac_header_compiler" >&6
12398 # Is the header present?
12399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12401 cat >conftest.
$ac_ext <<_ACEOF
12404 cat confdefs.h
>>conftest.
$ac_ext
12405 cat >>conftest.
$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 #include <$ac_header>
12409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12412 grep -v '^ *+' conftest.er1
>conftest.err
12414 cat conftest.err
>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } >/dev
/null
; then
12417 if test -s conftest.err
; then
12418 ac_cpp_err
=$ac_c_preproc_warn_flag
12419 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12426 if test -z "$ac_cpp_err"; then
12427 ac_header_preproc
=yes
12429 echo "$as_me: failed program was:" >&5
12430 sed 's/^/| /' conftest.
$ac_ext >&5
12432 ac_header_preproc
=no
12434 rm -f conftest.err conftest.
$ac_ext
12435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12436 echo "${ECHO_T}$ac_header_preproc" >&6
12438 # So? What about this header?
12439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12445 ac_header_preproc
=yes
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12462 ## ------------------------------------------ ##
12463 ## Report this to the AC_PACKAGE_NAME lists. ##
12464 ## ------------------------------------------ ##
12467 sed "s/^/$as_me: WARNING: /" >&2
12470 echo "$as_me:$LINENO: checking for $ac_header" >&5
12471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12473 echo $ECHO_N "(cached) $ECHO_C" >&6
12475 eval "$as_ac_Header=\$ac_header_preproc"
12477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12482 cat >>confdefs.h
<<_ACEOF
12483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12491 for ac_header
in ncurses
/term.h
12493 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12495 echo "$as_me:$LINENO: checking for $ac_header" >&5
12496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12503 # Is the header compilable?
12504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12506 cat >conftest.
$ac_ext <<_ACEOF
12509 cat confdefs.h
>>conftest.
$ac_ext
12510 cat >>conftest.
$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12512 $ac_includes_default
12513 #include <$ac_header>
12515 rm -f conftest.
$ac_objext
12516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12517 (eval $ac_compile) 2>conftest.er1
12519 grep -v '^ *+' conftest.er1
>conftest.err
12521 cat conftest.err
>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } &&
12524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; } &&
12530 { ac_try
='test -s conftest.$ac_objext'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; }; then
12536 ac_header_compiler
=yes
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.
$ac_ext >&5
12541 ac_header_compiler
=no
12543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12545 echo "${ECHO_T}$ac_header_compiler" >&6
12547 # Is the header present?
12548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12550 cat >conftest.
$ac_ext <<_ACEOF
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12556 #include <$ac_header>
12558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } >/dev
/null
; then
12566 if test -s conftest.err
; then
12567 ac_cpp_err
=$ac_c_preproc_warn_flag
12568 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12575 if test -z "$ac_cpp_err"; then
12576 ac_header_preproc
=yes
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.
$ac_ext >&5
12581 ac_header_preproc
=no
12583 rm -f conftest.err conftest.
$ac_ext
12584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12585 echo "${ECHO_T}$ac_header_preproc" >&6
12587 # So? What about this header?
12588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12594 ac_header_preproc
=yes
12597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12611 ## ------------------------------------------ ##
12612 ## Report this to the AC_PACKAGE_NAME lists. ##
12613 ## ------------------------------------------ ##
12616 sed "s/^/$as_me: WARNING: /" >&2
12619 echo "$as_me:$LINENO: checking for $ac_header" >&5
12620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 eval "$as_ac_Header=\$ac_header_preproc"
12626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12631 cat >>confdefs.h
<<_ACEOF
12632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12640 for ac_header
in term.h
12642 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12643 echo "$as_me:$LINENO: checking for $ac_header" >&5
12644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 cat >conftest.
$ac_ext <<_ACEOF
12651 cat confdefs.h
>>conftest.
$ac_ext
12652 cat >>conftest.
$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12655 # include <curses.h>
12659 #include <$ac_header>
12661 rm -f conftest.
$ac_objext
12662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12663 (eval $ac_compile) 2>conftest.er1
12665 grep -v '^ *+' conftest.er1
>conftest.err
12667 cat conftest.err
>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; } &&
12676 { ac_try
='test -s conftest.$ac_objext'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 eval "$as_ac_Header=yes"
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.
$ac_ext >&5
12687 eval "$as_ac_Header=no"
12689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12694 cat >>confdefs.h
<<_ACEOF
12695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12703 # FIXME: kettenis/20030102: In most cases we include these
12704 # unconditionally, so what's the point in checking these?
12707 for ac_header
in ctype.h
time.h
12709 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12711 echo "$as_me:$LINENO: checking for $ac_header" >&5
12712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12719 # Is the header compilable?
12720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12722 cat >conftest.
$ac_ext <<_ACEOF
12725 cat confdefs.h
>>conftest.
$ac_ext
12726 cat >>conftest.
$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12728 $ac_includes_default
12729 #include <$ac_header>
12731 rm -f conftest.
$ac_objext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12733 (eval $ac_compile) 2>conftest.er1
12735 grep -v '^ *+' conftest.er1
>conftest.err
12737 cat conftest.err
>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } &&
12740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; } &&
12746 { ac_try
='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12752 ac_header_compiler
=yes
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.
$ac_ext >&5
12757 ac_header_compiler
=no
12759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12761 echo "${ECHO_T}$ac_header_compiler" >&6
12763 # Is the header present?
12764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12766 cat >conftest.
$ac_ext <<_ACEOF
12769 cat confdefs.h
>>conftest.
$ac_ext
12770 cat >>conftest.
$ac_ext <<_ACEOF
12771 /* end confdefs.h. */
12772 #include <$ac_header>
12774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12775 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12777 grep -v '^ *+' conftest.er1
>conftest.err
12779 cat conftest.err
>&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); } >/dev
/null
; then
12782 if test -s conftest.err
; then
12783 ac_cpp_err
=$ac_c_preproc_warn_flag
12784 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12791 if test -z "$ac_cpp_err"; then
12792 ac_header_preproc
=yes
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12797 ac_header_preproc
=no
12799 rm -f conftest.err conftest.
$ac_ext
12800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12801 echo "${ECHO_T}$ac_header_preproc" >&6
12803 # So? What about this header?
12804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12810 ac_header_preproc
=yes
12813 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12815 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12817 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12819 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12820 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12827 ## ------------------------------------------ ##
12828 ## Report this to the AC_PACKAGE_NAME lists. ##
12829 ## ------------------------------------------ ##
12832 sed "s/^/$as_me: WARNING: /" >&2
12835 echo "$as_me:$LINENO: checking for $ac_header" >&5
12836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12838 echo $ECHO_N "(cached) $ECHO_C" >&6
12840 eval "$as_ac_Header=\$ac_header_preproc"
12842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12847 cat >>confdefs.h
<<_ACEOF
12848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12856 # ------------------------- #
12857 # Checks for declarations. #
12858 # ------------------------- #
12860 echo "$as_me:$LINENO: checking whether free is declared" >&5
12861 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
12862 if test "${ac_cv_have_decl_free+set}" = set; then
12863 echo $ECHO_N "(cached) $ECHO_C" >&6
12865 cat >conftest.
$ac_ext <<_ACEOF
12868 cat confdefs.h
>>conftest.
$ac_ext
12869 cat >>conftest.
$ac_ext <<_ACEOF
12870 /* end confdefs.h. */
12871 $ac_includes_default
12876 char *p = (char *) free;
12883 rm -f conftest.
$ac_objext
12884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12885 (eval $ac_compile) 2>conftest.er1
12887 grep -v '^ *+' conftest.er1
>conftest.err
12889 cat conftest.err
>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); } &&
12892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; } &&
12898 { ac_try
='test -s conftest.$ac_objext'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; }; then
12904 ac_cv_have_decl_free
=yes
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.
$ac_ext >&5
12909 ac_cv_have_decl_free
=no
12911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12913 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
12914 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
12915 if test $ac_cv_have_decl_free = yes; then
12917 cat >>confdefs.h
<<_ACEOF
12918 #define HAVE_DECL_FREE 1
12923 cat >>confdefs.h
<<_ACEOF
12924 #define HAVE_DECL_FREE 0
12929 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12930 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
12931 if test "${ac_cv_have_decl_malloc+set}" = set; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 cat >conftest.
$ac_ext <<_ACEOF
12937 cat confdefs.h
>>conftest.
$ac_ext
12938 cat >>conftest.
$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12940 $ac_includes_default
12945 char *p = (char *) malloc;
12952 rm -f conftest.
$ac_objext
12953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12954 (eval $ac_compile) 2>conftest.er1
12956 grep -v '^ *+' conftest.er1
>conftest.err
12958 cat conftest.err
>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; } &&
12967 { ac_try
='test -s conftest.$ac_objext'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; }; then
12973 ac_cv_have_decl_malloc
=yes
12975 echo "$as_me: failed program was:" >&5
12976 sed 's/^/| /' conftest.
$ac_ext >&5
12978 ac_cv_have_decl_malloc
=no
12980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12982 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12983 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
12984 if test $ac_cv_have_decl_malloc = yes; then
12986 cat >>confdefs.h
<<_ACEOF
12987 #define HAVE_DECL_MALLOC 1
12992 cat >>confdefs.h
<<_ACEOF
12993 #define HAVE_DECL_MALLOC 0
12998 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12999 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
13000 if test "${ac_cv_have_decl_realloc+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 cat >conftest.
$ac_ext <<_ACEOF
13006 cat confdefs.h
>>conftest.
$ac_ext
13007 cat >>conftest.
$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13009 $ac_includes_default
13014 char *p = (char *) realloc;
13021 rm -f conftest.
$ac_objext
13022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13023 (eval $ac_compile) 2>conftest.er1
13025 grep -v '^ *+' conftest.er1
>conftest.err
13027 cat conftest.err
>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } &&
13030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13032 (eval $ac_try) 2>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); }; } &&
13036 { ac_try
='test -s conftest.$ac_objext'
13037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13038 (eval $ac_try) 2>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); }; }; then
13042 ac_cv_have_decl_realloc
=yes
13044 echo "$as_me: failed program was:" >&5
13045 sed 's/^/| /' conftest.
$ac_ext >&5
13047 ac_cv_have_decl_realloc
=no
13049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13051 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
13052 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
13053 if test $ac_cv_have_decl_realloc = yes; then
13055 cat >>confdefs.h
<<_ACEOF
13056 #define HAVE_DECL_REALLOC 1
13061 cat >>confdefs.h
<<_ACEOF
13062 #define HAVE_DECL_REALLOC 0
13069 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
13070 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
13071 if test "${ac_cv_have_decl_strerror+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 cat >conftest.
$ac_ext <<_ACEOF
13077 cat confdefs.h
>>conftest.
$ac_ext
13078 cat >>conftest.
$ac_ext <<_ACEOF
13079 /* end confdefs.h. */
13080 $ac_includes_default
13085 char *p = (char *) strerror;
13092 rm -f conftest.
$ac_objext
13093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13094 (eval $ac_compile) 2>conftest.er1
13096 grep -v '^ *+' conftest.er1
>conftest.err
13098 cat conftest.err
>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); } &&
13101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103 (eval $ac_try) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; } &&
13107 { ac_try
='test -s conftest.$ac_objext'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; }; then
13113 ac_cv_have_decl_strerror
=yes
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.
$ac_ext >&5
13118 ac_cv_have_decl_strerror
=no
13120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13122 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
13123 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
13124 if test $ac_cv_have_decl_strerror = yes; then
13126 cat >>confdefs.h
<<_ACEOF
13127 #define HAVE_DECL_STRERROR 1
13132 cat >>confdefs.h
<<_ACEOF
13133 #define HAVE_DECL_STRERROR 0
13138 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
13139 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
13140 if test "${ac_cv_have_decl_strstr+set}" = set; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 cat >conftest.
$ac_ext <<_ACEOF
13146 cat confdefs.h
>>conftest.
$ac_ext
13147 cat >>conftest.
$ac_ext <<_ACEOF
13148 /* end confdefs.h. */
13149 $ac_includes_default
13154 char *p = (char *) strstr;
13161 rm -f conftest.
$ac_objext
13162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13163 (eval $ac_compile) 2>conftest.er1
13165 grep -v '^ *+' conftest.er1
>conftest.err
13167 cat conftest.err
>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); } &&
13170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13172 (eval $ac_try) 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; } &&
13176 { ac_try
='test -s conftest.$ac_objext'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; }; then
13182 ac_cv_have_decl_strstr
=yes
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.
$ac_ext >&5
13187 ac_cv_have_decl_strstr
=no
13189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13191 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13192 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13193 if test $ac_cv_have_decl_strstr = yes; then
13195 cat >>confdefs.h
<<_ACEOF
13196 #define HAVE_DECL_STRSTR 1
13201 cat >>confdefs.h
<<_ACEOF
13202 #define HAVE_DECL_STRSTR 0
13209 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
13210 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
13211 if test "${ac_cv_have_decl_getopt+set}" = set; then
13212 echo $ECHO_N "(cached) $ECHO_C" >&6
13214 cat >conftest.
$ac_ext <<_ACEOF
13217 cat confdefs.h
>>conftest.
$ac_ext
13218 cat >>conftest.
$ac_ext <<_ACEOF
13219 /* end confdefs.h. */
13220 $ac_includes_default
13225 char *p = (char *) getopt;
13232 rm -f conftest.
$ac_objext
13233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13234 (eval $ac_compile) 2>conftest.er1
13236 grep -v '^ *+' conftest.er1
>conftest.err
13238 cat conftest.err
>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } &&
13241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13243 (eval $ac_try) 2>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; } &&
13247 { ac_try
='test -s conftest.$ac_objext'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; }; then
13253 ac_cv_have_decl_getopt
=yes
13255 echo "$as_me: failed program was:" >&5
13256 sed 's/^/| /' conftest.
$ac_ext >&5
13258 ac_cv_have_decl_getopt
=no
13260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13262 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
13263 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
13264 if test $ac_cv_have_decl_getopt = yes; then
13266 cat >>confdefs.h
<<_ACEOF
13267 #define HAVE_DECL_GETOPT 1
13272 cat >>confdefs.h
<<_ACEOF
13273 #define HAVE_DECL_GETOPT 0
13278 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13279 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13280 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13283 cat >conftest.
$ac_ext <<_ACEOF
13286 cat confdefs.h
>>conftest.
$ac_ext
13287 cat >>conftest.
$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289 $ac_includes_default
13294 char *p = (char *) snprintf;
13301 rm -f conftest.
$ac_objext
13302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13303 (eval $ac_compile) 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); } &&
13310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; } &&
13316 { ac_try
='test -s conftest.$ac_objext'
13317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13318 (eval $ac_try) 2>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; }; then
13322 ac_cv_have_decl_snprintf
=yes
13324 echo "$as_me: failed program was:" >&5
13325 sed 's/^/| /' conftest.
$ac_ext >&5
13327 ac_cv_have_decl_snprintf
=no
13329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13331 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
13332 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
13333 if test $ac_cv_have_decl_snprintf = yes; then
13335 cat >>confdefs.h
<<_ACEOF
13336 #define HAVE_DECL_SNPRINTF 1
13341 cat >>confdefs.h
<<_ACEOF
13342 #define HAVE_DECL_SNPRINTF 0
13347 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13348 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13349 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 cat >conftest.
$ac_ext <<_ACEOF
13355 cat confdefs.h
>>conftest.
$ac_ext
13356 cat >>conftest.
$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13358 $ac_includes_default
13363 char *p = (char *) vsnprintf;
13370 rm -f conftest.
$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>conftest.er1
13374 grep -v '^ *+' conftest.er1
>conftest.err
13376 cat conftest.err
>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } &&
13379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; } &&
13385 { ac_try
='test -s conftest.$ac_objext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13391 ac_cv_have_decl_vsnprintf
=yes
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13396 ac_cv_have_decl_vsnprintf
=no
13398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13400 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13401 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13402 if test $ac_cv_have_decl_vsnprintf = yes; then
13404 cat >>confdefs.h
<<_ACEOF
13405 #define HAVE_DECL_VSNPRINTF 1
13410 cat >>confdefs.h
<<_ACEOF
13411 #define HAVE_DECL_VSNPRINTF 0
13419 # ----------------------- #
13420 # Checks for structures. #
13421 # ----------------------- #
13423 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
13424 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
13425 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13428 cat >conftest.
$ac_ext <<_ACEOF
13431 cat confdefs.h
>>conftest.
$ac_ext
13432 cat >>conftest.
$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434 $ac_includes_default
13438 static struct stat ac_aggr;
13439 if (ac_aggr.st_blocks)
13445 rm -f conftest.
$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13449 grep -v '^ *+' conftest.er1
>conftest.err
13451 cat conftest.err
>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try
='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 ac_cv_member_struct_stat_st_blocks
=yes
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.
$ac_ext >&5
13471 cat >conftest.
$ac_ext <<_ACEOF
13474 cat confdefs.h
>>conftest.
$ac_ext
13475 cat >>conftest.
$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13477 $ac_includes_default
13481 static struct stat ac_aggr;
13482 if (sizeof ac_aggr.st_blocks)
13488 rm -f conftest.
$ac_objext
13489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13490 (eval $ac_compile) 2>conftest.er1
13492 grep -v '^ *+' conftest.er1
>conftest.err
13494 cat conftest.err
>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); } &&
13497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13499 (eval $ac_try) 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); }; } &&
13503 { ac_try
='test -s conftest.$ac_objext'
13504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13505 (eval $ac_try) 2>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); }; }; then
13509 ac_cv_member_struct_stat_st_blocks
=yes
13511 echo "$as_me: failed program was:" >&5
13512 sed 's/^/| /' conftest.
$ac_ext >&5
13514 ac_cv_member_struct_stat_st_blocks
=no
13516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13520 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
13521 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
13522 if test $ac_cv_member_struct_stat_st_blocks = yes; then
13524 cat >>confdefs.h
<<_ACEOF
13525 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13531 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
13532 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
13533 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
13534 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 cat >conftest.
$ac_ext <<_ACEOF
13539 cat confdefs.h
>>conftest.
$ac_ext
13540 cat >>conftest.
$ac_ext <<_ACEOF
13541 /* end confdefs.h. */
13542 $ac_includes_default
13546 static struct stat ac_aggr;
13547 if (ac_aggr.st_blksize)
13553 rm -f conftest.
$ac_objext
13554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13555 (eval $ac_compile) 2>conftest.er1
13557 grep -v '^ *+' conftest.er1
>conftest.err
13559 cat conftest.err
>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } &&
13562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; } &&
13568 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13574 ac_cv_member_struct_stat_st_blksize
=yes
13576 echo "$as_me: failed program was:" >&5
13577 sed 's/^/| /' conftest.
$ac_ext >&5
13579 cat >conftest.
$ac_ext <<_ACEOF
13582 cat confdefs.h
>>conftest.
$ac_ext
13583 cat >>conftest.
$ac_ext <<_ACEOF
13584 /* end confdefs.h. */
13585 $ac_includes_default
13589 static struct stat ac_aggr;
13590 if (sizeof ac_aggr.st_blksize)
13596 rm -f conftest.
$ac_objext
13597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13598 (eval $ac_compile) 2>conftest.er1
13600 grep -v '^ *+' conftest.er1
>conftest.err
13602 cat conftest.err
>&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); } &&
13605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; } &&
13611 { ac_try
='test -s conftest.$ac_objext'
13612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13613 (eval $ac_try) 2>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); }; }; then
13617 ac_cv_member_struct_stat_st_blksize
=yes
13619 echo "$as_me: failed program was:" >&5
13620 sed 's/^/| /' conftest.
$ac_ext >&5
13622 ac_cv_member_struct_stat_st_blksize
=no
13624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13628 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
13629 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
13630 if test $ac_cv_member_struct_stat_st_blksize = yes; then
13632 cat >>confdefs.h
<<_ACEOF
13633 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13640 # ------------------ #
13641 # Checks for types. #
13642 # ------------------ #
13644 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13645 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13646 if test "${ac_cv_type_signal+set}" = set; then
13647 echo $ECHO_N "(cached) $ECHO_C" >&6
13649 cat >conftest.
$ac_ext <<_ACEOF
13652 cat confdefs.h
>>conftest.
$ac_ext
13653 cat >>conftest.
$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13655 #include <sys/types.h>
13656 #include <signal.h>
13661 extern "C" void (*signal (int, void (*)(int)))(int);
13663 void (*signal ()) ();
13674 rm -f conftest.
$ac_objext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13676 (eval $ac_compile) 2>conftest.er1
13678 grep -v '^ *+' conftest.er1
>conftest.err
13680 cat conftest.err
>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); } &&
13683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; } &&
13689 { ac_try
='test -s conftest.$ac_objext'
13690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13691 (eval $ac_try) 2>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); }; }; then
13695 ac_cv_type_signal
=void
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.
$ac_ext >&5
13700 ac_cv_type_signal
=int
13702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13704 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13705 echo "${ECHO_T}$ac_cv_type_signal" >&6
13707 cat >>confdefs.h
<<_ACEOF
13708 #define RETSIGTYPE $ac_cv_type_signal
13712 echo "$as_me:$LINENO: checking for socklen_t" >&5
13713 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
13714 if test "${ac_cv_type_socklen_t+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 cat >conftest.
$ac_ext <<_ACEOF
13720 cat confdefs.h
>>conftest.
$ac_ext
13721 cat >>conftest.
$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #include <sys/types.h>
13724 #include <sys/socket.h>
13730 if ((socklen_t *) 0)
13732 if (sizeof (socklen_t))
13738 rm -f conftest.
$ac_objext
13739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13740 (eval $ac_compile) 2>conftest.er1
13742 grep -v '^ *+' conftest.er1
>conftest.err
13744 cat conftest.err
>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } &&
13747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; } &&
13753 { ac_try
='test -s conftest.$ac_objext'
13754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13755 (eval $ac_try) 2>&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); }; }; then
13759 ac_cv_type_socklen_t
=yes
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.
$ac_ext >&5
13764 ac_cv_type_socklen_t
=no
13766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13768 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
13769 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
13770 if test $ac_cv_type_socklen_t = yes; then
13772 cat >>confdefs.h
<<_ACEOF
13773 #define HAVE_SOCKLEN_T 1
13779 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13780 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13781 if test "${ac_cv_type_uintptr_t+set}" = set; then
13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 cat >conftest.
$ac_ext <<_ACEOF
13787 cat confdefs.h
>>conftest.
$ac_ext
13788 cat >>conftest.
$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13790 #include <stdint.h>
13795 if ((uintptr_t *) 0)
13797 if (sizeof (uintptr_t))
13803 rm -f conftest.
$ac_objext
13804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13805 (eval $ac_compile) 2>conftest.er1
13807 grep -v '^ *+' conftest.er1
>conftest.err
13809 cat conftest.err
>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; } &&
13818 { ac_try
='test -s conftest.$ac_objext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13824 ac_cv_type_uintptr_t
=yes
13826 echo "$as_me: failed program was:" >&5
13827 sed 's/^/| /' conftest.
$ac_ext >&5
13829 ac_cv_type_uintptr_t
=no
13831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13833 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13834 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13835 if test $ac_cv_type_uintptr_t = yes; then
13837 cat >>confdefs.h
<<_ACEOF
13838 #define HAVE_UINTPTR_T 1
13845 # ------------------------------------- #
13846 # Checks for compiler characteristics. #
13847 # ------------------------------------- #
13849 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13850 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13851 if test "${ac_cv_c_const+set}" = set; then
13852 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 cat >conftest.
$ac_ext <<_ACEOF
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13864 /* FIXME: Include the comments suggested by Paul. */
13865 #ifndef __cplusplus
13866 /* Ultrix mips cc rejects this. */
13867 typedef int charset[2];
13869 /* SunOS 4.1.1 cc rejects this. */
13870 char const *const *ccp;
13872 /* NEC SVR4.0.2 mips cc rejects this. */
13873 struct point {int x, y;};
13874 static struct point const zero = {0,0};
13875 /* AIX XL C 1.02.0.0 rejects this.
13876 It does not let you subtract one const X* pointer from another in
13877 an arm of an if-expression whose if-part is not a constant
13879 const char *g = "string";
13880 ccp = &g + (g ? g-g : 0);
13881 /* HPUX 7.0 cc rejects these. */
13884 ccp = (char const *const *) p;
13885 { /* SCO 3.2v4 cc rejects this. */
13887 char const *s = 0 ? (char *) 0 : (char const *) 0;
13891 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13892 int x[] = {25, 17};
13893 const int *foo = &x[0];
13896 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13897 typedef const int *iptr;
13901 { /* AIX XL C 1.02.0.0 rejects this saying
13902 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13903 struct s { int j; const int *ap[3]; };
13904 struct s *b; b->j = 5;
13906 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13907 const int foo = 10;
13915 rm -f conftest.
$ac_objext
13916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13917 (eval $ac_compile) 2>conftest.er1
13919 grep -v '^ *+' conftest.er1
>conftest.err
13921 cat conftest.err
>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } &&
13924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; } &&
13930 { ac_try
='test -s conftest.$ac_objext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.
$ac_ext >&5
13943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13945 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13946 echo "${ECHO_T}$ac_cv_c_const" >&6
13947 if test $ac_cv_c_const = no
; then
13949 cat >>confdefs.h
<<\_ACEOF
13955 echo "$as_me:$LINENO: checking for inline" >&5
13956 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13957 if test "${ac_cv_c_inline+set}" = set; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13961 for ac_kw
in inline __inline__ __inline
; do
13962 cat >conftest.
$ac_ext <<_ACEOF
13965 cat confdefs.h
>>conftest.
$ac_ext
13966 cat >>conftest.
$ac_ext <<_ACEOF
13967 /* end confdefs.h. */
13968 #ifndef __cplusplus
13970 static $ac_kw foo_t static_foo () {return 0; }
13971 $ac_kw foo_t foo () {return 0; }
13975 rm -f conftest.
$ac_objext
13976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13977 (eval $ac_compile) 2>conftest.er1
13979 grep -v '^ *+' conftest.er1
>conftest.err
13981 cat conftest.err
>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } &&
13984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986 (eval $ac_try) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; } &&
13990 { ac_try
='test -s conftest.$ac_objext'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; }; then
13996 ac_cv_c_inline
=$ac_kw; break
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.
$ac_ext >&5
14002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14006 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14007 echo "${ECHO_T}$ac_cv_c_inline" >&6
14010 case $ac_cv_c_inline in
14013 case $ac_cv_c_inline in
14015 *) ac_val
=$ac_cv_c_inline;;
14017 cat >>confdefs.h
<<_ACEOF
14018 #ifndef __cplusplus
14019 #define inline $ac_val
14026 # ------------------------------ #
14027 # Checks for library functions. #
14028 # ------------------------------ #
14030 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14031 # for constant arguments. Useless!
14032 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14033 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14034 if test "${ac_cv_working_alloca_h+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14037 cat >conftest.
$ac_ext <<_ACEOF
14040 cat confdefs.h
>>conftest.
$ac_ext
14041 cat >>conftest.
$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14043 #include <alloca.h>
14047 char *p = (char *) alloca (2 * sizeof (int));
14052 rm -f conftest.
$ac_objext conftest
$ac_exeext
14053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14054 (eval $ac_link) 2>conftest.er1
14056 grep -v '^ *+' conftest.er1
>conftest.err
14058 cat conftest.err
>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); } &&
14061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; } &&
14067 { ac_try
='test -s conftest$ac_exeext'
14068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14069 (eval $ac_try) 2>&5
14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072 (exit $ac_status); }; }; then
14073 ac_cv_working_alloca_h
=yes
14075 echo "$as_me: failed program was:" >&5
14076 sed 's/^/| /' conftest.
$ac_ext >&5
14078 ac_cv_working_alloca_h
=no
14080 rm -f conftest.err conftest.
$ac_objext \
14081 conftest
$ac_exeext conftest.
$ac_ext
14083 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
14084 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
14085 if test $ac_cv_working_alloca_h = yes; then
14087 cat >>confdefs.h
<<\_ACEOF
14088 #define HAVE_ALLOCA_H 1
14093 echo "$as_me:$LINENO: checking for alloca" >&5
14094 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
14095 if test "${ac_cv_func_alloca_works+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 cat >conftest.
$ac_ext <<_ACEOF
14101 cat confdefs.h
>>conftest.
$ac_ext
14102 cat >>conftest.
$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14105 # define alloca __builtin_alloca
14108 # include <malloc.h>
14109 # define alloca _alloca
14112 # include <alloca.h>
14117 # ifndef alloca /* predefined by HP cc +Olibcalls */
14128 char *p = (char *) alloca (1);
14133 rm -f conftest.
$ac_objext conftest
$ac_exeext
14134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14135 (eval $ac_link) 2>conftest.er1
14137 grep -v '^ *+' conftest.er1
>conftest.err
14139 cat conftest.err
>&5
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); } &&
14142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; } &&
14148 { ac_try
='test -s conftest$ac_exeext'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; }; then
14154 ac_cv_func_alloca_works
=yes
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.
$ac_ext >&5
14159 ac_cv_func_alloca_works
=no
14161 rm -f conftest.err conftest.
$ac_objext \
14162 conftest
$ac_exeext conftest.
$ac_ext
14164 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
14165 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
14167 if test $ac_cv_func_alloca_works = yes; then
14169 cat >>confdefs.h
<<\_ACEOF
14170 #define HAVE_ALLOCA 1
14174 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14175 # that cause trouble. Some versions do not even contain alloca or
14176 # contain a buggy version. If you still want to use their alloca,
14177 # use ar to extract alloca.o from them instead of compiling alloca.c.
14179 ALLOCA
=alloca.
$ac_objext
14181 cat >>confdefs.h
<<\_ACEOF
14186 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
14187 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
14188 if test "${ac_cv_os_cray+set}" = set; then
14189 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 cat >conftest.
$ac_ext <<_ACEOF
14194 cat confdefs.h
>>conftest.
$ac_ext
14195 cat >>conftest.
$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14197 #if defined(CRAY) && ! defined(CRAY2)
14204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14205 $EGREP "webecray" >/dev
/null
2>&1; then
14213 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14214 echo "${ECHO_T}$ac_cv_os_cray" >&6
14215 if test $ac_cv_os_cray = yes; then
14216 for ac_func
in _getb67 GETB67 getb67
; do
14217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14218 echo "$as_me:$LINENO: checking for $ac_func" >&5
14219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14220 if eval "test \"\${$as_ac_var+set}\" = set"; then
14221 echo $ECHO_N "(cached) $ECHO_C" >&6
14223 cat >conftest.
$ac_ext <<_ACEOF
14226 cat confdefs.h
>>conftest.
$ac_ext
14227 cat >>conftest.
$ac_ext <<_ACEOF
14228 /* end confdefs.h. */
14229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14231 #define $ac_func innocuous_$ac_func
14233 /* System header to define __stub macros and hopefully few prototypes,
14234 which can conflict with char $ac_func (); below.
14235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14236 <limits.h> exists even on freestanding compilers. */
14239 # include <limits.h>
14241 # include <assert.h>
14246 /* Override any gcc2 internal prototype to avoid an error. */
14251 /* We use char because int might match the return type of a gcc2
14252 builtin and then its argument prototype would still apply. */
14254 /* The GNU C library defines this for functions which it implements
14255 to always fail with ENOSYS. Some functions are actually named
14256 something starting with __ and the normal name is an alias. */
14257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14260 char (*f) () = $ac_func;
14269 return f != $ac_func;
14274 rm -f conftest.
$ac_objext conftest
$ac_exeext
14275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14276 (eval $ac_link) 2>conftest.er1
14278 grep -v '^ *+' conftest.er1
>conftest.err
14280 cat conftest.err
>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); } &&
14283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14285 (eval $ac_try) 2>&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); }; } &&
14289 { ac_try
='test -s conftest$ac_exeext'
14290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14291 (eval $ac_try) 2>&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); }; }; then
14295 eval "$as_ac_var=yes"
14297 echo "$as_me: failed program was:" >&5
14298 sed 's/^/| /' conftest.
$ac_ext >&5
14300 eval "$as_ac_var=no"
14302 rm -f conftest.err conftest.
$ac_objext \
14303 conftest
$ac_exeext conftest.
$ac_ext
14305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14307 if test `eval echo '${'$as_ac_var'}'` = yes; then
14309 cat >>confdefs.h
<<_ACEOF
14310 #define CRAY_STACKSEG_END $ac_func
14319 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14320 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14321 if test "${ac_cv_c_stack_direction+set}" = set; then
14322 echo $ECHO_N "(cached) $ECHO_C" >&6
14324 if test "$cross_compiling" = yes; then
14325 ac_cv_c_stack_direction
=0
14327 cat >conftest.
$ac_ext <<_ACEOF
14330 cat confdefs.h
>>conftest.
$ac_ext
14331 cat >>conftest.
$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14334 find_stack_direction ()
14336 static char *addr = 0;
14341 return find_stack_direction ();
14344 return (&dummy > addr) ? 1 : -1;
14350 exit (find_stack_direction () < 0);
14353 rm -f conftest
$ac_exeext
14354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14355 (eval $ac_link) 2>&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 ac_cv_c_stack_direction
=1
14366 echo "$as_me: program exited with status $ac_status" >&5
14367 echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.
$ac_ext >&5
14370 ( exit $ac_status )
14371 ac_cv_c_stack_direction
=-1
14373 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14376 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14377 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14379 cat >>confdefs.h
<<_ACEOF
14380 #define STACK_DIRECTION $ac_cv_c_stack_direction
14388 for ac_header
in stdlib.h unistd.h
14390 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14392 echo "$as_me:$LINENO: checking for $ac_header" >&5
14393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14400 # Is the header compilable?
14401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14403 cat >conftest.
$ac_ext <<_ACEOF
14406 cat confdefs.h
>>conftest.
$ac_ext
14407 cat >>conftest.
$ac_ext <<_ACEOF
14408 /* end confdefs.h. */
14409 $ac_includes_default
14410 #include <$ac_header>
14412 rm -f conftest.
$ac_objext
14413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14414 (eval $ac_compile) 2>conftest.er1
14416 grep -v '^ *+' conftest.er1
>conftest.err
14418 cat conftest.err
>&5
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); } &&
14421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423 (eval $ac_try) 2>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); }; } &&
14427 { ac_try
='test -s conftest.$ac_objext'
14428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 (eval $ac_try) 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; }; then
14433 ac_header_compiler
=yes
14435 echo "$as_me: failed program was:" >&5
14436 sed 's/^/| /' conftest.
$ac_ext >&5
14438 ac_header_compiler
=no
14440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14442 echo "${ECHO_T}$ac_header_compiler" >&6
14444 # Is the header present?
14445 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14447 cat >conftest.
$ac_ext <<_ACEOF
14450 cat confdefs.h
>>conftest.
$ac_ext
14451 cat >>conftest.
$ac_ext <<_ACEOF
14452 /* end confdefs.h. */
14453 #include <$ac_header>
14455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14458 grep -v '^ *+' conftest.er1
>conftest.err
14460 cat conftest.err
>&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } >/dev
/null
; then
14463 if test -s conftest.err
; then
14464 ac_cpp_err
=$ac_c_preproc_warn_flag
14465 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14472 if test -z "$ac_cpp_err"; then
14473 ac_header_preproc
=yes
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.
$ac_ext >&5
14478 ac_header_preproc
=no
14480 rm -f conftest.err conftest.
$ac_ext
14481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14482 echo "${ECHO_T}$ac_header_preproc" >&6
14484 # So? What about this header?
14485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14487 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14488 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14490 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14491 ac_header_preproc
=yes
14494 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14495 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14496 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14497 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14498 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14499 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14500 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14501 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14504 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14505 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14508 ## ------------------------------------------ ##
14509 ## Report this to the AC_PACKAGE_NAME lists. ##
14510 ## ------------------------------------------ ##
14513 sed "s/^/$as_me: WARNING: /" >&2
14516 echo "$as_me:$LINENO: checking for $ac_header" >&5
14517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 eval "$as_ac_Header=\$ac_header_preproc"
14523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14528 cat >>confdefs.h
<<_ACEOF
14529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14537 for ac_func
in getpagesize
14539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14540 echo "$as_me:$LINENO: checking for $ac_func" >&5
14541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14542 if eval "test \"\${$as_ac_var+set}\" = set"; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14545 cat >conftest.
$ac_ext <<_ACEOF
14548 cat confdefs.h
>>conftest.
$ac_ext
14549 cat >>conftest.
$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14553 #define $ac_func innocuous_$ac_func
14555 /* System header to define __stub macros and hopefully few prototypes,
14556 which can conflict with char $ac_func (); below.
14557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14558 <limits.h> exists even on freestanding compilers. */
14561 # include <limits.h>
14563 # include <assert.h>
14568 /* Override any gcc2 internal prototype to avoid an error. */
14573 /* We use char because int might match the return type of a gcc2
14574 builtin and then its argument prototype would still apply. */
14576 /* The GNU C library defines this for functions which it implements
14577 to always fail with ENOSYS. Some functions are actually named
14578 something starting with __ and the normal name is an alias. */
14579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14582 char (*f) () = $ac_func;
14591 return f != $ac_func;
14596 rm -f conftest.
$ac_objext conftest
$ac_exeext
14597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14598 (eval $ac_link) 2>conftest.er1
14600 grep -v '^ *+' conftest.er1
>conftest.err
14602 cat conftest.err
>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } &&
14605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; } &&
14611 { ac_try
='test -s conftest$ac_exeext'
14612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 (eval $ac_try) 2>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; }; then
14617 eval "$as_ac_var=yes"
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.
$ac_ext >&5
14622 eval "$as_ac_var=no"
14624 rm -f conftest.err conftest.
$ac_objext \
14625 conftest
$ac_exeext conftest.
$ac_ext
14627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14629 if test `eval echo '${'$as_ac_var'}'` = yes; then
14630 cat >>confdefs.h
<<_ACEOF
14631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14637 echo "$as_me:$LINENO: checking for working mmap" >&5
14638 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14639 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14640 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 if test "$cross_compiling" = yes; then
14643 ac_cv_func_mmap_fixed_mapped
=no
14645 cat >conftest.
$ac_ext <<_ACEOF
14648 cat confdefs.h
>>conftest.
$ac_ext
14649 cat >>conftest.
$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14651 $ac_includes_default
14652 /* malloc might have been renamed as rpl_malloc. */
14655 /* Thanks to Mike Haertel and Jim Avera for this test.
14656 Here is a matrix of mmap possibilities:
14657 mmap private not fixed
14658 mmap private fixed at somewhere currently unmapped
14659 mmap private fixed at somewhere already mapped
14660 mmap shared not fixed
14661 mmap shared fixed at somewhere currently unmapped
14662 mmap shared fixed at somewhere already mapped
14663 For private mappings, we should verify that changes cannot be read()
14664 back from the file, nor mmap's back from the file at a different
14665 address. (There have been systems where private was not correctly
14666 implemented like the infamous i386 svr4.0, and systems where the
14667 VM page cache was not coherent with the file system buffer cache
14668 like early versions of FreeBSD and possibly contemporary NetBSD.)
14669 For shared mappings, we should conversely verify that changes get
14670 propagated back to all the places they're supposed to be.
14672 Grep wants private fixed already mapped.
14673 The main things grep needs to know about mmap are:
14674 * does it exist and is it safe to write into the mmap'd area
14675 * how to use it (BSD variants) */
14678 #include <sys/mman.h>
14680 #if !STDC_HEADERS && !HAVE_STDLIB_H
14684 /* This mess was copied from the GNU getpagesize.h. */
14685 #if !HAVE_GETPAGESIZE
14686 /* Assume that all systems that can run configure have sys/param.h. */
14687 # if !HAVE_SYS_PARAM_H
14688 # define HAVE_SYS_PARAM_H 1
14691 # ifdef _SC_PAGESIZE
14692 # define getpagesize() sysconf(_SC_PAGESIZE)
14693 # else /* no _SC_PAGESIZE */
14694 # if HAVE_SYS_PARAM_H
14695 # include <sys/param.h>
14696 # ifdef EXEC_PAGESIZE
14697 # define getpagesize() EXEC_PAGESIZE
14698 # else /* no EXEC_PAGESIZE */
14700 # define getpagesize() NBPG * CLSIZE
14703 # endif /* no CLSIZE */
14704 # else /* no NBPG */
14706 # define getpagesize() NBPC
14707 # else /* no NBPC */
14709 # define getpagesize() PAGESIZE
14710 # endif /* PAGESIZE */
14711 # endif /* no NBPC */
14712 # endif /* no NBPG */
14713 # endif /* no EXEC_PAGESIZE */
14714 # else /* no HAVE_SYS_PARAM_H */
14715 # define getpagesize() 8192 /* punt totally */
14716 # endif /* no HAVE_SYS_PARAM_H */
14717 # endif /* no _SC_PAGESIZE */
14719 #endif /* no HAVE_GETPAGESIZE */
14724 char *data, *data2, *data3;
14728 pagesize = getpagesize ();
14730 /* First, make a file with some known garbage in it. */
14731 data = (char *) malloc (pagesize);
14734 for (i = 0; i < pagesize; ++i)
14735 *(data + i) = rand ();
14737 fd = creat ("conftest.mmap", 0600);
14740 if (write (fd, data, pagesize) != pagesize)
14744 /* Next, try to mmap the file at a fixed address which already has
14745 something else allocated at it. If we can, also make sure that
14746 we see the same garbage. */
14747 fd = open ("conftest.mmap", O_RDWR);
14750 data2 = (char *) malloc (2 * pagesize);
14753 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14754 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14755 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14757 for (i = 0; i < pagesize; ++i)
14758 if (*(data + i) != *(data2 + i))
14761 /* Finally, make sure that changes to the mapped area do not
14762 percolate back to the file as seen by read(). (This is a bug on
14763 some variants of i386 svr4.0.) */
14764 for (i = 0; i < pagesize; ++i)
14765 *(data2 + i) = *(data2 + i) + 1;
14766 data3 = (char *) malloc (pagesize);
14769 if (read (fd, data3, pagesize) != pagesize)
14771 for (i = 0; i < pagesize; ++i)
14772 if (*(data + i) != *(data3 + i))
14778 rm -f conftest
$ac_exeext
14779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14780 (eval $ac_link) 2>&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; }; then
14789 ac_cv_func_mmap_fixed_mapped
=yes
14791 echo "$as_me: program exited with status $ac_status" >&5
14792 echo "$as_me: failed program was:" >&5
14793 sed 's/^/| /' conftest.
$ac_ext >&5
14795 ( exit $ac_status )
14796 ac_cv_func_mmap_fixed_mapped
=no
14798 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14801 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14802 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14803 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14805 cat >>confdefs.h
<<\_ACEOF
14806 #define HAVE_MMAP 1
14810 rm -f conftest.mmap
14812 echo "$as_me:$LINENO: checking for pid_t" >&5
14813 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14814 if test "${ac_cv_type_pid_t+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14817 cat >conftest.
$ac_ext <<_ACEOF
14820 cat confdefs.h
>>conftest.
$ac_ext
14821 cat >>conftest.
$ac_ext <<_ACEOF
14822 /* end confdefs.h. */
14823 $ac_includes_default
14829 if (sizeof (pid_t))
14835 rm -f conftest.
$ac_objext
14836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14837 (eval $ac_compile) 2>conftest.er1
14839 grep -v '^ *+' conftest.er1
>conftest.err
14841 cat conftest.err
>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } &&
14844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14846 (eval $ac_try) 2>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }; } &&
14850 { ac_try
='test -s conftest.$ac_objext'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; }; then
14856 ac_cv_type_pid_t
=yes
14858 echo "$as_me: failed program was:" >&5
14859 sed 's/^/| /' conftest.
$ac_ext >&5
14861 ac_cv_type_pid_t
=no
14863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14865 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14866 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14867 if test $ac_cv_type_pid_t = yes; then
14871 cat >>confdefs.h
<<_ACEOF
14879 for ac_header
in unistd.h vfork.h
14881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14883 echo "$as_me:$LINENO: checking for $ac_header" >&5
14884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14891 # Is the header compilable?
14892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14894 cat >conftest.
$ac_ext <<_ACEOF
14897 cat confdefs.h
>>conftest.
$ac_ext
14898 cat >>conftest.
$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 $ac_includes_default
14901 #include <$ac_header>
14903 rm -f conftest.
$ac_objext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>conftest.er1
14907 grep -v '^ *+' conftest.er1
>conftest.err
14909 cat conftest.err
>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; } &&
14918 { ac_try
='test -s conftest.$ac_objext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14924 ac_header_compiler
=yes
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.
$ac_ext >&5
14929 ac_header_compiler
=no
14931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14933 echo "${ECHO_T}$ac_header_compiler" >&6
14935 # Is the header present?
14936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14938 cat >conftest.
$ac_ext <<_ACEOF
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 #include <$ac_header>
14946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14949 grep -v '^ *+' conftest.er1
>conftest.err
14951 cat conftest.err
>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } >/dev
/null
; then
14954 if test -s conftest.err
; then
14955 ac_cpp_err
=$ac_c_preproc_warn_flag
14956 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14963 if test -z "$ac_cpp_err"; then
14964 ac_header_preproc
=yes
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.
$ac_ext >&5
14969 ac_header_preproc
=no
14971 rm -f conftest.err conftest.
$ac_ext
14972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14973 echo "${ECHO_T}$ac_header_preproc" >&6
14975 # So? What about this header?
14976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14982 ac_header_preproc
=yes
14985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14999 ## ------------------------------------------ ##
15000 ## Report this to the AC_PACKAGE_NAME lists. ##
15001 ## ------------------------------------------ ##
15004 sed "s/^/$as_me: WARNING: /" >&2
15007 echo "$as_me:$LINENO: checking for $ac_header" >&5
15008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 eval "$as_ac_Header=\$ac_header_preproc"
15014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15019 cat >>confdefs.h
<<_ACEOF
15020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15029 for ac_func
in fork vfork
15031 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15032 echo "$as_me:$LINENO: checking for $ac_func" >&5
15033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15034 if eval "test \"\${$as_ac_var+set}\" = set"; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15037 cat >conftest.
$ac_ext <<_ACEOF
15040 cat confdefs.h
>>conftest.
$ac_ext
15041 cat >>conftest.
$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15045 #define $ac_func innocuous_$ac_func
15047 /* System header to define __stub macros and hopefully few prototypes,
15048 which can conflict with char $ac_func (); below.
15049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15050 <limits.h> exists even on freestanding compilers. */
15053 # include <limits.h>
15055 # include <assert.h>
15060 /* Override any gcc2 internal prototype to avoid an error. */
15065 /* We use char because int might match the return type of a gcc2
15066 builtin and then its argument prototype would still apply. */
15068 /* The GNU C library defines this for functions which it implements
15069 to always fail with ENOSYS. Some functions are actually named
15070 something starting with __ and the normal name is an alias. */
15071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15074 char (*f) () = $ac_func;
15083 return f != $ac_func;
15088 rm -f conftest.
$ac_objext conftest
$ac_exeext
15089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15090 (eval $ac_link) 2>conftest.er1
15092 grep -v '^ *+' conftest.er1
>conftest.err
15094 cat conftest.err
>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } &&
15097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15099 (eval $ac_try) 2>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; } &&
15103 { ac_try
='test -s conftest$ac_exeext'
15104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15105 (eval $ac_try) 2>&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); }; }; then
15109 eval "$as_ac_var=yes"
15111 echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.
$ac_ext >&5
15114 eval "$as_ac_var=no"
15116 rm -f conftest.err conftest.
$ac_objext \
15117 conftest
$ac_exeext conftest.
$ac_ext
15119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15121 if test `eval echo '${'$as_ac_var'}'` = yes; then
15122 cat >>confdefs.h
<<_ACEOF
15123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15129 if test "x$ac_cv_func_fork" = xyes
; then
15130 echo "$as_me:$LINENO: checking for working fork" >&5
15131 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
15132 if test "${ac_cv_func_fork_works+set}" = set; then
15133 echo $ECHO_N "(cached) $ECHO_C" >&6
15135 if test "$cross_compiling" = yes; then
15136 ac_cv_func_fork_works
=cross
15138 cat >conftest.
$ac_ext <<_ACEOF
15141 cat confdefs.h
>>conftest.
$ac_ext
15142 cat >>conftest.
$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144 $ac_includes_default
15149 /* By Ruediger Kuhlmann. */
15158 rm -f conftest
$ac_exeext
15159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15160 (eval $ac_link) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165 (eval $ac_try) 2>&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }; }; then
15169 ac_cv_func_fork_works
=yes
15171 echo "$as_me: program exited with status $ac_status" >&5
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.
$ac_ext >&5
15175 ( exit $ac_status )
15176 ac_cv_func_fork_works
=no
15178 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15181 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
15182 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
15185 ac_cv_func_fork_works
=$ac_cv_func_fork
15187 if test "x$ac_cv_func_fork_works" = xcross
; then
15189 *-*-amigaos* |
*-*-msdosdjgpp*)
15190 # Override, as these systems have only a dummy fork() stub
15191 ac_cv_func_fork_works
=no
15194 ac_cv_func_fork_works
=yes
15197 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
15198 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
15200 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15201 if test "x$ac_cv_func_vfork" = xyes
; then
15202 echo "$as_me:$LINENO: checking for working vfork" >&5
15203 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
15204 if test "${ac_cv_func_vfork_works+set}" = set; then
15205 echo $ECHO_N "(cached) $ECHO_C" >&6
15207 if test "$cross_compiling" = yes; then
15208 ac_cv_func_vfork_works
=cross
15210 cat >conftest.
$ac_ext <<_ACEOF
15213 cat confdefs.h
>>conftest.
$ac_ext
15214 cat >>conftest.
$ac_ext <<_ACEOF
15215 /* end confdefs.h. */
15216 /* Thanks to Paul Eggert for this test. */
15218 #include <stdlib.h>
15219 #include <sys/types.h>
15220 #include <sys/stat.h>
15221 #include <sys/wait.h>
15223 # include <unistd.h>
15226 # include <vfork.h>
15228 /* On some sparc systems, changes by the child to local and incoming
15229 argument registers are propagated back to the parent. The compiler
15230 is told about this with #include <vfork.h>, but some compilers
15231 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
15232 static variable whose address is put into a register that is
15233 clobbered by the vfork. */
15236 sparc_address_test (int arg)
15238 sparc_address_test (arg) int arg;
15241 static pid_t child;
15259 pid_t parent = getpid ();
15262 sparc_address_test (0);
15267 /* Here is another test for sparc vfork register problems. This
15268 test uses lots of local variables, at least as many local
15269 variables as main has allocated so far including compiler
15270 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
15271 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
15272 reuse the register of parent for one of the local variables,
15273 since it will think that parent can't possibly be used any more
15274 in this routine. Assigning to the local variable will thus
15275 munge parent in the parent process. */
15277 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
15278 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
15279 /* Convince the compiler that p..p7 are live; otherwise, it might
15280 use the same hardware register for all 8 local variables. */
15281 if (p != p1 || p != p2 || p != p3 || p != p4
15282 || p != p5 || p != p6 || p != p7)
15285 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
15286 from child file descriptors. If the child closes a descriptor
15287 before it execs or exits, this munges the parent's descriptor
15288 as well. Test for this by closing stdout in the child. */
15289 _exit(close(fileno(stdout)) != 0);
15294 while (wait(&status) != child)
15297 /* Was there some problem with vforking? */
15300 /* Did the child fail? (This shouldn't happen.) */
15303 /* Did the vfork/compiler bug occur? */
15304 || parent != getpid()
15306 /* Did the file descriptor bug occur? */
15307 || fstat(fileno(stdout), &st) != 0
15312 rm -f conftest
$ac_exeext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15314 (eval $ac_link) 2>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 ac_cv_func_vfork_works
=yes
15325 echo "$as_me: program exited with status $ac_status" >&5
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.
$ac_ext >&5
15329 ( exit $ac_status )
15330 ac_cv_func_vfork_works
=no
15332 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15335 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
15336 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
15339 if test "x$ac_cv_func_fork_works" = xcross
; then
15340 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15341 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
15342 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
15345 if test "x$ac_cv_func_vfork_works" = xyes
; then
15347 cat >>confdefs.h
<<\_ACEOF
15348 #define HAVE_WORKING_VFORK 1
15353 cat >>confdefs.h
<<\_ACEOF
15358 if test "x$ac_cv_func_fork_works" = xyes
; then
15360 cat >>confdefs.h
<<\_ACEOF
15361 #define HAVE_WORKING_FORK 1
15368 for ac_func
in canonicalize_file_name realpath
15370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15371 echo "$as_me:$LINENO: checking for $ac_func" >&5
15372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15373 if eval "test \"\${$as_ac_var+set}\" = set"; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 cat >conftest.
$ac_ext <<_ACEOF
15379 cat confdefs.h
>>conftest.
$ac_ext
15380 cat >>conftest.
$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15384 #define $ac_func innocuous_$ac_func
15386 /* System header to define __stub macros and hopefully few prototypes,
15387 which can conflict with char $ac_func (); below.
15388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15389 <limits.h> exists even on freestanding compilers. */
15392 # include <limits.h>
15394 # include <assert.h>
15399 /* Override any gcc2 internal prototype to avoid an error. */
15404 /* We use char because int might match the return type of a gcc2
15405 builtin and then its argument prototype would still apply. */
15407 /* The GNU C library defines this for functions which it implements
15408 to always fail with ENOSYS. Some functions are actually named
15409 something starting with __ and the normal name is an alias. */
15410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15413 char (*f) () = $ac_func;
15422 return f != $ac_func;
15427 rm -f conftest.
$ac_objext conftest
$ac_exeext
15428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15429 (eval $ac_link) 2>conftest.er1
15431 grep -v '^ *+' conftest.er1
>conftest.err
15433 cat conftest.err
>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } &&
15436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; } &&
15442 { ac_try
='test -s conftest$ac_exeext'
15443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15444 (eval $ac_try) 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; }; then
15448 eval "$as_ac_var=yes"
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.
$ac_ext >&5
15453 eval "$as_ac_var=no"
15455 rm -f conftest.err conftest.
$ac_objext \
15456 conftest
$ac_exeext conftest.
$ac_ext
15458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15460 if test `eval echo '${'$as_ac_var'}'` = yes; then
15461 cat >>confdefs.h
<<_ACEOF
15462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15470 for ac_func
in getuid getgid
15472 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15473 echo "$as_me:$LINENO: checking for $ac_func" >&5
15474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15475 if eval "test \"\${$as_ac_var+set}\" = set"; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 cat >conftest.
$ac_ext <<_ACEOF
15481 cat confdefs.h
>>conftest.
$ac_ext
15482 cat >>conftest.
$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15486 #define $ac_func innocuous_$ac_func
15488 /* System header to define __stub macros and hopefully few prototypes,
15489 which can conflict with char $ac_func (); below.
15490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15491 <limits.h> exists even on freestanding compilers. */
15494 # include <limits.h>
15496 # include <assert.h>
15501 /* Override any gcc2 internal prototype to avoid an error. */
15506 /* We use char because int might match the return type of a gcc2
15507 builtin and then its argument prototype would still apply. */
15509 /* The GNU C library defines this for functions which it implements
15510 to always fail with ENOSYS. Some functions are actually named
15511 something starting with __ and the normal name is an alias. */
15512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15515 char (*f) () = $ac_func;
15524 return f != $ac_func;
15529 rm -f conftest.
$ac_objext conftest
$ac_exeext
15530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15531 (eval $ac_link) 2>conftest.er1
15533 grep -v '^ *+' conftest.er1
>conftest.err
15535 cat conftest.err
>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } &&
15538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; } &&
15544 { ac_try
='test -s conftest$ac_exeext'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; }; then
15550 eval "$as_ac_var=yes"
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.
$ac_ext >&5
15555 eval "$as_ac_var=no"
15557 rm -f conftest.err conftest.
$ac_objext \
15558 conftest
$ac_exeext conftest.
$ac_ext
15560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15562 if test `eval echo '${'$as_ac_var'}'` = yes; then
15563 cat >>confdefs.h
<<_ACEOF
15564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15571 for ac_func
in poll
15573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15574 echo "$as_me:$LINENO: checking for $ac_func" >&5
15575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15576 if eval "test \"\${$as_ac_var+set}\" = set"; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 cat >conftest.
$ac_ext <<_ACEOF
15582 cat confdefs.h
>>conftest.
$ac_ext
15583 cat >>conftest.
$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15587 #define $ac_func innocuous_$ac_func
15589 /* System header to define __stub macros and hopefully few prototypes,
15590 which can conflict with char $ac_func (); below.
15591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15592 <limits.h> exists even on freestanding compilers. */
15595 # include <limits.h>
15597 # include <assert.h>
15602 /* Override any gcc2 internal prototype to avoid an error. */
15607 /* We use char because int might match the return type of a gcc2
15608 builtin and then its argument prototype would still apply. */
15610 /* The GNU C library defines this for functions which it implements
15611 to always fail with ENOSYS. Some functions are actually named
15612 something starting with __ and the normal name is an alias. */
15613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15616 char (*f) () = $ac_func;
15625 return f != $ac_func;
15630 rm -f conftest.
$ac_objext conftest
$ac_exeext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15632 (eval $ac_link) 2>conftest.er1
15634 grep -v '^ *+' conftest.er1
>conftest.err
15636 cat conftest.err
>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } &&
15639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; } &&
15645 { ac_try
='test -s conftest$ac_exeext'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; }; then
15651 eval "$as_ac_var=yes"
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.
$ac_ext >&5
15656 eval "$as_ac_var=no"
15658 rm -f conftest.err conftest.
$ac_objext \
15659 conftest
$ac_exeext conftest.
$ac_ext
15661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15663 if test `eval echo '${'$as_ac_var'}'` = yes; then
15664 cat >>confdefs.h
<<_ACEOF
15665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15672 for ac_func
in pread64
15674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15675 echo "$as_me:$LINENO: checking for $ac_func" >&5
15676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15677 if eval "test \"\${$as_ac_var+set}\" = set"; then
15678 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 cat >conftest.
$ac_ext <<_ACEOF
15683 cat confdefs.h
>>conftest.
$ac_ext
15684 cat >>conftest.
$ac_ext <<_ACEOF
15685 /* end confdefs.h. */
15686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15688 #define $ac_func innocuous_$ac_func
15690 /* System header to define __stub macros and hopefully few prototypes,
15691 which can conflict with char $ac_func (); below.
15692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15693 <limits.h> exists even on freestanding compilers. */
15696 # include <limits.h>
15698 # include <assert.h>
15703 /* Override any gcc2 internal prototype to avoid an error. */
15708 /* We use char because int might match the return type of a gcc2
15709 builtin and then its argument prototype would still apply. */
15711 /* The GNU C library defines this for functions which it implements
15712 to always fail with ENOSYS. Some functions are actually named
15713 something starting with __ and the normal name is an alias. */
15714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15717 char (*f) () = $ac_func;
15726 return f != $ac_func;
15731 rm -f conftest.
$ac_objext conftest
$ac_exeext
15732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15733 (eval $ac_link) 2>conftest.er1
15735 grep -v '^ *+' conftest.er1
>conftest.err
15737 cat conftest.err
>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; } &&
15746 { ac_try
='test -s conftest$ac_exeext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15752 eval "$as_ac_var=yes"
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.
$ac_ext >&5
15757 eval "$as_ac_var=no"
15759 rm -f conftest.err conftest.
$ac_objext \
15760 conftest
$ac_exeext conftest.
$ac_ext
15762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15764 if test `eval echo '${'$as_ac_var'}'` = yes; then
15765 cat >>confdefs.h
<<_ACEOF
15766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15773 for ac_func
in sbrk
15775 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15776 echo "$as_me:$LINENO: checking for $ac_func" >&5
15777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15778 if eval "test \"\${$as_ac_var+set}\" = set"; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15781 cat >conftest.
$ac_ext <<_ACEOF
15784 cat confdefs.h
>>conftest.
$ac_ext
15785 cat >>conftest.
$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15789 #define $ac_func innocuous_$ac_func
15791 /* System header to define __stub macros and hopefully few prototypes,
15792 which can conflict with char $ac_func (); below.
15793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15794 <limits.h> exists even on freestanding compilers. */
15797 # include <limits.h>
15799 # include <assert.h>
15804 /* Override any gcc2 internal prototype to avoid an error. */
15809 /* We use char because int might match the return type of a gcc2
15810 builtin and then its argument prototype would still apply. */
15812 /* The GNU C library defines this for functions which it implements
15813 to always fail with ENOSYS. Some functions are actually named
15814 something starting with __ and the normal name is an alias. */
15815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15818 char (*f) () = $ac_func;
15827 return f != $ac_func;
15832 rm -f conftest.
$ac_objext conftest
$ac_exeext
15833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15834 (eval $ac_link) 2>conftest.er1
15836 grep -v '^ *+' conftest.er1
>conftest.err
15838 cat conftest.err
>&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); } &&
15841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15843 (eval $ac_try) 2>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); }; } &&
15847 { ac_try
='test -s conftest$ac_exeext'
15848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15849 (eval $ac_try) 2>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); }; }; then
15853 eval "$as_ac_var=yes"
15855 echo "$as_me: failed program was:" >&5
15856 sed 's/^/| /' conftest.
$ac_ext >&5
15858 eval "$as_ac_var=no"
15860 rm -f conftest.err conftest.
$ac_objext \
15861 conftest
$ac_exeext conftest.
$ac_ext
15863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15865 if test `eval echo '${'$as_ac_var'}'` = yes; then
15866 cat >>confdefs.h
<<_ACEOF
15867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15875 for ac_func
in setpgid setpgrp
15877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15878 echo "$as_me:$LINENO: checking for $ac_func" >&5
15879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15880 if eval "test \"\${$as_ac_var+set}\" = set"; then
15881 echo $ECHO_N "(cached) $ECHO_C" >&6
15883 cat >conftest.
$ac_ext <<_ACEOF
15886 cat confdefs.h
>>conftest.
$ac_ext
15887 cat >>conftest.
$ac_ext <<_ACEOF
15888 /* end confdefs.h. */
15889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15891 #define $ac_func innocuous_$ac_func
15893 /* System header to define __stub macros and hopefully few prototypes,
15894 which can conflict with char $ac_func (); below.
15895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15896 <limits.h> exists even on freestanding compilers. */
15899 # include <limits.h>
15901 # include <assert.h>
15906 /* Override any gcc2 internal prototype to avoid an error. */
15911 /* We use char because int might match the return type of a gcc2
15912 builtin and then its argument prototype would still apply. */
15914 /* The GNU C library defines this for functions which it implements
15915 to always fail with ENOSYS. Some functions are actually named
15916 something starting with __ and the normal name is an alias. */
15917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15920 char (*f) () = $ac_func;
15929 return f != $ac_func;
15934 rm -f conftest.
$ac_objext conftest
$ac_exeext
15935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15936 (eval $ac_link) 2>conftest.er1
15938 grep -v '^ *+' conftest.er1
>conftest.err
15940 cat conftest.err
>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; } &&
15949 { ac_try
='test -s conftest$ac_exeext'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; }; then
15955 eval "$as_ac_var=yes"
15957 echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.
$ac_ext >&5
15960 eval "$as_ac_var=no"
15962 rm -f conftest.err conftest.
$ac_objext \
15963 conftest
$ac_exeext conftest.
$ac_ext
15965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15967 if test `eval echo '${'$as_ac_var'}'` = yes; then
15968 cat >>confdefs.h
<<_ACEOF
15969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15978 for ac_func
in sigaction sigprocmask sigsetmask
15980 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15981 echo "$as_me:$LINENO: checking for $ac_func" >&5
15982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15983 if eval "test \"\${$as_ac_var+set}\" = set"; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15986 cat >conftest.
$ac_ext <<_ACEOF
15989 cat confdefs.h
>>conftest.
$ac_ext
15990 cat >>conftest.
$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15994 #define $ac_func innocuous_$ac_func
15996 /* System header to define __stub macros and hopefully few prototypes,
15997 which can conflict with char $ac_func (); below.
15998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15999 <limits.h> exists even on freestanding compilers. */
16002 # include <limits.h>
16004 # include <assert.h>
16009 /* Override any gcc2 internal prototype to avoid an error. */
16014 /* We use char because int might match the return type of a gcc2
16015 builtin and then its argument prototype would still apply. */
16017 /* The GNU C library defines this for functions which it implements
16018 to always fail with ENOSYS. Some functions are actually named
16019 something starting with __ and the normal name is an alias. */
16020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16023 char (*f) () = $ac_func;
16032 return f != $ac_func;
16037 rm -f conftest.
$ac_objext conftest
$ac_exeext
16038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16039 (eval $ac_link) 2>conftest.er1
16041 grep -v '^ *+' conftest.er1
>conftest.err
16043 cat conftest.err
>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); } &&
16046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; } &&
16052 { ac_try
='test -s conftest$ac_exeext'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; }; then
16058 eval "$as_ac_var=yes"
16060 echo "$as_me: failed program was:" >&5
16061 sed 's/^/| /' conftest.
$ac_ext >&5
16063 eval "$as_ac_var=no"
16065 rm -f conftest.err conftest.
$ac_objext \
16066 conftest
$ac_exeext conftest.
$ac_ext
16068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16070 if test `eval echo '${'$as_ac_var'}'` = yes; then
16071 cat >>confdefs.h
<<_ACEOF
16072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16079 for ac_func
in socketpair
16081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16082 echo "$as_me:$LINENO: checking for $ac_func" >&5
16083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16084 if eval "test \"\${$as_ac_var+set}\" = set"; then
16085 echo $ECHO_N "(cached) $ECHO_C" >&6
16087 cat >conftest.
$ac_ext <<_ACEOF
16090 cat confdefs.h
>>conftest.
$ac_ext
16091 cat >>conftest.
$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16095 #define $ac_func innocuous_$ac_func
16097 /* System header to define __stub macros and hopefully few prototypes,
16098 which can conflict with char $ac_func (); below.
16099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16100 <limits.h> exists even on freestanding compilers. */
16103 # include <limits.h>
16105 # include <assert.h>
16110 /* Override any gcc2 internal prototype to avoid an error. */
16115 /* We use char because int might match the return type of a gcc2
16116 builtin and then its argument prototype would still apply. */
16118 /* The GNU C library defines this for functions which it implements
16119 to always fail with ENOSYS. Some functions are actually named
16120 something starting with __ and the normal name is an alias. */
16121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16124 char (*f) () = $ac_func;
16133 return f != $ac_func;
16138 rm -f conftest.
$ac_objext conftest
$ac_exeext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16140 (eval $ac_link) 2>conftest.er1
16142 grep -v '^ *+' conftest.er1
>conftest.err
16144 cat conftest.err
>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try
='test -s conftest$ac_exeext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159 eval "$as_ac_var=yes"
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.
$ac_ext >&5
16164 eval "$as_ac_var=no"
16166 rm -f conftest.err conftest.
$ac_objext \
16167 conftest
$ac_exeext conftest.
$ac_ext
16169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16171 if test `eval echo '${'$as_ac_var'}'` = yes; then
16172 cat >>confdefs.h
<<_ACEOF
16173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16180 for ac_func
in syscall
16182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16183 echo "$as_me:$LINENO: checking for $ac_func" >&5
16184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16185 if eval "test \"\${$as_ac_var+set}\" = set"; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16196 #define $ac_func innocuous_$ac_func
16198 /* System header to define __stub macros and hopefully few prototypes,
16199 which can conflict with char $ac_func (); below.
16200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16201 <limits.h> exists even on freestanding compilers. */
16204 # include <limits.h>
16206 # include <assert.h>
16211 /* Override any gcc2 internal prototype to avoid an error. */
16216 /* We use char because int might match the return type of a gcc2
16217 builtin and then its argument prototype would still apply. */
16219 /* The GNU C library defines this for functions which it implements
16220 to always fail with ENOSYS. Some functions are actually named
16221 something starting with __ and the normal name is an alias. */
16222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16225 char (*f) () = $ac_func;
16234 return f != $ac_func;
16239 rm -f conftest.
$ac_objext conftest
$ac_exeext
16240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16241 (eval $ac_link) 2>conftest.er1
16243 grep -v '^ *+' conftest.er1
>conftest.err
16245 cat conftest.err
>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } &&
16248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; } &&
16254 { ac_try
='test -s conftest$ac_exeext'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; }; then
16260 eval "$as_ac_var=yes"
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.
$ac_ext >&5
16265 eval "$as_ac_var=no"
16267 rm -f conftest.err conftest.
$ac_objext \
16268 conftest
$ac_exeext conftest.
$ac_ext
16270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16272 if test `eval echo '${'$as_ac_var'}'` = yes; then
16273 cat >>confdefs.h
<<_ACEOF
16274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16281 for ac_func
in ttrace
16283 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16284 echo "$as_me:$LINENO: checking for $ac_func" >&5
16285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16286 if eval "test \"\${$as_ac_var+set}\" = set"; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 cat >conftest.
$ac_ext <<_ACEOF
16292 cat confdefs.h
>>conftest.
$ac_ext
16293 cat >>conftest.
$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16297 #define $ac_func innocuous_$ac_func
16299 /* System header to define __stub macros and hopefully few prototypes,
16300 which can conflict with char $ac_func (); below.
16301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16302 <limits.h> exists even on freestanding compilers. */
16305 # include <limits.h>
16307 # include <assert.h>
16312 /* Override any gcc2 internal prototype to avoid an error. */
16317 /* We use char because int might match the return type of a gcc2
16318 builtin and then its argument prototype would still apply. */
16320 /* The GNU C library defines this for functions which it implements
16321 to always fail with ENOSYS. Some functions are actually named
16322 something starting with __ and the normal name is an alias. */
16323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16326 char (*f) () = $ac_func;
16335 return f != $ac_func;
16340 rm -f conftest.
$ac_objext conftest
$ac_exeext
16341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16342 (eval $ac_link) 2>conftest.er1
16344 grep -v '^ *+' conftest.er1
>conftest.err
16346 cat conftest.err
>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } &&
16349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; } &&
16355 { ac_try
='test -s conftest$ac_exeext'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; }; then
16361 eval "$as_ac_var=yes"
16363 echo "$as_me: failed program was:" >&5
16364 sed 's/^/| /' conftest.
$ac_ext >&5
16366 eval "$as_ac_var=no"
16368 rm -f conftest.err conftest.
$ac_objext \
16369 conftest
$ac_exeext conftest.
$ac_ext
16371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16373 if test `eval echo '${'$as_ac_var'}'` = yes; then
16374 cat >>confdefs.h
<<_ACEOF
16375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16382 for ac_func
in wborder
16384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16385 echo "$as_me:$LINENO: checking for $ac_func" >&5
16386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16387 if eval "test \"\${$as_ac_var+set}\" = set"; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 cat >conftest.
$ac_ext <<_ACEOF
16393 cat confdefs.h
>>conftest.
$ac_ext
16394 cat >>conftest.
$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16398 #define $ac_func innocuous_$ac_func
16400 /* System header to define __stub macros and hopefully few prototypes,
16401 which can conflict with char $ac_func (); below.
16402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16403 <limits.h> exists even on freestanding compilers. */
16406 # include <limits.h>
16408 # include <assert.h>
16413 /* Override any gcc2 internal prototype to avoid an error. */
16418 /* We use char because int might match the return type of a gcc2
16419 builtin and then its argument prototype would still apply. */
16421 /* The GNU C library defines this for functions which it implements
16422 to always fail with ENOSYS. Some functions are actually named
16423 something starting with __ and the normal name is an alias. */
16424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16427 char (*f) () = $ac_func;
16436 return f != $ac_func;
16441 rm -f conftest.
$ac_objext conftest
$ac_exeext
16442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16443 (eval $ac_link) 2>conftest.er1
16445 grep -v '^ *+' conftest.er1
>conftest.err
16447 cat conftest.err
>&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); } &&
16450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452 (eval $ac_try) 2>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; } &&
16456 { ac_try
='test -s conftest$ac_exeext'
16457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16458 (eval $ac_try) 2>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }; }; then
16462 eval "$as_ac_var=yes"
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.
$ac_ext >&5
16467 eval "$as_ac_var=no"
16469 rm -f conftest.err conftest.
$ac_objext \
16470 conftest
$ac_exeext conftest.
$ac_ext
16472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16474 if test `eval echo '${'$as_ac_var'}'` = yes; then
16475 cat >>confdefs.h
<<_ACEOF
16476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16483 # Check the return and argument types of ptrace. No canned test for
16484 # this, so roll our own.
16485 gdb_ptrace_headers
='
16486 #if HAVE_SYS_TYPES_H
16487 # include <sys/types.h>
16489 #if HAVE_SYS_PTRACE_H
16490 # include <sys/ptrace.h>
16493 # include <unistd.h>
16496 # There is no point in checking if we don't have a prototype.
16497 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
16498 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
16499 if test "${ac_cv_have_decl_ptrace+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 cat >conftest.
$ac_ext <<_ACEOF
16505 cat confdefs.h
>>conftest.
$ac_ext
16506 cat >>conftest.
$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508 $gdb_ptrace_headers
16514 char *p = (char *) ptrace;
16521 rm -f conftest.
$ac_objext
16522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16523 (eval $ac_compile) 2>conftest.er1
16525 grep -v '^ *+' conftest.er1
>conftest.err
16527 cat conftest.err
>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } &&
16530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16532 (eval $ac_try) 2>&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); }; } &&
16536 { ac_try
='test -s conftest.$ac_objext'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; }; then
16542 ac_cv_have_decl_ptrace
=yes
16544 echo "$as_me: failed program was:" >&5
16545 sed 's/^/| /' conftest.
$ac_ext >&5
16547 ac_cv_have_decl_ptrace
=no
16549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16551 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
16552 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
16553 if test $ac_cv_have_decl_ptrace = yes; then
16555 cat >>confdefs.h
<<_ACEOF
16556 #define HAVE_DECL_PTRACE 1
16561 cat >>confdefs.h
<<_ACEOF
16562 #define HAVE_DECL_PTRACE 0
16566 : ${gdb_cv_func_ptrace_ret='int'}
16567 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16572 # Check return type.
16573 echo "$as_me:$LINENO: checking return type of ptrace" >&5
16574 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
16575 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
16576 echo $ECHO_N "(cached) $ECHO_C" >&6
16578 cat >conftest.
$ac_ext <<_ACEOF
16581 cat confdefs.h
>>conftest.
$ac_ext
16582 cat >>conftest.
$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 $gdb_ptrace_headers
16588 extern int ptrace ();
16593 rm -f conftest.
$ac_objext
16594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16595 (eval $ac_compile) 2>conftest.er1
16597 grep -v '^ *+' conftest.er1
>conftest.err
16599 cat conftest.err
>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } &&
16602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; } &&
16608 { ac_try
='test -s conftest.$ac_objext'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; }; then
16614 gdb_cv_func_ptrace_ret
='int'
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.
$ac_ext >&5
16619 gdb_cv_func_ptrace_ret
='long'
16621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16623 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
16624 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
16626 cat >>confdefs.h
<<_ACEOF
16627 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
16630 # Check argument types.
16631 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
16632 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
16633 if test "${gdb_cv_func_ptrace_args+set}" = set; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16637 for gdb_arg1
in 'int' 'long'; do
16638 for gdb_arg2
in 'pid_t' 'int' 'long'; do
16639 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
16640 for gdb_arg4
in 'int' 'long'; do
16641 cat >conftest.
$ac_ext <<_ACEOF
16644 cat confdefs.h
>>conftest.
$ac_ext
16645 cat >>conftest.
$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $gdb_ptrace_headers
16652 extern $gdb_cv_func_ptrace_ret
16653 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
16659 rm -f conftest.
$ac_objext
16660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16661 (eval $ac_compile) 2>conftest.er1
16663 grep -v '^ *+' conftest.er1
>conftest.err
16665 cat conftest.err
>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try
='test -s conftest.$ac_objext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.
$ac_ext >&5
16687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16688 for gdb_arg5
in 'int *' 'int' 'long'; do
16689 cat >conftest.
$ac_ext <<_ACEOF
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 $gdb_ptrace_headers
16700 extern $gdb_cv_func_ptrace_ret
16701 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
16707 rm -f conftest.
$ac_objext
16708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 (eval $ac_compile) 2>conftest.er1
16711 grep -v '^ *+' conftest.er1
>conftest.err
16713 cat conftest.err
>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } &&
16716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; } &&
16722 { ac_try
='test -s conftest.$ac_objext'
16723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16724 (eval $ac_try) 2>&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); }; }; then
16729 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
16732 echo "$as_me: failed program was:" >&5
16733 sed 's/^/| /' conftest.
$ac_ext >&5
16736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16742 # Provide a safe default value.
16743 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16746 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
16747 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
16748 ac_save_IFS
=$IFS; IFS
=','
16749 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
16753 cat >>confdefs.h
<<_ACEOF
16754 #define PTRACE_TYPE_ARG3 $3
16757 if test -n "$5"; then
16759 cat >>confdefs.h
<<_ACEOF
16760 #define PTRACE_TYPE_ARG5 $5
16765 if test "$cross_compiling" = no
; then
16766 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16767 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16768 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 if test "$cross_compiling" = yes; then
16772 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
16773 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
16774 { (exit 1); exit 1; }; }
16776 cat >conftest.
$ac_ext <<_ACEOF
16779 cat confdefs.h
>>conftest.
$ac_ext
16780 cat >>conftest.
$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16783 # include <unistd.h>
16789 /* If this system has a BSD-style setpgrp which takes arguments,
16790 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
16791 exit successfully. */
16792 exit (setpgrp (1,1) == -1 ? 0 : 1);
16797 rm -f conftest
$ac_exeext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16799 (eval $ac_link) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_cv_func_setpgrp_void
=no
16810 echo "$as_me: program exited with status $ac_status" >&5
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.
$ac_ext >&5
16814 ( exit $ac_status )
16815 ac_cv_func_setpgrp_void
=yes
16817 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16820 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
16821 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
16822 if test $ac_cv_func_setpgrp_void = yes; then
16824 cat >>confdefs.h
<<\_ACEOF
16825 #define SETPGRP_VOID 1
16831 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16832 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16833 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 cat >conftest.
$ac_ext <<_ACEOF
16839 cat confdefs.h
>>conftest.
$ac_ext
16840 cat >>conftest.
$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16843 #include <unistd.h>
16849 if (setpgrp(1,1) == -1)
16858 rm -f conftest.
$ac_objext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16860 (eval $ac_compile) 2>conftest.er1
16862 grep -v '^ *+' conftest.er1
>conftest.err
16864 cat conftest.err
>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } &&
16867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; } &&
16873 { ac_try
='test -s conftest.$ac_objext'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; }; then
16879 ac_cv_func_setpgrp_void
=no
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.
$ac_ext >&5
16884 ac_cv_func_setpgrp_void
=yes
16886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16888 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
16889 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
16890 if test $ac_cv_func_setpgrp_void = yes; then
16891 cat >>confdefs.h
<<\_ACEOF
16892 #define SETPGRP_VOID 1
16898 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
16899 # since sigsetjmp might only be defined as a macro.
16900 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
16901 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
16902 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
16903 echo $ECHO_N "(cached) $ECHO_C" >&6
16905 cat >conftest.
$ac_ext <<_ACEOF
16908 cat confdefs.h
>>conftest.
$ac_ext
16909 cat >>conftest.
$ac_ext <<_ACEOF
16910 /* end confdefs.h. */
16912 #include <setjmp.h>
16917 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16922 rm -f conftest.
$ac_objext
16923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16924 (eval $ac_compile) 2>conftest.er1
16926 grep -v '^ *+' conftest.er1
>conftest.err
16928 cat conftest.err
>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } &&
16931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try
='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16943 gdb_cv_func_sigsetjmp
=yes
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.
$ac_ext >&5
16948 gdb_cv_func_sigsetjmp
=no
16950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16952 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
16953 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
16954 if test $gdb_cv_func_sigsetjmp = yes; then
16956 cat >>confdefs.h
<<\_ACEOF
16957 #define HAVE_SIGSETJMP 1
16962 # Assume we'll default to using the included libiberty regex.
16963 gdb_use_included_regex
=yes
16965 # However, if the system regex is GNU regex, then default to *not*
16966 # using the included regex.
16967 echo "$as_me:$LINENO: checking for GNU regex" >&5
16968 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
16969 if test "${gdb_cv_have_gnu_regex+set}" = set; then
16970 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 cat >conftest.
$ac_ext <<_ACEOF
16975 cat confdefs.h
>>conftest.
$ac_ext
16976 cat >>conftest.
$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 #include <gnu-versions.h>
16982 #define REGEX_INTERFACE_VERSION 1
16983 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
16984 # error "Version mismatch"
16990 rm -f conftest.
$ac_objext
16991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16992 (eval $ac_compile) 2>conftest.er1
16994 grep -v '^ *+' conftest.er1
>conftest.err
16996 cat conftest.err
>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); } &&
16999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; } &&
17005 { ac_try
='test -s conftest.$ac_objext'
17006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007 (eval $ac_try) 2>&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; }; then
17011 gdb_cv_have_gnu_regex
=yes
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.
$ac_ext >&5
17016 gdb_cv_have_gnu_regex
=no
17018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17020 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
17021 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
17022 if test $gdb_cv_have_gnu_regex = yes; then
17023 gdb_use_included_regex
=no
17027 # Check whether --with-included-regex or --without-included-regex was given.
17028 if test "${with_included_regex+set}" = set; then
17029 withval
="$with_included_regex"
17030 gdb_with_regex
=$withval
17032 gdb_with_regex
=$gdb_use_included_regex
17034 if test "$gdb_with_regex" = yes; then
17036 cat >>confdefs.h
<<\_ACEOF
17037 #define USE_INCLUDED_REGEX 1
17042 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
17043 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
17044 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
17045 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 cat >conftest.
$ac_ext <<_ACEOF
17051 cat confdefs.h
>>conftest.
$ac_ext
17052 cat >>conftest.
$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17054 #include <sys/param.h>
17055 #include <sys/proc.h>
17061 static struct thread ac_aggr;
17062 if (ac_aggr.td_pcb)
17068 rm -f conftest.
$ac_objext
17069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17070 (eval $ac_compile) 2>conftest.er1
17072 grep -v '^ *+' conftest.er1
>conftest.err
17074 cat conftest.err
>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } &&
17077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; } &&
17083 { ac_try
='test -s conftest.$ac_objext'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; }; then
17089 ac_cv_member_struct_thread_td_pcb
=yes
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.
$ac_ext >&5
17094 cat >conftest.
$ac_ext <<_ACEOF
17097 cat confdefs.h
>>conftest.
$ac_ext
17098 cat >>conftest.
$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 #include <sys/param.h>
17101 #include <sys/proc.h>
17107 static struct thread ac_aggr;
17108 if (sizeof ac_aggr.td_pcb)
17114 rm -f conftest.
$ac_objext
17115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17116 (eval $ac_compile) 2>conftest.er1
17118 grep -v '^ *+' conftest.er1
>conftest.err
17120 cat conftest.err
>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } &&
17123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; } &&
17129 { ac_try
='test -s conftest.$ac_objext'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; }; then
17135 ac_cv_member_struct_thread_td_pcb
=yes
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 ac_cv_member_struct_thread_td_pcb
=no
17142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17146 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
17147 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
17148 if test $ac_cv_member_struct_thread_td_pcb = yes; then
17150 cat >>confdefs.h
<<_ACEOF
17151 #define HAVE_STRUCT_THREAD_TD_PCB 1
17158 # See if <sys/lwp.h> defines `struct lwp`.
17159 echo "$as_me:$LINENO: checking for struct lwp" >&5
17160 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
17161 if test "${gdb_cv_struct_lwp+set}" = set; then
17162 echo $ECHO_N "(cached) $ECHO_C" >&6
17164 cat >conftest.
$ac_ext <<_ACEOF
17167 cat confdefs.h
>>conftest.
$ac_ext
17168 cat >>conftest.
$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 #include <sys/param.h>
17171 #include <sys/lwp.h>
17180 rm -f conftest.
$ac_objext
17181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17182 (eval $ac_compile) 2>conftest.er1
17184 grep -v '^ *+' conftest.er1
>conftest.err
17186 cat conftest.err
>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); } &&
17189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17191 (eval $ac_try) 2>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); }; } &&
17195 { ac_try
='test -s conftest.$ac_objext'
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; }; then
17201 gdb_cv_struct_lwp
=yes
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.
$ac_ext >&5
17206 gdb_cv_struct_lwp
=no
17208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17210 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
17211 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
17212 if test $gdb_cv_struct_lwp = yes; then
17214 cat >>confdefs.h
<<\_ACEOF
17215 #define HAVE_STRUCT_LWP 1
17220 # See if <machine/reg.h> degines `struct reg'.
17221 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
17222 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
17223 if test "${gdb_cv_struct_reg+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #include <sys/types.h>
17233 #include <machine/reg.h>
17242 rm -f conftest.
$ac_objext
17243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17244 (eval $ac_compile) 2>conftest.er1
17246 grep -v '^ *+' conftest.er1
>conftest.err
17248 cat conftest.err
>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } &&
17251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; } &&
17257 { ac_try
='test -s conftest.$ac_objext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 gdb_cv_struct_reg
=yes
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.
$ac_ext >&5
17268 gdb_cv_struct_reg
=no
17270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17272 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
17273 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
17274 if test $gdb_cv_struct_reg = yes; then
17276 cat >>confdefs.h
<<\_ACEOF
17277 #define HAVE_STRUCT_REG 1
17282 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
17283 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
17284 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
17285 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
17286 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 cat >conftest.
$ac_ext <<_ACEOF
17292 cat confdefs.h
>>conftest.
$ac_ext
17293 cat >>conftest.
$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 #include <machine/reg.h>
17300 static struct reg ac_aggr;
17307 rm -f conftest.
$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17311 grep -v '^ *+' conftest.er1
>conftest.err
17313 cat conftest.err
>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try
='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17328 ac_cv_member_struct_reg_r_fs
=yes
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.
$ac_ext >&5
17333 cat >conftest.
$ac_ext <<_ACEOF
17336 cat confdefs.h
>>conftest.
$ac_ext
17337 cat >>conftest.
$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 #include <machine/reg.h>
17344 static struct reg ac_aggr;
17345 if (sizeof ac_aggr.r_fs)
17351 rm -f conftest.
$ac_objext
17352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17353 (eval $ac_compile) 2>conftest.er1
17355 grep -v '^ *+' conftest.er1
>conftest.err
17357 cat conftest.err
>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; } &&
17366 { ac_try
='test -s conftest.$ac_objext'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; }; then
17372 ac_cv_member_struct_reg_r_fs
=yes
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.
$ac_ext >&5
17377 ac_cv_member_struct_reg_r_fs
=no
17379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17383 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
17384 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
17385 if test $ac_cv_member_struct_reg_r_fs = yes; then
17387 cat >>confdefs.h
<<_ACEOF
17388 #define HAVE_STRUCT_REG_R_FS 1
17393 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
17394 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
17395 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
17396 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 cat >conftest.
$ac_ext <<_ACEOF
17401 cat confdefs.h
>>conftest.
$ac_ext
17402 cat >>conftest.
$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17404 #include <machine/reg.h>
17409 static struct reg ac_aggr;
17416 rm -f conftest.
$ac_objext
17417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17418 (eval $ac_compile) 2>conftest.er1
17420 grep -v '^ *+' conftest.er1
>conftest.err
17422 cat conftest.err
>&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } &&
17425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try
='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 ac_cv_member_struct_reg_r_gs
=yes
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.
$ac_ext >&5
17442 cat >conftest.
$ac_ext <<_ACEOF
17445 cat confdefs.h
>>conftest.
$ac_ext
17446 cat >>conftest.
$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 #include <machine/reg.h>
17453 static struct reg ac_aggr;
17454 if (sizeof ac_aggr.r_gs)
17460 rm -f conftest.
$ac_objext
17461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17462 (eval $ac_compile) 2>conftest.er1
17464 grep -v '^ *+' conftest.er1
>conftest.err
17466 cat conftest.err
>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; } &&
17475 { ac_try
='test -s conftest.$ac_objext'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; }; then
17481 ac_cv_member_struct_reg_r_gs
=yes
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.
$ac_ext >&5
17486 ac_cv_member_struct_reg_r_gs
=no
17488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17492 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
17493 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
17494 if test $ac_cv_member_struct_reg_r_gs = yes; then
17496 cat >>confdefs.h
<<_ACEOF
17497 #define HAVE_STRUCT_REG_R_GS 1
17504 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
17505 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
17506 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
17507 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17510 cat >conftest.
$ac_ext <<_ACEOF
17513 cat confdefs.h
>>conftest.
$ac_ext
17514 cat >>conftest.
$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 #include <sys/ptrace.h>
17525 rm -f conftest.
$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>conftest.er1
17529 grep -v '^ *+' conftest.er1
>conftest.err
17531 cat conftest.err
>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; } &&
17540 { ac_try
='test -s conftest.$ac_objext'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; }; then
17546 gdb_cv_have_ptrace_getregs
=yes
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.
$ac_ext >&5
17551 gdb_cv_have_ptrace_getregs
=no
17553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17556 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
17557 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
17558 if test $gdb_cv_have_ptrace_getregs = yes; then
17560 cat >>confdefs.h
<<\_ACEOF
17561 #define HAVE_PTRACE_GETREGS 1
17566 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
17567 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
17568 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
17569 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
17570 echo $ECHO_N "(cached) $ECHO_C" >&6
17572 cat >conftest.
$ac_ext <<_ACEOF
17575 cat confdefs.h
>>conftest.
$ac_ext
17576 cat >>conftest.
$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 #include <sys/ptrace.h>
17587 rm -f conftest.
$ac_objext
17588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17589 (eval $ac_compile) 2>conftest.er1
17591 grep -v '^ *+' conftest.er1
>conftest.err
17593 cat conftest.err
>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } &&
17596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17598 (eval $ac_try) 2>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; } &&
17602 { ac_try
='test -s conftest.$ac_objext'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; }; then
17608 gdb_cv_have_ptrace_getfpxregs
=yes
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17613 gdb_cv_have_ptrace_getfpxregs
=no
17615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17618 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
17619 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
17620 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
17622 cat >>confdefs.h
<<\_ACEOF
17623 #define HAVE_PTRACE_GETFPXREGS 1
17628 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
17629 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
17630 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
17631 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
17632 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 cat >conftest.
$ac_ext <<_ACEOF
17637 cat confdefs.h
>>conftest.
$ac_ext
17638 cat >>conftest.
$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 #include <sys/types.h>
17641 #include <sys/ptrace.h>
17650 rm -f conftest.
$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>conftest.er1
17654 grep -v '^ *+' conftest.er1
>conftest.err
17656 cat conftest.err
>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17665 { ac_try
='test -s conftest.$ac_objext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 gdb_cv_have_pt_getdbregs
=yes
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.
$ac_ext >&5
17676 gdb_cv_have_pt_getdbregs
=no
17678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17681 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
17682 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
17683 if test $gdb_cv_have_pt_getdbregs = yes; then
17685 cat >>confdefs.h
<<\_ACEOF
17686 #define HAVE_PT_GETDBREGS 1
17691 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
17692 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
17693 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
17694 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
17695 echo $ECHO_N "(cached) $ECHO_C" >&6
17697 cat >conftest.
$ac_ext <<_ACEOF
17700 cat confdefs.h
>>conftest.
$ac_ext
17701 cat >>conftest.
$ac_ext <<_ACEOF
17702 /* end confdefs.h. */
17703 #include <sys/types.h>
17704 #include <sys/ptrace.h>
17713 rm -f conftest.
$ac_objext
17714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17715 (eval $ac_compile) 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } &&
17722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try
='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17734 gdb_cv_have_pt_getxmmregs
=yes
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.
$ac_ext >&5
17739 gdb_cv_have_pt_getxmmregs
=no
17741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17744 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
17745 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
17746 if test $gdb_cv_have_pt_getxmmregs = yes; then
17748 cat >>confdefs.h
<<\_ACEOF
17749 #define HAVE_PT_GETXMMREGS 1
17754 # If we are configured native on GNU/Linux, work around problems with
17756 # Also detect which type of /proc is in use, such as for Unixware or Solaris.
17758 if test "${target}" = "${host}"; then
17760 i
[3456]86-*-linux*)
17762 cat >>confdefs.h
<<\_ACEOF
17763 #define START_INFERIOR_TRAPS_EXPECTED 2
17767 cat >>confdefs.h
<<\_ACEOF
17768 #define sys_quotactl 1
17772 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
17774 cat >>confdefs.h
<<\_ACEOF
17775 #define NEW_PROC_API 1
17779 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
17781 cat >>confdefs.h
<<\_ACEOF
17782 #define NEW_PROC_API 1
17787 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
17789 cat >>confdefs.h
<<\_ACEOF
17790 #define _KMEMUSER 1
17797 if test "$ac_cv_header_sys_procfs_h" = yes; then
17798 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
17799 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
17800 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 cat >conftest.
$ac_ext <<_ACEOF
17806 cat confdefs.h
>>conftest.
$ac_ext
17807 cat >>conftest.
$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17811 #include <sys/procfs.h>
17820 rm -f conftest.
$ac_objext
17821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17822 (eval $ac_compile) 2>conftest.er1
17824 grep -v '^ *+' conftest.er1
>conftest.err
17826 cat conftest.err
>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } &&
17829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; } &&
17835 { ac_try
='test -s conftest.$ac_objext'
17836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17837 (eval $ac_try) 2>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; }; then
17841 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.
$ac_ext >&5
17846 bfd_cv_have_sys_procfs_type_pstatus_t
=no
17849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17852 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
17854 cat >>confdefs.h
<<\_ACEOF
17855 #define HAVE_PSTATUS_T 1
17859 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
17860 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
17862 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
17863 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
17864 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
17865 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 cat >conftest.
$ac_ext <<_ACEOF
17870 cat confdefs.h
>>conftest.
$ac_ext
17871 cat >>conftest.
$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17875 #include <sys/procfs.h>
17884 rm -f conftest.
$ac_objext
17885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17886 (eval $ac_compile) 2>conftest.er1
17888 grep -v '^ *+' conftest.er1
>conftest.err
17890 cat conftest.err
>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } &&
17893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); }; } &&
17899 { ac_try
='test -s conftest.$ac_objext'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 bfd_cv_have_sys_procfs_type_prrun_t
=yes
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.
$ac_ext >&5
17910 bfd_cv_have_sys_procfs_type_prrun_t
=no
17913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
17918 cat >>confdefs.h
<<\_ACEOF
17919 #define HAVE_PRRUN_T 1
17923 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
17924 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
17926 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
17927 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
17928 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 cat >conftest.
$ac_ext <<_ACEOF
17934 cat confdefs.h
>>conftest.
$ac_ext
17935 cat >>conftest.
$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17939 #include <sys/procfs.h>
17948 rm -f conftest.
$ac_objext
17949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17950 (eval $ac_compile) 2>conftest.er1
17952 grep -v '^ *+' conftest.er1
>conftest.err
17954 cat conftest.err
>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } &&
17957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; } &&
17963 { ac_try
='test -s conftest.$ac_objext'
17964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965 (eval $ac_try) 2>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); }; }; then
17969 bfd_cv_have_sys_procfs_type_gregset_t
=yes
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.
$ac_ext >&5
17974 bfd_cv_have_sys_procfs_type_gregset_t
=no
17977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17980 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
17982 cat >>confdefs.h
<<\_ACEOF
17983 #define HAVE_GREGSET_T 1
17987 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
17988 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
17990 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
17991 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
17992 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 cat >conftest.
$ac_ext <<_ACEOF
17998 cat confdefs.h
>>conftest.
$ac_ext
17999 cat >>conftest.
$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18003 #include <sys/procfs.h>
18012 rm -f conftest.
$ac_objext
18013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18014 (eval $ac_compile) 2>conftest.er1
18016 grep -v '^ *+' conftest.er1
>conftest.err
18018 cat conftest.err
>&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); } &&
18021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18023 (eval $ac_try) 2>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; } &&
18027 { ac_try
='test -s conftest.$ac_objext'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; }; then
18033 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
18035 echo "$as_me: failed program was:" >&5
18036 sed 's/^/| /' conftest.
$ac_ext >&5
18038 bfd_cv_have_sys_procfs_type_fpregset_t
=no
18041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18044 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
18046 cat >>confdefs.h
<<\_ACEOF
18047 #define HAVE_FPREGSET_T 1
18051 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
18052 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
18054 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
18055 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
18056 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18059 cat >conftest.
$ac_ext <<_ACEOF
18062 cat confdefs.h
>>conftest.
$ac_ext
18063 cat >>conftest.
$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18067 #include <sys/procfs.h>
18076 rm -f conftest.
$ac_objext
18077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18078 (eval $ac_compile) 2>conftest.er1
18080 grep -v '^ *+' conftest.er1
>conftest.err
18082 cat conftest.err
>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } &&
18085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; } &&
18091 { ac_try
='test -s conftest.$ac_objext'
18092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093 (eval $ac_try) 2>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); }; }; then
18097 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.
$ac_ext >&5
18102 bfd_cv_have_sys_procfs_type_prgregset_t
=no
18105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18108 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
18110 cat >>confdefs.h
<<\_ACEOF
18111 #define HAVE_PRGREGSET_T 1
18115 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
18116 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
18118 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
18119 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
18120 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6
18123 cat >conftest.
$ac_ext <<_ACEOF
18126 cat confdefs.h
>>conftest.
$ac_ext
18127 cat >>conftest.
$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18131 #include <sys/procfs.h>
18140 rm -f conftest.
$ac_objext
18141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18142 (eval $ac_compile) 2>conftest.er1
18144 grep -v '^ *+' conftest.er1
>conftest.err
18146 cat conftest.err
>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } &&
18149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; } &&
18155 { ac_try
='test -s conftest.$ac_objext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.
$ac_ext >&5
18166 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
18169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18172 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18174 cat >>confdefs.h
<<\_ACEOF
18175 #define HAVE_PRFPREGSET_T 1
18179 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
18180 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
18182 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
18183 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
18184 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
18185 echo $ECHO_N "(cached) $ECHO_C" >&6
18187 cat >conftest.
$ac_ext <<_ACEOF
18190 cat confdefs.h
>>conftest.
$ac_ext
18191 cat >>conftest.
$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18195 #include <sys/procfs.h>
18204 rm -f conftest.
$ac_objext
18205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18206 (eval $ac_compile) 2>conftest.er1
18208 grep -v '^ *+' conftest.er1
>conftest.err
18210 cat conftest.err
>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } &&
18213 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; } &&
18219 { ac_try
='test -s conftest.$ac_objext'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; }; then
18225 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.
$ac_ext >&5
18230 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
18233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18236 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
18238 cat >>confdefs.h
<<\_ACEOF
18239 #define HAVE_PRGREGSET32_T 1
18243 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
18244 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
18246 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
18247 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
18248 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 cat >conftest.
$ac_ext <<_ACEOF
18254 cat confdefs.h
>>conftest.
$ac_ext
18255 cat >>conftest.
$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18259 #include <sys/procfs.h>
18263 prfpregset32_t avar
18268 rm -f conftest.
$ac_objext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18270 (eval $ac_compile) 2>conftest.er1
18272 grep -v '^ *+' conftest.er1
>conftest.err
18274 cat conftest.err
>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; } &&
18283 { ac_try
='test -s conftest.$ac_objext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.
$ac_ext >&5
18294 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
18297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18300 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
18302 cat >>confdefs.h
<<\_ACEOF
18303 #define HAVE_PRFPREGSET32_T 1
18307 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
18308 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
18310 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
18311 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
18312 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
18313 echo $ECHO_N "(cached) $ECHO_C" >&6
18315 cat >conftest.
$ac_ext <<_ACEOF
18318 cat confdefs.h
>>conftest.
$ac_ext
18319 cat >>conftest.
$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18323 #include <sys/procfs.h>
18332 rm -f conftest.
$ac_objext
18333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18334 (eval $ac_compile) 2>conftest.er1
18336 grep -v '^ *+' conftest.er1
>conftest.err
18338 cat conftest.err
>&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); } &&
18341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343 (eval $ac_try) 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; } &&
18347 { ac_try
='test -s conftest.$ac_objext'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; }; then
18353 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.
$ac_ext >&5
18358 bfd_cv_have_sys_procfs_type_lwpid_t
=no
18361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18364 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
18366 cat >>confdefs.h
<<\_ACEOF
18367 #define HAVE_LWPID_T 1
18371 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
18372 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
18374 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
18375 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
18376 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
18377 echo $ECHO_N "(cached) $ECHO_C" >&6
18379 cat >conftest.
$ac_ext <<_ACEOF
18382 cat confdefs.h
>>conftest.
$ac_ext
18383 cat >>conftest.
$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18387 #include <sys/procfs.h>
18396 rm -f conftest.
$ac_objext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18398 (eval $ac_compile) 2>conftest.er1
18400 grep -v '^ *+' conftest.er1
>conftest.err
18402 cat conftest.err
>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } &&
18405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407 (eval $ac_try) 2>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; } &&
18411 { ac_try
='test -s conftest.$ac_objext'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; }; then
18417 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.
$ac_ext >&5
18422 bfd_cv_have_sys_procfs_type_psaddr_t
=no
18425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18428 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
18430 cat >>confdefs.h
<<\_ACEOF
18431 #define HAVE_PSADDR_T 1
18435 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
18436 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
18438 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
18439 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
18440 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
18441 echo $ECHO_N "(cached) $ECHO_C" >&6
18443 cat >conftest.
$ac_ext <<_ACEOF
18446 cat confdefs.h
>>conftest.
$ac_ext
18447 cat >>conftest.
$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18451 #include <sys/procfs.h>
18460 rm -f conftest.
$ac_objext
18461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18462 (eval $ac_compile) 2>conftest.er1
18464 grep -v '^ *+' conftest.er1
>conftest.err
18466 cat conftest.err
>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } &&
18469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; } &&
18475 { ac_try
='test -s conftest.$ac_objext'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; }; then
18481 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.
$ac_ext >&5
18486 bfd_cv_have_sys_procfs_type_prsysent_t
=no
18489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18492 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
18494 cat >>confdefs.h
<<\_ACEOF
18495 #define HAVE_PRSYSENT_T 1
18499 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
18500 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
18502 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
18503 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
18504 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18507 cat >conftest.
$ac_ext <<_ACEOF
18510 cat confdefs.h
>>conftest.
$ac_ext
18511 cat >>conftest.
$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18515 #include <sys/procfs.h>
18524 rm -f conftest.
$ac_objext
18525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18526 (eval $ac_compile) 2>conftest.er1
18528 grep -v '^ *+' conftest.er1
>conftest.err
18530 cat conftest.err
>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
18533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; } &&
18539 { ac_try
='test -s conftest.$ac_objext'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; }; then
18545 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.
$ac_ext >&5
18550 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
18553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18556 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
18558 cat >>confdefs.h
<<\_ACEOF
18559 #define HAVE_PR_SIGSET_T 1
18563 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
18564 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
18566 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
18567 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
18568 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
18569 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 cat >conftest.
$ac_ext <<_ACEOF
18574 cat confdefs.h
>>conftest.
$ac_ext
18575 cat >>conftest.
$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18579 #include <sys/procfs.h>
18583 pr_sigaction64_t avar
18588 rm -f conftest.
$ac_objext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18590 (eval $ac_compile) 2>conftest.er1
18592 grep -v '^ *+' conftest.er1
>conftest.err
18594 cat conftest.err
>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; } &&
18603 { ac_try
='test -s conftest.$ac_objext'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18609 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.
$ac_ext >&5
18614 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
18617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18620 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
18622 cat >>confdefs.h
<<\_ACEOF
18623 #define HAVE_PR_SIGACTION64_T 1
18627 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
18628 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
18630 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
18631 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
18632 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
18633 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 cat >conftest.
$ac_ext <<_ACEOF
18638 cat confdefs.h
>>conftest.
$ac_ext
18639 cat >>conftest.
$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18643 #include <sys/procfs.h>
18647 pr_siginfo64_t avar
18652 rm -f conftest.
$ac_objext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18654 (eval $ac_compile) 2>conftest.er1
18656 grep -v '^ *+' conftest.er1
>conftest.err
18658 cat conftest.err
>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; } &&
18667 { ac_try
='test -s conftest.$ac_objext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
18681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18684 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
18686 cat >>confdefs.h
<<\_ACEOF
18687 #define HAVE_PR_SIGINFO64_T 1
18691 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
18692 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
18698 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18699 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
18700 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
18701 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
18702 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 if test "$cross_compiling" = yes; then
18705 gdb_cv_prfpregset_t_broken
=yes
18707 cat >conftest.
$ac_ext <<_ACEOF
18710 cat confdefs.h
>>conftest.
$ac_ext
18711 cat >>conftest.
$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 #include <sys/procfs.h>
18716 if (sizeof (prfpregset_t) == sizeof (void *))
18721 rm -f conftest
$ac_exeext
18722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18723 (eval $ac_link) 2>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; }; then
18732 gdb_cv_prfpregset_t_broken
=no
18734 echo "$as_me: program exited with status $ac_status" >&5
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.
$ac_ext >&5
18738 ( exit $ac_status )
18739 gdb_cv_prfpregset_t_broken
=yes
18741 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18745 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
18746 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
18747 if test $gdb_cv_prfpregset_t_broken = yes; then
18749 cat >>confdefs.h
<<\_ACEOF
18750 #define PRFPREGSET_T_BROKEN 1
18757 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
18758 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
18759 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
18760 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 #include <unistd.h>
18769 #include <sys/types.h>
18770 #include <sys/procfs.h>
18777 dummy = ioctl(0, PIOCSET, &dummy);
18783 rm -f conftest.
$ac_objext
18784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18785 (eval $ac_compile) 2>conftest.er1
18787 grep -v '^ *+' conftest.er1
>conftest.err
18789 cat conftest.err
>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } &&
18792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; } &&
18798 { ac_try
='test -s conftest.$ac_objext'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; }; then
18804 gdb_cv_have_procfs_piocset
=yes
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.
$ac_ext >&5
18809 gdb_cv_have_procfs_piocset
=no
18811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18814 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
18815 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
18816 if test $gdb_cv_have_procfs_piocset = yes; then
18818 cat >>confdefs.h
<<\_ACEOF
18819 #define HAVE_PROCFS_PIOCSET 1
18825 if test ${host} = ${target} ; then
18827 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
18828 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
18829 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
18830 echo $ECHO_N "(cached) $ECHO_C" >&6
18832 cat >conftest.
$ac_ext <<_ACEOF
18835 cat confdefs.h
>>conftest.
$ac_ext
18836 cat >>conftest.
$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18842 struct link_map lm; (void) lm.l_addr;
18847 rm -f conftest.
$ac_objext
18848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18849 (eval $ac_compile) 2>conftest.er1
18851 grep -v '^ *+' conftest.er1
>conftest.err
18853 cat conftest.err
>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } &&
18856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; } &&
18862 { ac_try
='test -s conftest.$ac_objext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 gdb_cv_have_struct_link_map_with_l_members
=yes
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.
$ac_ext >&5
18873 gdb_cv_have_struct_link_map_with_l_members
=no
18875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18878 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
18879 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
18880 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
18882 cat >>confdefs.h
<<\_ACEOF
18883 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
18889 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
18890 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
18891 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 cat >conftest.
$ac_ext <<_ACEOF
18897 cat confdefs.h
>>conftest.
$ac_ext
18898 cat >>conftest.
$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <sys/types.h>
18905 struct link_map lm; (void) lm.lm_addr;
18910 rm -f conftest.
$ac_objext
18911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18912 (eval $ac_compile) 2>conftest.er1
18914 grep -v '^ *+' conftest.er1
>conftest.err
18916 cat conftest.err
>&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } &&
18919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921 (eval $ac_try) 2>&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); }; } &&
18925 { ac_try
='test -s conftest.$ac_objext'
18926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 (eval $ac_try) 2>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; }; then
18931 gdb_cv_have_struct_link_map_with_lm_members
=yes
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.
$ac_ext >&5
18936 gdb_cv_have_struct_link_map_with_lm_members
=no
18938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18941 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
18942 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
18943 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
18945 cat >>confdefs.h
<<\_ACEOF
18946 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
18952 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
18953 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
18954 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 cat >conftest.
$ac_ext <<_ACEOF
18960 cat confdefs.h
>>conftest.
$ac_ext
18961 cat >>conftest.
$ac_ext <<_ACEOF
18962 /* end confdefs.h. */
18963 #include <sys/types.h>
18964 #ifdef HAVE_NLIST_H
18971 struct so_map lm; (void) lm.som_addr;
18976 rm -f conftest.
$ac_objext
18977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18978 (eval $ac_compile) 2>conftest.er1
18980 grep -v '^ *+' conftest.er1
>conftest.err
18982 cat conftest.err
>&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } &&
18985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987 (eval $ac_try) 2>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); }; } &&
18991 { ac_try
='test -s conftest.$ac_objext'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; }; then
18997 gdb_cv_have_struct_so_map_with_som_members
=yes
18999 echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.
$ac_ext >&5
19002 gdb_cv_have_struct_so_map_with_som_members
=no
19004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19007 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
19008 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
19009 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
19011 cat >>confdefs.h
<<\_ACEOF
19012 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
19018 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
19019 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
19020 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 cat >conftest.
$ac_ext <<_ACEOF
19026 cat confdefs.h
>>conftest.
$ac_ext
19027 cat >>conftest.
$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19030 #include <sys/link.h>
19034 struct link_map32 l;
19039 rm -f conftest.
$ac_objext
19040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19041 (eval $ac_compile) 2>conftest.er1
19043 grep -v '^ *+' conftest.er1
>conftest.err
19045 cat conftest.err
>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } &&
19048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; } &&
19054 { ac_try
='test -s conftest.$ac_objext'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; }; then
19060 gdb_cv_have_struct_link_map32
=yes
19062 echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.
$ac_ext >&5
19065 gdb_cv_have_struct_link_map32
=no
19067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19070 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
19071 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
19072 if test $gdb_cv_have_struct_link_map32 = yes; then
19074 cat >>confdefs.h
<<\_ACEOF
19075 #define HAVE_STRUCT_LINK_MAP32 1
19079 cat >>confdefs.h
<<\_ACEOF
19080 #define _SYSCALL32 1
19086 # Check if the compiler supports the `long long' type.
19088 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
19089 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
19090 if test "${gdb_cv_c_long_long+set}" = set; then
19091 echo $ECHO_N "(cached) $ECHO_C" >&6
19093 cat >conftest.
$ac_ext <<_ACEOF
19096 cat confdefs.h
>>conftest.
$ac_ext
19097 cat >>conftest.
$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19099 extern long long foo;
19103 switch (foo & 2) { case 0: return 1; }
19108 rm -f conftest.
$ac_objext
19109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19110 (eval $ac_compile) 2>conftest.er1
19112 grep -v '^ *+' conftest.er1
>conftest.err
19114 cat conftest.err
>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } &&
19117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try
='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 gdb_cv_c_long_long
=yes
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.
$ac_ext >&5
19134 gdb_cv_c_long_long
=no
19136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19138 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
19139 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
19140 if test $gdb_cv_c_long_long = yes; then
19142 cat >>confdefs.h
<<\_ACEOF
19143 #define CC_HAS_LONG_LONG 1
19148 # Check if the compiler and runtime support printing long longs.
19150 echo "$as_me:$LINENO: checking for long long support in printf" >&5
19151 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
19152 if test "${gdb_cv_printf_has_long_long+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 if test "$cross_compiling" = yes; then
19156 gdb_cv_printf_has_long_long
=no
19158 cat >conftest.
$ac_ext <<_ACEOF
19161 cat confdefs.h
>>conftest.
$ac_ext
19162 cat >>conftest.
$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19164 $ac_includes_default
19170 l = (l << 16) + 0x0123;
19171 l = (l << 16) + 0x4567;
19172 l = (l << 16) + 0x89ab;
19173 l = (l << 16) + 0xcdef;
19174 sprintf (buf, "0x%016llx", l);
19175 return (strcmp ("0x0123456789abcdef", buf));
19180 rm -f conftest
$ac_exeext
19181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19182 (eval $ac_link) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; }; then
19191 gdb_cv_printf_has_long_long
=yes
19193 echo "$as_me: program exited with status $ac_status" >&5
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.
$ac_ext >&5
19197 ( exit $ac_status )
19198 gdb_cv_printf_has_long_long
=no
19200 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19203 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
19204 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
19205 if test $gdb_cv_printf_has_long_long = yes; then
19207 cat >>confdefs.h
<<\_ACEOF
19208 #define PRINTF_HAS_LONG_LONG 1
19213 # Check if the compiler supports the `long double' type. We can't use
19214 # AC_C_LONG_DOUBLE because that one does additional checks on the
19215 # constants defined in <float.h> that fail on some systems,
19216 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
19218 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
19219 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
19220 if test "${gdb_cv_c_long_double+set}" = set; then
19221 echo $ECHO_N "(cached) $ECHO_C" >&6
19223 cat >conftest.
$ac_ext <<_ACEOF
19226 cat confdefs.h
>>conftest.
$ac_ext
19227 cat >>conftest.
$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19231 rm -f conftest.
$ac_objext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 (eval $ac_compile) 2>conftest.er1
19235 grep -v '^ *+' conftest.er1
>conftest.err
19237 cat conftest.err
>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try
='test -s conftest.$ac_objext'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; }; then
19252 gdb_cv_c_long_double
=yes
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.
$ac_ext >&5
19257 gdb_cv_c_long_double
=no
19259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19261 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
19262 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
19263 if test $gdb_cv_c_long_double = yes; then
19265 cat >>confdefs.h
<<\_ACEOF
19266 #define HAVE_LONG_DOUBLE 1
19271 # Check if the compiler and runtime support printing long doubles.
19273 echo "$as_me:$LINENO: checking for long double support in printf" >&5
19274 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
19275 if test "${gdb_cv_printf_has_long_double+set}" = set; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19278 if test "$cross_compiling" = yes; then
19279 gdb_cv_printf_has_long_double
=no
19281 cat >conftest.
$ac_ext <<_ACEOF
19284 cat confdefs.h
>>conftest.
$ac_ext
19285 cat >>conftest.
$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19292 long double f = 3.141592653;
19293 sprintf (buf, "%Lg", f);
19294 return (strncmp ("3.14159", buf, 7));
19299 rm -f conftest
$ac_exeext
19300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19301 (eval $ac_link) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19310 gdb_cv_printf_has_long_double
=yes
19312 echo "$as_me: program exited with status $ac_status" >&5
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.
$ac_ext >&5
19316 ( exit $ac_status )
19317 gdb_cv_printf_has_long_double
=no
19319 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19322 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
19323 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
19324 if test $gdb_cv_printf_has_long_double = yes; then
19326 cat >>confdefs.h
<<\_ACEOF
19327 #define PRINTF_HAS_LONG_DOUBLE 1
19332 # Check if the compiler and runtime support scanning long doubles.
19334 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
19335 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
19336 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
19337 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 if test "$cross_compiling" = yes; then
19340 gdb_cv_scanf_has_long_double
=no
19342 cat >conftest.
$ac_ext <<_ACEOF
19345 cat confdefs.h
>>conftest.
$ac_ext
19346 cat >>conftest.
$ac_ext <<_ACEOF
19347 /* end confdefs.h. */
19352 char *buf = "3.141592653";
19354 sscanf (buf, "%Lg", &f);
19355 return !(f > 3.14159 && f < 3.14160);
19360 rm -f conftest
$ac_exeext
19361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19362 (eval $ac_link) 2>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19371 gdb_cv_scanf_has_long_double
=yes
19373 echo "$as_me: program exited with status $ac_status" >&5
19374 echo "$as_me: failed program was:" >&5
19375 sed 's/^/| /' conftest.
$ac_ext >&5
19377 ( exit $ac_status )
19378 gdb_cv_scanf_has_long_double
=no
19380 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19383 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
19384 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
19385 if test $gdb_cv_scanf_has_long_double = yes; then
19387 cat >>confdefs.h
<<\_ACEOF
19388 #define SCANF_HAS_LONG_DOUBLE 1
19395 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
19396 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
19397 if test "${gdb_cv_bigtoc+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19401 SAVE_LDFLAGS
=$LDFLAGS
19404 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
19405 *) gdb_cv_bigtoc
=-bbigtoc ;;
19408 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
19409 cat >conftest.
$ac_ext <<_ACEOF
19412 cat confdefs.h
>>conftest.
$ac_ext
19413 cat >>conftest.
$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19424 rm -f conftest.
$ac_objext conftest
$ac_exeext
19425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19426 (eval $ac_link) 2>conftest.er1
19428 grep -v '^ *+' conftest.er1
>conftest.err
19430 cat conftest.err
>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } &&
19433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; } &&
19439 { ac_try
='test -s conftest$ac_exeext'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; }; then
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.
$ac_ext >&5
19452 rm -f conftest.err conftest.
$ac_objext \
19453 conftest
$ac_exeext conftest.
$ac_ext
19454 LDFLAGS
="${SAVE_LDFLAGS}"
19457 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
19458 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
19459 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
19465 if test ${build} = ${host} -a ${host} = ${target} ; then
19468 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
19469 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
19470 if test -f /usr
/include
/dce
/cma_config.h
; then
19471 if test "$GCC" = "yes" ; then
19472 echo "$as_me:$LINENO: result: yes" >&5
19473 echo "${ECHO_T}yes" >&6
19475 cat >>confdefs.h
<<\_ACEOF
19476 #define HAVE_HPUX_THREAD_SUPPORT 1
19479 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
19480 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
19482 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
19483 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
19486 echo "$as_me:$LINENO: result: no" >&5
19487 echo "${ECHO_T}no" >&6
19491 # See if thread_db library is around for Solaris thread debugging.
19492 # Note that we must explicitly test for version 1 of the library
19493 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
19495 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
19496 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
19497 if test -f /usr
/lib
/libthread_db.so
.1 ; then
19498 echo "$as_me:$LINENO: result: yes" >&5
19499 echo "${ECHO_T}yes" >&6
19501 cat >>confdefs.h
<<\_ACEOF
19502 #define HAVE_THREAD_DB_LIB 1
19505 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
19506 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
19508 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19509 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19510 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 ac_check_lib_save_LIBS
=$LIBS
19515 cat >conftest.
$ac_ext <<_ACEOF
19518 cat confdefs.h
>>conftest.
$ac_ext
19519 cat >>conftest.
$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19522 /* Override any gcc2 internal prototype to avoid an error. */
19526 /* We use char because int might match the return type of a gcc2
19527 builtin and then its argument prototype would still apply. */
19537 rm -f conftest.
$ac_objext conftest
$ac_exeext
19538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19539 (eval $ac_link) 2>conftest.er1
19541 grep -v '^ *+' conftest.er1
>conftest.err
19543 cat conftest.err
>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; } &&
19552 { ac_try
='test -s conftest$ac_exeext'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; }; then
19558 ac_cv_lib_dl_dlopen
=yes
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.
$ac_ext >&5
19563 ac_cv_lib_dl_dlopen
=no
19565 rm -f conftest.err conftest.
$ac_objext \
19566 conftest
$ac_exeext conftest.
$ac_ext
19567 LIBS
=$ac_check_lib_save_LIBS
19569 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19570 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19571 if test $ac_cv_lib_dl_dlopen = yes; then
19572 cat >>confdefs.h
<<_ACEOF
19573 #define HAVE_LIBDL 1
19580 if test "$GCC" = "yes" ; then
19581 # The GNU linker requires the -export-dynamic option to make
19582 # all symbols visible in the dynamic symbol table.
19583 hold_ldflags
=$LDFLAGS
19584 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
19585 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
19586 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
19587 cat >conftest.
$ac_ext <<_ACEOF
19590 cat confdefs.h
>>conftest.
$ac_ext
19591 cat >>conftest.
$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19602 rm -f conftest.
$ac_objext conftest
$ac_exeext
19603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19604 (eval $ac_link) 2>conftest.er1
19606 grep -v '^ *+' conftest.er1
>conftest.err
19608 cat conftest.err
>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } &&
19611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; } &&
19617 { ac_try
='test -s conftest$ac_exeext'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; }; then
19625 echo "$as_me: failed program was:" >&5
19626 sed 's/^/| /' conftest.
$ac_ext >&5
19630 rm -f conftest.err conftest.
$ac_objext \
19631 conftest
$ac_exeext conftest.
$ac_ext
19632 LDFLAGS
=$hold_ldflags
19633 echo "$as_me:$LINENO: result: $found" >&5
19634 echo "${ECHO_T}$found" >&6
19635 if test $found = yes; then
19636 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
19639 # Sun randomly tweaked the prototypes in <proc_service.h>
19641 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
19642 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
19643 if test "${gdb_cv_proc_service_is_old+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19647 cat >conftest.
$ac_ext <<_ACEOF
19650 cat confdefs.h
>>conftest.
$ac_ext
19651 cat >>conftest.
$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19654 #include <proc_service.h>
19655 ps_err_e ps_pdwrite
19656 (struct ps_prochandle*, psaddr_t, const void*, size_t);
19666 rm -f conftest.
$ac_objext
19667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19668 (eval $ac_compile) 2>conftest.er1
19670 grep -v '^ *+' conftest.er1
>conftest.err
19672 cat conftest.err
>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } &&
19675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try
='test -s conftest.$ac_objext'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; }; then
19687 gdb_cv_proc_service_is_old
=no
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.
$ac_ext >&5
19692 gdb_cv_proc_service_is_old
=yes
19694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19698 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
19699 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
19700 if test $gdb_cv_proc_service_is_old = yes; then
19702 cat >>confdefs.h
<<\_ACEOF
19703 #define PROC_SERVICE_IS_OLD 1
19708 echo "$as_me:$LINENO: result: no" >&5
19709 echo "${ECHO_T}no" >&6
19713 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
19714 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
19715 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 cat >conftest.
$ac_ext <<_ACEOF
19721 cat confdefs.h
>>conftest.
$ac_ext
19722 cat >>conftest.
$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #include <sys/pthdebug.h>
19728 #ifndef PTHDB_VERSION_3
19735 rm -f conftest.
$ac_objext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19737 (eval $ac_compile) 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; } &&
19750 { ac_try
='test -s conftest.$ac_objext'
19751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19752 (eval $ac_try) 2>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); }; }; then
19756 gdb_cv_have_aix_thread_debug
=yes
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.
$ac_ext >&5
19761 gdb_cv_have_aix_thread_debug
=no
19763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19766 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
19767 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
19768 if test $gdb_cv_have_aix_thread_debug = yes; then
19769 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
19770 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
19771 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
19778 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
19779 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
19780 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
19781 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
19782 echo $ECHO_N "(cached) $ECHO_C" >&6
19784 cat >conftest.
$ac_ext <<_ACEOF
19787 cat confdefs.h
>>conftest.
$ac_ext
19788 cat >>conftest.
$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 #include <thread_db.h>
19794 int i = TD_NOTALLOC;
19799 rm -f conftest.
$ac_objext
19800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19801 (eval $ac_compile) 2>conftest.er1
19803 grep -v '^ *+' conftest.er1
>conftest.err
19805 cat conftest.err
>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); } &&
19808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; } &&
19814 { ac_try
='test -s conftest.$ac_objext'
19815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816 (eval $ac_try) 2>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); }; }; then
19820 gdb_cv_thread_db_h_has_td_notalloc
=yes
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.
$ac_ext >&5
19825 gdb_cv_thread_db_h_has_td_notalloc
=no
19828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19831 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
19832 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
19834 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
19836 cat >>confdefs.h
<<\_ACEOF
19837 #define THREAD_DB_HAS_TD_NOTALLOC 1
19842 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
19843 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
19844 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
19845 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 cat >conftest.
$ac_ext <<_ACEOF
19851 cat confdefs.h
>>conftest.
$ac_ext
19852 cat >>conftest.
$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 #include <sys/syscall.h>
19858 int i = __NR_tkill;
19863 rm -f conftest.
$ac_objext
19864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19865 (eval $ac_compile) 2>conftest.er1
19867 grep -v '^ *+' conftest.er1
>conftest.err
19869 cat conftest.err
>&5
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); } &&
19872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19874 (eval $ac_try) 2>&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); }; } &&
19878 { ac_try
='test -s conftest.$ac_objext'
19879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19880 (eval $ac_try) 2>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 gdb_cv_sys_syscall_h_has_tkill
=yes
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.
$ac_ext >&5
19889 gdb_cv_sys_syscall_h_has_tkill
=no
19892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19895 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
19896 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
19898 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
19900 cat >>confdefs.h
<<\_ACEOF
19901 #define HAVE_TKILL_SYSCALL 1
19908 # Check whether --with-sysroot or --without-sysroot was given.
19909 if test "${with_sysroot+set}" = set; then
19910 withval
="$with_sysroot"
19912 case ${with_sysroot} in
19913 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
19914 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
19917 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
19919 if test "x$exec_prefix" = xNONE
; then
19920 if test "x$prefix" = xNONE
; then
19921 test_prefix
=/usr
/local
19923 test_prefix
=$prefix
19926 test_prefix
=$exec_prefix
19928 case ${TARGET_SYSTEM_ROOT} in
19929 "${test_prefix}"|
"${test_prefix}/"*|\
19930 '${exec_prefix}'|
'${exec_prefix}/'*)
19931 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
19932 TARGET_SYSTEM_ROOT_DEFINE
="$t"
19938 TARGET_SYSTEM_ROOT
=
19939 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
19945 # Check whether --enable-werror or --disable-werror was given.
19946 if test "${enable_werror+set}" = set; then
19947 enableval
="$enable_werror"
19948 case "${enableval}" in
19949 yes | y
) ERROR_ON_WARNING
="yes" ;;
19950 no | n
) ERROR_ON_WARNING
="no" ;;
19951 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
19952 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
19953 { (exit 1); exit 1; }; } ;;
19957 # Enable -Werror by default when using gcc
19958 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
19959 ERROR_ON_WARNING
=yes
19963 if test "${ERROR_ON_WARNING}" = yes ; then
19964 WERROR_CFLAGS
="-Werror"
19967 # NOTE: Don't add -Wall or -Wunused, they both include
19968 # -Wunused-parameter which reports bogus warnings.
19969 # NOTE: If you add to this list, remember to update
19970 # gdb/doc/gdbint.texinfo.
19971 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
19972 -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral \
19973 -Wunused-label -Wunused-function -Wno-pointer-sign"
19975 # GCC supports -Wuninitialized only with -O or -On, n != 0.
19976 if test x
${CFLAGS+set} = xset
; then
19977 case "${CFLAGS}" in
19980 build_warnings
="${build_warnings} -Wuninitialized"
19984 build_warnings
="${build_warnings} -Wuninitialized"
19987 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
19988 # -Wunused-function -Wunused-variable -Wunused-value
19989 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
19990 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
19991 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
19992 # -Woverloaded-virtual -Winline -Werror"
19993 # Check whether --enable-build-warnings or --disable-build-warnings was given.
19994 if test "${enable_build_warnings+set}" = set; then
19995 enableval
="$enable_build_warnings"
19996 case "${enableval}" in
19998 no
) build_warnings
="-w";;
19999 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20000 build_warnings
="${build_warnings} ${t}";;
20001 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20002 build_warnings
="${t} ${build_warnings}";;
20003 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
20005 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
20006 echo "Setting compiler warning flags = $build_warnings" 6>&1
20008 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
20009 if test "${enable_gdb_build_warnings+set}" = set; then
20010 enableval
="$enable_gdb_build_warnings"
20011 case "${enableval}" in
20013 no
) build_warnings
="-w";;
20014 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20015 build_warnings
="${build_warnings} ${t}";;
20016 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20017 build_warnings
="${t} ${build_warnings}";;
20018 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
20020 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
20021 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
20024 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
20026 echo "$as_me:$LINENO: checking compiler warning flags" >&5
20027 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
20028 # Separate out the -Werror flag as some files just cannot be
20029 # compiled with it enabled.
20030 for w
in ${build_warnings}; do
20032 -Werr*) WERROR_CFLAGS
=-Werror ;;
20033 *) # Check that GCC accepts it
20034 saved_CFLAGS
="$CFLAGS"
20035 CFLAGS
="$CFLAGS $w"
20036 cat >conftest.
$ac_ext <<_ACEOF
20039 cat confdefs.h
>>conftest.
$ac_ext
20040 cat >>conftest.
$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20051 rm -f conftest.
$ac_objext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20053 (eval $ac_compile) 2>conftest.er1
20055 grep -v '^ *+' conftest.er1
>conftest.err
20057 cat conftest.err
>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } &&
20060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20062 (eval $ac_try) 2>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); }; } &&
20066 { ac_try
='test -s conftest.$ac_objext'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; }; then
20072 WARN_CFLAGS
="${WARN_CFLAGS} $w"
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.
$ac_ext >&5
20078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20079 CFLAGS
="$saved_CFLAGS"
20082 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
20083 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
20088 # In the Cygwin environment, we need some additional flags.
20089 echo "$as_me:$LINENO: checking for cygwin" >&5
20090 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
20091 if test "${gdb_cv_os_cygwin+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20094 cat >conftest.
$ac_ext <<_ACEOF
20097 cat confdefs.h
>>conftest.
$ac_ext
20098 cat >>conftest.
$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20101 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
20105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20106 $EGREP "lose" >/dev
/null
2>&1; then
20107 gdb_cv_os_cygwin
=yes
20109 gdb_cv_os_cygwin
=no
20114 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
20115 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
20118 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
20120 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
20121 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
20122 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
20126 # libreadline needs libuser32.a in a cygwin environment
20128 if test x
$gdb_cv_os_cygwin = xyes
; then
20129 WIN32LIBS
="-luser32"
20130 case "${target}" in
20131 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
20136 # The ser-tcp.c module requires sockets.
20140 cat >>confdefs.h
<<\_ACEOF
20141 #define USE_WIN32API 1
20144 WIN32LIBS
="$WIN32LIBS -lws2_32"
20149 # Add any host-specific objects to GDB.
20150 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
20152 LIBGUI
="../libgui/src/libgui.a"
20153 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
20171 if test "${enable_gdbtk}" = "yes"; then
20173 # Gdbtk must have an absolute path to srcdir in order to run
20174 # properly when not installed.
20177 GDBTK_SRC_DIR
=`pwd`
20182 # Ok, lets find the tcl configuration
20183 # First, look for one uninstalled.
20184 # the alternative search directory is invoked by --with-tclconfig
20187 if test x
"${no_tcl}" = x
; then
20188 # we reset no_tcl in case something fails here
20191 # Check whether --with-tclconfig or --without-tclconfig was given.
20192 if test "${with_tclconfig+set}" = set; then
20193 withval
="$with_tclconfig"
20194 with_tclconfig
=${withval}
20196 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
20197 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
20198 if test "${ac_cv_c_tclconfig+set}" = set; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 # First check to see if --with-tclconfig was specified.
20204 if test x
"${with_tclconfig}" != x
; then
20205 if test -f "${with_tclconfig}/tclConfig.sh" ; then
20206 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
20208 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
20209 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
20210 { (exit 1); exit 1; }; }
20214 # then check for a private Tcl installation
20215 if test x
"${ac_cv_c_tclconfig}" = x
; then
20218 `ls -dr ../tcl[7-9]* 2>/dev/null` \
20220 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
20222 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
20223 if test -f "$i/${configdir}/tclConfig.sh" ; then
20224 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
20229 # check in a few common install locations
20230 if test x
"${ac_cv_c_tclconfig}" = x
; then
20231 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20232 if test -f "$i/tclConfig.sh" ; then
20233 ac_cv_c_tclconfig
=`(cd $i; pwd)`
20238 # check in a few other private locations
20239 if test x
"${ac_cv_c_tclconfig}" = x
; then
20242 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
20243 if test -f "$i/${configdir}/tclConfig.sh" ; then
20244 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
20252 if test x
"${ac_cv_c_tclconfig}" = x
; then
20253 TCLCONFIG
="# no Tcl configs found"
20254 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
20255 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
20258 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
20259 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
20260 echo "${ECHO_T}found $TCLCONFIG" >&6
20264 if test -z "${no_tcl}"; then
20295 # Ok, lets find the tk configuration
20296 # First, look for one uninstalled.
20297 # the alternative search directory is invoked by --with-tkconfig
20300 if test x
"${no_tk}" = x
; then
20301 # we reset no_tk in case something fails here
20304 # Check whether --with-tkconfig or --without-tkconfig was given.
20305 if test "${with_tkconfig+set}" = set; then
20306 withval
="$with_tkconfig"
20307 with_tkconfig
=${withval}
20309 echo "$as_me:$LINENO: checking for Tk configuration" >&5
20310 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
20311 if test "${ac_cv_c_tkconfig+set}" = set; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20316 # First check to see if --with-tkconfig was specified.
20317 if test x
"${with_tkconfig}" != x
; then
20318 if test -f "${with_tkconfig}/tkConfig.sh" ; then
20319 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
20321 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
20322 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
20323 { (exit 1); exit 1; }; }
20327 # then check for a private Tk library
20328 if test x
"${ac_cv_c_tkconfig}" = x
; then
20331 `ls -dr ../tk[4-9]* 2>/dev/null` \
20333 `ls -dr ../../tk[4-9]* 2>/dev/null` \
20335 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
20336 if test -f "$i/${configdir}/tkConfig.sh" ; then
20337 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20342 # check in a few common install locations
20343 if test x
"${ac_cv_c_tkconfig}" = x
; then
20344 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20345 if test -f "$i/tkConfig.sh" ; then
20346 ac_cv_c_tkconfig
=`(cd $i; pwd)`
20351 # check in a few other private locations
20352 if test x
"${ac_cv_c_tkconfig}" = x
; then
20355 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
20356 if test -f "$i/${configdir}/tkConfig.sh" ; then
20357 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20365 if test x
"${ac_cv_c_tkconfig}" = x
; then
20366 TKCONFIG
="# no Tk configs found"
20367 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
20368 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
20371 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
20372 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
20373 echo "${ECHO_T}found $TKCONFIG" >&6
20379 # now look for Tcl library stuff
20381 tcldir
="../tcl/${configdir}/"
20383 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
20385 # If $no_tk is nonempty, then we can't do Tk, and there is no
20386 # point to doing Tcl.
20387 if test -z "${no_tk}"; then
20389 if test -f "$TKCONFIG" ; then
20407 # Ok, lets find the tcl source trees so we can use the headers
20408 # Warning: transition of version 9 to 10 will break this algorithm
20409 # because 10 sorts before 9. We also look for just tcl. We have to
20410 # be careful that we don't match stuff like tclX by accident.
20411 # the alternative search directory is involked by --with-tclinclude
20415 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
20416 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
20418 # Check whether --with-tclinclude or --without-tclinclude was given.
20419 if test "${with_tclinclude+set}" = set; then
20420 withval
="$with_tclinclude"
20421 with_tclinclude
=${withval}
20423 if test "${ac_cv_c_tclh+set}" = set; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 # first check to see if --with-tclinclude was specified
20428 if test x
"${with_tclinclude}" != x
; then
20429 if test -f ${with_tclinclude}/tclInt.h
; then
20430 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
20431 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
20432 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
20434 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
20435 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
20436 { (exit 1); exit 1; }; }
20440 # next check if it came with Tcl configuration file
20441 if test x
"${ac_cv_c_tclconfig}" = x
; then
20442 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
20443 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
20447 # next check in private source directory
20449 # since ls returns lowest version numbers first, reverse its output
20450 if test x
"${ac_cv_c_tclh}" = x
; then
20453 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
20454 ${srcdir}/..
/..
/tcl \
20455 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
20456 ${srcdir}/..
/..
/..
/tcl \
20457 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
20458 if test -f $i/generic
/tclInt.h
; then
20459 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20464 # finally check in a few common install locations
20466 # since ls returns lowest version numbers first, reverse its output
20467 if test x
"${ac_cv_c_tclh}" = x
; then
20469 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
20470 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
20471 /usr
/local
/src
/tcl \
20472 /usr
/local
/lib
/tcl \
20473 ${prefix}/include
; do
20474 if test -f $i/generic
/tclInt.h
; then
20475 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20480 # see if one is installed
20481 if test x
"${ac_cv_c_tclh}" = x
; then
20482 if test "${ac_cv_header_tclInt_h+set}" = set; then
20483 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20484 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20485 if test "${ac_cv_header_tclInt_h+set}" = set; then
20486 echo $ECHO_N "(cached) $ECHO_C" >&6
20488 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20489 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20491 # Is the header compilable?
20492 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
20493 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
20494 cat >conftest.
$ac_ext <<_ACEOF
20497 cat confdefs.h
>>conftest.
$ac_ext
20498 cat >>conftest.
$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 $ac_includes_default
20501 #include <tclInt.h>
20503 rm -f conftest.
$ac_objext
20504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20505 (eval $ac_compile) 2>conftest.er1
20507 grep -v '^ *+' conftest.er1
>conftest.err
20509 cat conftest.err
>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } &&
20512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; } &&
20518 { ac_try
='test -s conftest.$ac_objext'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; }; then
20524 ac_header_compiler
=yes
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.
$ac_ext >&5
20529 ac_header_compiler
=no
20531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20532 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20533 echo "${ECHO_T}$ac_header_compiler" >&6
20535 # Is the header present?
20536 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
20537 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
20538 cat >conftest.
$ac_ext <<_ACEOF
20541 cat confdefs.h
>>conftest.
$ac_ext
20542 cat >>conftest.
$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544 #include <tclInt.h>
20546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20549 grep -v '^ *+' conftest.er1
>conftest.err
20551 cat conftest.err
>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } >/dev
/null
; then
20554 if test -s conftest.err
; then
20555 ac_cpp_err
=$ac_c_preproc_warn_flag
20556 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20563 if test -z "$ac_cpp_err"; then
20564 ac_header_preproc
=yes
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.
$ac_ext >&5
20569 ac_header_preproc
=no
20571 rm -f conftest.err conftest.
$ac_ext
20572 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20573 echo "${ECHO_T}$ac_header_preproc" >&6
20575 # So? What about this header?
20576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20578 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
20579 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20580 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
20581 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
20582 ac_header_preproc
=yes
20585 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
20586 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
20587 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
20588 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
20589 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
20590 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
20591 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
20592 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
20593 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
20594 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
20595 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
20596 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
20599 ## ------------------------------------------ ##
20600 ## Report this to the AC_PACKAGE_NAME lists. ##
20601 ## ------------------------------------------ ##
20604 sed "s/^/$as_me: WARNING: /" >&2
20607 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20608 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20609 if test "${ac_cv_header_tclInt_h+set}" = set; then
20610 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 ac_cv_header_tclInt_h
=$ac_header_preproc
20614 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20615 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20618 if test $ac_cv_header_tclInt_h = yes; then
20619 ac_cv_c_tclh
=installed
20629 if test x
"${ac_cv_c_tclh}" = x
; then
20630 TCLHDIR
="# no Tcl private headers found"
20631 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
20632 echo "$as_me: error: Can't find Tcl private headers" >&2;}
20633 { (exit 1); exit 1; }; }
20635 if test x
"${ac_cv_c_tclh}" != x
; then
20637 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
20638 echo "$as_me:$LINENO: result: is installed" >&5
20639 echo "${ECHO_T}is installed" >&6
20642 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
20643 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
20644 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
20645 TCLHDIR
="-I${ac_cv_c_tclh}"
20653 # Ok, lets find the tk source trees so we can use the headers
20654 # If the directory (presumably symlink) named "tk" exists, use that one
20655 # in preference to any others. Same logic is used when choosing library
20656 # and again with Tcl. The search order is the best place to look first, then in
20657 # decreasing significance. The loop breaks if the trigger file is found.
20658 # Note the gross little conversion here of srcdir by cd'ing to the found
20659 # directory. This converts the path from a relative to an absolute, so
20660 # recursive cache variables for the path will work right. We check all
20661 # the possible paths in one loop rather than many seperate loops to speed
20663 # the alternative search directory is involked by --with-tkinclude
20666 echo "$as_me:$LINENO: checking for Tk private headers" >&5
20667 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
20669 # Check whether --with-tkinclude or --without-tkinclude was given.
20670 if test "${with_tkinclude+set}" = set; then
20671 withval
="$with_tkinclude"
20672 with_tkinclude
=${withval}
20674 if test "${ac_cv_c_tkh+set}" = set; then
20675 echo $ECHO_N "(cached) $ECHO_C" >&6
20678 # first check to see if --with-tkinclude was specified
20679 if test x
"${with_tkinclude}" != x
; then
20680 if test -f ${with_tkinclude}/tk.h
; then
20681 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
20682 elif test -f ${with_tkinclude}/generic
/tk.h
; then
20683 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
20685 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
20686 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
20687 { (exit 1); exit 1; }; }
20691 # next check if it came with Tk configuration file
20692 if test x
"${ac_cv_c_tkconfig}" = x
; then
20693 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
20694 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
20698 # next check in private source directory
20700 # since ls returns lowest version numbers first, reverse its output
20701 if test x
"${ac_cv_c_tkh}" = x
; then
20704 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
20705 ${srcdir}/..
/..
/tk \
20706 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
20707 ${srcdir}/..
/..
/..
/tk \
20708 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
20709 if test -f $i/generic
/tk.h
; then
20710 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
20715 # finally check in a few common install locations
20717 # since ls returns lowest version numbers first, reverse its output
20718 if test x
"${ac_cv_c_tkh}" = x
; then
20720 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
20721 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
20722 /usr
/local
/src
/tk \
20723 /usr
/local
/lib
/tk \
20724 ${prefix}/include
; do
20725 if test -f $i/generic
/tk.h
; then
20726 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
20731 # see if one is installed
20732 if test x
"${ac_cv_c_tkh}" = x
; then
20733 if test "${ac_cv_header_tk_h+set}" = set; then
20734 echo "$as_me:$LINENO: checking for tk.h" >&5
20735 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
20736 if test "${ac_cv_header_tk_h+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
20740 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
20742 # Is the header compilable?
20743 echo "$as_me:$LINENO: checking tk.h usability" >&5
20744 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
20745 cat >conftest.
$ac_ext <<_ACEOF
20748 cat confdefs.h
>>conftest.
$ac_ext
20749 cat >>conftest.
$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20754 rm -f conftest.
$ac_objext
20755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20756 (eval $ac_compile) 2>conftest.er1
20758 grep -v '^ *+' conftest.er1
>conftest.err
20760 cat conftest.err
>&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); } &&
20763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20765 (eval $ac_try) 2>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); }; } &&
20769 { ac_try
='test -s conftest.$ac_objext'
20770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; }; then
20775 ac_header_compiler
=yes
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.
$ac_ext >&5
20780 ac_header_compiler
=no
20782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20784 echo "${ECHO_T}$ac_header_compiler" >&6
20786 # Is the header present?
20787 echo "$as_me:$LINENO: checking tk.h presence" >&5
20788 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
20789 cat >conftest.
$ac_ext <<_ACEOF
20792 cat confdefs.h
>>conftest.
$ac_ext
20793 cat >>conftest.
$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20800 grep -v '^ *+' conftest.er1
>conftest.err
20802 cat conftest.err
>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } >/dev
/null
; then
20805 if test -s conftest.err
; then
20806 ac_cpp_err
=$ac_c_preproc_warn_flag
20807 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20814 if test -z "$ac_cpp_err"; then
20815 ac_header_preproc
=yes
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.
$ac_ext >&5
20820 ac_header_preproc
=no
20822 rm -f conftest.err conftest.
$ac_ext
20823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20824 echo "${ECHO_T}$ac_header_preproc" >&6
20826 # So? What about this header?
20827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20829 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
20830 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20831 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
20832 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
20833 ac_header_preproc
=yes
20836 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
20837 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
20839 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
20840 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
20841 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
20842 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
20843 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
20844 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
20845 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
20846 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
20847 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
20850 ## ------------------------------------------ ##
20851 ## Report this to the AC_PACKAGE_NAME lists. ##
20852 ## ------------------------------------------ ##
20855 sed "s/^/$as_me: WARNING: /" >&2
20858 echo "$as_me:$LINENO: checking for tk.h" >&5
20859 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
20860 if test "${ac_cv_header_tk_h+set}" = set; then
20861 echo $ECHO_N "(cached) $ECHO_C" >&6
20863 ac_cv_header_tk_h
=$ac_header_preproc
20865 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
20866 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
20869 if test $ac_cv_header_tk_h = yes; then
20870 ac_cv_c_tkh
=installed
20880 if test x
"${ac_cv_c_tkh}" != x
; then
20882 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
20883 echo "$as_me:$LINENO: result: is installed" >&5
20884 echo "${ECHO_T}is installed" >&6
20887 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
20888 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
20889 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
20890 TKHDIR
="-I${ac_cv_c_tkh}"
20893 TKHDIR
="# no Tk directory found"
20894 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
20895 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
20902 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
20903 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
20904 if test x
"${ac_cv_c_itclh}" = x
; then
20905 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
20906 if test -f $i/generic
/itcl.h
; then
20907 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
20912 if test x
"${ac_cv_c_itclh}" = x
; then
20913 ITCLHDIR
="# no Itcl private headers found"
20914 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
20915 echo "$as_me: error: Can't find Itcl private headers" >&2;}
20916 { (exit 1); exit 1; }; }
20918 if test x
"${ac_cv_c_itclh}" != x
; then
20919 ITCLHDIR
="-I${ac_cv_c_itclh}"
20921 # should always be here
20922 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
20927 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
20928 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
20929 if test x
"${ac_cv_c_itkh}" = x
; then
20930 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
20931 if test -f $i/generic
/itk.h
; then
20932 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
20937 if test x
"${ac_cv_c_itkh}" = x
; then
20938 ITKHDIR
="# no Itk private headers found"
20939 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
20940 echo "$as_me: error: Can't find Itk private headers" >&2;}
20941 { (exit 1); exit 1; }; }
20943 if test x
"${ac_cv_c_itkh}" != x
; then
20944 ITKHDIR
="-I${ac_cv_c_itkh}"
20946 # should always be here
20947 # ITKLIB="../itcl/itk/unix/libitk.a"
20953 # now look for Tk library stuff
20955 tkdir
="../tk/${configdir}/"
20957 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
20959 # now look for Itcl library stuff
20963 # Ok, lets find the itcl configuration
20964 # First, look for one uninstalled.
20965 # the alternative search directory is invoked by --with-itclconfig
20968 if test x
"${no_itcl}" = x
; then
20969 # we reset no_itcl in case something fails here
20972 # Check whether --with-itclconfig or --without-itclconfig was given.
20973 if test "${with_itclconfig+set}" = set; then
20974 withval
="$with_itclconfig"
20975 with_itclconfig
=${withval}
20977 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
20978 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
20979 if test "${ac_cv_c_itclconfig+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20984 # First check to see if --with-itclconfig was specified.
20985 if test x
"${with_itclconfig}" != x
; then
20986 if test -f "${with_itclconfig}/itclConfig.sh" ; then
20987 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
20989 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
20990 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
20991 { (exit 1); exit 1; }; }
20995 # then check for a private Itcl library
20996 if test x
"${ac_cv_c_itclconfig}" = x
; then
20999 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
21001 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
21003 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
21004 if test -f "$i/itclConfig.sh" ; then
21005 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21010 # check in a few common install locations
21011 if test x
"${ac_cv_c_itclconfig}" = x
; then
21012 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21013 if test -f "$i/itclConfig.sh" ; then
21014 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21019 # check in a few other private locations
21020 if test x
"${ac_cv_c_itclconfig}" = x
; then
21022 ${srcdir}/..
/itcl
/itcl \
21023 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
21024 if test -f "$i/itclConfig.sh" ; then
21025 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21033 if test x
"${ac_cv_c_itclconfig}" = x
; then
21034 ITCLCONFIG
="# no Itcl configs found"
21035 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
21036 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
21039 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
21040 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
21041 echo "${ECHO_T}found $ITCLCONFIG" >&6
21045 if test -z "${no_itcl}"; then
21047 if test -f "$ITCLCONFIG" ; then
21062 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
21063 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
21067 # now look for Itk library stuff
21070 # Ok, lets find the itk configuration
21071 # First, look for one uninstalled.
21072 # the alternative search directory is invoked by --with-itkconfig
21075 if test x
"${no_itk}" = x
; then
21076 # we reset no_itk in case something fails here
21079 # Check whether --with-itkconfig or --without-itkconfig was given.
21080 if test "${with_itkconfig+set}" = set; then
21081 withval
="$with_itkconfig"
21082 with_itkconfig
=${withval}
21084 echo "$as_me:$LINENO: checking for Itk configuration" >&5
21085 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
21086 if test "${ac_cv_c_itkconfig+set}" = set; then
21087 echo $ECHO_N "(cached) $ECHO_C" >&6
21091 # First check to see if --with-itkconfig was specified.
21092 if test x
"${with_itkconfig}" != x
; then
21093 if test -f "${with_itkconfig}/itkConfig.sh" ; then
21094 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
21096 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
21097 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
21098 { (exit 1); exit 1; }; }
21102 # then check for a private Itk library
21103 if test x
"${ac_cv_c_itkconfig}" = x
; then
21106 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
21108 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
21110 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
21111 if test -f "$i/itkConfig.sh" ; then
21112 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21117 # check in a few common install locations
21118 if test x
"${ac_cv_c_itkconfig}" = x
; then
21119 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21120 if test -f "$i/itkConfig.sh" ; then
21121 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21126 # check in a few other private locations
21127 if test x
"${ac_cv_c_itkconfig}" = x
; then
21129 ${srcdir}/..
/itcl
/itk \
21130 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
21131 if test -f "$i/itkConfig.sh" ; then
21132 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21140 if test x
"${ac_cv_c_itkconfig}" = x
; then
21141 ITKCONFIG
="# no Itk configs found"
21142 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
21143 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
21146 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
21147 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
21148 echo "${ECHO_T}found $ITKCONFIG" >&6
21153 if test -z "${no_itcl}"; then
21155 if test -f "$ITKCONFIG" ; then
21170 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
21171 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
21174 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
21176 # Include some libraries that Tcl and Tk want.
21177 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
21178 # Yes, the ordering seems wrong here. But it isn't.
21179 # TK_LIBS is the list of libraries that need to be linked
21180 # after Tcl/Tk. Note that this isn't put into LIBS. If it
21181 # were in LIBS then any link tests after this point would
21182 # try to include things like `$(LIBGUI)', which wouldn't work.
21183 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
21185 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
21186 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
21187 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
21188 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
21189 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
21190 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
21191 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
21193 if test x
$gdb_cv_os_cygwin = xyes
; then
21194 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
21195 WIN32LDAPP
="-Wl,--subsystem,console"
21196 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
21203 subdirs
="$subdirs gdbtk"
21220 echo "$as_me:$LINENO: checking for X" >&5
21221 echo $ECHO_N "checking for X... $ECHO_C" >&6
21223 ac_path_x_has_been_run
=yes
21225 # Check whether --with-x or --without-x was given.
21226 if test "${with_x+set}" = set; then
21230 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21231 if test "x$with_x" = xno
; then
21232 # The user explicitly disabled X.
21235 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21236 # Both variables are already set.
21239 if test "${ac_cv_have_x+set}" = set; then
21240 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 # One or both of the vars are not set, and there is no cached value.
21243 ac_x_includes
=no ac_x_libraries
=no
21244 rm -fr conftest.dir
21245 if mkdir conftest.dir
; then
21247 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21248 cat >Imakefile
<<'_ACEOF'
21250 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21252 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21254 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21255 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21256 for ac_extension
in a so sl
; do
21257 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21258 test -f $ac_im_libdir/libX11.
$ac_extension; then
21259 ac_im_usrlibdir
=$ac_im_libdir; break
21262 # Screen out bogus values from the imake configuration. They are
21263 # bogus both because they are the default anyway, and because
21264 # using them would break gcc on systems where it needs fixed includes.
21265 case $ac_im_incroot in
21267 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21269 case $ac_im_usrlibdir in
21270 /usr
/lib |
/lib
) ;;
21271 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21275 rm -fr conftest.dir
21278 # Standard set of common directories for X headers.
21279 # Check X11 before X11Rn because it is often a symlink to the current release.
21291 /usr/local/X11/include
21292 /usr/local/X11R6/include
21293 /usr/local/X11R5/include
21294 /usr/local/X11R4/include
21296 /usr/local/include/X11
21297 /usr/local/include/X11R6
21298 /usr/local/include/X11R5
21299 /usr/local/include/X11R4
21303 /usr/XFree86/include/X11
21307 /usr/unsupported/include
21308 /usr/athena/include
21309 /usr/local/x11r5/include
21310 /usr/lpp/Xamples/include
21312 /usr/openwin/include
21313 /usr/openwin/share/include'
21315 if test "$ac_x_includes" = no
; then
21316 # Guess where to find include files, by looking for a specified header file.
21317 # First, try using that file with no special directory specified.
21318 cat >conftest.
$ac_ext <<_ACEOF
21321 cat confdefs.h
>>conftest.
$ac_ext
21322 cat >>conftest.
$ac_ext <<_ACEOF
21323 /* end confdefs.h. */
21324 #include <X11/Xlib.h>
21326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21329 grep -v '^ *+' conftest.er1
>conftest.err
21331 cat conftest.err
>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } >/dev
/null
; then
21334 if test -s conftest.err
; then
21335 ac_cpp_err
=$ac_c_preproc_warn_flag
21336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21343 if test -z "$ac_cpp_err"; then
21344 # We can compile using X headers with no special include directory.
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.
$ac_ext >&5
21350 for ac_dir
in $ac_x_header_dirs; do
21351 if test -r "$ac_dir/X11/Xlib.h"; then
21352 ac_x_includes
=$ac_dir
21357 rm -f conftest.err conftest.
$ac_ext
21358 fi # $ac_x_includes = no
21360 if test "$ac_x_libraries" = no
; then
21361 # Check for the libraries.
21362 # See if we find them without any special options.
21363 # Don't add to $LIBS permanently.
21366 cat >conftest.
$ac_ext <<_ACEOF
21369 cat confdefs.h
>>conftest.
$ac_ext
21370 cat >>conftest.
$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 #include <X11/Xlib.h>
21381 rm -f conftest.
$ac_objext conftest
$ac_exeext
21382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21383 (eval $ac_link) 2>conftest.er1
21385 grep -v '^ *+' conftest.er1
>conftest.err
21387 cat conftest.err
>&5
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); } &&
21390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21392 (eval $ac_try) 2>&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); }; } &&
21396 { ac_try
='test -s conftest$ac_exeext'
21397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21398 (eval $ac_try) 2>&5
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); }; }; then
21403 # We can link X programs with no special library path.
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.
$ac_ext >&5
21410 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21412 # Don't even attempt the hair of trying to link an X program!
21413 for ac_extension
in a so sl
; do
21414 if test -r $ac_dir/libX11.
$ac_extension; then
21415 ac_x_libraries
=$ac_dir
21421 rm -f conftest.err conftest.
$ac_objext \
21422 conftest
$ac_exeext conftest.
$ac_ext
21423 fi # $ac_x_libraries = no
21425 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
21426 # Didn't find X anywhere. Cache the known absence of X.
21427 ac_cv_have_x
="have_x=no"
21429 # Record where we found X for the cache.
21430 ac_cv_have_x
="have_x=yes \
21431 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21436 eval "$ac_cv_have_x"
21439 if test "$have_x" != yes; then
21440 echo "$as_me:$LINENO: result: $have_x" >&5
21441 echo "${ECHO_T}$have_x" >&6
21444 # If each of the values was on the command line, it overrides each guess.
21445 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21446 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21447 # Update the cache value to reflect the command line values.
21448 ac_cv_have_x
="have_x=yes \
21449 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21450 # It might be that x_includes is empty (headers are found in the
21451 # standard search path. Then output the corresponding message
21452 ac_out_x_includes
=$x_includes
21453 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
21454 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
21455 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
21459 # Check whether we should enable the TUI, but only do so if we really
21461 if test x
"$enable_tui" = xyes
; then
21462 if test -d $srcdir/tui
; then
21463 if test "$ac_cv_search_waddstr" != no
; then
21464 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
21465 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
21466 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
21467 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
21468 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
21469 CONFIG_ALL
="${CONFIG_ALL} all-tui"
21470 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
21471 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
21472 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
21474 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
21475 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
21480 # Unlike the sim directory, whether a simulator is linked is controlled by
21481 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
21482 # This code just checks for a few cases where we'd like to ignore those
21483 # definitions, even when they're present in the '.mt' file. These cases
21484 # are when --disable-sim is specified, or if the simulator directory is
21485 # not part of the source tree.
21487 # Check whether --enable-sim or --disable-sim was given.
21488 if test "${enable_sim+set}" = set; then
21489 enableval
="$enable_sim"
21490 echo "enable_sim = $enable_sim";
21491 echo "enableval = ${enableval}";
21492 case "${enableval}" in
21493 yes) ignore_sim
=false
;;
21494 no
) ignore_sim
=true
;;
21495 *) ignore_sim
=false
;;
21501 if test ! -d "${srcdir}/../sim"; then
21505 if test "${ignore_sim}" = "true"; then
21507 IGNORE_SIM_OBS
="SIM_OBS="
21512 cat >>confdefs.h
<<\_ACEOF
21531 # List of host floatformats.
21533 cat >>confdefs.h
<<_ACEOF
21534 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
21538 cat >>confdefs.h
<<_ACEOF
21539 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
21543 cat >>confdefs.h
<<_ACEOF
21544 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
21548 # target_subdir is used by the testsuite to find the target libraries.
21550 if test "${host}" != "${target}"; then
21551 target_subdir
="${target_alias}/"
21556 if test "${target}" = "${host}"; then
21557 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
21558 if test ! -f ${host_makefile_frag}; then
21559 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
21560 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
21561 { (exit 1); exit 1; }; }
21563 frags
="$frags $host_makefile_frag"
21565 host_makefile_frag
=/dev
/null
21568 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
21569 if test ! -f ${target_makefile_frag}; then
21570 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
21571 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
21572 { (exit 1); exit 1; }; }
21574 frags
="$frags $target_makefile_frag"
21581 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21582 ' ${host_makefile_frag}`
21584 targetfile
=`sed -n '
21585 s/DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21586 ' ${target_makefile_frag}`
21588 if test "${target}" = "${host}"; then
21589 # We pick this up from the host configuration file (.mh) because we
21590 # do not have a native configuration Makefile fragment.
21591 nativefile
=`sed -n '
21592 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21593 ' ${host_makefile_frag}`
21597 if test x
"${gdb_osabi}" != x
; then
21599 cat >>confdefs.h
<<_ACEOF
21600 #define GDB_OSABI_DEFAULT $gdb_osabi
21605 # Enable multi-ice-gdb-server.
21606 # Check whether --enable-multi-ice or --disable-multi-ice was given.
21607 if test "${enable_multi_ice+set}" = set; then
21608 enableval
="$enable_multi_ice"
21612 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
21613 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
21614 { (exit 1); exit 1; }; } ;;
21617 if test "x$enable_multi_ice" = xyes
; then
21620 subdirs
="$subdirs multi-ice"
21624 # We only build gdbserver automatically if host and target are the same.
21625 if test "x$target" = "x$host"; then
21626 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
21627 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
21628 if test "x$build_gdbserver" = xyes
; then
21629 echo "$as_me:$LINENO: result: yes" >&5
21630 echo "${ECHO_T}yes" >&6
21633 subdirs
="$subdirs gdbserver"
21636 echo "$as_me:$LINENO: result: no" >&5
21637 echo "${ECHO_T}no" >&6
21641 # We configure the nlm subdirectory on netware targets, as instructed
21642 # by configure.tgt.
21643 if test "x$build_nlm" = xyes
; then
21646 subdirs
="$subdirs nlm"
21650 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
21651 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
21652 # to an empty version.
21659 if test "${hostfile}" != ""; then
21661 case "${hostfile}" in
21662 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
21663 * ) GDB_XM_FILE
="${hostfile}"
21665 files
="${files} ${GDB_XM_FILE}"
21666 links
="${links} xm.h"
21668 cat >>confdefs.h
<<_ACEOF
21669 #define GDB_XM_FILE "${GDB_XM_FILE}"
21677 if test "${targetfile}" != ""; then
21679 case "${targetfile}" in
21680 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
21681 * ) GDB_TM_FILE
="${targetfile}"
21683 files
="${files} ${GDB_TM_FILE}"
21684 links
="${links} tm.h"
21686 cat >>confdefs.h
<<_ACEOF
21687 #define GDB_TM_FILE "${GDB_TM_FILE}"
21695 if test "${nativefile}" != ""; then
21697 case "${nativefile}" in
21698 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
21699 * ) GDB_NM_FILE
="${nativefile}"
21701 files
="${files} ${GDB_NM_FILE}"
21702 links
="${links} nm.h"
21704 cat >>confdefs.h
<<_ACEOF
21705 #define GDB_NM_FILE "${GDB_NM_FILE}"
21711 ac_sources
="$files"
21713 while test -n "$ac_sources"; do
21714 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
21715 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
21716 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
21718 ac_config_links
="$ac_config_links $ac_config_links_1"
21725 cat >>confdefs.h
<<\_ACEOF
21726 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
21733 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21734 if test "${with_libiconv_prefix+set}" = set; then
21735 withval
="$with_libiconv_prefix"
21737 for dir
in `echo "$withval" | tr : ' '`; do
21738 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
21739 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
21744 echo "$as_me:$LINENO: checking for iconv" >&5
21745 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
21746 if test "${am_cv_func_iconv+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21750 am_cv_func_iconv
="no, consider installing GNU libiconv"
21752 cat >conftest.
$ac_ext <<_ACEOF
21755 cat confdefs.h
>>conftest.
$ac_ext
21756 cat >>conftest.
$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758 #include <stdlib.h>
21763 iconv_t cd = iconv_open("","");
21764 iconv(cd,NULL,NULL,NULL,NULL);
21770 rm -f conftest.
$ac_objext conftest
$ac_exeext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21772 (eval $ac_link) 2>conftest.er1
21774 grep -v '^ *+' conftest.er1
>conftest.err
21776 cat conftest.err
>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; } &&
21785 { ac_try
='test -s conftest$ac_exeext'
21786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787 (eval $ac_try) 2>&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; }; then
21791 am_cv_func_iconv
=yes
21793 echo "$as_me: failed program was:" >&5
21794 sed 's/^/| /' conftest.
$ac_ext >&5
21797 rm -f conftest.err conftest.
$ac_objext \
21798 conftest
$ac_exeext conftest.
$ac_ext
21799 if test "$am_cv_func_iconv" != yes; then
21800 am_save_LIBS
="$LIBS"
21801 LIBS
="$LIBS -liconv"
21802 cat >conftest.
$ac_ext <<_ACEOF
21805 cat confdefs.h
>>conftest.
$ac_ext
21806 cat >>conftest.
$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 #include <stdlib.h>
21813 iconv_t cd = iconv_open("","");
21814 iconv(cd,NULL,NULL,NULL,NULL);
21820 rm -f conftest.
$ac_objext conftest
$ac_exeext
21821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21822 (eval $ac_link) 2>conftest.er1
21824 grep -v '^ *+' conftest.er1
>conftest.err
21826 cat conftest.err
>&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); } &&
21829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; } &&
21835 { ac_try
='test -s conftest$ac_exeext'
21836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21837 (eval $ac_try) 2>&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; }; then
21841 am_cv_lib_iconv
=yes
21842 am_cv_func_iconv
=yes
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.
$ac_ext >&5
21848 rm -f conftest.err conftest.
$ac_objext \
21849 conftest
$ac_exeext conftest.
$ac_ext
21850 LIBS
="$am_save_LIBS"
21854 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
21855 echo "${ECHO_T}$am_cv_func_iconv" >&6
21856 if test "$am_cv_func_iconv" = yes; then
21858 cat >>confdefs.h
<<\_ACEOF
21859 #define HAVE_ICONV 1
21862 echo "$as_me:$LINENO: checking for iconv declaration" >&5
21863 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
21864 if test "${am_cv_proto_iconv+set}" = set; then
21865 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 cat >conftest.
$ac_ext <<_ACEOF
21871 cat confdefs.h
>>conftest.
$ac_ext
21872 cat >>conftest.
$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21875 #include <stdlib.h>
21881 #if defined(__STDC__) || defined(__cplusplus)
21882 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21895 rm -f conftest.
$ac_objext
21896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21897 (eval $ac_compile) 2>conftest.er1
21899 grep -v '^ *+' conftest.er1
>conftest.err
21901 cat conftest.err
>&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } &&
21904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; } &&
21910 { ac_try
='test -s conftest.$ac_objext'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; }; then
21916 am_cv_proto_iconv_arg1
=""
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.
$ac_ext >&5
21921 am_cv_proto_iconv_arg1
="const"
21923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21924 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);"
21927 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
21928 echo "$as_me:$LINENO: result: ${ac_t:-
21929 }$am_cv_proto_iconv" >&5
21930 echo "${ECHO_T}${ac_t:-
21931 }$am_cv_proto_iconv" >&6
21933 cat >>confdefs.h
<<_ACEOF
21934 #define ICONV_CONST $am_cv_proto_iconv_arg1
21939 if test "$am_cv_lib_iconv" = yes; then
21945 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
21946 ac_config_commands
="$ac_config_commands default"
21947 cat >confcache
<<\_ACEOF
21948 # This file is a shell script that caches the results of configure
21949 # tests run on this system so they can be shared between configure
21950 # scripts and configure runs, see configure's option --config-cache.
21951 # It is not useful on other systems. If it contains results you don't
21952 # want to keep, you may remove or edit it.
21954 # config.status only pays attention to the cache file if you give it
21955 # the --recheck option to rerun configure.
21957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21959 # following values.
21963 # The following way of writing the cache mishandles newlines in values,
21964 # but we know of no workaround that is simple, portable, and efficient.
21965 # So, don't put newlines in cache variables' values.
21966 # Ultrix sh set writes to stderr and can't be redirected directly,
21967 # and sets the high bit in the cache file unless we assign to the vars.
21970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21972 # `set' does not quote correctly, so add quotes (double-quote
21973 # substitution turns \\\\ into \\, and sed turns \\ into \).
21976 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21979 # `set' quotes correctly as required by POSIX, so do not add quotes.
21981 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21990 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21992 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21993 if test -w $cache_file; then
21994 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21995 cat confcache
>$cache_file
21997 echo "not updating unwritable cache $cache_file"
22002 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22003 # Let make expand exec_prefix.
22004 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22006 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22007 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22008 # trailing colons and then remove the whole line if VPATH becomes empty
22009 # (actually we leave an empty line to preserve line numbers).
22010 if test "x$srcdir" = x.
; then
22011 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22012 s/:*\$(srcdir):*/:/;
22013 s/:*\${srcdir}:*/:/;
22015 s/^\([^=]*=[ ]*\):*/\1/;
22021 DEFS
=-DHAVE_CONFIG_H
22025 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22026 # 1. Remove the extension, and $U if already installed.
22027 ac_i
=`echo "$ac_i" |
22028 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22030 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22031 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22033 LIBOBJS
=$ac_libobjs
22035 LTLIBOBJS
=$ac_ltlibobjs
22038 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22039 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22040 Usually this means the macro was only invoked conditionally." >&5
22041 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22042 Usually this means the macro was only invoked conditionally." >&2;}
22043 { (exit 1); exit 1; }; }
22046 : ${CONFIG_STATUS=./config.status}
22047 ac_clean_files_save
=$ac_clean_files
22048 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22049 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22050 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22051 cat >$CONFIG_STATUS <<_ACEOF
22053 # Generated by $as_me.
22054 # Run this file to recreate the current configuration.
22055 # Compiler output produced by configure, useful for debugging
22056 # configure, is in config.log if it exists.
22059 ac_cs_recheck=false
22061 SHELL=\${CONFIG_SHELL-$SHELL}
22064 cat >>$CONFIG_STATUS <<\_ACEOF
22065 ## --------------------- ##
22066 ## M4sh Initialization. ##
22067 ## --------------------- ##
22069 # Be Bourne compatible
22070 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22073 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22074 # is contrary to our usage. Disable this feature.
22075 alias -g '${1+"$@"}'='"$@"'
22076 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22079 DUALCASE
=1; export DUALCASE
# for MKS sh
22081 # Support unset when possible.
22082 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22089 # Work around bugs in pre-3.0 UWIN ksh.
22090 $as_unset ENV MAIL MAILPATH
22097 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22098 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22099 LC_TELEPHONE LC_TIME
22101 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22102 eval $as_var=C
; export $as_var
22108 # Required to use basename.
22109 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22115 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22116 as_basename
=basename
22122 # Name of the executable.
22123 as_me
=`$as_basename "$0" ||
22124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22125 X"$0" : 'X\(//\)$' \| \
22126 X"$0" : 'X\(/\)$' \| \
22127 . : '\(.\)' 2>/dev/null ||
22129 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22130 /^X\/\(\/\/\)$/{ s//\1/; q; }
22131 /^X\/\(\/\).*/{ s//\1/; q; }
22135 # PATH needs CR, and LINENO needs CR and PATH.
22136 # Avoid depending upon Character Ranges.
22137 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22138 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22139 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22140 as_cr_digits
='0123456789'
22141 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22143 # The user is always right.
22144 if test "${PATH_SEPARATOR+set}" != set; then
22145 echo "#! /bin/sh" >conf$$.sh
22146 echo "exit 0" >>conf$$.sh
22148 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22157 as_lineno_1
=$LINENO
22158 as_lineno_2
=$LINENO
22159 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22160 test "x$as_lineno_1" != "x$as_lineno_2" &&
22161 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22162 # Find who we are. Look in the path if we contain no path at all
22165 *[\\/]* ) as_myself
=$0 ;;
22166 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22167 for as_dir
in $PATH
22170 test -z "$as_dir" && as_dir
=.
22171 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22176 # We did not find ourselves, most probably we were run as `sh COMMAND'
22177 # in which case we are not to be found in the path.
22178 if test "x$as_myself" = x
; then
22181 if test ! -f "$as_myself"; then
22182 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22183 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22184 { (exit 1); exit 1; }; }
22186 case $CONFIG_SHELL in
22188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22189 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22192 test -z "$as_dir" && as_dir
=.
22193 for as_base
in sh bash ksh sh5
; do
22196 if ("$as_dir/$as_base" -c '
22197 as_lineno_1=$LINENO
22198 as_lineno_2=$LINENO
22199 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22200 test "x$as_lineno_1" != "x$as_lineno_2" &&
22201 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22202 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22203 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22204 CONFIG_SHELL
=$as_dir/$as_base
22205 export CONFIG_SHELL
22206 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22214 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22215 # uniformly replaced by the line number. The first 'sed' inserts a
22216 # line-number line before each line; the second 'sed' does the real
22217 # work. The second script uses 'N' to pair each line-number line
22218 # with the numbered line, and appends trailing '-' during
22219 # substitution so that $LINENO is not a special case at line end.
22220 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22221 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22222 sed '=' <$as_myself |
22227 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22230 s,^['$as_cr_digits']*\n,,
22231 ' >$as_me.lineno
&&
22232 chmod +x
$as_me.lineno ||
22233 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22234 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22235 { (exit 1); exit 1; }; }
22237 # Don't try to exec as it changes $[0], causing all sort of problems
22238 # (the dirname of $[0] is not the place where we might find the
22239 # original and so on. Autoconf is especially sensible to this).
22241 # Exit status is that of the last command.
22246 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22247 *c
*,-n*) ECHO_N
= ECHO_C
='
22249 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22250 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22253 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22259 rm -f conf$$ conf$$.exe conf$$.
file
22261 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22262 # We could just check for DJGPP; but this test a) works b) is more generic
22263 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22264 if test -f conf$$.exe
; then
22265 # Don't use ln at all; we don't have any links
22270 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22275 rm -f conf$$ conf$$.exe conf$$.
file
22277 if mkdir
-p .
2>/dev
/null
; then
22280 test -d .
/-p && rmdir .
/-p
22284 as_executable_p
="test -f"
22286 # Sed expression to map a string onto a valid CPP name.
22287 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22289 # Sed expression to map a string onto a valid variable name.
22290 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22294 # We need space, tab and new line, in precisely that order.
22304 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22305 # report actual input values of CONFIG_FILES etc. instead of their
22306 # values after options handling. Logging --version etc. is OK.
22310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22311 ## Running $as_me. ##
22316 This file was extended by $as_me, which was
22317 generated by GNU Autoconf 2.59. Invocation command line was
22319 CONFIG_FILES = $CONFIG_FILES
22320 CONFIG_HEADERS = $CONFIG_HEADERS
22321 CONFIG_LINKS = $CONFIG_LINKS
22322 CONFIG_COMMANDS = $CONFIG_COMMANDS
22326 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22330 # Files that config.status was made for.
22331 if test -n "$ac_config_files"; then
22332 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22335 if test -n "$ac_config_headers"; then
22336 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22339 if test -n "$ac_config_links"; then
22340 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22343 if test -n "$ac_config_commands"; then
22344 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22347 cat >>$CONFIG_STATUS <<\_ACEOF
22350 \`$as_me' instantiates files from templates according to the
22351 current configuration.
22353 Usage: $0 [OPTIONS] [FILE]...
22355 -h, --help print this help, then exit
22356 -V, --version print version number, then exit
22357 -q, --quiet do not print progress messages
22358 -d, --debug don't remove temporary files
22359 --recheck update $as_me by reconfiguring in the same conditions
22360 --file=FILE[:TEMPLATE]
22361 instantiate the configuration file FILE
22362 --header=FILE[:TEMPLATE]
22363 instantiate the configuration header FILE
22365 Configuration files:
22368 Configuration headers:
22371 Configuration links:
22374 Configuration commands:
22377 Report bugs to <bug-autoconf@gnu.org>."
22380 cat >>$CONFIG_STATUS <<_ACEOF
22383 configured by $0, generated by GNU Autoconf 2.59,
22384 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22386 Copyright (C) 2003 Free Software Foundation, Inc.
22387 This config.status script is free software; the Free Software Foundation
22388 gives unlimited permission to copy, distribute and modify it."
22393 cat >>$CONFIG_STATUS <<\_ACEOF
22394 # If no file are specified by the user, then we need to provide default
22395 # value. By we need to know if files were specified by the user.
22401 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22402 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22410 *) # This is not an option, so the user has probably given explicit
22413 ac_need_defaults
=false
;;
22417 # Handling of the options.
22419 cat >>$CONFIG_STATUS <<\_ACEOF
22420 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22422 --version |
--vers* |
-V )
22423 echo "$ac_cs_version"; exit 0 ;;
22425 # Conflict between --help and --header
22426 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22427 Try \`$0 --help' for more information." >&5
22428 echo "$as_me: error: ambiguous option: $1
22429 Try \`$0 --help' for more information." >&2;}
22430 { (exit 1); exit 1; }; };;
22431 --help |
--hel |
-h )
22432 echo "$ac_cs_usage"; exit 0 ;;
22433 --debug |
--d* |
-d )
22435 --file |
--fil |
--fi |
--f )
22437 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22438 ac_need_defaults
=false
;;
22439 --header |
--heade |
--head |
--hea )
22441 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22442 ac_need_defaults
=false
;;
22443 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22444 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22447 # This is an error.
22448 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22449 Try \`$0 --help' for more information." >&5
22450 echo "$as_me: error: unrecognized option: $1
22451 Try \`$0 --help' for more information." >&2;}
22452 { (exit 1); exit 1; }; } ;;
22454 *) ac_config_targets
="$ac_config_targets $1" ;;
22460 ac_configure_extra_args
=
22462 if $ac_cs_silent; then
22464 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22468 cat >>$CONFIG_STATUS <<_ACEOF
22469 if \$ac_cs_recheck; then
22470 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22471 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22476 cat >>$CONFIG_STATUS <<_ACEOF
22478 # INIT-COMMANDS section.
22482 gdb_host_cpu=$gdb_host_cpu
22483 gdb_target_cpu=$gdb_target_cpu
22484 nativefile=$nativefile
22491 cat >>$CONFIG_STATUS <<\_ACEOF
22492 for ac_config_target
in $ac_config_targets
22494 case "$ac_config_target" in
22495 # Handling of arguments.
22496 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22497 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
22498 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
22499 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22500 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
22501 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22502 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22503 { (exit 1); exit 1; }; };;
22507 # If the user did not use the arguments to specify the items to instantiate,
22508 # then the envvar interface is used. Set only those that are not.
22509 # We use the long form for the default assignment because of an extremely
22510 # bizarre bug on SunOS 4.1.3.
22511 if $ac_need_defaults; then
22512 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22513 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22514 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
22515 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22518 # Have a temporary directory for convenience. Make it in the build tree
22519 # simply because there is no reason to put it here, and in addition,
22520 # creating and moving files from /tmp can sometimes cause problems.
22521 # Create a temporary directory, and hook for its removal unless debugging.
22524 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22525 trap '{ (exit 1); exit 1; }' 1 2 13 15
22528 # Create a (secure) tmp directory for tmp files.
22531 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22532 test -n "$tmp" && test -d "$tmp"
22535 tmp
=.
/confstat$$
-$RANDOM
22536 (umask 077 && mkdir
$tmp)
22539 echo "$me: cannot create a temporary directory in ." >&2
22540 { (exit 1); exit 1; }
22545 cat >>$CONFIG_STATUS <<_ACEOF
22548 # CONFIG_FILES section.
22551 # No need to generate the scripts if there are no CONFIG_FILES.
22552 # This happens for instance when ./config.status config.h
22553 if test -n "\$CONFIG_FILES"; then
22554 # Protect against being on the right side of a sed subst in config.status.
22555 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22556 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22557 s,@SHELL@,$SHELL,;t t
22558 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22559 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22560 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22561 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22562 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22563 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22564 s,@exec_prefix@,$exec_prefix,;t t
22565 s,@prefix@,$prefix,;t t
22566 s,@program_transform_name@,$program_transform_name,;t t
22567 s,@bindir@,$bindir,;t t
22568 s,@sbindir@,$sbindir,;t t
22569 s,@libexecdir@,$libexecdir,;t t
22570 s,@datadir@,$datadir,;t t
22571 s,@sysconfdir@,$sysconfdir,;t t
22572 s,@sharedstatedir@,$sharedstatedir,;t t
22573 s,@localstatedir@,$localstatedir,;t t
22574 s,@libdir@,$libdir,;t t
22575 s,@includedir@,$includedir,;t t
22576 s,@oldincludedir@,$oldincludedir,;t t
22577 s,@infodir@,$infodir,;t t
22578 s,@mandir@,$mandir,;t t
22579 s,@build_alias@,$build_alias,;t t
22580 s,@host_alias@,$host_alias,;t t
22581 s,@target_alias@,$target_alias,;t t
22582 s,@DEFS@,$DEFS,;t t
22583 s,@ECHO_C@,$ECHO_C,;t t
22584 s,@ECHO_N@,$ECHO_N,;t t
22585 s,@ECHO_T@,$ECHO_T,;t t
22586 s,@LIBS@,$LIBS,;t t
22587 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22588 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22589 s,@MAINT@,$MAINT,;t t
22591 s,@CFLAGS@,$CFLAGS,;t t
22592 s,@LDFLAGS@,$LDFLAGS,;t t
22593 s,@CPPFLAGS@,$CPPFLAGS,;t t
22594 s,@ac_ct_CC@,$ac_ct_CC,;t t
22595 s,@EXEEXT@,$EXEEXT,;t t
22596 s,@OBJEXT@,$OBJEXT,;t t
22598 s,@EGREP@,$EGREP,;t t
22599 s,@build@,$build,;t t
22600 s,@build_cpu@,$build_cpu,;t t
22601 s,@build_vendor@,$build_vendor,;t t
22602 s,@build_os@,$build_os,;t t
22603 s,@host@,$host,;t t
22604 s,@host_cpu@,$host_cpu,;t t
22605 s,@host_vendor@,$host_vendor,;t t
22606 s,@host_os@,$host_os,;t t
22607 s,@target@,$target,;t t
22608 s,@target_cpu@,$target_cpu,;t t
22609 s,@target_vendor@,$target_vendor,;t t
22610 s,@target_os@,$target_os,;t t
22611 s,@SET_MAKE@,$SET_MAKE,;t t
22612 s,@RANLIB@,$RANLIB,;t t
22613 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22614 s,@ALLOCA@,$ALLOCA,;t t
22615 s,@USE_NLS@,$USE_NLS,;t t
22616 s,@MSGFMT@,$MSGFMT,;t t
22617 s,@GMSGFMT@,$GMSGFMT,;t t
22618 s,@XGETTEXT@,$XGETTEXT,;t t
22619 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
22620 s,@CATALOGS@,$CATALOGS,;t t
22621 s,@CATOBJEXT@,$CATOBJEXT,;t t
22622 s,@DATADIRNAME@,$DATADIRNAME,;t t
22623 s,@GMOFILES@,$GMOFILES,;t t
22624 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
22625 s,@INTLDEPS@,$INTLDEPS,;t t
22626 s,@INTLLIBS@,$INTLLIBS,;t t
22627 s,@INTLOBJS@,$INTLOBJS,;t t
22628 s,@POFILES@,$POFILES,;t t
22629 s,@POSUB@,$POSUB,;t t
22630 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
22631 s,@GT_NO@,$GT_NO,;t t
22632 s,@GT_YES@,$GT_YES,;t t
22633 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22635 s,@localedir@,$localedir,;t t
22636 s,@PACKAGE@,$PACKAGE,;t t
22637 s,@subdirs@,$subdirs,;t t
22639 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22640 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22641 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22642 s,@LN_S@,$LN_S,;t t
22643 s,@YACC@,$YACC,;t t
22645 s,@ac_ct_AR@,$ac_ct_AR,;t t
22646 s,@DLLTOOL@,$DLLTOOL,;t t
22647 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
22648 s,@WINDRES@,$WINDRES,;t t
22649 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
22651 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
22652 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
22653 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
22654 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
22655 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22656 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
22657 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
22658 s,@WIN32LIBS@,$WIN32LIBS,;t t
22659 s,@LIBGUI@,$LIBGUI,;t t
22660 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
22661 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
22662 s,@TCL_VERSION@,$TCL_VERSION,;t t
22663 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
22664 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
22665 s,@TCL_CC@,$TCL_CC,;t t
22666 s,@TCL_DEFS@,$TCL_DEFS,;t t
22667 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
22668 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
22669 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
22670 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
22671 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
22672 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
22673 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
22674 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
22675 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
22676 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
22677 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
22678 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
22679 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
22680 s,@TK_VERSION@,$TK_VERSION,;t t
22681 s,@TK_DEFS@,$TK_DEFS,;t t
22682 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
22683 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
22684 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
22685 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
22686 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
22687 s,@TCLHDIR@,$TCLHDIR,;t t
22688 s,@TKHDIR@,$TKHDIR,;t t
22689 s,@ITCLHDIR@,$ITCLHDIR,;t t
22690 s,@ITKHDIR@,$ITKHDIR,;t t
22691 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
22692 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
22693 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
22694 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
22695 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
22696 s,@ITK_VERSION@,$ITK_VERSION,;t t
22697 s,@ITK_DEFS@,$ITK_DEFS,;t t
22698 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
22699 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
22700 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
22701 s,@X_CFLAGS@,$X_CFLAGS,;t t
22702 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
22703 s,@X_LIBS@,$X_LIBS,;t t
22704 s,@TCL_DEPS@,$TCL_DEPS,;t t
22705 s,@TK_DEPS@,$TK_DEPS,;t t
22706 s,@ITCLLIB@,$ITCLLIB,;t t
22707 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
22708 s,@ITKLIB@,$ITKLIB,;t t
22709 s,@ITK_DEPS@,$ITK_DEPS,;t t
22710 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
22711 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
22712 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
22713 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
22714 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
22715 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
22716 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
22717 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
22718 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
22719 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
22720 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
22721 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
22722 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
22723 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
22724 s,@target_subdir@,$target_subdir,;t t
22725 s,@frags@,$frags,;t t
22726 s,@xm_h@,$xm_h,;t t
22727 s,@tm_h@,$tm_h,;t t
22728 s,@nm_h@,$nm_h,;t t
22729 s,@LIBICONV@,$LIBICONV,;t t
22730 s,@LIBOBJS@,$LIBOBJS,;t t
22731 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22732 /@host_makefile_frag@/r $host_makefile_frag
22733 s,@host_makefile_frag@,,;t t
22734 /@target_makefile_frag@/r $target_makefile_frag
22735 s,@target_makefile_frag@,,;t t
22740 cat >>$CONFIG_STATUS <<\_ACEOF
22741 # Split the substitutions into bite-sized pieces for seds with
22742 # small command number limits, like on Digital OSF/1 and HP-UX.
22743 ac_max_sed_lines
=48
22744 ac_sed_frag
=1 # Number of current file.
22745 ac_beg
=1 # First line for current file.
22746 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22749 while $ac_more_lines; do
22750 if test $ac_beg -gt 1; then
22751 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22753 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22755 if test ! -s $tmp/subs.frag
; then
22756 ac_more_lines
=false
22758 # The purpose of the label and of the branching condition is to
22759 # speed up the sed processing (if there are no `@' at all, there
22760 # is no need to browse any of the substitutions).
22761 # These are the two extra sed commands mentioned above.
22763 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22764 if test -z "$ac_sed_cmds"; then
22765 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22767 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22769 ac_sed_frag
=`expr $ac_sed_frag + 1`
22771 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22774 if test -z "$ac_sed_cmds"; then
22777 fi # test -n "$CONFIG_FILES"
22780 cat >>$CONFIG_STATUS <<\_ACEOF
22781 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22782 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22784 - |
*:- |
*:-:* ) # input from stdin
22786 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22787 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22788 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22789 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22790 * ) ac_file_in
=$ac_file.
in ;;
22793 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22794 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22796 X"$ac_file" : 'X\(//\)[^/]' \| \
22797 X"$ac_file" : 'X\(//\)$' \| \
22798 X"$ac_file" : 'X\(/\)' \| \
22799 . : '\(.\)' 2>/dev/null ||
22801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22803 /^X\(\/\/\)$/{ s//\1/; q; }
22804 /^X\(\/\).*/{ s//\1/; q; }
22806 { if $as_mkdir_p; then
22811 while test ! -d "$as_dir"; do
22812 as_dirs
="$as_dir $as_dirs"
22813 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22814 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22815 X"$as_dir" : 'X\(//\)[^/]' \| \
22816 X"$as_dir" : 'X\(//\)$' \| \
22817 X"$as_dir" : 'X\(/\)' \| \
22818 . : '\(.\)' 2>/dev/null ||
22820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22822 /^X\(\/\/\)$/{ s//\1/; q; }
22823 /^X\(\/\).*/{ s//\1/; q; }
22826 test ! -n "$as_dirs" || mkdir
$as_dirs
22827 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22828 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22829 { (exit 1); exit 1; }; }; }
22833 if test "$ac_dir" != .
; then
22834 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22835 # A "../" for each directory in $ac_dir_suffix.
22836 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22838 ac_dir_suffix
= ac_top_builddir
=
22842 .
) # No --srcdir option. We are building in place.
22844 if test -z "$ac_top_builddir"; then
22847 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22849 [\\/]* | ?
:[\\/]* ) # Absolute path.
22850 ac_srcdir
=$srcdir$ac_dir_suffix;
22851 ac_top_srcdir
=$srcdir ;;
22852 *) # Relative path.
22853 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22854 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22857 # Do not use `cd foo && pwd` to compute absolute paths, because
22858 # the directories may not exist.
22860 .
) ac_abs_builddir
="$ac_dir";;
22863 .
) ac_abs_builddir
=`pwd`;;
22864 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22865 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22868 case $ac_abs_builddir in
22869 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22871 case ${ac_top_builddir}.
in
22872 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22873 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22874 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22877 case $ac_abs_builddir in
22878 .
) ac_abs_srcdir
=$ac_srcdir;;
22881 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22882 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22883 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22886 case $ac_abs_builddir in
22887 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22889 case $ac_top_srcdir in
22890 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22891 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22892 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22898 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22899 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22902 # Let's still pretend it is `configure' which instantiates (i.e., don't
22903 # use $as_me), people would be surprised to read:
22904 # /* config.h. Generated by config.status. */
22905 if test x
"$ac_file" = x-
; then
22908 configure_input
="$ac_file. "
22910 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22911 sed 's,.*/,,'` by configure."
22913 # First look for the input files in the build tree, otherwise in the
22915 ac_file_inputs
=`IFS=:
22916 for f in $ac_file_in; do
22918 -) echo $tmp/stdin ;;
22920 # Absolute (can't be DOS-style, as IFS=:)
22921 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22922 echo "$as_me: error: cannot find input file: $f" >&2;}
22923 { (exit 1); exit 1; }; }
22926 if test -f "$f"; then
22929 elif test -f "$srcdir/$f"; then
22934 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22935 echo "$as_me: error: cannot find input file: $f" >&2;}
22936 { (exit 1); exit 1; }; }
22939 done` ||
{ (exit 1); exit 1; }
22941 if test x
"$ac_file" != x-
; then
22942 { echo "$as_me:$LINENO: creating $ac_file" >&5
22943 echo "$as_me: creating $ac_file" >&6;}
22947 cat >>$CONFIG_STATUS <<_ACEOF
22951 cat >>$CONFIG_STATUS <<\_ACEOF
22953 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22954 s
,@configure_input@
,$configure_input,;t t
22955 s
,@srcdir@
,$ac_srcdir,;t t
22956 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22957 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22958 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22959 s
,@builddir@
,$ac_builddir,;t t
22960 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22961 s
,@top_builddir@
,$ac_top_builddir,;t t
22962 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22963 s
,@INSTALL@
,$ac_INSTALL,;t t
22964 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22966 if test x"$ac_file" != x-; then
22967 mv $tmp/out $ac_file
22975 cat >>$CONFIG_STATUS <<\_ACEOF
22978 # CONFIG_HEADER section.
22981 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22982 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22984 # ac_d sets the value in "#define NAME VALUE" lines.
22985 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22986 ac_dB
='[ ].*$,\1#\2'
22989 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22990 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22991 ac_uB
='$,\1#\2define\3'
22995 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22996 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22998 - |
*:- |
*:-:* ) # input from stdin
23000 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23001 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23002 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23003 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23004 * ) ac_file_in
=$ac_file.
in ;;
23007 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23008 echo "$as_me: creating $ac_file" >&6;}
23010 # First look for the input files in the build tree, otherwise in the
23012 ac_file_inputs
=`IFS=:
23013 for f in $ac_file_in; do
23015 -) echo $tmp/stdin ;;
23017 # Absolute (can't be DOS-style, as IFS=:)
23018 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23019 echo "$as_me: error: cannot find input file: $f" >&2;}
23020 { (exit 1); exit 1; }; }
23021 # Do quote $f, to prevent DOS paths from being IFS'd.
23024 if test -f "$f"; then
23027 elif test -f "$srcdir/$f"; then
23032 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23033 echo "$as_me: error: cannot find input file: $f" >&2;}
23034 { (exit 1); exit 1; }; }
23037 done` ||
{ (exit 1); exit 1; }
23038 # Remove the trailing spaces.
23039 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23043 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23044 # `conftest.undefs', that substitutes the proper values into
23045 # config.h.in to produce config.h. The first handles `#define'
23046 # templates, and the second `#undef' templates.
23047 # And first: Protect against being on the right side of a sed subst in
23048 # config.status. Protect against being in an unquoted here document
23049 # in config.status.
23050 rm -f conftest.defines conftest.undefs
23051 # Using a here document instead of a string reduces the quoting nightmare.
23052 # Putting comments in sed scripts is not portable.
23054 # `end' is used to avoid that the second main sed command (meant for
23055 # 0-ary CPP macros) applies to n-ary macro definitions.
23056 # See the Autoconf documentation for `clear'.
23057 cat >confdef2sed.
sed <<\_ACEOF
23062 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23064 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23067 # If some macros were called several times there might be several times
23068 # the same #defines, which is useless. Nevertheless, we may not want to
23069 # sort them, since we want the *last* AC-DEFINE to be honored.
23070 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23071 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23072 rm -f confdef2sed.sed
23074 # This sed command replaces #undef with comments. This is necessary, for
23075 # example, in the case of _POSIX_SOURCE, which is predefined and required
23076 # on some systems where configure will not decide to define it.
23077 cat >>conftest.undefs <<\_ACEOF
23078 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23081 # Break up conftest.defines because some shells have a limit on the size
23082 # of here documents, and old seds have small limits too (100 cmds).
23083 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23084 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23085 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23086 echo ' :' >>$CONFIG_STATUS
23087 rm -f conftest.tail
23088 while grep . conftest.defines >/dev/null
23090 # Write a limited-size here document to $tmp/defines.sed.
23091 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23092 # Speed up: don't consider the non `#define' lines.
23093 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23094 # Work around the forget-to-reset-the-flag bug.
23095 echo 't clr' >>$CONFIG_STATUS
23096 echo ': clr' >>$CONFIG_STATUS
23097 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23099 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23101 mv $tmp/out $tmp/in
23103 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23104 rm -f conftest.defines
23105 mv conftest.
tail conftest.defines
23107 rm -f conftest.defines
23108 echo ' fi # grep' >>$CONFIG_STATUS
23109 echo >>$CONFIG_STATUS
23111 # Break up conftest.undefs because some shells have a limit on the size
23112 # of here documents, and old seds have small limits too (100 cmds).
23113 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23114 rm -f conftest.
tail
23115 while grep . conftest.undefs
>/dev
/null
23117 # Write a limited-size here document to $tmp/undefs.sed.
23118 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23119 # Speed up: don't consider the non
`#undef'
23120 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23121 # Work around the forget-to-reset-the-flag bug.
23122 echo 't clr' >>$CONFIG_STATUS
23123 echo ': clr' >>$CONFIG_STATUS
23124 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23126 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23128 mv $tmp/out $tmp/in
23130 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23131 rm -f conftest.undefs
23132 mv conftest.tail conftest.undefs
23134 rm -f conftest.undefs
23136 cat >>$CONFIG_STATUS <<\_ACEOF
23137 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23138 # use $as_me), people would be surprised to read:
23139 # /* config.h. Generated by config.status. */
23140 if test x
"$ac_file" = x-
; then
23141 echo "/* Generated by configure. */" >$tmp/config.h
23143 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23145 cat $tmp/in >>$tmp/config.h
23147 if test x
"$ac_file" != x-
; then
23148 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23149 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23150 echo "$as_me: $ac_file is unchanged" >&6;}
23152 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23153 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23154 X"$ac_file" : 'X\(//\)[^/]' \| \
23155 X"$ac_file" : 'X\(//\)$' \| \
23156 X"$ac_file" : 'X\(/\)' \| \
23157 . : '\(.\)' 2>/dev/null ||
23159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23161 /^X\(\/\/\)$/{ s//\1/; q; }
23162 /^X\(\/\).*/{ s//\1/; q; }
23164 { if $as_mkdir_p; then
23169 while test ! -d "$as_dir"; do
23170 as_dirs
="$as_dir $as_dirs"
23171 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23173 X"$as_dir" : 'X\(//\)[^/]' \| \
23174 X"$as_dir" : 'X\(//\)$' \| \
23175 X"$as_dir" : 'X\(/\)' \| \
23176 . : '\(.\)' 2>/dev/null ||
23178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23179 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23180 /^X\(\/\/\)$/{ s//\1/; q; }
23181 /^X\(\/\).*/{ s//\1/; q; }
23184 test ! -n "$as_dirs" || mkdir
$as_dirs
23185 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23186 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23187 { (exit 1); exit 1; }; }; }
23190 mv $tmp/config.h
$ac_file
23194 rm -f $tmp/config.h
23198 cat >>$CONFIG_STATUS <<\_ACEOF
23201 # CONFIG_LINKS section.
23204 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
23205 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23206 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23208 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
23209 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
23211 if test ! -r $srcdir/$ac_source; then
23212 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
23213 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
23214 { (exit 1); exit 1; }; }
23218 # Make relative symlinks.
23219 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23220 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23221 X"$ac_dest" : 'X\(//\)[^/]' \| \
23222 X"$ac_dest" : 'X\(//\)$' \| \
23223 X"$ac_dest" : 'X\(/\)' \| \
23224 . : '\(.\)' 2>/dev/null ||
23226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23228 /^X\(\/\/\)$/{ s//\1/; q; }
23229 /^X\(\/\).*/{ s//\1/; q; }
23231 { if $as_mkdir_p; then
23232 mkdir
-p "$ac_dest_dir"
23234 as_dir
="$ac_dest_dir"
23236 while test ! -d "$as_dir"; do
23237 as_dirs
="$as_dir $as_dirs"
23238 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23240 X"$as_dir" : 'X\(//\)[^/]' \| \
23241 X"$as_dir" : 'X\(//\)$' \| \
23242 X"$as_dir" : 'X\(/\)' \| \
23243 . : '\(.\)' 2>/dev/null ||
23245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23247 /^X\(\/\/\)$/{ s//\1/; q; }
23248 /^X\(\/\).*/{ s//\1/; q; }
23251 test ! -n "$as_dirs" || mkdir
$as_dirs
23252 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
23253 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
23254 { (exit 1); exit 1; }; }; }
23258 if test "$ac_dest_dir" != .
; then
23259 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
23260 # A "../" for each directory in $ac_dir_suffix.
23261 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23263 ac_dir_suffix
= ac_top_builddir
=
23267 .
) # No --srcdir option. We are building in place.
23269 if test -z "$ac_top_builddir"; then
23272 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23274 [\\/]* | ?
:[\\/]* ) # Absolute path.
23275 ac_srcdir
=$srcdir$ac_dir_suffix;
23276 ac_top_srcdir
=$srcdir ;;
23277 *) # Relative path.
23278 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23279 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23282 # Do not use `cd foo && pwd` to compute absolute paths, because
23283 # the directories may not exist.
23285 .
) ac_abs_builddir
="$ac_dest_dir";;
23287 case "$ac_dest_dir" in
23288 .
) ac_abs_builddir
=`pwd`;;
23289 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
23290 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
23293 case $ac_abs_builddir in
23294 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23296 case ${ac_top_builddir}.
in
23297 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23298 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23299 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23302 case $ac_abs_builddir in
23303 .
) ac_abs_srcdir
=$ac_srcdir;;
23306 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23307 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23308 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23311 case $ac_abs_builddir in
23312 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23314 case $ac_top_srcdir in
23315 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23316 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23317 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23323 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
23324 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
23327 # Try a symlink, then a hard link, then a copy.
23328 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
23329 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
23330 cp -p $srcdir/$ac_source $ac_dest ||
23331 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
23332 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
23333 { (exit 1); exit 1; }; }
23336 cat >>$CONFIG_STATUS <<\_ACEOF
23339 # CONFIG_COMMANDS section.
23341 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23342 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23343 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23344 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23345 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23346 X"$ac_dest" : 'X\(//\)[^/]' \| \
23347 X"$ac_dest" : 'X\(//\)$' \| \
23348 X"$ac_dest" : 'X\(/\)' \| \
23349 . : '\(.\)' 2>/dev/null ||
23351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23353 /^X\(\/\/\)$/{ s//\1/; q; }
23354 /^X\(\/\).*/{ s//\1/; q; }
23356 { if $as_mkdir_p; then
23361 while test ! -d "$as_dir"; do
23362 as_dirs
="$as_dir $as_dirs"
23363 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23365 X"$as_dir" : 'X\(//\)[^/]' \| \
23366 X"$as_dir" : 'X\(//\)$' \| \
23367 X"$as_dir" : 'X\(/\)' \| \
23368 . : '\(.\)' 2>/dev/null ||
23370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23371 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23372 /^X\(\/\/\)$/{ s//\1/; q; }
23373 /^X\(\/\).*/{ s//\1/; q; }
23376 test ! -n "$as_dirs" || mkdir
$as_dirs
23377 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23378 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23379 { (exit 1); exit 1; }; }; }
23383 if test "$ac_dir" != .
; then
23384 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23385 # A "../" for each directory in $ac_dir_suffix.
23386 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23388 ac_dir_suffix
= ac_top_builddir
=
23392 .
) # No --srcdir option. We are building in place.
23394 if test -z "$ac_top_builddir"; then
23397 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23399 [\\/]* | ?
:[\\/]* ) # Absolute path.
23400 ac_srcdir
=$srcdir$ac_dir_suffix;
23401 ac_top_srcdir
=$srcdir ;;
23402 *) # Relative path.
23403 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23404 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23407 # Do not use `cd foo && pwd` to compute absolute paths, because
23408 # the directories may not exist.
23410 .
) ac_abs_builddir
="$ac_dir";;
23413 .
) ac_abs_builddir
=`pwd`;;
23414 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23415 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23418 case $ac_abs_builddir in
23419 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23421 case ${ac_top_builddir}.
in
23422 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23423 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23424 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23427 case $ac_abs_builddir in
23428 .
) ac_abs_srcdir
=$ac_srcdir;;
23431 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23432 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23433 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23436 case $ac_abs_builddir in
23437 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23439 case $ac_top_srcdir in
23440 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23441 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23442 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23447 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23448 echo "$as_me: executing $ac_dest commands" >&6;}
23452 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
23453 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
23454 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
23455 mv -f Makefile.tmp Makefile
23458 case x
$CONFIG_HEADERS in
23459 xconfig.h
:config.
in)
23467 cat >>$CONFIG_STATUS <<\_ACEOF
23469 { (exit 0); exit 0; }
23471 chmod +x
$CONFIG_STATUS
23472 ac_clean_files
=$ac_clean_files_save
23475 # configure is writing to config.log, and then calls config.status.
23476 # config.status does its own redirection, appending to config.log.
23477 # Unfortunately, on DOS this fails, as config.log is still kept open
23478 # by configure, so config.status won't be able to write to it; its
23479 # output is simply discarded. So we exec the FD to /dev/null,
23480 # effectively closing config.log, so it can be properly (re)opened and
23481 # appended to by config.status. When coming back to configure, we
23482 # need to make the FD available again.
23483 if test "$no_create" != yes; then
23485 ac_config_status_args
=
23486 test "$silent" = yes &&
23487 ac_config_status_args
="$ac_config_status_args --quiet"
23489 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23491 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23492 # would make configure fail if this is the last instruction.
23493 $ac_cs_success ||
{ (exit 1); exit 1; }
23497 # CONFIG_SUBDIRS section.
23499 if test "$no_recursion" != yes; then
23501 # Remove --cache-file and --srcdir arguments so they do not pile up.
23502 ac_sub_configure_args
=
23504 for ac_arg
in $ac_configure_args; do
23505 if test -n "$ac_prev"; then
23510 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
23511 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
23512 ac_prev
=cache_file
;;
23513 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
23514 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
23517 --config-cache |
-C)
23519 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
23521 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
23523 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
23525 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
23527 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
23531 # Always prepend --prefix to ensure using the same prefix
23532 # in subdir configurations.
23533 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
23536 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
23538 # Do not complain, so a configure script can configure whichever
23539 # parts of a large source tree are present.
23540 test -d $srcdir/$ac_dir ||
continue
23542 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
23543 echo "$as_me: configuring in $ac_dir" >&6;}
23544 { if $as_mkdir_p; then
23549 while test ! -d "$as_dir"; do
23550 as_dirs
="$as_dir $as_dirs"
23551 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23553 X"$as_dir" : 'X\(//\)[^/]' \| \
23554 X"$as_dir" : 'X\(//\)$' \| \
23555 X"$as_dir" : 'X\(/\)' \| \
23556 . : '\(.\)' 2>/dev/null ||
23558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23560 /^X\(\/\/\)$/{ s//\1/; q; }
23561 /^X\(\/\).*/{ s//\1/; q; }
23564 test ! -n "$as_dirs" || mkdir
$as_dirs
23565 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23566 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23567 { (exit 1); exit 1; }; }; }
23571 if test "$ac_dir" != .
; then
23572 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23573 # A "../" for each directory in $ac_dir_suffix.
23574 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23576 ac_dir_suffix
= ac_top_builddir
=
23580 .
) # No --srcdir option. We are building in place.
23582 if test -z "$ac_top_builddir"; then
23585 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23587 [\\/]* | ?
:[\\/]* ) # Absolute path.
23588 ac_srcdir
=$srcdir$ac_dir_suffix;
23589 ac_top_srcdir
=$srcdir ;;
23590 *) # Relative path.
23591 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23592 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23595 # Do not use `cd foo && pwd` to compute absolute paths, because
23596 # the directories may not exist.
23598 .
) ac_abs_builddir
="$ac_dir";;
23601 .
) ac_abs_builddir
=`pwd`;;
23602 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23603 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23606 case $ac_abs_builddir in
23607 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23609 case ${ac_top_builddir}.
in
23610 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23611 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23612 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23615 case $ac_abs_builddir in
23616 .
) ac_abs_srcdir
=$ac_srcdir;;
23619 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23620 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23621 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23624 case $ac_abs_builddir in
23625 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23627 case $ac_top_srcdir in
23628 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23629 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23630 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23637 # Check for guested configure; otherwise get Cygnus style configure.
23638 if test -f $ac_srcdir/configure.gnu
; then
23639 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
23640 elif test -f $ac_srcdir/configure
; then
23641 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
23642 elif test -f $ac_srcdir/configure.
in; then
23643 ac_sub_configure
=$ac_configure
23645 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
23646 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
23650 # The recursion is here.
23651 if test -n "$ac_sub_configure"; then
23652 # Make the cache file name correct relative to the subdirectory.
23653 case $cache_file in
23654 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
23655 *) # Relative path.
23656 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
23659 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
23660 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
23661 # The eval makes quoting arguments work.
23662 eval $ac_sub_configure $ac_sub_configure_args \
23663 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
23664 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
23665 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
23666 { (exit 1); exit 1; }; }